{ "errors": [], "warnings": [ "asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).\nThis can impact web performance.\nAssets: \n g6-core.min.js (251 KiB)", "entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.\nEntrypoints:\n g6-core (251 KiB)\n g6-core.min.js\n", "webpack performance recommendations: \nYou can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\nFor more info visit https://webpack.js.org/guides/code-splitting/" ], "version": "4.44.2", "hash": "6174a41a0a8bd25fc784", "time": 14876, "builtAt": 1607915757644, "publicPath": "", "outputPath": "/Users/moyee/ant-repo/github/G6/packages/core/dist", "assetsByChunkName": { "g6-core": ["g6-core.min.js", "g6-core.min.js.map"] }, "assets": [ { "name": "g6-core.min.js", "size": 256927, "chunks": [0], "chunkNames": ["g6-core"], "info": {}, "emitted": true, "isOverSizeLimit": true }, { "name": "g6-core.min.js.map", "size": 1088235, "chunks": [0], "chunkNames": ["g6-core"], "info": { "development": true }, "emitted": true } ], "filteredAssets": 0, "entrypoints": { "g6-core": { "chunks": [0], "assets": ["g6-core.min.js", "g6-core.min.js.map"], "children": {}, "childAssets": {}, "isOverSizeLimit": true } }, "namedChunkGroups": { "g6-core": { "chunks": [0], "assets": ["g6-core.min.js", "g6-core.min.js.map"], "children": {}, "childAssets": {}, "isOverSizeLimit": true } }, "chunks": [ { "id": 0, "rendered": true, "initial": true, "entry": true, "size": 819240, "names": ["g6-core"], "files": ["g6-core.min.js", "g6-core.min.js.map"], "hash": "1b9a120aa9db26c4bb04", "siblings": [], "parents": [], "children": [], "childrenByOrder": {}, "modules": [ { "id": 0, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js 6981ebac5d0580c491a6aae987f86e75", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js + 105 modules", "index": 3, "index2": 105, "size": 43680, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-41" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-35" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "5:19-24" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "6:2-6" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "6:19-24" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-43" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "342:9-16" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "345:8-15" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "436:4-8" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "506:4-8" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "515:4-8" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "527:4-8" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "6:0-45" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "398:17-22" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "435:12-20" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-40" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "6:0-33" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "8:21-31" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "163:22-25" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-64" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "13:8-16" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "16:13-21" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "20:13-20" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "22:17-22" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "23:18-23" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "24:16-21" }, { "moduleId": 13, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-43" }, { "moduleId": 13, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "11:6-13" }, { "moduleId": 13, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "823:7-14" }, { "moduleId": 13, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1187:2-6" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-51" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-37" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-49" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-57" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "4:0-81" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "4:0-59" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "7:0-74" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "31:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "35:13-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "43:19-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "45:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "45:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "48:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "49:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "49:13-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "50:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "52:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "52:19-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "56:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "59:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "59:13-21" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "59:15-22" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "63:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "66:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "73:8-12" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "75:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "77:23-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "89:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "90:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "102:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "102:21-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "109:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "115:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "119:13-21" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "120:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "123:13-21" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "127:28-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "128:20-27" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "144:20-27" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "145:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "147:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "148:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "148:16-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "150:23-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "150:25-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "168:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "175:23-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "178:25-30" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "201:25-30" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "219:25-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "223:16-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "247:33-36" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "263:31-38" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "287:23-30" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "313:23-30" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "329:24-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "338:21-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "346:20-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "366:36-41" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "370:32-35" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "370:53-58" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "372:35-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "377:20-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "380:16-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "380:47-52" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "381:24-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "414:16-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "423:21-34" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "426:24-27" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "431:24-27" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "437:16-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "439:16-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "440:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "445:20-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "462:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "464:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "490:19-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "492:15-18" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "496:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "517:12-20" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-37" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "3:0-34" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "44:2-6" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "87:2-6" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "99:2-6" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "113:2-6" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "187:7-14" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-117" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "20:8-15" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "44:2-6" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "45:45-52" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "61:2-6" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "64:6-10" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "93:4-7" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "176:8-16" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "424:22-32" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "459:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "460:10-17" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "471:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "540:35-39" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "549:8-18" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "552:15-23" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "559:8-16" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "566:40-44" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "567:50-54" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "568:52-56" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "571:10-18" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "577:10-20" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "597:10-18" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "630:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "657:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "684:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "731:12-19" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "732:10-14" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-34" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-55" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "15:24-29" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "25:16-20" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "26:42-54" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "39:8-12" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "54:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-44" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-53" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-65" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-48" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-91" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-46" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-111" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "4:0-75" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "5:0-38" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "16:19-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "16:20-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "18:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "19:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "20:20-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "20:70-78" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "22:19-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "31:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "31:12-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "33:24-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "36:16-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "36:39-49" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "45:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "47:20-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "51:20-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "55:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "57:17-22" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "57:24-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "58:37-42" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "59:16-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "63:17-22" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "71:17-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "72:26-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "75:26-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "80:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "91:25-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "97:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "99:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "102:13-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "108:12-19" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "109:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "114:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "117:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "119:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "135:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "147:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "151:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "152:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "160:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "161:28-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "165:25-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "166:13-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "166:38-51" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "167:23-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "168:27-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "169:13-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "169:13-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "169:33-41" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "169:38-51" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "170:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "171:23-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "173:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "179:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "181:24-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "181:42-49" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "182:19-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "187:23-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "192:23-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "193:20-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "200:20-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "204:12-15" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "207:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "211:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "217:38-45" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "218:22-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "219:22-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "219:39-46" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "226:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "228:21-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "243:12-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "243:21-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "248:21-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "250:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "264:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "267:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "288:12-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "293:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "299:24-29" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "320:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "333:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "375:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "387:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "391:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "394:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "396:12-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "398:51-59" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "403:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "408:17-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "414:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "426:21-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "431:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "438:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "446:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "494:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "494:21-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "505:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "538:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "543:12-15" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "593:16-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "594:16-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "596:12-17" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "596:24-29" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "703:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "705:25-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "812:36-44" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "833:40-45" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "908:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "914:28-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "920:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "924:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "969:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "975:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1015:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1025:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1089:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1149:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1179:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1225:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1284:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1381:20-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1385:20-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1401:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1425:20-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1433:20-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1455:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1574:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1577:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1580:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1609:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1612:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1615:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1647:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1678:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1709:16-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1732:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1746:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1755:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1815:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1869:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2003:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2176:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2255:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2271:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2338:14-19" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2341:23-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2472:12-20" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-59" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "30:9-16" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "61:16-24" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "61:61-69" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "81:18-28" } ], "usedExports": [ "clamp", "clone", "deepMix", "each", "get", "isArray", "isBoolean", "isEqual", "isFunction", "isNil", "isNumber", "isObject", "isPlainObject", "isString", "mix", "noop", "uniqueId", "upperFirst", "wrapBehavior" ], "providedExports": [ "contains", "includes", "difference", "find", "findIndex", "firstValue", "flatten", "flattenDeep", "getRange", "pull", "pullAt", "reduce", "remove", "sortBy", "union", "uniq", "valuesOfKey", "head", "last", "startsWith", "endsWith", "filter", "every", "some", "group", "groupBy", "groupToMap", "getWrapBehavior", "wrapBehavior", "number2color", "parseRadius", "clamp", "fixedBase", "isDecimal", "isEven", "isInteger", "isNegative", "isNumberEqual", "isOdd", "isPositive", "maxBy", "minBy", "mod", "toDegree", "toInteger", "toRadian", "forIn", "has", "hasKey", "hasValue", "keys", "isMatch", "values", "lowerCase", "lowerFirst", "substitute", "upperCase", "upperFirst", "getType", "isArguments", "isArray", "isArrayLike", "isBoolean", "isDate", "isError", "isFunction", "isFinite", "isNil", "isNull", "isNumber", "isObject", "isObjectLike", "isPlainObject", "isPrototype", "isRegExp", "isString", "isType", "isUndefined", "isElement", "requestAnimationFrame", "clearAnimationFrame", "augment", "clone", "debounce", "memoize", "deepMix", "each", "extend", "indexOf", "isEmpty", "isEqual", "isEqualWith", "map", "mapValues", "mix", "assign", "get", "set", "pick", "throttle", "toArray", "toString", "uniqueId", "noop", "identity", "size", "Cache" ], "optimizationBailout": [], "depth": 2, "modules": [ { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "index": 3, "index2": 105, "size": 5452, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "issuerId": 12, "issuerName": "./src/util/base.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } } ], "profile": { "factory": 2847, "building": 662 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-41" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-35" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "5:19-24" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "6:2-6" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "6:19-24" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-43" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "342:9-16" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "345:8-15" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "436:4-8" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "506:4-8" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "515:4-8" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "527:4-8" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "6:0-45" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "398:17-22" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "435:12-20" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-40" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "6:0-33" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "8:21-31" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "163:22-25" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-64" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "13:8-16" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "16:13-21" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "20:13-20" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "22:17-22" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "23:18-23" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "24:16-21" }, { "moduleId": 13, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-43" }, { "moduleId": 13, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "11:6-13" }, { "moduleId": 13, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "823:7-14" }, { "moduleId": 13, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1187:2-6" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-57" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-37" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-51" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-49" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "4:0-81" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "4:0-59" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "7:0-74" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "31:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "35:13-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "43:19-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "45:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "45:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "48:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "49:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "49:13-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "50:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "52:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "52:19-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "56:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "59:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "59:13-21" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "59:15-22" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "63:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "66:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "73:8-12" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "75:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "77:23-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "89:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "90:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "102:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "102:21-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "109:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "115:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "119:13-21" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "120:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "123:13-21" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "127:28-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "128:20-27" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "144:20-27" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "145:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "147:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "148:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "148:16-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "150:23-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "150:25-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "168:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "175:23-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "178:25-30" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "201:25-30" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "219:25-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "223:16-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "247:33-36" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "263:31-38" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "287:23-30" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "313:23-30" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "329:24-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "338:21-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "346:20-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "366:36-41" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "370:32-35" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "370:53-58" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "372:35-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "377:20-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "380:16-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "380:47-52" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "381:24-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "414:16-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "423:21-34" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "426:24-27" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "431:24-27" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "437:16-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "439:16-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "440:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "445:20-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "462:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "464:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "490:19-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "492:15-18" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "496:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "517:12-20" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-37" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "3:0-34" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "44:2-6" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "87:2-6" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "99:2-6" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "113:2-6" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "187:7-14" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-117" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "20:8-15" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "44:2-6" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "45:45-52" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "61:2-6" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "64:6-10" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "93:4-7" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "176:8-16" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "424:22-32" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "459:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "460:10-17" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "471:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "540:35-39" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "549:8-18" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "552:15-23" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "559:8-16" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "566:40-44" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "567:50-54" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "568:52-56" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "571:10-18" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "577:10-20" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "597:10-18" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "630:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "657:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "684:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "731:12-19" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "732:10-14" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-34" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-55" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "15:24-29" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "25:16-20" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "26:42-54" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "39:8-12" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "54:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-53" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-44" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-48" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-91" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-111" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-65" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-46" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "4:0-75" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "5:0-38" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "16:19-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "16:20-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "18:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "19:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "20:20-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "20:70-78" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "22:19-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "31:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "31:12-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "33:24-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "36:16-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "36:39-49" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "45:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "47:20-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "51:20-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "55:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "57:17-22" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "57:24-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "58:37-42" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "59:16-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "63:17-22" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "71:17-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "72:26-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "75:26-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "80:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "91:25-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "97:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "99:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "102:13-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "108:12-19" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "109:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "114:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "117:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "119:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "135:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "147:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "151:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "152:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "160:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "161:28-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "165:25-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "166:13-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "166:38-51" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "167:23-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "168:27-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "169:13-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "169:13-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "169:33-41" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "169:38-51" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "170:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "171:23-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "173:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "179:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "181:24-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "181:42-49" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "182:19-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "187:23-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "192:23-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "193:20-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "200:20-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "204:12-15" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "207:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "211:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "217:38-45" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "218:22-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "219:22-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "219:39-46" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "226:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "228:21-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "243:12-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "243:21-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "248:21-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "250:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "264:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "267:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "288:12-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "293:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "299:24-29" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "320:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "333:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "375:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "387:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "391:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "394:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "396:12-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "398:51-59" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "403:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "408:17-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "414:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "426:21-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "431:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "438:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "446:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "494:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "494:21-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "505:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "538:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "543:12-15" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "593:16-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "594:16-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "596:12-17" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "596:24-29" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "703:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "705:25-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "812:36-44" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "833:40-45" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "908:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "914:28-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "920:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "924:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "969:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "975:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1015:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1025:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1089:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1149:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1179:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1225:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1284:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1381:20-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1385:20-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1401:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1425:20-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1433:20-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1455:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1574:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1577:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1580:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1609:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1612:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1615:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1647:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1678:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1709:16-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1732:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1746:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1755:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1815:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1869:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2003:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2176:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2255:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2271:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2338:14-19" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2341:23-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2472:12-20" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-59" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "30:9-16" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "61:16-24" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "61:61-69" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "81:18-28" } ], "usedExports": [ "clamp", "clone", "deepMix", "each", "get", "isArray", "isBoolean", "isEqual", "isFunction", "isNil", "isNumber", "isObject", "isPlainObject", "isString", "mix", "noop", "uniqueId", "upperFirst", "wrapBehavior" ], "providedExports": [ "contains", "includes", "difference", "find", "findIndex", "firstValue", "flatten", "flattenDeep", "getRange", "pull", "pullAt", "reduce", "remove", "sortBy", "union", "uniq", "valuesOfKey", "head", "last", "startsWith", "endsWith", "filter", "every", "some", "group", "groupBy", "groupToMap", "getWrapBehavior", "wrapBehavior", "number2color", "parseRadius", "clamp", "fixedBase", "isDecimal", "isEven", "isInteger", "isNegative", "isNumberEqual", "isOdd", "isPositive", "maxBy", "minBy", "mod", "toDegree", "toInteger", "toRadian", "forIn", "has", "hasKey", "hasValue", "keys", "isMatch", "values", "lowerCase", "lowerFirst", "substitute", "upperCase", "upperFirst", "getType", "isArguments", "isArray", "isArrayLike", "isBoolean", "isDate", "isError", "isFunction", "isFinite", "isNil", "isNull", "isNumber", "isObject", "isObjectLike", "isPlainObject", "isPrototype", "isRegExp", "isString", "isType", "isUndefined", "isElement", "requestAnimationFrame", "clearAnimationFrame", "augment", "clone", "debounce", "memoize", "deepMix", "each", "extend", "indexOf", "isEmpty", "isEqual", "isEqualWith", "map", "mapValues", "mix", "assign", "get", "set", "pick", "throttle", "toArray", "toString", "uniqueId", "noop", "identity", "size", "Cache" ], "optimizationBailout": [], "depth": 2, "source": "// array\nexport { default as contains, default as includes } from './contains';\nexport { default as difference } from './difference';\nexport { default as find } from './find';\nexport { default as findIndex } from './find-index';\nexport { default as firstValue } from './first-value';\nexport { default as flatten } from './flatten';\nexport { default as flattenDeep } from './flatten-deep';\nexport { default as getRange } from './get-range';\nexport { default as pull } from './pull';\nexport { default as pullAt } from './pull-at';\nexport { default as reduce } from './reduce';\nexport { default as remove } from './remove';\nexport { default as sortBy } from './sort-by';\nexport { default as union } from './union';\nexport { default as uniq } from './uniq';\nexport { default as valuesOfKey } from './values-of-key';\nexport { default as head } from './head';\nexport { default as last } from './last';\nexport { default as startsWith } from './starts-with';\nexport { default as endsWith } from './ends-with';\nexport { default as filter } from './filter';\nexport { default as every } from './every';\nexport { default as some } from './some';\nexport { default as group } from './group';\nexport { default as groupBy } from './group-by';\nexport { default as groupToMap } from './group-to-map'; // event\n\nexport { default as getWrapBehavior } from './get-wrap-behavior';\nexport { default as wrapBehavior } from './wrap-behavior'; // format\n\nexport { default as number2color } from './number2color';\nexport { default as parseRadius } from './parse-radius'; // math\n\nexport { default as clamp } from './clamp';\nexport { default as fixedBase } from './fixed-base';\nexport { default as isDecimal } from './is-decimal';\nexport { default as isEven } from './is-even';\nexport { default as isInteger } from './is-integer';\nexport { default as isNegative } from './is-negative';\nexport { default as isNumberEqual } from './is-number-equal';\nexport { default as isOdd } from './is-odd';\nexport { default as isPositive } from './is-positive';\nexport { default as maxBy } from './max-by';\nexport { default as minBy } from './min-by';\nexport { default as mod } from './mod';\nexport { default as toDegree } from './to-degree';\nexport { default as toInteger } from './to-integer';\nexport { default as toRadian } from './to-radian'; // object\n\nexport { default as forIn } from './for-in';\nexport { default as has } from './has';\nexport { default as hasKey } from './has-key';\nexport { default as hasValue } from './has-value';\nexport { default as keys } from './keys';\nexport { default as isMatch } from './is-match';\nexport { default as values } from './values'; // string\n\nexport { default as lowerCase } from './lower-case';\nexport { default as lowerFirst } from './lower-first';\nexport { default as substitute } from './substitute';\nexport { default as upperCase } from './upper-case';\nexport { default as upperFirst } from './upper-first'; // type\n\nexport { default as getType } from './get-type';\nexport { default as isArguments } from './is-arguments';\nexport { default as isArray } from './is-array';\nexport { default as isArrayLike } from './is-array-like';\nexport { default as isBoolean } from './is-boolean';\nexport { default as isDate } from './is-date';\nexport { default as isError } from './is-error';\nexport { default as isFunction } from './is-function';\nexport { default as isFinite } from './is-finite';\nexport { default as isNil } from './is-nil';\nexport { default as isNull } from './is-null';\nexport { default as isNumber } from './is-number';\nexport { default as isObject } from './is-object';\nexport { default as isObjectLike } from './is-object-like';\nexport { default as isPlainObject } from './is-plain-object';\nexport { default as isPrototype } from './is-prototype';\nexport { default as isRegExp } from './is-reg-exp';\nexport { default as isString } from './is-string';\nexport { default as isType } from './is-type';\nexport { default as isUndefined } from './is-undefined';\nexport { default as isElement } from './is-element';\nexport { default as requestAnimationFrame } from './request-animation-frame';\nexport { default as clearAnimationFrame } from './clear-animation-frame'; // other\n\nexport { default as augment } from './augment';\nexport { default as clone } from './clone';\nexport { default as debounce } from './debounce';\nexport { default as memoize } from './memoize';\nexport { default as deepMix } from './deep-mix';\nexport { default as each } from './each';\nexport { default as extend } from './extend';\nexport { default as indexOf } from './index-of';\nexport { default as isEmpty } from './is-empty';\nexport { default as isEqual } from './is-equal';\nexport { default as isEqualWith } from './is-equal-with';\nexport { default as map } from './map';\nexport { default as mapValues } from './map-values';\nexport { default as mix, default as assign } from './mix';\nexport { default as get } from './get';\nexport { default as set } from './set';\nexport { default as pick } from './pick';\nexport { default as throttle } from './throttle';\nexport { default as toArray } from './to-array';\nexport { default as toString } from './to-string';\nexport { default as uniqueId } from './unique-id';\nexport { default as noop } from './noop';\nexport { default as identity } from './identity';\nexport { default as size } from './size'; // 不知道为什么,需要把这个 export,不然 ts 会报类型错误\n\nexport { default as Cache } from './cache';" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-array-like.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-array-like.js", "index": 5, "index2": 0, "size": 326, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/last.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/last.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/last.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/pull-at.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pull-at.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pull-at.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/map.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index-of.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index-of.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index-of.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/head.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/head.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/head.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/contains.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/contains.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/contains.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/filter.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/filter.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/filter.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/to-array.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-array.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-array.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "2:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "2:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "2:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/last.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/last.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/last.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "3:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/head.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/head.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/head.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "3:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/to-array.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-array.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-array.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "3:9-20" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/filter.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/filter.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/filter.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "4:7-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/map.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "4:7-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index-of.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index-of.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index-of.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "4:7-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/contains.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/contains.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/contains.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "4:7-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/pull-at.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pull-at.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pull-at.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "5:7-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "8:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "13:7-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "18:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "18:28-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "21:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "68:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-array-like", "loc": "68:0-57" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var isArrayLike = function isArrayLike(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\nexport default isArrayLike;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/contains.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/contains.js", "index": 4, "index2": 1, "size": 203, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "type": "harmony side effect evaluation", "userRequest": "./contains", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "type": "harmony side effect evaluation", "userRequest": "./contains", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./contains", "loc": "2:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./contains", "loc": "2:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./contains", "loc": "2:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "type": "harmony side effect evaluation", "userRequest": "./contains", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "type": "harmony import specifier", "userRequest": "./contains", "loc": "4:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "type": "harmony import specifier", "userRequest": "./contains", "loc": "7:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "type": "harmony import specifier", "userRequest": "./contains", "loc": "19:12-20" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArrayLike from './is-array-like';\n\nvar contains = function contains(arr, value) {\n if (!isArrayLike(arr)) {\n return false;\n }\n\n return arr.indexOf(value) > -1;\n};\n\nexport default contains;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/filter.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/filter.js", "index": 7, "index2": 2, "size": 346, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "type": "harmony side effect evaluation", "userRequest": "./filter", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "type": "harmony import specifier", "userRequest": "./filter", "loc": "18:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./filter", "loc": "22:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./filter", "loc": "22:0-45" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArrayLike from './is-array-like';\n\nvar filter = function filter(arr, func) {\n if (!isArrayLike(arr)) {\n return arr;\n }\n\n var result = [];\n\n for (var index = 0; index < arr.length; index++) {\n var value = arr[index];\n\n if (func(value, index)) {\n result.push(value);\n }\n }\n\n return result;\n};\n\nexport default filter;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "index": 6, "index2": 3, "size": 540, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./difference", "loc": "3:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./difference", "loc": "3:0-53" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import filter from './filter';\nimport contains from './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 */\n\nvar difference = function difference(arr, values) {\n if (values === void 0) {\n values = [];\n }\n\n return filter(arr, function (value) {\n return !contains(values, value);\n });\n};\n\nexport default difference;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-type.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-type.js", "index": 10, "index2": 4, "size": 158, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-reg-exp.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-reg-exp.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-reg-exp.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-array.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-array.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-array.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-string.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-string.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-string.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-date.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-date.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-date.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "2:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-string.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-string.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-string.js", "type": "harmony import specifier", "userRequest": "./is-type", "loc": "3:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-array.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-array.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-array.js", "type": "harmony import specifier", "userRequest": "./is-type", "loc": "3:48-54" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-reg-exp.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-reg-exp.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-reg-exp.js", "type": "harmony import specifier", "userRequest": "./is-type", "loc": "4:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-date.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-date.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-date.js", "type": "harmony import specifier", "userRequest": "./is-type", "loc": "4:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-number.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-number.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-number.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "5:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-function.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-function.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-function.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "6:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-arguments.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-arguments.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-arguments.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "7:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-boolean.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-boolean.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-boolean.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "7:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-error.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-error.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-error.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "7:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-number.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-number.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-number.js", "type": "harmony import specifier", "userRequest": "./is-type", "loc": "8:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-function.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-function.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-function.js", "type": "harmony import specifier", "userRequest": "./is-type", "loc": "8:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-boolean.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-boolean.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-boolean.js", "type": "harmony import specifier", "userRequest": "./is-type", "loc": "10:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-arguments.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-arguments.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-arguments.js", "type": "harmony import specifier", "userRequest": "./is-type", "loc": "10:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-error.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-error.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-error.js", "type": "harmony import specifier", "userRequest": "./is-type", "loc": "10:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "type": "harmony import specifier", "userRequest": "./is-type", "loc": "11:31-37" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "83:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-type", "loc": "83:0-46" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var toString = {}.toString;\n\nvar isType = function isType(value, type) {\n return toString.call(value) === '[object ' + type + ']';\n};\n\nexport default isType;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-function.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-function.js", "index": 9, "index2": 5, "size": 193, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/memoize.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/memoize.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/memoize.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "2:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "2:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "2:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "2:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "2:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "2:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "3:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "3:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "3:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "6:7-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "8:6-16" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "8:10-20" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "9:10-20" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/memoize.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/memoize.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/memoize.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "10:7-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "11:6-16" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "12:7-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "12:18-28" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "16:8-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "27:6-16" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "27:6-16" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "27:7-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "35:8-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "35:8-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "72:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-function", "loc": "72:0-54" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\n * 是否为函数\n * @param {*} fn 对象\n * @return {Boolean} 是否函数\n */\nimport isType from './is-type';\nexport default (function (value) {\n return isType(value, 'Function');\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-nil.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-nil.js", "index": 12, "index2": 6, "size": 180, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "type": "harmony side effect evaluation", "userRequest": "./is-nil", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/to-string.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-string.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-string.js", "type": "harmony side effect evaluation", "userRequest": "./is-nil", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "type": "harmony side effect evaluation", "userRequest": "./is-nil", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "type": "harmony side effect evaluation", "userRequest": "./is-nil", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "type": "harmony side effect evaluation", "userRequest": "./is-nil", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "type": "harmony side effect evaluation", "userRequest": "./is-nil", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "type": "harmony side effect evaluation", "userRequest": "./is-nil", "loc": "2:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/to-string.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-string.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-string.js", "type": "harmony import specifier", "userRequest": "./is-nil", "loc": "3:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "type": "harmony import specifier", "userRequest": "./is-nil", "loc": "4:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "type": "harmony import specifier", "userRequest": "./is-nil", "loc": "8:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "type": "harmony import specifier", "userRequest": "./is-nil", "loc": "11:9-14" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "type": "harmony import specifier", "userRequest": "./is-nil", "loc": "11:9-14" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "type": "harmony import specifier", "userRequest": "./is-nil", "loc": "15:27-32" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "type": "harmony import specifier", "userRequest": "./is-nil", "loc": "17:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-nil", "loc": "74:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-nil", "loc": "74:0-44" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "// isFinite,\nvar isNil = function isNil(value) {\n /**\n * isNil(null) => true\n * isNil() => true\n */\n return value === null || value === undefined;\n};\n\nexport default isNil;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-array.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-array.js", "index": 15, "index2": 7, "size": 142, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/parse-radius.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/parse-radius.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/parse-radius.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/get-range.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get-range.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get-range.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten-deep.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten-deep.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten-deep.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/clone.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/clone.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/clone.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "5:9-16" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "5:9-16" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "6:7-14" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "6:21-28" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "7:7-14" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/parse-radius.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/parse-radius.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/parse-radius.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "9:6-13" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "11:6-13" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/clone.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/clone.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/clone.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "12:6-13" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "12:10-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "13:7-14" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "13:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "13:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/get-range.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get-range.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get-range.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "17:6-13" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "17:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten-deep.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten-deep.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten-deep.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "18:7-14" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "20:7-14" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "20:7-14" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "23:17-24" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "67:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-array", "loc": "67:0-48" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isType from './is-type';\nexport default (function (value) {\n return Array.isArray ? Array.isArray(value) : isType(value, 'Array');\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-object.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-object.js", "index": 16, "index2": 8, "size": 649, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "type": "harmony side effect evaluation", "userRequest": "./is-object", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "type": "harmony side effect evaluation", "userRequest": "./is-object", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "type": "harmony side effect evaluation", "userRequest": "./is-object", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "type": "harmony import specifier", "userRequest": "./is-object", "loc": "15:6-14" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "type": "harmony import specifier", "userRequest": "./is-object", "loc": "17:11-19" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "type": "harmony import specifier", "userRequest": "./is-object", "loc": "19:13-21" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-object", "loc": "77:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-object", "loc": "77:0-50" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nexport 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\n return value !== null && type === 'object' || type === 'function';\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "index": 14, "index2": 9, "size": 567, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "type": "harmony side effect evaluation", "userRequest": "./each", "loc": "1:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "type": "harmony side effect evaluation", "userRequest": "./each", "loc": "1:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "type": "harmony side effect evaluation", "userRequest": "./each", "loc": "1:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/for-in.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/for-in.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/for-in.js", "type": "harmony side effect evaluation", "userRequest": "./each", "loc": "1:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "type": "harmony side effect evaluation", "userRequest": "./each", "loc": "1:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "type": "harmony side effect evaluation", "userRequest": "./each", "loc": "1:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "type": "harmony side effect evaluation", "userRequest": "./each", "loc": "1:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "type": "harmony side effect evaluation", "userRequest": "./each", "loc": "2:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/for-in.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/for-in.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/for-in.js", "type": "harmony import specifier", "userRequest": "./each", "loc": "2:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "type": "harmony import specifier", "userRequest": "./each", "loc": "6:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "type": "harmony import specifier", "userRequest": "./each", "loc": "7:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "type": "harmony import specifier", "userRequest": "./each", "loc": "8:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "type": "harmony import specifier", "userRequest": "./each", "loc": "10:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "type": "harmony import specifier", "userRequest": "./each", "loc": "11:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "type": "harmony import specifier", "userRequest": "./each", "loc": "34:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "type": "harmony import specifier", "userRequest": "./each", "loc": "34:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./each", "loc": "94:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./each", "loc": "94:0-41" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './is-array';\nimport isObject from './is-object';\n\nfunction each(elements, func) {\n if (!elements) {\n return;\n }\n\n var rst;\n\n if (isArray(elements)) {\n for (var i = 0, len = elements.length; i < len; i++) {\n rst = func(elements[i], i);\n\n if (rst === false) {\n break;\n }\n }\n } else if (isObject(elements)) {\n for (var k in elements) {\n if (elements.hasOwnProperty(k)) {\n rst = func(elements[k], k);\n\n if (rst === false) {\n break;\n }\n }\n }\n }\n}\n\nexport default each;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "index": 13, "index2": 10, "size": 341, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "type": "harmony side effect evaluation", "userRequest": "./keys", "loc": "2:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "type": "harmony import specifier", "userRequest": "./keys", "loc": "5:14-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./keys", "loc": "55:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./keys", "loc": "55:0-41" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import each from './each';\nimport isFunction from './is-function';\nvar keys = Object.keys ? function (obj) {\n return Object.keys(obj);\n} : function (obj) {\n var result = [];\n each(obj, function (value, key) {\n if (!(isFunction(obj) && key === 'prototype')) {\n result.push(key);\n }\n });\n return result;\n};\nexport default keys;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "index": 11, "index2": 11, "size": 370, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "type": "harmony side effect evaluation", "userRequest": "./is-match", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "type": "harmony import specifier", "userRequest": "./is-match", "loc": "17:13-20" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-match", "loc": "56:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-match", "loc": "56:0-48" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNil from './is-nil';\nimport keys from './keys';\n\nfunction isMatch(obj, attrs) {\n var _keys = keys(attrs);\n\n var length = _keys.length;\n if (isNil(obj)) return !length;\n\n for (var i = 0; i < length; i += 1) {\n var key = _keys[i];\n\n if (attrs[key] !== obj[key] || !(key in obj)) {\n return false;\n }\n }\n\n return true;\n}\n\nexport default isMatch;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-object-like.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-object-like.js", "index": 18, "index2": 12, "size": 667, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "type": "harmony side effect evaluation", "userRequest": "./is-object-like", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "type": "harmony side effect evaluation", "userRequest": "./is-object-like", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "type": "harmony import specifier", "userRequest": "./is-object-like", "loc": "11:7-19" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "type": "harmony import specifier", "userRequest": "./is-object-like", "loc": "36:6-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "type": "harmony import specifier", "userRequest": "./is-object-like", "loc": "36:29-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-object-like", "loc": "78:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-object-like", "loc": "78:0-59" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar isObjectLike = function isObjectLike(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\nexport default isObjectLike;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "index": 17, "index2": 13, "size": 656, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "type": "harmony side effect evaluation", "userRequest": "./is-plain-object", "loc": "2:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "type": "harmony side effect evaluation", "userRequest": "./is-plain-object", "loc": "2:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "type": "harmony side effect evaluation", "userRequest": "./is-plain-object", "loc": "3:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "type": "harmony side effect evaluation", "userRequest": "./is-plain-object", "loc": "4:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "type": "harmony import specifier", "userRequest": "./is-plain-object", "loc": "5:26-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "type": "harmony import specifier", "userRequest": "./is-plain-object", "loc": "6:24-37" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "type": "harmony import specifier", "userRequest": "./is-plain-object", "loc": "13:28-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "type": "harmony import specifier", "userRequest": "./is-plain-object", "loc": "14:13-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "type": "harmony import specifier", "userRequest": "./is-plain-object", "loc": "15:6-19" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-plain-object", "loc": "79:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-plain-object", "loc": "79:0-61" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isObjectLike from './is-object-like';\nimport isType from './is-type';\n\nvar isPlainObject = function isPlainObject(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 (!isObjectLike(value) || !isType(value, 'Object')) {\n return false;\n }\n\n if (Object.getPrototypeOf(value) === null) {\n return true;\n }\n\n var proto = value;\n\n while (Object.getPrototypeOf(proto) !== null) {\n proto = Object.getPrototypeOf(proto);\n }\n\n return Object.getPrototypeOf(value) === proto;\n};\n\nexport default isPlainObject;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "index": 8, "index2": 14, "size": 608, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./find", "loc": "4:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./find", "loc": "4:0-41" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isFunction from './is-function';\nimport isMatch from './is-match';\nimport isArray from './is-array';\nimport isPlainObject from './is-plain-object';\n\nfunction find(arr, predicate) {\n if (!isArray(arr)) return null;\n\n var _predicate;\n\n if (isFunction(predicate)) {\n _predicate = predicate;\n }\n\n if (isPlainObject(predicate)) {\n _predicate = function _predicate(a) {\n return isMatch(a, predicate);\n };\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\n return null;\n}\n\nexport default find;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/find-index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find-index.js", "index": 19, "index2": 15, "size": 279, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./find-index", "loc": "5:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./find-index", "loc": "5:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "function findIndex(arr, predicate, fromIndex) {\n if (fromIndex === void 0) {\n fromIndex = 0;\n }\n\n for (var i = fromIndex; i < arr.length; i++) {\n if (predicate(arr[i], i)) {\n // 找到终止循环\n return i;\n }\n }\n\n return -1;\n}\n\nexport default findIndex;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "index": 20, "index2": 16, "size": 485, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./first-value", "loc": "6:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./first-value", "loc": "6:0-54" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNil from './is-nil';\nimport isArray from './is-array';\n\nvar firstValue = function firstValue(data, name) {\n var rst = null;\n\n for (var i = 0; i < data.length; i++) {\n var obj = data[i];\n var value = obj[name];\n\n if (!isNil(value)) {\n if (isArray(value)) {\n rst = value[0]; // todo 这里是否应该使用递归,调用 firstValue @绝云\n } else {\n rst = value;\n }\n\n break;\n }\n }\n\n return rst;\n};\n\nexport default firstValue;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten.js", "index": 21, "index2": 17, "size": 475, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./flatten", "loc": "7:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./flatten", "loc": "7:0-47" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './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 */\n\nvar flatten = function flatten(arr) {\n if (!isArray(arr)) {\n return [];\n }\n\n var rst = [];\n\n for (var i = 0; i < arr.length; i++) {\n rst = rst.concat(arr[i]);\n }\n\n return rst;\n};\n\nexport default flatten;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten-deep.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten-deep.js", "index": 22, "index2": 18, "size": 605, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./flatten-deep", "loc": "8:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./flatten-deep", "loc": "8:0-56" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './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 */\n\nvar flattenDeep = function flattenDeep(arr, result) {\n if (result === void 0) {\n result = [];\n }\n\n if (!isArray(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\n return result;\n};\n\nexport default flattenDeep;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/get-range.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get-range.js", "index": 23, "index2": 19, "size": 661, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-range", "loc": "9:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-range", "loc": "9:0-50" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './is-array';\n\nvar getRange = function getRange(values) {\n // 存在 NaN 时,min,max 判定会出问题\n var filterValues = values.filter(function (v) {\n return !isNaN(v);\n });\n\n if (!filterValues.length) {\n // 如果没有数值则直接返回0\n return {\n min: 0,\n max: 0\n };\n }\n\n if (isArray(values[0])) {\n var tmp = [];\n\n for (var i = 0; i < values.length; i++) {\n tmp = tmp.concat(values[i]);\n }\n\n filterValues = tmp;\n }\n\n var max = Math.max.apply(null, filterValues);\n var min = Math.min.apply(null, filterValues);\n return {\n min: min,\n max: max\n };\n};\n\nexport default getRange;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/pull.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pull.js", "index": 24, "index2": 20, "size": 491, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./pull", "loc": "10:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./pull", "loc": "10:0-41" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var arrPrototype = Array.prototype;\nvar splice = arrPrototype.splice;\nvar indexOf = arrPrototype.indexOf;\n\nvar pull = function pull(arr) {\n var values = [];\n\n for (var _i = 1; _i < arguments.length; _i++) {\n values[_i - 1] = arguments[_i];\n }\n\n for (var i = 0; i < values.length; i++) {\n var value = values[i];\n var fromIndex = -1;\n\n while ((fromIndex = indexOf.call(arr, value)) > -1) {\n splice.call(arr, fromIndex, 1);\n }\n }\n\n return arr;\n};\n\nexport default pull;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/pull-at.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pull-at.js", "index": 25, "index2": 21, "size": 480, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "type": "harmony side effect evaluation", "userRequest": "./pull-at", "loc": "2:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./pull-at", "loc": "11:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./pull-at", "loc": "11:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "type": "harmony import specifier", "userRequest": "./pull-at", "loc": "30:2-8" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArrayLike from './is-array-like';\nvar splice = Array.prototype.splice;\n\nvar pullAt = function pullAt(arr, indexes) {\n if (!isArrayLike(arr)) {\n return [];\n }\n\n var length = arr ? indexes.length : 0;\n var last = length - 1;\n\n while (length--) {\n var previous = void 0;\n var index = indexes[length];\n\n if (length === last || index !== previous) {\n previous = index;\n splice.call(arr, index, 1);\n }\n }\n\n return arr;\n};\n\nexport default pullAt;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "index": 26, "index2": 22, "size": 359, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./reduce", "loc": "12:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./reduce", "loc": "12:0-45" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import each from './each';\nimport isArray from './is-array';\nimport isPlainObject from './is-plain-object';\n\nvar reduce = function reduce(arr, fn, init) {\n if (!isArray(arr) && !isPlainObject(arr)) {\n return arr;\n }\n\n var result = init;\n each(arr, function (data, i) {\n result = fn(result, data, i);\n });\n return result;\n};\n\nexport default reduce;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "index": 27, "index2": 23, "size": 631, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./remove", "loc": "13:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./remove", "loc": "13:0-45" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArrayLike from './is-array-like';\nimport pullAt from './pull-at';\n\nvar remove = function remove(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\n if (!isArrayLike(arr)) {\n return result;\n }\n\n var i = -1;\n var indexes = [];\n var length = arr.length;\n\n while (++i < length) {\n var value = arr[i];\n\n if (predicate(value, i, arr)) {\n result.push(value);\n indexes.push(i);\n }\n }\n\n pullAt(arr, indexes);\n return result;\n};\n\nexport default remove;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-string.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-string.js", "index": 29, "index2": 24, "size": 100, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/get.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get.js", "type": "harmony side effect evaluation", "userRequest": "./is-string", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "type": "harmony side effect evaluation", "userRequest": "./is-string", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "type": "harmony side effect evaluation", "userRequest": "./is-string", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "type": "harmony side effect evaluation", "userRequest": "./is-string", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "type": "harmony side effect evaluation", "userRequest": "./is-string", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "type": "harmony side effect evaluation", "userRequest": "./is-string", "loc": "3:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "type": "harmony import specifier", "userRequest": "./is-string", "loc": "5:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "type": "harmony import specifier", "userRequest": "./is-string", "loc": "5:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/get.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get.js", "type": "harmony import specifier", "userRequest": "./is-string", "loc": "11:15-23" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "type": "harmony import specifier", "userRequest": "./is-string", "loc": "13:15-23" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "type": "harmony import specifier", "userRequest": "./is-string", "loc": "14:6-14" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "type": "harmony import specifier", "userRequest": "./is-string", "loc": "14:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "type": "harmony import specifier", "userRequest": "./is-string", "loc": "15:8-16" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-string", "loc": "82:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-string", "loc": "82:0-50" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isType from './is-type';\nexport default (function (str) {\n return isType(str, 'String');\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "index": 28, "index2": 25, "size": 748, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./sort-by", "loc": "14:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./sort-by", "loc": "14:0-46" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './is-array';\nimport isString from './is-string';\nimport isFunction from './is-function';\n\nfunction sortBy(arr, key) {\n var comparer;\n\n if (isFunction(key)) {\n comparer = function comparer(a, b) {\n return key(a) - key(b);\n };\n } else {\n var keys_1 = [];\n\n if (isString(key)) {\n keys_1.push(key);\n } else if (isArray(key)) {\n keys_1 = key;\n }\n\n comparer = function comparer(a, b) {\n for (var i = 0; i < keys_1.length; i += 1) {\n var prop = keys_1[i];\n\n if (a[prop] > b[prop]) {\n return 1;\n }\n\n if (a[prop] < b[prop]) {\n return -1;\n }\n }\n\n return 0;\n };\n }\n\n arr.sort(comparer);\n return arr;\n}\n\nexport default sortBy;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "index": 31, "index2": 26, "size": 269, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/union.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/union.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/union.js", "type": "harmony side effect evaluation", "userRequest": "./uniq", "loc": "1:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/union.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/union.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/union.js", "type": "harmony import specifier", "userRequest": "./uniq", "loc": "10:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./uniq", "loc": "16:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./uniq", "loc": "16:0-41" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import contains from './contains';\nimport each from './each';\n\nvar uniq = function uniq(arr) {\n var resultArr = [];\n each(arr, function (item) {\n if (!contains(resultArr, item)) {\n resultArr.push(item);\n }\n });\n return resultArr;\n};\n\nexport default uniq;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/union.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/union.js", "index": 30, "index2": 27, "size": 238, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./union", "loc": "15:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./union", "loc": "15:0-43" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import uniq from './uniq';\n\nvar union = function union() {\n var sources = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n sources[_i] = arguments[_i];\n }\n\n return uniq([].concat.apply([], sources));\n};\n\nexport default union;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "index": 32, "index2": 28, "size": 553, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./values-of-key", "loc": "17:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./values-of-key", "loc": "17:0-57" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './is-array';\nimport isNil from './is-nil';\nexport default (function (data, name) {\n var rst = [];\n var tmpMap = {};\n\n for (var i = 0; i < data.length; i++) {\n var obj = data[i];\n var value = obj[name];\n\n if (!isNil(value)) {\n // flatten\n if (!isArray(value)) {\n value = [value];\n }\n\n for (var j = 0; j < value.length; j++) {\n var val = value[j]; // unique\n\n if (!tmpMap[val]) {\n rst.push(val);\n tmpMap[val] = true;\n }\n }\n }\n }\n\n return rst;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/head.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/head.js", "index": 33, "index2": 29, "size": 144, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./head", "loc": "18:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./head", "loc": "18:0-41" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArrayLike from './is-array-like';\nexport default function head(o) {\n if (isArrayLike(o)) {\n return o[0];\n }\n\n return undefined;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/last.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/last.js", "index": 34, "index2": 30, "size": 176, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./last", "loc": "19:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./last", "loc": "19:0-41" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArrayLike from './is-array-like';\nexport default function last(o) {\n if (isArrayLike(o)) {\n var arr = o;\n return arr[arr.length - 1];\n }\n\n return undefined;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "index": 35, "index2": 31, "size": 193, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./starts-with", "loc": "20:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./starts-with", "loc": "20:0-54" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './is-array';\nimport isString from './is-string';\n\nfunction startsWith(arr, e) {\n return isArray(arr) || isString(arr) ? arr[0] === e : false;\n}\n\nexport default startsWith;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "index": 36, "index2": 32, "size": 202, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./ends-with", "loc": "21:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./ends-with", "loc": "21:0-50" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './is-array';\nimport isString from './is-string';\n\nfunction endsWith(arr, e) {\n return isArray(arr) || isString(arr) ? arr[arr.length - 1] === e : false;\n}\n\nexport default endsWith;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/every.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/every.js", "index": 37, "index2": 33, "size": 252, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./every", "loc": "23:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./every", "loc": "23:0-43" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\n * 只要有一个不满足条件就返回 false\n * @param arr\n * @param func\n */\nvar every = function every(arr, func) {\n for (var i = 0; i < arr.length; i++) {\n if (!func(arr[i], i)) return false;\n }\n\n return true;\n};\n\nexport default every;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/some.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/some.js", "index": 38, "index2": 34, "size": 244, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./some", "loc": "24:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./some", "loc": "24:0-41" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\n * 只要有一个满足条件就返回 true\n * @param arr\n * @param func\n */\nvar some = function some(arr, func) {\n for (var i = 0; i < arr.length; i++) {\n if (func(arr[i], i)) return true;\n }\n\n return false;\n};\n\nexport default some;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "index": 41, "index2": 35, "size": 661, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "type": "harmony side effect evaluation", "userRequest": "./group-by", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./group-by", "loc": "26:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./group-by", "loc": "26:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "type": "harmony import specifier", "userRequest": "./group-by", "loc": "26:15-22" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './is-array';\nimport isFunction from './is-function';\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nfunction groupBy(data, condition) {\n if (!condition || !isArray(data)) {\n return {};\n }\n\n var result = {}; // 兼容方法和 字符串的写法\n\n var predicate = isFunction(condition) ? condition : function (item) {\n return item[condition];\n };\n var key;\n\n for (var i = 0; i < data.length; i++) {\n var item = data[i];\n key = predicate(item);\n\n if (hasOwnProperty.call(result, key)) {\n result[key].push(item);\n } else {\n result[key] = [item];\n }\n }\n\n return result;\n}\n\nexport default groupBy;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "index": 40, "index2": 36, "size": 781, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group.js", "type": "harmony side effect evaluation", "userRequest": "./group-to-map", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group.js", "type": "harmony import specifier", "userRequest": "./group-to-map", "loc": "8:15-25" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./group-to-map", "loc": "27:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./group-to-map", "loc": "27:0-55" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './is-array';\nimport isFunction from './is-function';\nimport groupBy from './group-by';\n\nvar groupToMap = function groupToMap(data, condition) {\n if (!condition) {\n return {\n 0: data\n };\n }\n\n if (!isFunction(condition)) {\n var paramsCondition_1 = isArray(condition) ? condition : condition.replace(/\\s+/g, '').split('*');\n\n condition = function condition(row) {\n var unique = '_'; // 避免出现数字作为Key的情况,会进行按照数字的排序\n\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\n return unique;\n };\n }\n\n var groups = groupBy(data, condition);\n return groups;\n};\n\nexport default groupToMap;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group.js", "index": 39, "index2": 37, "size": 314, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./group", "loc": "25:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./group", "loc": "25:0-43" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import groupToMap from './group-to-map';\nexport default (function (data, condition) {\n if (!condition) {\n // 没有条件,则自身改成数组\n return [data];\n }\n\n var groups = groupToMap(data, condition);\n var array = [];\n\n for (var i in groups) {\n array.push(groups[i]);\n }\n\n return array;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/get-wrap-behavior.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get-wrap-behavior.js", "index": 42, "index2": 38, "size": 281, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-wrap-behavior", "loc": "29:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-wrap-behavior", "loc": "29:0-65" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\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\nexport default getWrapBehavior;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/wrap-behavior.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/wrap-behavior.js", "index": 43, "index2": 39, "size": 478, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./wrap-behavior", "loc": "30:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./wrap-behavior", "loc": "30:0-58" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\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\n var method = function method(e) {\n obj[action](e);\n };\n\n obj['_wrap_' + action] = method;\n return method;\n}\n\nexport default wrapBehavior;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/number2color.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/number2color.js", "index": 44, "index2": 40, "size": 338, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./number2color", "loc": "32:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./number2color", "loc": "32:0-57" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var numColorCache = {};\n\nfunction numberToColor(num) {\n // 增加缓存\n var color = numColorCache[num];\n\n if (!color) {\n var str = num.toString(16);\n\n for (var i = str.length; i < 6; i++) {\n str = '0' + str;\n }\n\n color = '#' + str;\n numColorCache[num] = color;\n }\n\n return color;\n}\n\nexport default numberToColor;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/parse-radius.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/parse-radius.js", "index": 45, "index2": 41, "size": 665, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./parse-radius", "loc": "33:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./parse-radius", "loc": "33:0-56" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './is-array';\n\nfunction parseRadius(radius) {\n var r1 = 0,\n r2 = 0,\n r3 = 0,\n r4 = 0;\n\n if (isArray(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\n return {\n r1: r1,\n r2: r2,\n r3: r3,\n r4: r4\n };\n}\n\nexport default parseRadius;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/clamp.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/clamp.js", "index": 46, "index2": 42, "size": 157, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./clamp", "loc": "35:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./clamp", "loc": "35:0-43" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var clamp = function clamp(a, min, max) {\n if (a < min) {\n return min;\n } else if (a > max) {\n return max;\n }\n\n return a;\n};\n\nexport default clamp;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/fixed-base.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/fixed-base.js", "index": 47, "index2": 43, "size": 319, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./fixed-base", "loc": "36:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./fixed-base", "loc": "36:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var fixedBase = function fixedBase(v, base) {\n var str = base.toString();\n var index = str.indexOf('.');\n\n if (index === -1) {\n return Math.round(v);\n }\n\n var length = str.substr(index + 1).length;\n\n if (length > 20) {\n length = 20;\n }\n\n return parseFloat(v.toFixed(length));\n};\n\nexport default fixedBase;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-number.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-number.js", "index": 49, "index2": 44, "size": 201, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-negative.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-negative.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-negative.js", "type": "harmony side effect evaluation", "userRequest": "./is-number", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-integer.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-integer.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-integer.js", "type": "harmony side effect evaluation", "userRequest": "./is-number", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-even.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-even.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-even.js", "type": "harmony side effect evaluation", "userRequest": "./is-number", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-decimal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-decimal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-decimal.js", "type": "harmony side effect evaluation", "userRequest": "./is-number", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-odd.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-odd.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-odd.js", "type": "harmony side effect evaluation", "userRequest": "./is-number", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-positive.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-positive.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-positive.js", "type": "harmony side effect evaluation", "userRequest": "./is-number", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "type": "harmony side effect evaluation", "userRequest": "./is-number", "loc": "3:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-integer.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-integer.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-integer.js", "type": "harmony import specifier", "userRequest": "./is-number", "loc": "3:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-negative.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-negative.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-negative.js", "type": "harmony import specifier", "userRequest": "./is-number", "loc": "4:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-even.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-even.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-even.js", "type": "harmony import specifier", "userRequest": "./is-number", "loc": "4:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-odd.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-odd.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-odd.js", "type": "harmony import specifier", "userRequest": "./is-number", "loc": "4:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-decimal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-decimal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-decimal.js", "type": "harmony import specifier", "userRequest": "./is-number", "loc": "4:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-positive.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-positive.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-positive.js", "type": "harmony import specifier", "userRequest": "./is-number", "loc": "4:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-finite.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-finite.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-finite.js", "type": "harmony side effect evaluation", "userRequest": "./is-number", "loc": "5:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-finite.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-finite.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-finite.js", "type": "harmony import specifier", "userRequest": "./is-number", "loc": "7:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "type": "harmony import specifier", "userRequest": "./is-number", "loc": "18:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-number", "loc": "76:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-number", "loc": "76:0-50" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\n * 判断是否数字\n * @return {Boolean} 是否数字\n */\nimport isType from './is-type';\n\nvar isNumber = function isNumber(value) {\n return isType(value, 'Number');\n};\n\nexport default isNumber;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-decimal.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-decimal.js", "index": 48, "index2": 45, "size": 149, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-decimal", "loc": "37:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-decimal", "loc": "37:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNumber from './is-number';\n\nvar isDecimal = function isDecimal(num) {\n return isNumber(num) && num % 1 !== 0;\n};\n\nexport default isDecimal;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-even.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-even.js", "index": 50, "index2": 46, "size": 140, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-even", "loc": "38:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-even", "loc": "38:0-46" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNumber from './is-number';\n\nvar isEven = function isEven(num) {\n return isNumber(num) && num % 2 === 0;\n};\n\nexport default isEven;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-integer.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-integer.js", "index": 51, "index2": 47, "size": 176, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-integer", "loc": "39:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-integer", "loc": "39:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNumber from './is-number';\nvar isInteger = Number.isInteger ? Number.isInteger : function (num) {\n return isNumber(num) && num % 1 === 0;\n};\nexport default isInteger;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-negative.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-negative.js", "index": 52, "index2": 48, "size": 146, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-negative", "loc": "40:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-negative", "loc": "40:0-54" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNumber from './is-number';\n\nvar isNegative = function isNegative(num) {\n return isNumber(num) && num < 0;\n};\n\nexport default isNegative;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-number-equal.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-number-equal.js", "index": 53, "index2": 49, "size": 231, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-number-equal", "loc": "41:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-number-equal", "loc": "41:0-61" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var PRECISION = 0.00001; // numbers less than this is considered as 0\n\nexport default function isNumberEqual(a, b, precision) {\n if (precision === void 0) {\n precision = PRECISION;\n }\n\n return Math.abs(a - b) < precision;\n}\n;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-odd.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-odd.js", "index": 54, "index2": 50, "size": 137, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-odd", "loc": "42:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-odd", "loc": "42:0-44" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNumber from './is-number';\n\nvar isOdd = function isOdd(num) {\n return isNumber(num) && num % 2 !== 0;\n};\n\nexport default isOdd;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-positive.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-positive.js", "index": 55, "index2": 51, "size": 146, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-positive", "loc": "43:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-positive", "loc": "43:0-54" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNumber from './is-number';\n\nvar isPositive = function isPositive(num) {\n return isNumber(num) && num > 0;\n};\n\nexport default isPositive;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "index": 56, "index2": 52, "size": 877, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./max-by", "loc": "44:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./max-by", "loc": "44:0-44" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import each from './each';\nimport isArray from './is-array';\nimport isFunction from './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 */\n\nexport default (function (arr, fn) {\n if (!isArray(arr)) {\n return undefined;\n }\n\n var max = arr[0];\n var maxData;\n\n if (isFunction(fn)) {\n maxData = fn(arr[0]);\n } else {\n maxData = arr[0][fn];\n }\n\n var data;\n each(arr, function (val) {\n if (isFunction(fn)) {\n data = fn(val);\n } else {\n data = val[fn];\n }\n\n if (data > maxData) {\n max = val;\n maxData = data;\n }\n });\n return max;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "index": 57, "index2": 53, "size": 877, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./min-by", "loc": "45:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./min-by", "loc": "45:0-44" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import each from './each';\nimport isArray from './is-array';\nimport isFunction from './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 */\n\nexport default (function (arr, fn) {\n if (!isArray(arr)) {\n return undefined;\n }\n\n var min = arr[0];\n var minData;\n\n if (isFunction(fn)) {\n minData = fn(arr[0]);\n } else {\n minData = arr[0][fn];\n }\n\n var data;\n each(arr, function (val) {\n if (isFunction(fn)) {\n data = fn(val);\n } else {\n data = val[fn];\n }\n\n if (data < minData) {\n min = val;\n minData = data;\n }\n });\n return min;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/mod.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/mod.js", "index": 58, "index2": 54, "size": 80, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./mod", "loc": "46:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./mod", "loc": "46:0-39" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var mod = function mod(n, m) {\n return (n % m + m) % m;\n};\n\nexport default mod;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/to-degree.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-degree.js", "index": 59, "index2": 55, "size": 126, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./to-degree", "loc": "47:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./to-degree", "loc": "47:0-50" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var DEGREE = 180 / Math.PI;\n\nvar toDegree = function toDegree(radian) {\n return DEGREE * radian;\n};\n\nexport default toDegree;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/to-integer.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-integer.js", "index": 60, "index2": 56, "size": 24, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./to-integer", "loc": "48:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./to-integer", "loc": "48:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "export default parseInt;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/to-radian.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-radian.js", "index": 61, "index2": 57, "size": 126, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./to-radian", "loc": "49:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./to-radian", "loc": "49:0-50" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var RADIAN = Math.PI / 180;\n\nvar toRadian = function toRadian(degree) {\n return RADIAN * degree;\n};\n\nexport default toRadian;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/for-in.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/for-in.js", "index": 62, "index2": 58, "size": 47, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./for-in", "loc": "51:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./for-in", "loc": "51:0-44" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import each from './each';\nexport default each;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/has.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has.js", "index": 63, "index2": 59, "size": 75, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/has-key.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-key.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-key.js", "type": "harmony side effect evaluation", "userRequest": "./has", "loc": "1:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/has-key.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-key.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-key.js", "type": "harmony import specifier", "userRequest": "./has", "loc": "2:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./has", "loc": "52:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./has", "loc": "52:0-39" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "export default (function (obj, key) {\n return obj.hasOwnProperty(key);\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/has-key.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-key.js", "index": 64, "index2": 60, "size": 44, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./has-key", "loc": "53:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./has-key", "loc": "53:0-46" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import has from './has';\nexport default has;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "index": 66, "index2": 61, "size": 366, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "type": "harmony side effect evaluation", "userRequest": "./values", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "type": "harmony import specifier", "userRequest": "./values", "loc": "4:18-24" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./values", "loc": "57:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./values", "loc": "57:0-45" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import each from './each';\nimport isFunction from './is-function'; // @ts-ignore\n\nvar values = Object.values ? function (obj) {\n return Object.values(obj);\n} : function (obj) {\n var result = [];\n each(obj, function (value, key) {\n if (!(isFunction(obj) && key === 'prototype')) {\n result.push(value);\n }\n });\n return result;\n};\nexport default values;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "index": 65, "index2": 62, "size": 148, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./has-value", "loc": "54:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./has-value", "loc": "54:0-50" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import contains from './contains';\nimport values from './values';\nexport default (function (obj, value) {\n return contains(values(obj), value);\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/to-string.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-string.js", "index": 68, "index2": 63, "size": 126, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-first.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-first.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-first.js", "type": "harmony side effect evaluation", "userRequest": "./to-string", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-case.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-case.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-case.js", "type": "harmony side effect evaluation", "userRequest": "./to-string", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-first.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-first.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-first.js", "type": "harmony side effect evaluation", "userRequest": "./to-string", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-case.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-case.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-case.js", "type": "harmony side effect evaluation", "userRequest": "./to-string", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-case.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-case.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-case.js", "type": "harmony import specifier", "userRequest": "./to-string", "loc": "4:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-case.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-case.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-case.js", "type": "harmony import specifier", "userRequest": "./to-string", "loc": "4:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-first.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-first.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-first.js", "type": "harmony import specifier", "userRequest": "./to-string", "loc": "4:12-20" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-first.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-first.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-first.js", "type": "harmony import specifier", "userRequest": "./to-string", "loc": "4:12-20" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./to-string", "loc": "108:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./to-string", "loc": "108:0-50" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNil from './is-nil';\nexport default (function (value) {\n if (isNil(value)) return '';\n return value.toString();\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-case.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-case.js", "index": 67, "index2": 64, "size": 146, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./lower-case", "loc": "59:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./lower-case", "loc": "59:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import toString from './to-string';\n\nvar lowerCase = function lowerCase(str) {\n return toString(str).toLowerCase();\n};\n\nexport default lowerCase;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-first.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-first.js", "index": 69, "index2": 65, "size": 199, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./lower-first", "loc": "60:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./lower-first", "loc": "60:0-54" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import toString from './to-string';\n\nvar lowerFirst = function lowerFirst(value) {\n var str = toString(value);\n return str.charAt(0).toLowerCase() + str.substring(1);\n};\n\nexport default lowerFirst;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/substitute.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/substitute.js", "index": 70, "index2": 66, "size": 293, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./substitute", "loc": "61:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./substitute", "loc": "61:0-53" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "function substitute(str, o) {\n if (!str || !o) {\n return str;\n }\n\n return str.replace(/\\\\?\\{([^{}]+)\\}/g, function (match, name) {\n if (match.charAt(0) === '\\\\') {\n return match.slice(1);\n }\n\n return o[name] === undefined ? '' : o[name];\n });\n}\n\nexport default substitute;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-case.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-case.js", "index": 71, "index2": 67, "size": 146, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./upper-case", "loc": "62:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./upper-case", "loc": "62:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import toString from './to-string';\n\nvar upperCase = function upperCase(str) {\n return toString(str).toUpperCase();\n};\n\nexport default upperCase;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-first.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-first.js", "index": 72, "index2": 68, "size": 199, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./upper-first", "loc": "63:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./upper-first", "loc": "63:0-54" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import toString from './to-string';\n\nvar upperFirst = function upperFirst(value) {\n var str = toString(value);\n return str.charAt(0).toUpperCase() + str.substring(1);\n};\n\nexport default upperFirst;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/get-type.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get-type.js", "index": 73, "index2": 69, "size": 171, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "type": "harmony side effect evaluation", "userRequest": "./get-type", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "type": "harmony import specifier", "userRequest": "./get-type", "loc": "25:13-20" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-type", "loc": "65:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-type", "loc": "65:0-48" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var toString = {}.toString;\n\nvar getType = function getType(value) {\n return toString.call(value).replace(/^\\[object /, '').replace(/]$/, '');\n};\n\nexport default getType;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-arguments.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-arguments.js", "index": 74, "index2": 70, "size": 244, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-arguments", "loc": "66:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-arguments", "loc": "66:0-56" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\n * 是否是参数类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\nimport isType from './is-type';\n\nvar isArguments = function isArguments(value) {\n return isType(value, 'Arguments');\n};\n\nexport default isArguments;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-boolean.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-boolean.js", "index": 75, "index2": 71, "size": 236, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-boolean", "loc": "69:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-boolean", "loc": "69:0-52" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\n * 是否是布尔类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\nimport isType from './is-type';\n\nvar isBoolean = function isBoolean(value) {\n return isType(value, 'Boolean');\n};\n\nexport default isBoolean;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-date.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-date.js", "index": 76, "index2": 72, "size": 129, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-date", "loc": "70:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-date", "loc": "70:0-46" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isType from './is-type';\n\nvar isDate = function isDate(value) {\n return isType(value, 'Date');\n};\n\nexport default isDate;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-error.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-error.js", "index": 77, "index2": 73, "size": 228, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-error", "loc": "71:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-error", "loc": "71:0-48" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\n * 是否是参数类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\nimport isType from './is-type';\n\nvar isError = function isError(value) {\n return isType(value, 'Error');\n};\n\nexport default isError;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-finite.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-finite.js", "index": 78, "index2": 74, "size": 173, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-finite", "loc": "73:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-finite", "loc": "73:0-50" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\n * 判断是否为有限数\n * @return {Boolean}\n */\nimport isNumber from './is-number';\nexport default function (value) {\n return isNumber(value) && isFinite(value);\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-null.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-null.js", "index": 79, "index2": 75, "size": 89, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-null", "loc": "75:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-null", "loc": "75:0-46" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var isNull = function isNull(value) {\n return value === null;\n};\n\nexport default isNull;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-prototype.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-prototype.js", "index": 80, "index2": 76, "size": 258, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "type": "harmony side effect evaluation", "userRequest": "./is-prototype", "loc": "4:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "type": "harmony import specifier", "userRequest": "./is-prototype", "loc": "31:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-prototype", "loc": "80:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-prototype", "loc": "80:0-56" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var objectProto = Object.prototype;\n\nvar isPrototype = function isPrototype(value) {\n var Ctor = value && value.constructor;\n var proto = typeof Ctor === 'function' && Ctor.prototype || objectProto;\n return value === proto;\n};\n\nexport default isPrototype;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-reg-exp.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-reg-exp.js", "index": 81, "index2": 77, "size": 133, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-reg-exp", "loc": "81:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-reg-exp", "loc": "81:0-51" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isType from './is-type';\n\nvar isRegExp = function isRegExp(str) {\n return isType(str, 'RegExp');\n};\n\nexport default isRegExp;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-undefined.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-undefined.js", "index": 82, "index2": 78, "size": 109, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-undefined", "loc": "84:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-undefined", "loc": "84:0-56" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var isUndefined = function isUndefined(value) {\n return value === undefined;\n};\n\nexport default isUndefined;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-element.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-element.js", "index": 83, "index2": 79, "size": 201, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-element", "loc": "85:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-element", "loc": "85:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\n * 判断是否HTML元素\n * @return {Boolean} 是否HTML元素\n */\nvar isElement = function isElement(o) {\n return o instanceof Element || o instanceof HTMLDocument;\n};\n\nexport default isElement;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/request-animation-frame.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/request-animation-frame.js", "index": 84, "index2": 80, "size": 313, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./request-animation-frame", "loc": "86:0-77" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./request-animation-frame", "loc": "86:0-77" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "export default function requestAnimationFrame(fn) {\n var method = window.requestAnimationFrame || window.webkitRequestAnimationFrame || // @ts-ignore\n window.mozRequestAnimationFrame || // @ts-ignore\n window.msRequestAnimationFrame || function (f) {\n return setTimeout(f, 16);\n };\n\n return method(fn);\n}\n;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/clear-animation-frame.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/clear-animation-frame.js", "index": 85, "index2": 81, "size": 274, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./clear-animation-frame", "loc": "87:0-73" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./clear-animation-frame", "loc": "87:0-73" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "export default function cancelAnimationFrame(handler) {\n var method = window.cancelAnimationFrame || window.webkitCancelAnimationFrame || // @ts-ignore\n window.mozCancelAnimationFrame || // @ts-ignore\n window.msCancelAnimationFrame || clearTimeout;\n method(handler);\n}\n;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/mix.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/mix.js", "index": 87, "index2": 82, "size": 399, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "type": "harmony side effect evaluation", "userRequest": "./mix", "loc": "1:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "type": "harmony side effect evaluation", "userRequest": "./mix", "loc": "1:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "type": "harmony import specifier", "userRequest": "./mix", "loc": "20:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "type": "harmony import specifier", "userRequest": "./mix", "loc": "29:23-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "type": "harmony import specifier", "userRequest": "./mix", "loc": "32:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "type": "harmony import specifier", "userRequest": "./mix", "loc": "33:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./mix", "loc": "102:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./mix", "loc": "102:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./mix", "loc": "102:0-58" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "// 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}\n\nexport default function 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}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "index": 86, "index2": 83, "size": 409, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./augment", "loc": "89:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./augment", "loc": "89:0-47" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import mix from './mix';\nimport isFunction from './is-function';\n\nvar augment = function augment() {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n var c = args[0];\n\n for (var i = 1; i < args.length; i++) {\n var obj = args[i];\n\n if (isFunction(obj)) {\n obj = obj.prototype;\n }\n\n mix(c.prototype, obj);\n }\n};\n\nexport default augment;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/clone.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/clone.js", "index": 88, "index2": 84, "size": 1007, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./clone", "loc": "90:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./clone", "loc": "90:0-43" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport isArray from './is-array';\n\nvar clone = function clone(obj) {\n if (_typeof(obj) !== 'object' || obj === null) {\n return obj;\n }\n\n var rst;\n\n if (isArray(obj)) {\n rst = [];\n\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\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\n return rst;\n};\n\nexport default clone;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/debounce.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/debounce.js", "index": 89, "index2": 85, "size": 463, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./debounce", "loc": "91:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./debounce", "loc": "91:0-49" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "function debounce(func, wait, immediate) {\n var timeout;\n return function () {\n var context = this,\n args = arguments;\n\n var later = function later() {\n timeout = null;\n\n if (!immediate) {\n func.apply(context, args);\n }\n };\n\n var callNow = immediate && !timeout;\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n\n if (callNow) {\n func.apply(context, args);\n }\n };\n}\n\nexport default debounce;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/memoize.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/memoize.js", "index": 90, "index2": 86, "size": 830, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./memoize", "loc": "92:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./memoize", "loc": "92:0-47" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isFunction from './is-function';\n/**\n * _.memoize(calColor);\n * _.memoize(calColor, (...args) => args[0]);\n * @param f\n * @param resolver\n */\n\nexport default (function (f, resolver) {\n if (!isFunction(f)) {\n throw new TypeError('Expected a function');\n }\n\n var memoized = function memoized() {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n } // 使用方法构造 key,如果不存在 resolver,则直接取第一个参数作为 key\n\n\n var key = resolver ? resolver.apply(this, args) : args[0];\n var cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n\n var result = f.apply(this, args); // 缓存起来\n\n cache.set(key, result);\n return result;\n };\n\n memoized.cache = new Map();\n return memoized;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "index": 91, "index2": 87, "size": 1057, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./deep-mix", "loc": "93:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./deep-mix", "loc": "93:0-48" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './is-array';\nimport isPlainObject from './is-plain-object';\nvar MAX_MIX_LEVEL = 5;\n\nfunction _deepMix(dist, src, level, maxLevel) {\n level = level || 0;\n maxLevel = maxLevel || MAX_MIX_LEVEL;\n\n for (var key in src) {\n if (src.hasOwnProperty(key)) {\n var value = src[key];\n\n if (value !== null && isPlainObject(value)) {\n if (!isPlainObject(dist[key])) {\n dist[key] = {};\n }\n\n if (level < maxLevel) {\n _deepMix(dist[key], value, level + 1, maxLevel);\n } else {\n dist[key] = src[key];\n }\n } else if (isArray(value)) {\n dist[key] = [];\n dist[key] = dist[key].concat(value);\n } else if (value !== undefined) {\n dist[key] = value;\n }\n }\n }\n} // todo 重写\n\n\nvar deepMix = function deepMix(rst) {\n var args = [];\n\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n\n for (var i = 0; i < args.length; i += 1) {\n _deepMix(rst, args[i]);\n }\n\n return rst;\n};\n\nexport default deepMix;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "index": 92, "index2": 88, "size": 1019, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./extend", "loc": "95:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./extend", "loc": "95:0-45" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import mix from './mix';\nimport isFunction from './is-function';\n\nvar extend = function extend(subclass, superclass, overrides, staticOverrides) {\n // 如果只提供父类构造函数,则自动生成子类构造函数\n if (!isFunction(superclass)) {\n overrides = superclass;\n superclass = subclass;\n\n subclass = function subclass() {};\n }\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\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\n subclass.prototype = mix(superObj, subclass.prototype); // 指定子类的prototype\n\n subclass.superclass = create(superclass.prototype, superclass);\n mix(superObj, overrides);\n mix(subclass, staticOverrides);\n return subclass;\n};\n\nexport default extend;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index-of.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index-of.js", "index": 93, "index2": 89, "size": 385, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./index-of", "loc": "96:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./index-of", "loc": "96:0-48" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArrayLike from './is-array-like';\n\nvar indexOf = function indexOf(arr, obj) {\n if (!isArrayLike(arr)) {\n return -1;\n }\n\n var m = Array.prototype.indexOf;\n\n if (m) {\n return m.call(arr, obj);\n }\n\n var index = -1;\n\n for (var i = 0; i < arr.length; i++) {\n if (arr[i] === obj) {\n index = i;\n break;\n }\n }\n\n return index;\n};\n\nexport default indexOf;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "index": 94, "index2": 90, "size": 855, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-empty", "loc": "97:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-empty", "loc": "97:0-48" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNil from './is-nil';\nimport isArrayLike from './is-array-like';\nimport getType from './get-type';\nimport isPrototype from './is-prototype';\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\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 (isNil(value)) {\n return true;\n }\n\n if (isArrayLike(value)) {\n return !value.length;\n }\n\n var type = getType(value);\n\n if (type === 'Map' || type === 'Set') {\n return !value.size;\n }\n\n if (isPrototype(value)) {\n return !Object.keys(value).length;\n }\n\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n\n return true;\n}\n\nexport default isEmpty;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "index": 95, "index2": 91, "size": 1085, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "type": "harmony side effect evaluation", "userRequest": "./is-equal", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "type": "harmony import specifier", "userRequest": "./is-equal", "loc": "28:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-equal", "loc": "98:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-equal", "loc": "98:0-48" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isObjectLike from './is-object-like';\nimport isArrayLike from './is-array-like';\nimport isString from './is-string';\n\nvar isEqual = function isEqual(value, other) {\n if (value === other) {\n return true;\n }\n\n if (!value || !other) {\n return false;\n }\n\n if (isString(value) || isString(other)) {\n return false;\n }\n\n if (isArrayLike(value) || isArrayLike(other)) {\n if (value.length !== other.length) {\n return false;\n }\n\n var rst = true;\n\n for (var i = 0; i < value.length; i++) {\n rst = isEqual(value[i], other[i]);\n\n if (!rst) {\n break;\n }\n }\n\n return rst;\n }\n\n if (isObjectLike(value) || isObjectLike(other)) {\n var valueKeys = Object.keys(value);\n var otherKeys = Object.keys(other);\n\n if (valueKeys.length !== otherKeys.length) {\n return false;\n }\n\n var rst = true;\n\n for (var i = 0; i < valueKeys.length; i++) {\n rst = isEqual(value[valueKeys[i]], other[valueKeys[i]]);\n\n if (!rst) {\n break;\n }\n }\n\n return rst;\n }\n\n return false;\n};\n\nexport default isEqual;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "index": 96, "index2": 92, "size": 822, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-equal-with", "loc": "99:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-equal-with", "loc": "99:0-57" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isFunction from './is-function';\nimport isEqual from './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 */\n\nexport default (function (value, other, fn) {\n if (!isFunction(fn)) {\n return isEqual(value, other);\n }\n\n return !!fn(value, other);\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/map.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map.js", "index": 97, "index2": 93, "size": 329, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./map", "loc": "100:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./map", "loc": "100:0-39" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArrayLike from './is-array-like';\n\nvar map = function map(arr, func) {\n if (!isArrayLike(arr)) {\n // @ts-ignore\n return arr;\n }\n\n var result = [];\n\n for (var index = 0; index < arr.length; index++) {\n var value = arr[index];\n result.push(func(value, index));\n }\n\n return result;\n};\n\nexport default map;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "index": 98, "index2": 94, "size": 409, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./map-values", "loc": "101:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./map-values", "loc": "101:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNil from './is-nil';\nimport isObject from './is-object';\n\nvar identity = function identity(v) {\n return v;\n};\n\nexport default (function (object, func) {\n if (func === void 0) {\n func = identity;\n }\n\n var r = {};\n\n if (isObject(object) && !isNil(object)) {\n Object.keys(object).forEach(function (key) {\n // @ts-ignore\n r[key] = func(object[key], key);\n });\n }\n\n return r;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/get.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get.js", "index": 99, "index2": 95, "size": 415, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get", "loc": "103:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get", "loc": "103:0-39" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isString from './is-string';\n/**\n * https://github.com/developit/dlv/blob/master/index.js\n * @param obj\n * @param key\n * @param defaultValue\n */\n\nexport default (function (obj, key, defaultValue) {\n var p = 0;\n var keyArr = isString(key) ? key.split('.') : key;\n\n while (obj && p < keyArr.length) {\n obj = obj[keyArr[p++]];\n }\n\n return obj === undefined || p < keyArr.length ? defaultValue : obj;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "index": 100, "index2": 96, "size": 612, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./set", "loc": "104:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./set", "loc": "104:0-39" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isObject from './is-object';\nimport isString from './is-string';\nimport isNumber from './is-number';\n/**\n * https://github.com/developit/dlv/blob/master/index.js\n * @param obj\n * @param path\n * @param value\n */\n\nexport default (function (obj, path, value) {\n var o = obj;\n var keyArr = isString(path) ? path.split('.') : path;\n keyArr.forEach(function (key, idx) {\n // 不是最后一个\n if (idx < keyArr.length - 1) {\n if (!isObject(o[key])) {\n o[key] = isNumber(keyArr[idx + 1]) ? [] : {};\n }\n\n o = o[key];\n } else {\n o[key] = value;\n }\n });\n return obj;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "index": 101, "index2": 97, "size": 399, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./pick", "loc": "105:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./pick", "loc": "105:0-41" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import each from './each';\nimport isPlainObject from './is-plain-object';\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nexport default (function (object, keys) {\n if (object === null || !isPlainObject(object)) {\n return {};\n }\n\n var result = {};\n each(keys, function (key) {\n if (hasOwnProperty.call(object, key)) {\n result[key] = object[key];\n }\n });\n return result;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/throttle.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/throttle.js", "index": 102, "index2": 98, "size": 1075, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./throttle", "loc": "106:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./throttle", "loc": "106:0-49" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "export default (function (func, wait, options) {\n var timeout, context, args, result;\n var previous = 0;\n if (!options) options = {};\n\n var later = function later() {\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\n var throttled = function throttled() {\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\n if (remaining <= 0 || remaining > wait) {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n }\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\n return result;\n };\n\n throttled.cancel = function () {\n clearTimeout(timeout);\n previous = 0;\n timeout = context = args = null;\n };\n\n return throttled;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/to-array.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-array.js", "index": 103, "index2": 99, "size": 151, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./to-array", "loc": "107:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./to-array", "loc": "107:0-48" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArrayLike from './is-array-like';\nexport default (function (value) {\n return isArrayLike(value) ? Array.prototype.slice.call(value) : [];\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/unique-id.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/unique-id.js", "index": 104, "index2": 100, "size": 192, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./unique-id", "loc": "109:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./unique-id", "loc": "109:0-50" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var map = {};\nexport default (function (prefix) {\n prefix = prefix || 'g';\n\n if (!map[prefix]) {\n map[prefix] = 1;\n } else {\n map[prefix] += 1;\n }\n\n return prefix + map[prefix];\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/noop.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/noop.js", "index": 105, "index2": 101, "size": 32, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./noop", "loc": "110:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./noop", "loc": "110:0-41" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "export default (function () {});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/identity.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/identity.js", "index": 106, "index2": 102, "size": 46, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./identity", "loc": "111:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./identity", "loc": "111:0-49" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "export default (function (v) {\n return v;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "index": 107, "index2": 103, "size": 227, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./size", "loc": "112:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./size", "loc": "112:0-41" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNil from './is-nil';\nimport isArraylike from './is-array-like';\nexport default function size(o) {\n if (isNil(o)) {\n return 0;\n }\n\n if (isArraylike(o)) {\n return o.length;\n }\n\n return Object.keys(o).length;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/cache.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/cache.js", "index": 108, "index2": 104, "size": 702, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./cache", "loc": "114:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./cache", "loc": "114:0-43" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\n * k-v 存储\n */\nvar default_1 =\n/** @class */\nfunction () {\n function default_1() {\n this.map = {};\n }\n\n default_1.prototype.has = function (key) {\n return this.map[key] !== undefined;\n };\n\n default_1.prototype.get = function (key, def) {\n var v = this.map[key];\n return v === undefined ? def : v;\n };\n\n default_1.prototype.set = function (key, value) {\n this.map[key] = value;\n };\n\n default_1.prototype.clear = function () {\n this.map = {};\n };\n\n default_1.prototype.delete = function (key) {\n delete this.map[key];\n };\n\n default_1.prototype.size = function () {\n return Object.keys(this.map).length;\n };\n\n return default_1;\n}();\n\nexport default default_1;" } ], "filteredModules": 0 }, { "id": 1, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_tslib@2.0.3@tslib/tslib.es6.js", "name": "./node_modules/_tslib@2.0.3@tslib/tslib.es6.js", "index": 157, "index2": 149, "size": 11807, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "issuerId": 19, "issuerName": "./src/interface/behavior.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 3116, "building": 1096 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "244:15-23" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "5:0-41" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "155:27-35" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "155:36-44" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "169:23-31" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "169:32-40" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "174:23-31" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "174:32-40" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "174:41-49" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "178:23-31" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "178:32-40" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "188:23-31" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "188:32-40" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "197:23-31" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "197:32-40" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "202:24-32" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "202:33-41" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "217:20-28" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "217:29-37" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "220:20-28" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "220:29-37" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "254:29-37" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "287:22-30" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "291:21-29" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "316:19-27" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "316:28-36" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "412:147-153" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "414:60-68" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "467:49-57" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "467:58-66" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-41" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-41" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "6:0-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "25:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "26:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "34:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "44:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "46:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "61:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "63:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "63:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "64:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "68:174-180" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "74:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "75:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "75:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "77:174-180" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "82:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "83:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "83:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "84:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "84:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "92:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "92:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "92:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "93:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "93:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "99:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "101:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "101:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "102:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "102:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "110:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "110:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "111:16-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "111:25-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "111:34-42" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "113:20-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "124:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "131:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "131:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "136:26-34" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "142:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "142:30-38" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "172:30-38" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "172:39-47" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "177:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "177:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "187:27-35" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "187:36-44" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "188:26-34" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "191:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "191:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "196:25-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "196:34-42" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "196:43-51" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "200:20-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "200:29-37" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "201:25-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "201:34-42" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "205:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "205:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "216:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "216:41-49" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "221:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "221:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "230:22-30" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "249:31-39" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "249:40-48" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "260:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "260:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "270:33-41" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "270:42-50" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "270:51-59" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "272:20-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "272:29-37" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "283:31-39" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "283:40-48" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "299:39-47" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "299:48-56" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "324:20-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "324:29-37" }, { "moduleId": 19, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "module": "./src/interface/behavior.ts", "moduleName": "./src/interface/behavior.ts", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-34" }, { "moduleId": 19, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "module": "./src/interface/behavior.ts", "moduleName": "./src/interface/behavior.ts", "type": "harmony import specifier", "userRequest": "tslib", "loc": "4:4-13" }, { "moduleId": 21, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-34" }, { "moduleId": 21, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "type": "harmony import specifier", "userRequest": "tslib", "loc": "8:2-11" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-34" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "tslib", "loc": "77:2-11" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-34" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "78:2-11" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony import specifier", "userRequest": "tslib", "loc": "6:11-19" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony import specifier", "userRequest": "tslib", "loc": "6:20-28" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony import specifier", "userRequest": "tslib", "loc": "6:29-37" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony import specifier", "userRequest": "tslib", "loc": "6:38-46" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-44" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-60" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "8:4-13" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "9:4-13" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "11:4-13" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "13:4-13" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "34:29-37" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "34:38-46" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "34:47-55" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "85:19-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "87:15-23" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "178:18-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "182:35-43" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "182:44-52" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "244:23-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "244:32-40" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "289:24-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "289:33-41" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "348:29-37" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "348:38-46" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "714:35-43" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "714:44-52" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "722:46-54" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "722:55-63" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "787:39-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "805:31-39" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "864:29-37" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "864:38-46" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "918:21-35" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "929:29-37" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "1380:33-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "1423:33-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "2451:34-42" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "2451:43-51" }, { "moduleId": 41, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-34" }, { "moduleId": 41, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "type": "harmony import specifier", "userRequest": "tslib", "loc": "7:2-11" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-34" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony import specifier", "userRequest": "tslib", "loc": "8:2-11" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-34" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "14:2-11" } ], "usedExports": ["__assign", "__extends", "__rest", "__spreadArrays"], "providedExports": [ "__extends", "__assign", "__rest", "__decorate", "__param", "__metadata", "__awaiter", "__generator", "__createBinding", "__exportStar", "__values", "__read", "__spread", "__spreadArrays", "__await", "__asyncGenerator", "__asyncDelegator", "__asyncValues", "__makeTemplateObject", "__importStar", "__importDefault", "__classPrivateFieldGet", "__classPrivateFieldSet" ], "optimizationBailout": [], "depth": 2, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\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\n/* global Reflect, Promise */\nvar _extendStatics = function extendStatics(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) {\n if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];\n }\n };\n\n return _extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n _extendStatics(d, b);\n\n function __() {\n this.constructor = d;\n }\n\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nvar _assign = function __assign() {\n _assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n }\n\n return t;\n };\n\n return _assign.apply(this, arguments);\n};\n\nexport { _assign as __assign };\nexport function __rest(s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\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}\nexport function __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 === \"undefined\" ? \"undefined\" : _typeof(Reflect)) === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {\n if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n }\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\nexport function __param(paramIndex, decorator) {\n return function (target, key) {\n decorator(target, key, paramIndex);\n };\n}\nexport function __metadata(metadataKey, metadataValue) {\n if ((typeof Reflect === \"undefined\" ? \"undefined\" : _typeof(Reflect)) === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\nexport function __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\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\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nexport function __generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function sent() {\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\n function verb(n) {\n return function (v) {\n return step([n, v]);\n };\n }\n\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n\n while (_) {\n 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\n switch (op[0]) {\n case 0:\n case 1:\n t = op;\n break;\n\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n\n case 5:\n _.label++;\n y = op[1];\n op = [0];\n continue;\n\n case 7:\n op = _.ops.pop();\n\n _.trys.pop();\n\n continue;\n\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\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n\n if (t && _.label < t[2]) {\n _.label = t[2];\n\n _.ops.push(op);\n\n break;\n }\n\n if (t[2]) _.ops.pop();\n\n _.trys.pop();\n\n continue;\n }\n\n op = body.call(thisArg, _);\n } catch (e) {\n op = [6, e];\n y = 0;\n } finally {\n f = t = 0;\n }\n }\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}\nexport var __createBinding = Object.create ? function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function get() {\n return m[k];\n }\n });\n} : function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n};\nexport function __exportStar(m, o) {\n for (var p in m) {\n if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n }\n}\nexport function __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 next() {\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}\nexport function __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\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {\n ar.push(r.value);\n }\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\n return ar;\n}\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++) {\n ar = ar.concat(__read(arguments[i]));\n }\n\n return ar;\n}\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) {\n s += arguments[i].length;\n }\n\n for (var r = Array(s), k = 0, i = 0; i < il; i++) {\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {\n r[k] = a[j];\n }\n }\n\n return r;\n}\n;\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\nexport function __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\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\n function resume(n, v) {\n try {\n step(g[n](v));\n } catch (e) {\n settle(q[0][3], e);\n }\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\n function fulfill(value) {\n resume(\"next\", value);\n }\n\n function reject(value) {\n resume(\"throw\", value);\n }\n\n function settle(f, v) {\n if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);\n }\n}\nexport function __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\n function verb(n, f) {\n i[n] = o[n] ? function (v) {\n return (p = !p) ? {\n value: __await(o[n](v)),\n done: n === \"return\"\n } : f ? f(v) : v;\n } : f;\n }\n}\nexport function __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\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\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}\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) {\n Object.defineProperty(cooked, \"raw\", {\n value: raw\n });\n } else {\n cooked.raw = raw;\n }\n\n return cooked;\n}\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};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) {\n if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n }\n\n __setModuleDefault(result, mod);\n\n return result;\n}\nexport function __importDefault(mod) {\n return mod && mod.__esModule ? mod : {\n default: mod\n };\n}\nexport function __classPrivateFieldGet(receiver, privateMap) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to get private field on non-instance\");\n }\n\n return privateMap.get(receiver);\n}\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to set private field on non-instance\");\n }\n\n privateMap.set(receiver, value);\n return value;\n}" }, { "id": 2, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/global.ts", "name": "./src/global.ts", "index": 123, "index2": 121, "size": 7776, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "../global", "loc": "3:0-31" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "59:39-45" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../../global", "loc": "2:0-34" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../global", "loc": "2:0-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../global", "loc": "3:0-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../../global", "loc": "3:0-34" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../../global", "loc": "3:0-34" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../../global", "loc": "3:0-34" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../global", "loc": "4:0-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "9:14-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "9:15-21" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "9:44-50" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "10:17-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../global", "loc": "11:0-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "11:20-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "12:18-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "13:20-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "13:20-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "13:20-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "13:23-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "14:18-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "14:18-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "14:18-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "15:23-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "15:23-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "15:23-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "18:22-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "19:22-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "19:22-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "19:26-32" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "20:10-16" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "20:22-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "20:26-32" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "20:26-32" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "21:10-16" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "21:12-18" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "21:26-32" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "24:20-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "25:18-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "25:34-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "26:23-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "26:34-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "29:18-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "29:59-65" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "30:18-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "30:22-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "30:23-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "31:18-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "31:23-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "31:26-32" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "32:18-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "32:20-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "33:20-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "34:34-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "43:58-64" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "44:34-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "46:34-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "50:14-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "54:20-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "55:29-35" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "59:22-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "60:26-32" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "60:31-37" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "63:34-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "90:31-37" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "102:29-35" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "103:20-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "120:31-37" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "124:32-38" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "195:27-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "195:46-52" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../global", "loc": "3:0-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../global", "loc": "6:0-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../global", "loc": "7:0-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "30:62-68" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "31:37-43" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "32:39-45" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "35:43-49" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "55:23-29" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "60:27-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "64:27-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "68:27-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "76:23-29" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "211:49-55" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "215:45-51" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "217:73-79" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "219:74-80" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./global", "loc": "4:0-30" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./global", "loc": "20:13-19" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 1, "source": "var subjectColor = 'rgb(95, 149, 255)';\nvar backColor = 'rgb(255, 255, 255)';\nvar textColor = 'rgb(0, 0, 0)';\n// const colorSet = {\n// // for nodes\n// mainStroke: subjectColor,\n// mainFill: subjectColor01,\n// activeStroke: subjectColor,\n// activeFill: subjectColor005,\n// inactiveStroke: subjectColor04,\n// inactiveFill: subjectColor005,\n// selectedStroke: subjectColor,\n// selectedFill: backColor,\n// highlightStroke: deeperSubject,\n// highlightFill: subjectColor02,\n// disableStroke: disableColor03,\n// disableFill: disableColor005,\n// // for edges\n// edgeMainStroke: disableColor03,\n// edgeActiveStroke: subjectColor,\n// edgeInactiveStroke: disableColor02,\n// edgeSelectedStroke: subjectColor,\n// edgeHighlightStroke: subjectColor,\n// edgeDisableStroke: disableColor01,\n// // for combos\n// comboMainStroke: disableColor03,\n// comboMainFill: disableColor002,\n// comboActiveStroke: subjectColor,\n// comboActiveFill: subjectColor005,\n// comboInactiveStroke: disableColor03,\n// comboInactiveFill: disableColor002,\n// comboSelectedStroke: subjectColor,\n// comboSelectedFill: disableColor002,\n// comboHighlightStroke: deeperSubject, // 'rgb(53, 119, 222)', // TODO: how to generate it ???\n// comboHighlightFill: disableColor002,\n// comboDisableStroke: disableColor02,\n// comboDisableFill: disableColor005,\n// }\nvar colorSet = {\n // for nodes\n mainStroke: subjectColor,\n mainFill: backColor,\n activeStroke: subjectColor,\n activeFill: backColor,\n inactiveStroke: backColor,\n inactiveFill: backColor,\n selectedStroke: subjectColor,\n selectedFill: backColor,\n highlightStroke: backColor,\n highlightFill: backColor,\n disableStroke: backColor,\n disableFill: backColor,\n // for edges\n edgeMainStroke: backColor,\n edgeActiveStroke: subjectColor,\n edgeInactiveStroke: backColor,\n edgeSelectedStroke: subjectColor,\n edgeHighlightStroke: subjectColor,\n edgeDisableStroke: backColor,\n // for combos\n comboMainStroke: backColor,\n comboMainFill: backColor,\n comboActiveStroke: subjectColor,\n comboActiveFill: backColor,\n comboInactiveStroke: backColor,\n comboInactiveFill: backColor,\n comboSelectedStroke: subjectColor,\n comboSelectedFill: backColor,\n comboHighlightStroke: backColor,\n comboHighlightFill: backColor,\n comboDisableStroke: backColor,\n comboDisableFill: backColor,\n};\nexport default {\n version: '4.0.3',\n rootContainerClassName: 'root-container',\n nodeContainerClassName: 'node-container',\n edgeContainerClassName: 'edge-container',\n comboContainerClassName: 'combo-container',\n delegateContainerClassName: 'delegate-container',\n defaultLoopPosition: 'top',\n nodeLabel: {\n style: {\n fill: '#000',\n fontSize: 12,\n textAlign: 'center',\n textBaseline: 'middle',\n },\n offset: 4,\n },\n defaultNode: {\n type: 'circle',\n style: {\n lineWidth: 1,\n stroke: colorSet.mainStroke,\n fill: colorSet.mainFill,\n },\n size: 20,\n color: colorSet.mainStroke,\n linkPoints: {\n size: 8,\n lineWidth: 1,\n fill: colorSet.activeFill,\n stroke: colorSet.activeStroke,\n },\n },\n // 节点应用状态后的样式,默认仅提供 active、selected、highlight、inactive、disable,用户可以自己扩展\n nodeStateStyles: {\n active: {\n fill: colorSet.activeFill,\n stroke: colorSet.activeStroke,\n lineWidth: 2,\n shadowColor: colorSet.mainStroke,\n shadowBlur: 10,\n },\n selected: {\n fill: colorSet.selectedFill,\n stroke: colorSet.selectedStroke,\n lineWidth: 4,\n shadowColor: colorSet.selectedStroke,\n shadowBlur: 10,\n 'text-shape': {\n fontWeight: 500,\n },\n },\n highlight: {\n fill: colorSet.highlightFill,\n stroke: colorSet.highlightStroke,\n lineWidth: 2,\n 'text-shape': {\n fontWeight: 500,\n },\n },\n inactive: {\n fill: colorSet.inactiveFill,\n stroke: colorSet.inactiveStroke,\n lineWidth: 1,\n },\n disable: {\n fill: colorSet.disableFill,\n stroke: colorSet.disableStroke,\n lineWidth: 1,\n },\n },\n edgeLabel: {\n style: {\n fill: textColor,\n textAlign: 'center',\n textBaseline: 'middle',\n fontSize: 12,\n },\n },\n defaultEdge: {\n type: 'line',\n size: 1,\n style: {\n stroke: colorSet.edgeMainStroke,\n lineAppendWidth: 2,\n },\n color: colorSet.edgeMainStroke,\n },\n // 边应用状态后的样式,默认仅提供 active、selected、highlight、inactive、disable,用户可以自己扩展\n edgeStateStyles: {\n active: {\n stroke: colorSet.edgeActiveStroke,\n lineWidth: 1,\n },\n selected: {\n stroke: colorSet.edgeSelectedStroke,\n lineWidth: 2,\n shadowColor: colorSet.edgeSelectedStroke,\n shadowBlur: 10,\n 'text-shape': {\n fontWeight: 500,\n },\n },\n highlight: {\n stroke: colorSet.edgeHighlightStroke,\n lineWidth: 2,\n 'text-shape': {\n fontWeight: 500,\n },\n },\n inactive: {\n stroke: colorSet.edgeInactiveStroke,\n lineWidth: 1,\n },\n disable: {\n stroke: colorSet.edgeDisableStroke,\n lineWidth: 1,\n },\n },\n comboLabel: {\n style: {\n fill: textColor,\n // textAlign: 'center',\n textBaseline: 'middle',\n fontSize: 12,\n },\n refY: 10,\n refX: 10,\n },\n defaultCombo: {\n type: 'circle',\n style: {\n fill: colorSet.comboMainFill,\n lineWidth: 1,\n stroke: colorSet.comboMainStroke,\n r: 5,\n width: 20,\n height: 10,\n },\n size: [20, 5],\n color: colorSet.comboMainStroke,\n padding: [25, 20, 15, 20],\n },\n // combo 应用状态后的样式,默认仅提供 active、selected、highlight、inactive、disable,用户可以自己扩展\n comboStateStyles: {\n active: {\n stroke: colorSet.comboActiveStroke,\n lineWidth: 1,\n fill: colorSet.comboActiveFill,\n },\n selected: {\n stroke: colorSet.comboSelectedStroke,\n lineWidth: 2,\n fill: colorSet.comboSelectedFill,\n shadowColor: colorSet.comboSelectedStroke,\n shadowBlur: 10,\n 'text-shape': {\n fontWeight: 500,\n },\n },\n highlight: {\n stroke: colorSet.comboHighlightStroke,\n lineWidth: 2,\n fill: colorSet.comboHighlightFill,\n 'text-shape': {\n fontWeight: 500,\n },\n },\n inactive: {\n stroke: colorSet.comboInactiveStroke,\n fill: colorSet.comboInactiveFill,\n lineWidth: 1,\n },\n disable: {\n stroke: colorSet.comboDisableStroke,\n fill: colorSet.comboDisableFill,\n lineWidth: 1,\n },\n },\n delegateStyle: {\n fill: '#F3F9FF',\n fillOpacity: 0.5,\n stroke: '#1890FF',\n strokeOpacity: 0.9,\n lineDash: [5, 5],\n },\n};\n" }, { "id": 3, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "index": 112, "index2": 118, "size": 2996, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "1:0-58" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "165:4-8" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "183:25-29" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "188:4-8" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "328:22-31" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "348:13-22" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "361:13-22" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "2:0-41" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "171:25-29" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "174:23-27" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "1:0-41" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "57:4-8" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "147:11-15" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "147:26-30" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "176:27-31" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "177:30-34" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "178:17-21" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "179:17-21" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "180:17-21" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "181:17-21" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "202:21-25" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "203:34-38" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "203:60-64" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "238:25-29" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "238:49-53" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "239:25-29" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "241:38-42" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "242:30-34" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "243:23-27" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "244:23-27" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "245:23-27" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "262:15-19" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "268:27-31" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "268:46-50" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "268:85-89" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "269:26-30" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "269:56-60" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "3:0-46" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "127:38-47" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "134:38-47" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "141:38-47" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "148:38-47" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "157:30-39" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "277:35-44" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "3:0-41" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "430:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "501:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "502:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "503:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "506:12-16" } ], "usedExports": ["mat3", "transform", "vec2", "vec3"], "providedExports": ["mat3", "vec2", "vec3", "transform"], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/mat3.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js because of ./src/index.ts" ], "depth": 2, "modules": [ { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "index": 112, "index2": 118, "size": 187, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "issuerId": null, "issuerName": "./src/graph/graph.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "1:0-58" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "165:4-8" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "183:25-29" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "188:4-8" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "328:22-31" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "348:13-22" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "361:13-22" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "2:0-41" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "171:25-29" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "174:23-27" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "1:0-41" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "57:4-8" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "147:11-15" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "147:26-30" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "176:27-31" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "177:30-34" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "178:17-21" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "179:17-21" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "180:17-21" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "181:17-21" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "202:21-25" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "203:34-38" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "203:60-64" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "238:25-29" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "238:49-53" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "239:25-29" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "241:38-42" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "242:30-34" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "243:23-27" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "244:23-27" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "245:23-27" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "262:15-19" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "268:27-31" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "268:46-50" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "268:85-89" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "269:26-30" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "269:56-60" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "3:0-46" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "127:38-47" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "134:38-47" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "141:38-47" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "148:38-47" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "157:30-39" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "277:35-44" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "3:0-41" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "430:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "501:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "502:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "503:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "506:12-16" } ], "usedExports": ["mat3", "transform", "vec2", "vec3"], "providedExports": ["mat3", "vec2", "vec3", "transform"], "optimizationBailout": [], "depth": 2, "source": "// matrix\nexport { default as mat3 } from './mat3';\nexport { default as vec2 } from './vec2';\nexport { default as vec3 } from './vec3';\nexport { default as transform } from './transform';" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/mat3.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/mat3.js", "index": 113, "index2": 112, "size": 1024, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } } ], "profile": { "factory": 1667, "building": 225, "dependencies": 394 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./mat3", "loc": "2:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./mat3", "loc": "2:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "type": "harmony side effect evaluation", "userRequest": "./mat3", "loc": "2:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "type": "harmony import specifier", "userRequest": "./mat3", "loc": "9:8-12" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "type": "harmony import specifier", "userRequest": "./mat3", "loc": "13:8-12" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "type": "harmony import specifier", "userRequest": "./mat3", "loc": "17:8-12" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "type": "harmony import specifier", "userRequest": "./mat3", "loc": "21:8-12" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import * as mat3 from '@antv/gl-matrix/lib/gl-matrix/mat3';\n\nmat3.translate = function (out, a, v) {\n var transMat = new Array(9);\n mat3.fromTranslation(transMat, v);\n return mat3.multiply(out, transMat, a);\n};\n\nmat3.rotate = function (out, a, rad) {\n var rotateMat = new Array(9);\n mat3.fromRotation(rotateMat, rad);\n return mat3.multiply(out, rotateMat, a);\n};\n\nmat3.scale = function (out, a, v) {\n var scaleMat = new Array(9);\n mat3.fromScaling(scaleMat, v);\n return mat3.multiply(out, scaleMat, a);\n};\n\nmat3.transform = function (m, actions) {\n var out = [].concat(m);\n\n for (var i = 0, len = actions.length; i < len; i++) {\n var action = actions[i];\n\n switch (action[0]) {\n case 't':\n mat3.translate(out, out, [action[1], action[2]]);\n break;\n\n case 's':\n mat3.scale(out, out, [action[1], action[2]]);\n break;\n\n case 'r':\n mat3.rotate(out, out, action[1]);\n break;\n\n default:\n break;\n }\n }\n\n return out;\n};\n\nexport default mat3;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec2.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec2.js", "index": 116, "index2": 114, "size": 1005, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } } ], "profile": { "factory": 1667, "building": 225, "dependencies": 394 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./vec2", "loc": "3:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./vec2", "loc": "3:0-41" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import * as vec2 from '@antv/gl-matrix/lib/gl-matrix/vec2';\nimport { clamp } from '@antv/util';\n\nvec2.angle = function (v1, v2) {\n var theta = vec2.dot(v1, v2) / (vec2.length(v1) * vec2.length(v2));\n return Math.acos(clamp(theta, -1, 1));\n};\n/**\n * 向量 v1 到 向量 v2 夹角的方向\n * @param {Array} v1 向量\n * @param {Array} v2 向量\n * @return {Boolean} >= 0 顺时针 < 0 逆时针\n */\n\n\nvec2.direction = function (v1, v2) {\n return v1[0] * v2[1] - v2[0] * v1[1];\n};\n\nvec2.angleTo = function (v1, v2, direct) {\n var angle = vec2.angle(v1, v2);\n var angleLargeThanPI = vec2.direction(v1, v2) >= 0;\n\n if (direct) {\n if (angleLargeThanPI) {\n return Math.PI * 2 - angle;\n }\n\n return angle;\n }\n\n if (angleLargeThanPI) {\n return angle;\n }\n\n return Math.PI * 2 - angle;\n};\n\nvec2.vertical = function (out, v, flag) {\n if (flag) {\n out[0] = v[1];\n out[1] = -1 * v[0];\n } else {\n out[0] = -1 * v[1];\n out[1] = v[0];\n }\n\n return out;\n};\n\nexport default vec2;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec3.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec3.js", "index": 118, "index2": 116, "size": 80, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } } ], "profile": { "factory": 1667, "building": 225, "dependencies": 394 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./vec3", "loc": "4:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./vec3", "loc": "4:0-41" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import * as vec3 from '@antv/gl-matrix/lib/gl-matrix/vec3';\nexport default vec3;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "index": 120, "index2": 117, "size": 680, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } } ], "profile": { "factory": 1667, "building": 225, "dependencies": 394 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./transform", "loc": "5:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./transform", "loc": "5:0-51" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import { each, clone } from '@antv/util';\nimport mat3 from './mat3';\nexport default (function (m, ts) {\n // 上层使用时会传入为 null 的 matrix,此时按照单位矩阵处理\n var matrix = m ? clone(m) : [1, 0, 0, 0, 1, 0, 0, 0, 1];\n each(ts, function (t) {\n switch (t[0]) {\n case 't':\n mat3.translate(matrix, matrix, [t[1], t[2]]);\n break;\n\n case 's':\n mat3.scale(matrix, matrix, [t[1], t[2]]);\n break;\n\n case 'r':\n mat3.rotate(matrix, matrix, t[1]);\n break;\n\n case 'm':\n mat3.multiply(matrix, matrix, t[1]);\n break;\n\n default:\n return false;\n }\n });\n return matrix;\n});" } ], "filteredModules": 0 }, { "id": 4, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "name": "./src/util/math.ts", "index": 122, "index2": 120, "size": 20648, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "issuerId": 31, "issuerName": "./src/util/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 3034, "building": 905, "dependencies": 1815 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "./math", "loc": "4:0-37" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "./math", "loc": "27:18-29" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "./math", "loc": "28:22-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../util/math", "loc": "9:0-65" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "354:21-44" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "398:21-44" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "400:21-29" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony side effect evaluation", "userRequest": "./math", "loc": "2:0-35" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony import specifier", "userRequest": "./math", "loc": "6:87-95" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../../util/math", "loc": "1:0-183" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/math", "loc": "3:0-121" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/math", "loc": "5:0-51" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../../util/math", "loc": "5:0-60" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/math", "loc": "5:0-41" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/math", "loc": "6:0-36" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "15:26-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "18:22-30" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "103:20-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "114:33-58" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "121:33-59" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "129:33-56" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "138:15-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "153:19-29" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "154:29-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "156:16-30" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "177:23-37" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "200:16-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "201:16-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "217:16-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "230:25-44" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "231:15-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "250:50-54" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "251:50-54" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "297:32-36" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "310:25-29" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "325:19-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "328:15-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "329:12-22" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "379:21-37" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "442:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "472:33-52" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "491:36-55" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "601:8-17" } ], "usedExports": true, "providedExports": [ "compare", "getLineIntersect", "getRectIntersectByPoint", "getCircleIntersectByPoint", "getEllipseIntersectByPoint", "applyMatrix", "invertMatrix", "getCircleCenterByPoints", "distance", "scaleMatrix", "floydWarshall", "getAdjMatrix", "translate", "move", "scale", "rotate", "getDegree", "isPointInPolygon", "intersectBBox", "isPolygonsIntersect", "Line", "getBBoxBoundLine", "itemIntersectByLine", "fractionToLine", "getPointsCenter", "squareDist", "pointLineSquareDist", "isPointsOverlap", "pointRectSquareDist" ], "optimizationBailout": [], "depth": 2, "source": "import { mat3, transform, vec3 } from '@antv/matrix-util';\nimport { isArray, each } from '@antv/util';\n/**\n * 对比对象,用于对象数组排序\n * @param {string} attributeName 排序依据的字段名称\n * @param {number} min 最小值\n * @param {number} max 最大值\n * @return {boolean} bool 布尔\n */\nexport var compare = function (attributeName) {\n return function (m, n) {\n return m[attributeName] - n[attributeName];\n };\n};\n/**\n * 是否在区间内\n * @param {number} value 值\n * @param {number} min 最小值\n * @param {number} max 最大值\n * @return {boolean} bool 布尔\n */\nvar isBetween = function (value, min, max) { return value >= min && value <= max; };\n/**\n * 获取两条线段的交点\n * @param {Point} p0 第一条线段起点\n * @param {Point} p1 第一条线段终点\n * @param {Point} p2 第二条线段起点\n * @param {Point} p3 第二条线段终点\n * @return {Point} 交点\n */\nexport var getLineIntersect = function (p0, p1, p2, p3) {\n var tolerance = 0.001;\n var E = {\n x: p2.x - p0.x,\n y: p2.y - p0.y,\n };\n var D0 = {\n x: p1.x - p0.x,\n y: p1.y - p0.y,\n };\n var D1 = {\n x: p3.x - p2.x,\n y: p3.y - p2.y,\n };\n var kross = D0.x * D1.y - D0.y * D1.x;\n var sqrKross = kross * kross;\n var sqrLen0 = D0.x * D0.x + D0.y * D0.y;\n var sqrLen1 = D1.x * D1.x + D1.y * D1.y;\n var point = null;\n if (sqrKross > tolerance * sqrLen0 * sqrLen1) {\n var s = (E.x * D1.y - E.y * D1.x) / kross;\n var t = (E.x * D0.y - E.y * D0.x) / kross;\n if (isBetween(s, 0, 1) && isBetween(t, 0, 1)) {\n point = {\n x: p0.x + s * D0.x,\n y: p0.y + s * D0.y,\n };\n }\n }\n return point;\n};\n/**\n * point and rectangular intersection point\n * @param {IRect} rect rect\n * @param {Point} point point\n * @return {PointPoint} rst;\n */\nexport var getRectIntersectByPoint = function (rect, point) {\n var x = rect.x, y = rect.y, width = rect.width, height = rect.height;\n var cx = x + width / 2;\n var cy = y + height / 2;\n var points = [];\n var center = {\n x: cx,\n y: cy,\n };\n points.push({\n x: x,\n y: y,\n });\n points.push({\n x: x + width,\n y: y,\n });\n points.push({\n x: x + width,\n y: y + height,\n });\n points.push({\n x: x,\n y: y + height,\n });\n points.push({\n x: x,\n y: y,\n });\n var rst = null;\n for (var i = 1; i < points.length; i++) {\n rst = getLineIntersect(points[i - 1], points[i], center, point);\n if (rst) {\n break;\n }\n }\n return rst;\n};\n/**\n * get point and circle inIntersect\n * @param {ICircle} circle 圆点,x,y,r\n * @param {Point} point 点 x,y\n * @return {Point} applied point\n */\nexport var getCircleIntersectByPoint = function (circle, point) {\n var cx = circle.x, cy = circle.y, r = circle.r;\n var x = point.x, y = point.y;\n var dx = x - cx;\n var dy = y - cy;\n var d = Math.sqrt(dx * dx + dy * dy);\n if (d < r) {\n return null;\n }\n var signX = Math.sign(dx);\n var signY = Math.sign(dy);\n var angle = Math.atan(dy / dx);\n return {\n x: cx + Math.abs(r * Math.cos(angle)) * signX,\n y: cy + Math.abs(r * Math.sin(angle)) * signY,\n };\n};\n/**\n * get point and ellipse inIntersect\n * @param {Object} ellipse 椭圆 x,y,rx,ry\n * @param {Object} point 点 x,y\n * @return {object} applied point\n */\nexport var getEllipseIntersectByPoint = function (ellipse, point) {\n var a = ellipse.rx;\n var b = ellipse.ry;\n var cx = ellipse.x;\n var cy = ellipse.y;\n var dx = point.x - cx;\n var dy = point.y - cy;\n // 直接通过 x,y 求夹角,求出来的范围是 -PI, PI\n var angle = Math.atan2(dy / b, dx / a);\n if (angle < 0) {\n angle += 2 * Math.PI; // 转换到 0,2PI\n }\n return {\n x: cx + a * Math.cos(angle),\n y: cy + b * Math.sin(angle),\n };\n};\n/**\n * coordinate matrix transformation\n * @param {number} point coordinate\n * @param {Matrix} matrix matrix\n * @param {number} tag could be 0 or 1\n * @return {Point} transformed point\n */\nexport var applyMatrix = function (point, matrix, tag) {\n if (tag === void 0) { tag = 1; }\n var vector = [point.x, point.y, tag];\n if (!matrix || isNaN(matrix[0])) {\n matrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n vec3.transformMat3(vector, vector, matrix);\n return {\n x: vector[0],\n y: vector[1],\n };\n};\n/**\n * coordinate matrix invert transformation\n * @param {number} point coordinate\n * @param {number} matrix matrix\n * @param {number} tag could be 0 or 1\n * @return {object} transformed point\n */\nexport var invertMatrix = function (point, matrix, tag) {\n if (tag === void 0) { tag = 1; }\n if (!matrix || isNaN(matrix[0])) {\n matrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n var inversedMatrix = mat3.invert([], matrix);\n if (!inversedMatrix) {\n inversedMatrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n var vector = [point.x, point.y, tag];\n vec3.transformMat3(vector, vector, inversedMatrix);\n return {\n x: vector[0],\n y: vector[1],\n };\n};\n/**\n *\n * @param p1 First coordinate\n * @param p2 second coordinate\n * @param p3 three coordinate\n */\nexport var getCircleCenterByPoints = function (p1, p2, p3) {\n var a = p1.x - p2.x;\n var b = p1.y - p2.y;\n var c = p1.x - p3.x;\n var d = p1.y - p3.y;\n var e = (p1.x * p1.x - p2.x * p2.x - p2.y * p2.y + p1.y * p1.y) / 2;\n var f = (p1.x * p1.x - p3.x * p3.x - p3.y * p3.y + p1.y * p1.y) / 2;\n var denominator = b * c - a * d;\n return {\n x: -(d * e - b * f) / denominator,\n y: -(a * f - c * e) / denominator,\n };\n};\n/**\n * get distance by two points\n * @param p1 first point\n * @param p2 second point\n */\nexport var distance = function (p1, p2) {\n var vx = p1.x - p2.x;\n var vy = p1.y - p2.y;\n return Math.sqrt(vx * vx + vy * vy);\n};\n/**\n * scale matrix\n * @param matrix [ [], [], [] ]\n * @param ratio\n */\nexport var scaleMatrix = function (matrix, ratio) {\n var result = [];\n matrix.forEach(function (row) {\n var newRow = [];\n row.forEach(function (v) {\n newRow.push(v * ratio);\n });\n result.push(newRow);\n });\n return result;\n};\n/**\n * Floyd Warshall algorithm for shortest path distances matrix\n * @param {array} adjMatrix adjacency matrix\n * @return {array} distances shortest path distances matrix\n */\nexport var floydWarshall = function (adjMatrix) {\n // initialize\n var dist = [];\n var size = adjMatrix.length;\n for (var i = 0; i < size; i += 1) {\n dist[i] = [];\n for (var j = 0; j < size; j += 1) {\n if (i === j) {\n dist[i][j] = 0;\n }\n else if (adjMatrix[i][j] === 0 || !adjMatrix[i][j]) {\n dist[i][j] = Infinity;\n }\n else {\n dist[i][j] = adjMatrix[i][j];\n }\n }\n }\n // floyd\n for (var k = 0; k < size; k += 1) {\n for (var i = 0; i < size; i += 1) {\n for (var j = 0; j < size; j += 1) {\n if (dist[i][j] > dist[i][k] + dist[k][j]) {\n dist[i][j] = dist[i][k] + dist[k][j];\n }\n }\n }\n }\n return dist;\n};\n/**\n * get adjacency matrix\n * @param data graph data\n * @param directed whether it's a directed graph\n */\nexport var getAdjMatrix = function (data, directed) {\n var nodes = data.nodes, edges = data.edges;\n var matrix = [];\n // map node with index in data.nodes\n var nodeMap = {};\n if (!nodes) {\n throw new Error('invalid nodes data!');\n }\n if (nodes) {\n nodes.forEach(function (node, i) {\n nodeMap[node.id] = i;\n var row = [];\n matrix.push(row);\n });\n }\n if (edges) {\n edges.forEach(function (e) {\n var source = e.source, target = e.target;\n var sIndex = nodeMap[source];\n var tIndex = nodeMap[target];\n matrix[sIndex][tIndex] = 1;\n if (!directed) {\n matrix[tIndex][sIndex] = 1;\n }\n });\n }\n return matrix;\n};\n/**\n * 平移group\n * @param group Group 实例\n * @param vec 移动向量\n */\nexport var translate = function (group, vec) {\n group.translate(vec.x, vec.y);\n};\n/**\n * 移动到指定坐标点\n * @param group Group 实例\n * @param point 移动到的坐标点\n */\nexport var move = function (group, point) {\n var matrix = group.getMatrix();\n if (!matrix) {\n matrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n var bbox = group.getCanvasBBox();\n var vx = point.x - bbox.minX;\n var vy = point.y - bbox.minY;\n var movedMatrix = transform(matrix, [['t', vx, vy]]);\n group.setMatrix(movedMatrix);\n};\n/**\n * 缩放 group\n * @param group Group 实例\n * @param point 在x 和 y 方向上的缩放比例\n */\nexport var scale = function (group, ratio) {\n var matrix = group.getMatrix();\n if (!matrix) {\n matrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n var scaleXY = ratio;\n if (!isArray(ratio)) {\n scaleXY = [ratio, ratio];\n }\n if (isArray(ratio) && ratio.length === 1) {\n scaleXY = [ratio[0], ratio[0]];\n }\n matrix = transform(matrix, [['s', scaleXY[0], scaleXY[1]]]);\n group.setMatrix(matrix);\n};\n/**\n *\n * @param group Group 实例\n * @param ratio 选择角度\n */\nexport var rotate = function (group, angle) {\n var matrix = group.getMatrix();\n if (!matrix) {\n matrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n matrix = transform(matrix, [['r', angle]]);\n group.setMatrix(matrix);\n};\nexport var getDegree = function (n, nodeIdxMap, edges) {\n var degrees = [];\n for (var i = 0; i < n; i++) {\n degrees[i] = 0;\n }\n edges.forEach(function (e) {\n if (e.source) {\n degrees[nodeIdxMap[e.source]] += 1;\n }\n if (e.target) {\n degrees[nodeIdxMap[e.target]] += 1;\n }\n });\n return degrees;\n};\n// 判断点Q是否在p1和p2的线段上\nfunction onSegment(p1, p2, q) {\n if ((q[0] - p1[0]) * (p2[1] - p1[1]) === (p2[0] - p1[0]) * (q[1] - p1[1]) &&\n Math.min(p1[0], p2[0]) <= q[0] &&\n q[0] <= Math.max(p1[0], p2[0]) &&\n Math.min(p1[1], p2[1]) <= q[1] &&\n q[1] <= Math.max(p1[1], p2[1])) {\n return true;\n }\n return false;\n}\n/**\n * 判断点P在多边形内-射线法. Borrow from https://github.com/antvis/util/blob/master/packages/path-util/src/point-in-polygon.ts\n * @param points\n * @param x\n * @param y\n */\nexport var isPointInPolygon = function (points, x, y) {\n var isHit = false;\n var n = points.length;\n // 判断两个double在eps精度下的大小关系\n var tolerance = 1e-6;\n function dcmp(xValue) {\n if (Math.abs(xValue) < tolerance) {\n return 0;\n }\n return xValue < 0 ? -1 : 1;\n }\n if (n <= 2) {\n // svg 中点小于 3 个时,不显示,也无法被拾取\n return false;\n }\n for (var i = 0; i < n; i++) {\n var p1 = points[i];\n var p2 = points[(i + 1) % n];\n if (onSegment(p1, p2, [x, y])) {\n // 点在多边形一条边上\n return true;\n }\n // 前一个判断min(p1[1],p2[1]) 0 !== dcmp(p2[1] - y) > 0 &&\n dcmp(x - ((y - p1[1]) * (p1[0] - p2[0])) / (p1[1] - p2[1]) - p1[0]) < 0) {\n isHit = !isHit;\n }\n }\n return isHit;\n};\n// 判断两个BBox是否相交\nexport var intersectBBox = function (box1, box2) {\n return !(box2.minX > box1.maxX ||\n box2.maxX < box1.minX ||\n box2.minY > box1.maxY ||\n box2.maxY < box1.minY);\n};\nvar lineIntersectPolygon = function (lines, line) {\n var isIntersect = false;\n each(lines, function (l) {\n if (getLineIntersect(l.from, l.to, line.from, line.to)) {\n isIntersect = true;\n return false;\n }\n });\n return isIntersect;\n};\n/**\n * 判断两个polygon是否相交。\n * borrow from @antv/path-util\n * @param points1 polygon1的顶点数组\n * @param points2 polygon2的顶点数组\n */\nexport var isPolygonsIntersect = function (points1, points2) {\n var getBBox = function (points) {\n var xArr = points.map(function (p) { return p[0]; });\n var yArr = points.map(function (p) { return p[1]; });\n return {\n minX: Math.min.apply(null, xArr),\n maxX: Math.max.apply(null, xArr),\n minY: Math.min.apply(null, yArr),\n maxY: Math.max.apply(null, yArr),\n };\n };\n var parseToLines = function (points) {\n var lines = [];\n var count = points.length;\n for (var i = 0; i < count - 1; i++) {\n var point = points[i];\n var next = points[i + 1];\n lines.push({\n from: {\n x: point[0],\n y: point[1],\n },\n to: {\n x: next[0],\n y: next[1],\n },\n });\n }\n if (lines.length > 1) {\n var first = points[0];\n var last = points[count - 1];\n lines.push({\n from: {\n x: last[0],\n y: last[1],\n },\n to: {\n x: first[0],\n y: first[1],\n },\n });\n }\n return lines;\n };\n // 空数组,或者一个点返回 false\n if (points1.length < 2 || points2.length < 2) {\n return false;\n }\n var bbox1 = getBBox(points1);\n var bbox2 = getBBox(points2);\n // 判定包围盒是否相交,比判定点是否在多边形内要快的多,可以筛选掉大多数情况\n if (!intersectBBox(bbox1, bbox2)) {\n return false;\n }\n var isIn = false;\n // 判定点是否在多边形内部,一旦有一个点在另一个多边形内,则返回\n each(points2, function (point) {\n if (isPointInPolygon(points1, point[0], point[1])) {\n isIn = true;\n return false;\n }\n });\n if (isIn) {\n return true;\n }\n each(points1, function (point) {\n if (isPointInPolygon(points2, point[0], point[1])) {\n isIn = true;\n return false;\n }\n });\n if (isIn) {\n return true;\n }\n var lines1 = parseToLines(points1);\n var lines2 = parseToLines(points2);\n var isIntersect = false;\n each(lines2, function (line) {\n if (lineIntersectPolygon(lines1, line)) {\n isIntersect = true;\n return false;\n }\n });\n return isIntersect;\n};\nvar Line = /** @class */ (function () {\n function Line(x1, y1, x2, y2) {\n this.x1 = x1;\n this.y1 = y1;\n this.x2 = x2;\n this.y2 = y2;\n }\n Line.prototype.getBBox = function () {\n var minX = Math.min(this.x1, this.x2);\n var minY = Math.min(this.y1, this.y2);\n var maxX = Math.max(this.x1, this.x2);\n var maxY = Math.max(this.y1, this.y2);\n var res = {\n x: minX,\n y: minY,\n minX: minX,\n minY: minY,\n maxX: maxX,\n maxY: maxY,\n width: maxX - minX,\n height: maxY - minY,\n };\n return res;\n };\n return Line;\n}());\nexport { Line };\nexport var getBBoxBoundLine = function (bbox, direction) {\n var bounds = {\n top: [bbox.minX, bbox.minY, bbox.maxX, bbox.minY],\n left: [bbox.minX, bbox.minY, bbox.minX, bbox.maxY],\n bottom: [bbox.minX, bbox.maxY, bbox.maxX, bbox.maxY],\n right: [bbox.maxX, bbox.minY, bbox.maxX, bbox.maxY],\n };\n return bounds[direction];\n};\n/**\n * 计算两条线段相交时,相交点对第一条线段上的分割比例\n */\nvar fractionAlongLineA = function (la, lb) {\n var uaT = (lb.x2 - lb.x1) * (la.y1 - lb.y1) - (lb.y2 - lb.y1) * (la.x1 - lb.x1);\n var ubT = (la.x2 - la.x1) * (la.y1 - lb.y1) - (la.y2 - la.y1) * (la.x1 - lb.x1);\n var uB = (lb.y2 - lb.y1) * (la.x2 - la.x1) - (lb.x2 - lb.x1) * (la.y2 - la.y1);\n if (uB) {\n var ua = uaT / uB;\n var ub = ubT / uB;\n if (ua >= 0 && ua <= 1 && ub >= 0 && ub <= 1) {\n return ua;\n }\n }\n return Number.POSITIVE_INFINITY;\n};\nexport var itemIntersectByLine = function (item, line) {\n var directions = ['top', 'left', 'bottom', 'right'];\n var bbox = item.getBBox();\n var countIntersections = 0;\n var intersections = [];\n for (var i = 0; i < 4; i++) {\n var _a = getBBoxBoundLine(bbox, directions[i]), x1 = _a[0], y1 = _a[1], x2 = _a[2], y2 = _a[3];\n intersections[i] = getLineIntersect({ x: line.x1, y: line.y1 }, { x: line.x2, y: line.y2 }, { x: x1, y: y1 }, { x: x2, y: y2 });\n if (intersections[i]) {\n countIntersections += 1;\n }\n }\n return [intersections, countIntersections];\n};\nexport var fractionToLine = function (item, line) {\n var directions = ['top', 'left', 'bottom', 'right'];\n var bbox = item.getBBox();\n var minDistance = Number.POSITIVE_INFINITY;\n var countIntersections = 0;\n for (var i = 0; i < 4; i++) {\n var _a = getBBoxBoundLine(bbox, directions[i]), x1 = _a[0], y1 = _a[1], x2 = _a[2], y2 = _a[3];\n var testDistance = fractionAlongLineA(line, new Line(x1, y1, x2, y2));\n testDistance = Math.abs(testDistance - 0.5);\n if (testDistance >= 0 && testDistance <= 1) {\n countIntersections += 1;\n minDistance = testDistance < minDistance ? testDistance : minDistance;\n }\n }\n if (countIntersections === 0)\n return -1;\n return minDistance;\n};\nexport var getPointsCenter = function (points) {\n var centerX = 0;\n var centerY = 0;\n if (points.length > 0) {\n for (var _i = 0, points_1 = points; _i < points_1.length; _i++) {\n var point = points_1[_i];\n centerX += point.x;\n centerY += point.y;\n }\n centerX /= points.length;\n centerY /= points.length;\n }\n return { x: centerX, y: centerY };\n};\nexport var squareDist = function (a, b) {\n return Math.pow((a.x - b.x), 2) + Math.pow((a.y - b.y), 2);\n};\nexport var pointLineSquareDist = function (point, line) {\n var x1 = line.x1;\n var y1 = line.y1;\n var x2 = line.x2 - x1;\n var y2 = line.y2 - y1;\n var px = point.x - x1;\n var py = point.y - y1;\n var dotprod = px * x2 + py * y2;\n var projlenSq;\n if (dotprod <= 0) {\n projlenSq = 0;\n }\n else {\n px = x2 - px;\n py = y2 - py;\n dotprod = px * x2 + py * y2;\n if (dotprod <= 0) {\n projlenSq = 0;\n }\n else {\n projlenSq = (dotprod * dotprod) / (x2 * x2 + y2 * y2);\n }\n }\n var lenSq = px * px + py * py - projlenSq;\n if (lenSq < 0) {\n lenSq = 0;\n }\n return lenSq;\n};\nexport var isPointsOverlap = function (p1, p2, e) {\n if (e === void 0) { e = 1e-3; }\n return Math.pow((p1.x - p2.x), 2) + Math.pow((p1.y - p2.y), 2) < Math.pow(e, 2);\n};\n/**\n * 点到矩形的距离的平方:矩形内部点视作距离为0,外部的点若投影落在矩形边上则为点到矩形边的最近的垂直距离,否则为点到矩形顶点的距离,\n * @param point IPoint\n * @param rect IRect\n */\nexport var pointRectSquareDist = function (point, rect) {\n var isLeft = point.x < rect.x;\n var isRight = point.x > rect.x + rect.width;\n var isTop = point.y > rect.y + rect.height;\n var isBottom = point.y < rect.y;\n var isPointOutside = isLeft || isRight || isTop || isBottom;\n if (!isPointOutside) {\n return 0;\n }\n if (isTop && !isLeft && !isRight) {\n return Math.pow((rect.y + rect.height - point.y), 2);\n }\n if (isBottom && !isLeft && !isRight) {\n return Math.pow((point.y - rect.y), 2);\n }\n if (isLeft && !isTop && !isBottom) {\n return Math.pow((rect.x - point.x), 2);\n }\n if (isRight && !isTop && !isBottom) {\n return Math.pow((rect.x + rect.width - point.x), 2);\n }\n var dx = Math.min(Math.abs(rect.x - point.x), Math.abs(rect.x + rect.width - point.x));\n var dy = Math.min(Math.abs(rect.y - point.y), Math.abs(rect.y + rect.height - point.y));\n return dx * dx + dy * dy;\n};\n" }, { "id": 5, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "name": "./src/util/graphic.ts + 1 modules", "index": 207, "index2": 200, "size": 26348, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "../util/graphic", "loc": "7:0-46" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "249:29-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../util/graphic", "loc": "8:0-64" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "179:26-42" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "223:26-42" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "226:26-42" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "533:15-26" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony side effect evaluation", "userRequest": "./graphic", "loc": "3:0-41" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony import specifier", "userRequest": "./graphic", "loc": "6:62-73" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/graphic", "loc": "4:0-42" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/graphic", "loc": "4:0-42" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../../util/graphic", "loc": "6:0-80" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/graphic", "loc": "9:0-100" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "58:19-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "103:19-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "108:28-40" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "119:19-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "232:24-36" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "328:20-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "356:16-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "465:12-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "524:16-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "750:36-51" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "783:16-30" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "824:16-30" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1020:29-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1145:29-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1263:12-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1304:12-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1373:12-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1413:12-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1474:16-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1485:12-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1562:28-43" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1894:12-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "2028:12-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "2217:12-24" } ], "usedExports": true, "providedExports": [ "getBBox", "getLoopCfgs", "getLabelPosition", "traverseTree", "traverseTreeUp", "radialLayout", "getLetterWidth", "getTextSize", "plainCombosToTrees", "reconstructTree", "getComboBBox", "getChartRegion" ], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_tslib@2.0.3@tslib/tslib.es6.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/global.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/util/math.ts because of ./src/index.ts" ], "depth": 2, "modules": [ { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts", "name": "./src/util/graphic.ts", "index": 207, "index2": 200, "size": 23938, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "issuerId": 31, "issuerName": "./src/util/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 3034, "building": 905, "dependencies": 1815 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "../util/graphic", "loc": "7:0-46" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "249:29-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../util/graphic", "loc": "8:0-64" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "179:26-42" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "223:26-42" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "226:26-42" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "533:15-26" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony side effect evaluation", "userRequest": "./graphic", "loc": "3:0-41" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony import specifier", "userRequest": "./graphic", "loc": "6:62-73" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/graphic", "loc": "4:0-42" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/graphic", "loc": "4:0-42" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../../util/graphic", "loc": "6:0-80" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/graphic", "loc": "9:0-100" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "58:19-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "103:19-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "108:28-40" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "119:19-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "232:24-36" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "328:20-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "356:16-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "465:12-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "524:16-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "750:36-51" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "783:16-30" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "824:16-30" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1020:29-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1145:29-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1263:12-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1304:12-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1373:12-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1413:12-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1474:16-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1485:12-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1562:28-43" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1894:12-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "2028:12-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "2217:12-24" } ], "usedExports": true, "providedExports": [ "getBBox", "getLoopCfgs", "getLabelPosition", "traverseTree", "traverseTreeUp", "radialLayout", "getLetterWidth", "getTextSize", "plainCombosToTrees", "reconstructTree", "getComboBBox", "getChartRegion" ], "optimizationBailout": [], "depth": 2, "source": "import { __assign } from \"tslib\";\nimport { vec2 } from '@antv/matrix-util';\nimport Global from '../global';\nimport { applyMatrix } from './math';\nimport letterAspectRatio from './letterAspectRatio';\nimport { isString, clone } from '@antv/util';\nvar PI = Math.PI, sin = Math.sin, cos = Math.cos;\n// 一共支持8个方向的自环,每个环占的角度是45度,在计算时再二分,为22.5度\nvar SELF_LINK_SIN = sin(PI / 8);\nvar SELF_LINK_COS = cos(PI / 8);\nexport var getBBox = function (element, group) {\n var bbox = element.getBBox();\n var leftTop = {\n x: bbox.minX,\n y: bbox.minY,\n };\n var rightBottom = {\n x: bbox.maxX,\n y: bbox.maxY,\n };\n // 根据父元素变换矩阵\n if (group) {\n var matrix = group.getMatrix();\n if (!matrix) {\n matrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n leftTop = applyMatrix(leftTop, matrix);\n rightBottom = applyMatrix(rightBottom, matrix);\n }\n var lx = leftTop.x, ly = leftTop.y;\n var rx = rightBottom.x, ry = rightBottom.y;\n return {\n x: lx,\n y: ly,\n minX: lx,\n minY: ly,\n maxX: rx,\n maxY: ry,\n width: rx - lx,\n height: ry - ly,\n };\n};\n/**\n * get loop edge config\n * @param cfg edge config\n */\nexport var getLoopCfgs = function (cfg) {\n var item = cfg.sourceNode || cfg.targetNode;\n var container = item.get('group');\n var containerMatrix = container.getMatrix();\n if (!containerMatrix)\n containerMatrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n var keyShape = item.getKeyShape();\n var bbox = keyShape.getBBox();\n var loopCfg = cfg.loopCfg || {};\n // 距离keyShape边的最高距离\n var dist = loopCfg.dist || Math.max(bbox.width, bbox.height) * 2;\n // 自环边与keyShape的相对位置关系\n var position = loopCfg.position || Global.defaultLoopPosition;\n // 中心取group上真实位置\n var center = [containerMatrix[6], containerMatrix[7]];\n var startPoint = [cfg.startPoint.x, cfg.startPoint.y];\n var endPoint = [cfg.endPoint.x, cfg.endPoint.y];\n var rstart = bbox.height / 2;\n var rend = bbox.height / 2;\n var sinDeltaStart = rstart * SELF_LINK_SIN;\n var cosDeltaStart = rstart * SELF_LINK_COS;\n var sinDeltaEnd = rend * SELF_LINK_SIN;\n var cosDeltaEnd = rend * SELF_LINK_COS;\n // 如果定义了锚点的,直接用锚点坐标,否则,根据自环的 cfg 计算\n if (startPoint[0] === endPoint[0] && startPoint[1] === endPoint[1]) {\n switch (position) {\n case 'top':\n startPoint = [center[0] - sinDeltaStart, center[1] - cosDeltaStart];\n endPoint = [center[0] + sinDeltaEnd, center[1] - cosDeltaEnd];\n break;\n case 'top-right':\n rstart = bbox.height / 2;\n rend = bbox.width / 2;\n sinDeltaStart = rstart * SELF_LINK_SIN;\n cosDeltaStart = rstart * SELF_LINK_COS;\n sinDeltaEnd = rend * SELF_LINK_SIN;\n cosDeltaEnd = rend * SELF_LINK_COS;\n startPoint = [center[0] + sinDeltaStart, center[1] - cosDeltaStart];\n endPoint = [center[0] + cosDeltaEnd, center[1] - sinDeltaEnd];\n break;\n case 'right':\n rstart = bbox.width / 2;\n rend = bbox.width / 2;\n sinDeltaStart = rstart * SELF_LINK_SIN;\n cosDeltaStart = rstart * SELF_LINK_COS;\n sinDeltaEnd = rend * SELF_LINK_SIN;\n cosDeltaEnd = rend * SELF_LINK_COS;\n startPoint = [center[0] + cosDeltaStart, center[1] - sinDeltaStart];\n endPoint = [center[0] + cosDeltaEnd, center[1] + sinDeltaEnd];\n break;\n case 'bottom-right':\n rstart = bbox.width / 2;\n rend = bbox.height / 2;\n sinDeltaStart = rstart * SELF_LINK_SIN;\n cosDeltaStart = rstart * SELF_LINK_COS;\n sinDeltaEnd = rend * SELF_LINK_SIN;\n cosDeltaEnd = rend * SELF_LINK_COS;\n startPoint = [center[0] + cosDeltaStart, center[1] + sinDeltaStart];\n endPoint = [center[0] + sinDeltaEnd, center[1] + cosDeltaEnd];\n break;\n case 'bottom':\n rstart = bbox.height / 2;\n rend = bbox.height / 2;\n sinDeltaStart = rstart * SELF_LINK_SIN;\n cosDeltaStart = rstart * SELF_LINK_COS;\n sinDeltaEnd = rend * SELF_LINK_SIN;\n cosDeltaEnd = rend * SELF_LINK_COS;\n startPoint = [center[0] + sinDeltaStart, center[1] + cosDeltaStart];\n endPoint = [center[0] - sinDeltaEnd, center[1] + cosDeltaEnd];\n break;\n case 'bottom-left':\n rstart = bbox.height / 2;\n rend = bbox.width / 2;\n sinDeltaStart = rstart * SELF_LINK_SIN;\n cosDeltaStart = rstart * SELF_LINK_COS;\n sinDeltaEnd = rend * SELF_LINK_SIN;\n cosDeltaEnd = rend * SELF_LINK_COS;\n startPoint = [center[0] - sinDeltaStart, center[1] + cosDeltaStart];\n endPoint = [center[0] - cosDeltaEnd, center[1] + sinDeltaEnd];\n break;\n case 'left':\n rstart = bbox.width / 2;\n rend = bbox.width / 2;\n sinDeltaStart = rstart * SELF_LINK_SIN;\n cosDeltaStart = rstart * SELF_LINK_COS;\n sinDeltaEnd = rend * SELF_LINK_SIN;\n cosDeltaEnd = rend * SELF_LINK_COS;\n startPoint = [center[0] - cosDeltaStart, center[1] + sinDeltaStart];\n endPoint = [center[0] - cosDeltaEnd, center[1] - sinDeltaEnd];\n break;\n case 'top-left':\n rstart = bbox.width / 2;\n rend = bbox.height / 2;\n sinDeltaStart = rstart * SELF_LINK_SIN;\n cosDeltaStart = rstart * SELF_LINK_COS;\n sinDeltaEnd = rend * SELF_LINK_SIN;\n cosDeltaEnd = rend * SELF_LINK_COS;\n startPoint = [center[0] - cosDeltaStart, center[1] - sinDeltaStart];\n endPoint = [center[0] - sinDeltaEnd, center[1] - cosDeltaEnd];\n break;\n default:\n rstart = bbox.width / 2;\n rend = bbox.width / 2;\n sinDeltaStart = rstart * SELF_LINK_SIN;\n cosDeltaStart = rstart * SELF_LINK_COS;\n sinDeltaEnd = rend * SELF_LINK_SIN;\n cosDeltaEnd = rend * SELF_LINK_COS;\n startPoint = [center[0] - sinDeltaStart, center[1] - cosDeltaStart];\n endPoint = [center[0] + sinDeltaEnd, center[1] - cosDeltaEnd];\n }\n // 如果逆时针画,交换起点和终点\n if (loopCfg.clockwise === false) {\n var swap = [startPoint[0], startPoint[1]];\n startPoint = [endPoint[0], endPoint[1]];\n endPoint = [swap[0], swap[1]];\n }\n }\n var startVec = [startPoint[0] - center[0], startPoint[1] - center[1]];\n var scaleRateStart = (rstart + dist) / rstart;\n var scaleRateEnd = (rend + dist) / rend;\n if (loopCfg.clockwise === false) {\n scaleRateStart = (rend + dist) / rend;\n scaleRateEnd = (rstart + dist) / rstart;\n }\n var startExtendVec = vec2.scale([], startVec, scaleRateStart);\n var controlPoint1 = [center[0] + startExtendVec[0], center[1] + startExtendVec[1]];\n var endVec = [endPoint[0] - center[0], endPoint[1] - center[1]];\n var endExtendVec = vec2.scale([], endVec, scaleRateEnd);\n var controlPoint2 = [center[0] + endExtendVec[0], center[1] + endExtendVec[1]];\n cfg.startPoint = { x: startPoint[0], y: startPoint[1] };\n cfg.endPoint = { x: endPoint[0], y: endPoint[1] };\n cfg.controlPoints = [\n { x: controlPoint1[0], y: controlPoint1[1] },\n { x: controlPoint2[0], y: controlPoint2[1] },\n ];\n return cfg;\n};\n/**\n * 根据 label 所在线条的位置百分比,计算 label 坐标\n * @param {object} pathShape G 的 path 实例,一般是 Edge 实例的 keyShape\n * @param {number} percent 范围 0 - 1 的线条百分比\n * @param {number} refX x 轴正方向为基准的 label 偏移\n * @param {number} refY y 轴正方向为基准的 label 偏移\n * @param {boolean} rotate 是否根据线条斜率旋转文本\n * @return {object} 文本的 x, y, 文本的旋转角度\n */\nexport var getLabelPosition = function (pathShape, percent, refX, refY, rotate) {\n var TAN_OFFSET = 0.0001;\n var vector = [];\n var point = pathShape.getPoint(percent);\n if (point === null) {\n return {\n x: 0,\n y: 0,\n angle: 0,\n };\n }\n // 头尾最可能,放在最前面,使用 g path 上封装的方法\n if (percent < TAN_OFFSET) {\n vector = pathShape.getStartTangent().reverse();\n }\n else if (percent > 1 - TAN_OFFSET) {\n vector = pathShape.getEndTangent();\n }\n else {\n // 否则取指定位置的点,与少量偏移的点,做微分向量\n var offsetPoint = pathShape.getPoint(percent + TAN_OFFSET);\n vector.push([point.x, point.y]);\n vector.push([offsetPoint.x, offsetPoint.y]);\n }\n var rad = Math.atan2(vector[1][1] - vector[0][1], vector[1][0] - vector[0][0]);\n if (rad < 0) {\n rad += PI * 2;\n }\n if (refX) {\n point.x += cos(rad) * refX;\n point.y += sin(rad) * refX;\n }\n if (refY) {\n // 默认方向是 x 轴正方向,法线是 求出角度 - 90°\n var normal = rad - PI / 2;\n // 若法线角度在 y 轴负方向,切到正方向,保证 refY 相对于 y 轴正方向\n if (rad > (1 / 2) * PI && rad < ((3 * 1) / 2) * PI) {\n normal -= PI;\n }\n point.x += cos(normal) * refY;\n point.y += sin(normal) * refY;\n }\n var result = {\n x: point.x,\n y: point.y,\n angle: rad,\n };\n if (rotate) {\n if (rad > (1 / 2) * PI && rad < ((3 * 1) / 2) * PI) {\n rad -= PI;\n }\n return __assign({ rotate: rad }, result);\n }\n return result;\n};\n/**\n * depth first traverse, from root to leaves, children in inverse order\n * if the fn returns false, terminate the traverse\n */\nvar traverse = function (data, fn) {\n if (fn(data) === false) {\n return false;\n }\n if (data && data.children) {\n for (var i = data.children.length - 1; i >= 0; i--) {\n if (!traverse(data.children[i], fn))\n return false;\n }\n }\n return true;\n};\n/**\n * depth first traverse, from leaves to root, children in inverse order\n * if the fn returns false, terminate the traverse\n */\nvar traverseUp = function (data, fn) {\n if (data && data.children) {\n for (var i = data.children.length - 1; i >= 0; i--) {\n if (!traverseUp(data.children[i], fn))\n return;\n }\n }\n if (fn(data) === false) {\n return false;\n }\n return true;\n};\n/**\n * depth first traverse, from root to leaves, children in inverse order\n * if the fn returns false, terminate the traverse\n */\nexport var traverseTree = function (data, fn) {\n if (typeof fn !== 'function') {\n return;\n }\n traverse(data, fn);\n};\n/**\n * depth first traverse, from leaves to root, children in inverse order\n * if the fn returns false, terminate the traverse\n */\nexport var traverseTreeUp = function (data, fn) {\n if (typeof fn !== 'function') {\n return;\n }\n traverseUp(data, fn);\n};\n/**\n *\n * @param data Tree graph data\n * @param layout\n */\nexport var radialLayout = function (data, layout) {\n // 布局方式有 H / V / LR / RL / TB / BT\n var VERTICAL_LAYOUTS = ['V', 'TB', 'BT'];\n var min = {\n x: Infinity,\n y: Infinity,\n };\n var max = {\n x: -Infinity,\n y: -Infinity,\n };\n // 默认布局是垂直布局TB,此时x对应rad,y对应r\n var rScale = 'x';\n var radScale = 'y';\n if (layout && VERTICAL_LAYOUTS.indexOf(layout) >= 0) {\n // 若是水平布局,y对应rad,x对应r\n radScale = 'x';\n rScale = 'y';\n }\n var count = 0;\n traverseTree(data, function (node) {\n count++;\n if (node.x > max.x) {\n max.x = node.x;\n }\n if (node.x < min.x) {\n min.x = node.x;\n }\n if (node.y > max.y) {\n max.y = node.y;\n }\n if (node.y < min.y) {\n min.y = node.y;\n }\n return true;\n });\n var avgRad = (PI * 2) / count;\n var radDiff = max[radScale] - min[radScale];\n if (radDiff === 0) {\n return data;\n }\n traverseTree(data, function (node) {\n var radial = ((node[radScale] - min[radScale]) / radDiff) * (PI * 2 - avgRad) + avgRad;\n var r = Math.abs(rScale === 'x' ? node.x - data.x : node.y - data.y);\n node.x = r * Math.cos(radial);\n node.y = r * Math.sin(radial);\n return true;\n });\n return data;\n};\n/**\n *\n * @param letter the letter\n * @param fontSize\n * @return the letter's width\n */\nexport var getLetterWidth = function (letter, fontSize) {\n return fontSize * (letterAspectRatio[letter] || 1);\n};\n/**\n *\n * @param text the text\n * @param fontSize\n * @return the text's size\n */\nexport var getTextSize = function (text, fontSize) {\n var width = 0;\n var pattern = new RegExp(\"[\\u4E00-\\u9FA5]+\");\n text.split('').forEach(function (letter) {\n if (pattern.test(letter)) {\n // 中文字符\n width += fontSize;\n }\n else {\n width += getLetterWidth(letter, fontSize);\n }\n });\n return [width, fontSize];\n};\n/**\n * construct the trees from combos data\n * @param array the combos array\n * @param nodes the nodes array\n * @return the tree\n */\nexport var plainCombosToTrees = function (array, nodes) {\n var result = [];\n var addedMap = {};\n var modelMap = {};\n array.forEach(function (d) {\n modelMap[d.id] = d;\n });\n array.forEach(function (d, i) {\n var cd = clone(d);\n cd.itemType = 'combo';\n cd.children = undefined;\n if (cd.parentId === cd.id) {\n console.warn(\"The parentId for combo \" + cd.id + \" can not be the same as the combo's id\");\n delete cd.parentId;\n }\n else if (cd.parentId && !modelMap[cd.parentId]) {\n console.warn(\"The parent combo for combo \" + cd.id + \" does not exist!\");\n delete cd.parentId;\n }\n var mappedObj = addedMap[cd.id];\n if (mappedObj) {\n cd.children = mappedObj.children;\n addedMap[cd.id] = cd;\n mappedObj = cd;\n if (!mappedObj.parentId) {\n result.push(mappedObj);\n return;\n }\n var mappedParent = addedMap[mappedObj.parentId];\n if (mappedParent) {\n if (mappedParent.children)\n mappedParent.children.push(cd);\n else\n mappedParent.children = [cd];\n }\n else {\n var parent = {\n id: mappedObj.parentId,\n children: [mappedObj],\n };\n addedMap[mappedObj.parentId] = parent;\n addedMap[cd.id] = cd;\n }\n return;\n }\n if (isString(d.parentId)) {\n var parent = addedMap[d.parentId];\n if (parent) {\n if (parent.children)\n parent.children.push(cd);\n else\n parent.children = [cd];\n addedMap[cd.id] = cd;\n }\n else {\n var pa = {\n id: d.parentId,\n children: [cd],\n };\n addedMap[pa.id] = pa;\n addedMap[cd.id] = cd;\n }\n }\n else {\n result.push(cd);\n addedMap[cd.id] = cd;\n }\n });\n // proccess the nodes\n var nodeMap = {};\n (nodes || []).forEach(function (node) {\n nodeMap[node.id] = node;\n var combo = addedMap[node.comboId];\n if (combo) {\n var cnode = {\n id: node.id,\n comboId: node.comboId,\n };\n if (combo.children)\n combo.children.push(cnode);\n else\n combo.children = [cnode];\n cnode.itemType = 'node';\n addedMap[node.id] = cnode;\n }\n });\n // assign the depth for each element\n var maxDepth = 0;\n result.forEach(function (tree) {\n tree.depth = maxDepth + 10;\n traverse(tree, function (child) {\n var parent;\n var itemType = addedMap[child.id].itemType;\n if (itemType === 'node') {\n parent = addedMap[child.comboId];\n }\n else {\n parent = addedMap[child.parentId];\n }\n if (parent) {\n if (itemType === 'node')\n child.depth = maxDepth + 1;\n else\n child.depth = maxDepth + 10;\n }\n else {\n child.depth = maxDepth + 10;\n }\n if (maxDepth < child.depth)\n maxDepth = child.depth;\n var oriNodeModel = nodeMap[child.id];\n if (oriNodeModel) {\n oriNodeModel.depth = child.depth;\n }\n return true;\n });\n });\n return result;\n};\nexport var reconstructTree = function (trees, subtreeId, newParentId) {\n var brothers = trees;\n var subtree;\n var comboChildsMap = {\n root: {\n children: trees,\n },\n };\n var foundSubTree = false;\n var oldParentId = 'root';\n (trees || []).forEach(function (tree) {\n if (foundSubTree)\n return;\n if (tree.id === subtreeId) {\n subtree = tree;\n if (tree.itemType === 'combo') {\n subtree.parentId = newParentId;\n }\n else {\n subtree.comboId = newParentId;\n }\n foundSubTree = true;\n return;\n }\n traverseTree(tree, function (child) {\n comboChildsMap[child.id] = {\n children: child.children,\n };\n // store the old parent id to delete the subtree from the old parent's children in next recursion\n brothers = comboChildsMap[child.parentId || child.comboId || 'root'].children;\n if (child && (child.removed || subtreeId === child.id) && brothers) {\n oldParentId = child.parentId || child.comboId || 'root';\n subtree = child;\n // re-assign the parentId or comboId for the moved subtree\n if (child.itemType === 'combo') {\n subtree.parentId = newParentId;\n }\n else {\n subtree.comboId = newParentId;\n }\n foundSubTree = true;\n return false;\n }\n return true;\n });\n });\n brothers = comboChildsMap[oldParentId].children;\n var index = brothers ? brothers.indexOf(subtree) : -1;\n if (index > -1)\n brothers.splice(index, 1);\n // 如果遍历完整棵树还没有找到,说明之前就不在树中\n if (!foundSubTree) {\n subtree = {\n id: subtreeId,\n itemType: 'node',\n comboId: newParentId,\n };\n comboChildsMap[subtreeId] = {\n children: undefined,\n };\n }\n // append to new parent\n if (subtreeId) {\n var found_1 = false;\n // newParentId is undefined means the subtree will have no parent\n if (newParentId) {\n var newParentDepth_1 = 0;\n (trees || []).forEach(function (tree) {\n if (found_1)\n return; // terminate\n traverseTree(tree, function (child) {\n // append subtree to the new parent ans assign the depth to the subtree\n if (newParentId === child.id) {\n found_1 = true;\n if (child.children)\n child.children.push(subtree);\n else\n child.children = [subtree];\n newParentDepth_1 = child.depth;\n if (subtree.itemType === 'node')\n subtree.depth = newParentDepth_1 + 2;\n else\n subtree.depth = newParentDepth_1 + 1;\n return false; // terminate\n }\n return true;\n });\n });\n }\n else if ((!newParentId || !found_1) && subtree.itemType !== 'node') {\n // if the newParentId is undefined or it is not found in the tree, add the subTree to the root\n trees.push(subtree);\n }\n // update the depth of the subtree and its children from the subtree\n var currentDepth_1 = subtree.depth;\n traverseTree(subtree, function (child) {\n if (child.itemType === 'node')\n currentDepth_1 += 2;\n else\n currentDepth_1 += 1;\n child.depth = currentDepth_1;\n return true;\n });\n }\n return trees;\n};\nexport var getComboBBox = function (children, graph) {\n var comboBBox = {\n minX: Infinity,\n minY: Infinity,\n maxX: -Infinity,\n maxY: -Infinity,\n x: undefined,\n y: undefined,\n width: undefined,\n height: undefined,\n centerX: undefined,\n centerY: undefined,\n };\n if (!children || children.length === 0) {\n return comboBBox;\n }\n children.forEach(function (child) {\n var childItem = graph.findById(child.id);\n if (!childItem || !childItem.isVisible())\n return; // ignore hidden children\n childItem.set('bboxCanvasCache', undefined);\n var childBBox = childItem.getCanvasBBox();\n if (childBBox.x && comboBBox.minX > childBBox.minX)\n comboBBox.minX = childBBox.minX;\n if (childBBox.y && comboBBox.minY > childBBox.minY)\n comboBBox.minY = childBBox.minY;\n if (childBBox.x && comboBBox.maxX < childBBox.maxX)\n comboBBox.maxX = childBBox.maxX;\n if (childBBox.y && comboBBox.maxY < childBBox.maxY)\n comboBBox.maxY = childBBox.maxY;\n });\n comboBBox.x = (comboBBox.minX + comboBBox.maxX) / 2;\n comboBBox.y = (comboBBox.minY + comboBBox.maxY) / 2;\n comboBBox.width = comboBBox.maxX - comboBBox.minX;\n comboBBox.height = comboBBox.maxY - comboBBox.minY;\n comboBBox.centerX = (comboBBox.minX + comboBBox.maxX) / 2;\n comboBBox.centerY = (comboBBox.minY + comboBBox.maxY) / 2;\n Object.keys(comboBBox).forEach(function (key) {\n if (comboBBox[key] === Infinity || comboBBox[key] === -Infinity) {\n comboBBox[key] = undefined;\n }\n });\n return comboBBox;\n};\nexport var getChartRegion = function (params) {\n var group = params.group, height = params.height, width = params.width, x = params.x, y = params.y;\n var canvas = group.get('canvas');\n var canvasWidth = canvas.get('width');\n var canvasHeight = canvas.get('height');\n var region = {\n start: {\n x: 0,\n y: 0,\n },\n end: {\n x: 0,\n y: 0,\n },\n };\n region.start.x = x / canvasWidth;\n region.start.y = y / canvasHeight;\n region.end.x = (x + width) / canvasWidth;\n region.end.y = (y + height) / canvasHeight;\n return region;\n};\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/letterAspectRatio.ts", "name": "./src/util/letterAspectRatio.ts", "index": 208, "index2": 199, "size": 2385, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts", "issuerId": null, "issuerName": "./src/util/graphic.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts", "name": "./src/util/graphic.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } } ], "profile": { "factory": 1277, "building": 287 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts", "module": "./src/util/graphic.ts", "moduleName": "./src/util/graphic.ts", "type": "harmony side effect evaluation", "userRequest": "./letterAspectRatio", "loc": "5:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts", "module": "./src/util/graphic.ts", "moduleName": "./src/util/graphic.ts", "type": "harmony import specifier", "userRequest": "./letterAspectRatio", "loc": "362:23-40" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "export default {\n ' ': 0.3329986572265625,\n a: 0.5589996337890625,\n A: 0.6569992065429687,\n b: 0.58599853515625,\n B: 0.6769989013671875,\n c: 0.5469985961914062,\n C: 0.7279998779296875,\n d: 0.58599853515625,\n D: 0.705999755859375,\n e: 0.554998779296875,\n E: 0.63699951171875,\n f: 0.37299957275390627,\n F: 0.5769989013671875,\n g: 0.5909988403320312,\n G: 0.7479995727539063,\n h: 0.555999755859375,\n H: 0.7199996948242188,\n i: 0.255999755859375,\n I: 0.23699951171875,\n j: 0.26699981689453123,\n J: 0.5169998168945312,\n k: 0.5289993286132812,\n K: 0.6899993896484375,\n l: 0.23499908447265624,\n L: 0.5879989624023437,\n m: 0.854998779296875,\n M: 0.8819992065429687,\n n: 0.5589996337890625,\n N: 0.7189987182617188,\n o: 0.58599853515625,\n O: 0.7669998168945312,\n p: 0.58599853515625,\n P: 0.6419998168945312,\n q: 0.58599853515625,\n Q: 0.7669998168945312,\n r: 0.3649993896484375,\n R: 0.6759994506835938,\n s: 0.504998779296875,\n S: 0.6319992065429687,\n t: 0.354998779296875,\n T: 0.6189987182617187,\n u: 0.5599990844726562,\n U: 0.7139999389648437,\n v: 0.48199920654296874,\n V: 0.6389999389648438,\n w: 0.754998779296875,\n W: 0.929998779296875,\n x: 0.5089996337890625,\n X: 0.63699951171875,\n y: 0.4959991455078125,\n Y: 0.66199951171875,\n z: 0.48699951171875,\n Z: 0.6239990234375,\n '0': 0.6,\n '1': 0.40099945068359377,\n '2': 0.6,\n '3': 0.6,\n '4': 0.6,\n '5': 0.6,\n '6': 0.6,\n '7': 0.5469985961914062,\n '8': 0.6,\n '9': 0.6,\n '[': 0.3329986572265625,\n ']': 0.3329986572265625,\n ',': 0.26399993896484375,\n '.': 0.26399993896484375,\n ';': 0.26399993896484375,\n ':': 0.26399993896484375,\n '{': 0.3329986572265625,\n '}': 0.3329986572265625,\n '\\\\': 0.5,\n '|': 0.19499969482421875,\n '=': 0.604998779296875,\n '+': 0.604998779296875,\n '-': 0.604998779296875,\n _: 0.5,\n '`': 0.3329986572265625,\n ' ~': 0.8329986572265625,\n '!': 0.3329986572265625,\n '@': 0.8579986572265625,\n '#': 0.6,\n $: 0.6,\n '%': 0.9699996948242188,\n '^': 0.517999267578125,\n '&': 0.7259994506835937,\n '*': 0.505999755859375,\n '(': 0.3329986572265625,\n ')': 0.3329986572265625,\n '<': 0.604998779296875,\n '>': 0.604998779296875,\n '/': 0.5,\n '?': 0.53699951171875,\n};\n" } ], "filteredModules": 0 }, { "id": 6, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "name": "./src/shape/shape.ts + 1 modules", "index": 205, "index2": 202, "size": 24058, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "./shape", "loc": "1:0-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../shape", "loc": "2:0-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../shape", "loc": "3:0-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../shape", "loc": "4:0-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../shape", "loc": "4:0-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "./shape", "loc": "4:0-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../shape", "loc": "4:0-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../shape", "loc": "5:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../shape", "loc": "5:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "./shape", "loc": "5:0-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../shape", "loc": "6:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../shape", "loc": "6:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../shape", "loc": "6:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "9:15-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "./shape", "loc": "12:0-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "143:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "273:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "325:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "327:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "334:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "340:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "426:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "453:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "490:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "511:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "531:0-5" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../shape/shape", "loc": "3:0-35" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../shape/shape", "loc": "203:27-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../shape/shape", "loc": "205:27-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../shape/shape", "loc": "269:27-32" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_tslib@2.0.3@tslib/tslib.es6.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/util/graphic.ts because of ./src/index.ts" ], "depth": 2, "modules": [ { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts", "name": "./src/shape/shape.ts", "index": 205, "index2": 202, "size": 7099, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "issuerId": null, "issuerName": "./src/shape/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 1776, "building": 65, "dependencies": 2105 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "./shape", "loc": "1:0-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../shape", "loc": "2:0-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../shape", "loc": "3:0-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../shape", "loc": "4:0-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../shape", "loc": "4:0-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../shape", "loc": "4:0-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "./shape", "loc": "4:0-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../shape", "loc": "5:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../shape", "loc": "5:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "./shape", "loc": "5:0-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../shape", "loc": "6:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../shape", "loc": "6:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../shape", "loc": "6:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "9:15-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "./shape", "loc": "12:0-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "143:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "273:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "325:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "327:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "334:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "340:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "426:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "453:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "490:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "511:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "531:0-5" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../shape/shape", "loc": "3:0-35" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../shape/shape", "loc": "203:27-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../shape/shape", "loc": "205:27-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../shape/shape", "loc": "269:27-32" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 2, "source": "import { __assign } from \"tslib\";\nimport { upperFirst } from '@antv/util';\nimport { createNodeFromXML } from './xml';\nvar cache = {}; // ucfirst 开销过大,进行缓存\n// 首字母大写\nfunction ucfirst(str) {\n if (!cache[str]) {\n cache[str] = upperFirst(str);\n }\n return cache[str];\n}\n/**\n * 工厂方法的基类\n * @type Shape.FactoryBase\n */\nvar ShapeFactoryBase = {\n /**\n * 默认的形状,当没有指定/匹配 shapeType 时,使用默认的\n * @type {String}\n */\n defaultShapeType: 'defaultType',\n /**\n * 形状的 className,用于搜索\n * @type {String}\n */\n className: null,\n /**\n * 获取绘制 Shape 的工具类,无状态\n * @param {String} type 类型\n * @return {Shape} 工具类\n */\n getShape: function (type) {\n var self = this;\n var shape = self[type] || self[self.defaultShapeType];\n return shape;\n },\n /**\n * 绘制图形\n * @param {String} type 类型\n * @param {Object} cfg 配置项\n * @param {G.Group} group 图形的分组\n * @return {IShape} 图形对象\n */\n draw: function (type, cfg, group) {\n var shape = this.getShape(type);\n var rst = shape.draw(cfg, group);\n if (shape.afterDraw) {\n shape.afterDraw(cfg, group, rst);\n }\n return rst;\n },\n /**\n * 更新\n * @param {String} type 类型\n * @param {Object} cfg 配置项\n * @param {G6.Item} item 节点、边、分组等\n */\n baseUpdate: function (type, cfg, item) {\n var shape = this.getShape(type);\n if (shape.update) {\n // 防止没定义 update 函数\n shape.update(cfg, item);\n }\n if (shape.afterUpdate) {\n shape.afterUpdate(cfg, item);\n }\n },\n /**\n * 设置状态\n * @param {String} type 类型\n * @param {String} name 状态名\n * @param {String | Boolean} value 状态值\n * @param {G6.Item} item 节点、边、分组等\n */\n setState: function (type, name, value, item) {\n var shape = this.getShape(type);\n // 调用 shape/shapeBase.ts 中的 setState 方法\n shape.setState(name, value, item);\n },\n /**\n * 是否允许更新,不重新绘制图形\n * @param {String} type 类型\n * @return {Boolean} 是否允许使用更新\n */\n shouldUpdate: function (type) {\n var shape = this.getShape(type);\n return !!shape.update;\n },\n getControlPoints: function (type, cfg) {\n var shape = this.getShape(type);\n return shape.getControlPoints(cfg);\n },\n /**\n * 获取控制点\n * @param {String} type 节点、边类型\n * @param {Object} cfg 节点、边的配置项\n * @return {Array|null} 控制点的数组,如果为 null,则没有控制点\n */\n getAnchorPoints: function (type, cfg) {\n var shape = this.getShape(type);\n return shape.getAnchorPoints(cfg);\n },\n};\n/**\n * 元素的框架\n */\nvar ShapeFramework = {\n // 默认样式及配置\n options: {},\n /**\n * 绘制\n */\n draw: function (cfg, group) {\n return this.drawShape(cfg, group);\n },\n /**\n * 绘制\n */\n drawShape: function ( /* cfg, group */) { },\n /**\n * 绘制完成后的操作,便于用户继承现有的节点、边\n */\n afterDraw: function ( /* cfg, group */) { },\n // update(cfg, item) // 默认不定义\n afterUpdate: function ( /* cfg, item */) { },\n /**\n * 设置节点、边状态\n */\n setState: function ( /* name, value, item */) { },\n /**\n * 获取控制点\n * @param {Object} cfg 节点、边的配置项\n * @return {Array|null} 控制点的数组,如果为 null,则没有控制点\n */\n getControlPoints: function (cfg) {\n return cfg.controlPoints;\n },\n /**\n * 获取控制点\n * @param {Object} cfg 节点、边的配置项\n * @return {Array|null} 控制点的数组,如果为 null,则没有控制点\n */\n getAnchorPoints: function (cfg) {\n var defaultAnchorPoints = this.options.anchorPoints;\n var anchorPoints = cfg.anchorPoints || defaultAnchorPoints;\n return anchorPoints;\n },\n};\nvar Shape = /** @class */ (function () {\n function Shape() {\n }\n Shape.registerFactory = function (factoryType, cfg) {\n var className = ucfirst(factoryType);\n var factoryBase = ShapeFactoryBase;\n var shapeFactory = __assign(__assign({}, factoryBase), cfg);\n Shape[className] = shapeFactory;\n shapeFactory.className = className;\n return shapeFactory;\n };\n Shape.getFactory = function (factoryType) {\n var className = ucfirst(factoryType);\n return Shape[className];\n };\n Shape.registerNode = function (shapeType, nodeDefinition, extendShapeType) {\n var shapeFactory = Shape.Node;\n var shapeObj;\n if (typeof nodeDefinition === 'string' || typeof nodeDefinition === 'function') {\n var autoNodeDefinition = createNodeFromXML(nodeDefinition);\n shapeObj = __assign(__assign({}, shapeFactory.getShape('single-node')), autoNodeDefinition);\n }\n else if (nodeDefinition.jsx) {\n var jsx = nodeDefinition.jsx;\n var autoNodeDefinition = createNodeFromXML(jsx);\n shapeObj = __assign(__assign(__assign({}, shapeFactory.getShape('single-node')), autoNodeDefinition), nodeDefinition);\n }\n else {\n var extendShape = extendShapeType ? shapeFactory.getShape(extendShapeType) : ShapeFramework;\n shapeObj = __assign(__assign({}, extendShape), nodeDefinition);\n }\n shapeObj.type = shapeType;\n shapeObj.itemType = 'node';\n shapeFactory[shapeType] = shapeObj;\n return shapeObj;\n };\n Shape.registerEdge = function (shapeType, edgeDefinition, extendShapeType) {\n var shapeFactory = Shape.Edge;\n var extendShape = extendShapeType ? shapeFactory.getShape(extendShapeType) : ShapeFramework;\n var shapeObj = __assign(__assign({}, extendShape), edgeDefinition);\n shapeObj.type = shapeType;\n shapeObj.itemType = 'edge';\n shapeFactory[shapeType] = shapeObj;\n return shapeObj;\n };\n Shape.registerCombo = function (shapeType, comboDefinition, extendShapeType) {\n var shapeFactory = Shape.Combo;\n var extendShape = extendShapeType ? shapeFactory.getShape(extendShapeType) : ShapeFramework;\n var shapeObj = __assign(__assign({}, extendShape), comboDefinition);\n shapeObj.type = shapeType;\n shapeObj.itemType = 'combo';\n shapeFactory[shapeType] = shapeObj;\n return shapeObj;\n };\n return Shape;\n}());\nexport default Shape;\n// 注册 Node 的工厂方法\nShape.registerFactory('node', {\n defaultShapeType: 'circle',\n});\n// 注册 Edge 的工厂方法\nShape.registerFactory('edge', {\n defaultShapeType: 'line',\n});\n// 注册 Combo 的工厂方法\nShape.registerFactory('combo', {\n defaultShapeType: 'circle',\n});\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/xml.ts", "name": "./src/shape/xml.ts", "index": 206, "index2": 201, "size": 16944, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts", "issuerId": null, "issuerName": "./src/shape/shape.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts", "name": "./src/shape/shape.ts", "profile": { "factory": 1776, "building": 65, "dependencies": 2105 } } ], "profile": { "factory": 2105, "building": 191, "dependencies": 1028 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts", "module": "./src/shape/shape.ts", "moduleName": "./src/shape/shape.ts", "type": "harmony side effect evaluation", "userRequest": "./xml", "loc": "3:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts", "module": "./src/shape/shape.ts", "moduleName": "./src/shape/shape.ts", "type": "harmony import specifier", "userRequest": "./xml", "loc": "168:37-54" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts", "module": "./src/shape/shape.ts", "moduleName": "./src/shape/shape.ts", "type": "harmony import specifier", "userRequest": "./xml", "loc": "173:37-54" } ], "usedExports": ["createNodeFromXML"], "providedExports": [ "xmlDataRenderer", "parseXML", "getBBox", "generateTarget", "compareTwoTarget", "createNodeFromXML" ], "optimizationBailout": [], "depth": 3, "source": "/**\n * @fileOverview 从xml建立自定义Node,包含update\n * @author xuzhi.mxz@antfin.com\n */\nimport { __assign, __rest } from \"tslib\";\nimport { get } from '@antv/util';\nimport { getTextSize } from '../util/graphic';\n/**\n * 一种更宽松的JSON 解析,如果遇到不符合规范的字段会直接转为字符串\n * @param text json 内容\n */\nfunction looseJSONParse(text) {\n if (typeof text !== 'string') {\n return text;\n }\n var safeParse = function (str) {\n if (typeof str !== 'string') {\n return str;\n }\n try {\n return JSON.parse(str.trim());\n }\n catch (e) {\n return str.trim();\n }\n };\n var firstAttempt = safeParse(text);\n if (typeof firstAttempt !== 'string') {\n return firstAttempt;\n }\n var tail = function (arr) { return arr[arr.length - 1]; };\n var str = text.trim();\n var objectStack = [];\n var syntaxStack = [];\n var isLastPair = function () {\n var syntaxes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n syntaxes[_i] = arguments[_i];\n }\n return syntaxes.some(function (syntax) { return tail(syntaxStack) === syntax; });\n };\n var getValueStore = function () { return tail(objectStack); };\n var rst = null;\n var i = 0;\n var temp = '';\n while (i < str.length) {\n var nowChar = str[i];\n var isInString = isLastPair('\"', \"'\");\n if (!isInString && !nowChar.trim()) {\n i += 1;\n continue;\n }\n var isLastTranslate = str[i - 1] === '\\\\';\n var isInObject = isLastPair('}');\n var isInArray = isLastPair(']');\n var isWaitingValue = isLastPair(',');\n var tempArr = getValueStore();\n if (isInString) {\n if (tail(syntaxStack) === nowChar && !isLastTranslate) {\n syntaxStack.pop();\n var value = safeParse(temp);\n tempArr.push(value);\n rst = value;\n temp = '';\n }\n else {\n temp += nowChar;\n }\n }\n else if (isInArray && nowChar === ',') {\n if (temp) {\n tempArr.push(safeParse(temp));\n temp = '';\n }\n }\n else if (isInObject && nowChar === ':') {\n syntaxStack.push(',');\n if (temp) {\n tempArr.push(temp);\n temp = '';\n }\n }\n else if (isWaitingValue && nowChar === ',') {\n if (temp) {\n tempArr.push(safeParse(temp));\n temp = '';\n }\n syntaxStack.pop();\n }\n else if (nowChar === '}' && (isInObject || isWaitingValue)) {\n if (temp) {\n tempArr.push(safeParse(temp));\n temp = '';\n }\n if (isWaitingValue) {\n syntaxStack.pop();\n }\n var obj = {};\n for (var c = 1; c < tempArr.length; c += 2) {\n obj[tempArr[c - 1]] = tempArr[c];\n }\n objectStack.pop();\n if (objectStack.length) {\n tail(objectStack).push(obj);\n }\n syntaxStack.pop();\n rst = obj;\n }\n else if (nowChar === ']' && isInArray) {\n if (temp) {\n tempArr.push(safeParse(temp));\n temp = '';\n }\n objectStack.pop();\n if (objectStack.length) {\n tail(objectStack).push(tempArr);\n }\n syntaxStack.pop();\n rst = tempArr;\n }\n else if (nowChar === '{') {\n objectStack.push([]);\n syntaxStack.push('}');\n }\n else if (nowChar === '[') {\n objectStack.push([]);\n syntaxStack.push(']');\n }\n else if (nowChar === '\"') {\n syntaxStack.push('\"');\n }\n else if (nowChar === \"'\") {\n syntaxStack.push(\"'\");\n }\n else {\n temp += nowChar;\n }\n i += 1;\n }\n return rst || temp;\n}\nvar keyConvert = function (str) {\n return str.split('-').reduce(function (a, b) { return a + b.charAt(0).toUpperCase() + b.slice(1); });\n};\n/**\n * 简单的一个{{}}模板渲染,不包含任何复杂语法\n * @param xml\n */\nexport var xmlDataRenderer = function (xml) { return function (data) {\n var len = xml.length;\n var arr = [];\n var i = 0;\n var tmp = '';\n while (i < len) {\n if (xml[i] === '{' && xml[i + 1] === '{') {\n arr.push(tmp);\n tmp = '';\n i += 2;\n }\n else if (xml[i] === '}' && xml[i + 1] === '}') {\n if (arr.length) {\n var last = arr.pop();\n tmp = get(data, tmp, last.endsWith('=') ? \"\\\"{\" + tmp + \"}\\\"\" : tmp);\n arr.push(last + tmp);\n }\n i += 2;\n tmp = '';\n }\n else {\n tmp += xml[i];\n i += 1;\n }\n }\n arr.push(tmp);\n return arr\n .map(function (e, index) { return (arr[index - 1] && arr[index - 1].endsWith('=') ? \"\\\"{\" + e + \"}\\\"\" : e); })\n .join('');\n}; };\n/**\n * 解析XML,并转化为相应的JSON结构\n * @param xml xml解析后的节点\n */\nexport function parseXML(xml, cfg) {\n var attrs = {};\n var keys = (xml.getAttributeNames && xml.getAttributeNames()) || [];\n var children = xml.children && Array.from(xml.children).map(function (e) { return parseXML(e, cfg); });\n var rst = {};\n var tagName = xml.tagName ? xml.tagName.toLowerCase() : 'group';\n if (tagName === 'text') {\n attrs.text = xml.innerText;\n }\n rst.type = tagName;\n if (tagName === 'img') {\n rst.type = 'image';\n }\n Array.from(keys).forEach(function (k) {\n var key = keyConvert(k);\n var val = xml.getAttribute(k);\n try {\n if (key === 'style' || key === 'attrs') {\n var style = looseJSONParse(val);\n attrs = __assign(__assign({}, attrs), style);\n }\n else {\n rst[key] = looseJSONParse(val);\n }\n }\n catch (e) {\n if (key === 'style') {\n throw e;\n }\n rst[key] = val;\n }\n });\n rst.attrs = attrs;\n if (cfg && cfg.style && rst.name && typeof cfg.style[rst.name] === 'object') {\n rst.attrs = __assign(__assign({}, rst.attrs), cfg.style[rst.name]);\n }\n if (cfg && cfg.style && rst.keyshape) {\n rst.attrs = __assign(__assign({}, rst.attrs), cfg.style);\n }\n if (children.length) {\n rst.children = children;\n }\n return rst;\n}\n/**\n * 根据偏移量和内部节点最终的bounding box来得出该shape最终的bbox\n */\nexport function getBBox(node, offset, chilrenBBox) {\n var _a = node.attrs, attrs = _a === void 0 ? {} : _a;\n var bbox = {\n x: offset.x || 0,\n y: offset.y || 0,\n width: chilrenBBox.width || 0,\n height: chilrenBBox.height || 0,\n };\n var shapeHeight, shapeWidth;\n switch (node.type) {\n case 'maker':\n case 'circle':\n if (attrs.r) {\n shapeWidth = 2 * attrs.r;\n shapeHeight = 2 * attrs.r;\n }\n break;\n case 'text':\n if (attrs.text) {\n shapeWidth = getTextSize(attrs.text, attrs.fontSize || 12)[0];\n shapeHeight = 16;\n bbox.y += shapeHeight;\n bbox.height = shapeHeight;\n bbox.width = shapeWidth;\n node.attrs = __assign({ fontSize: 12, fill: '#000' }, attrs);\n }\n break;\n default:\n if (attrs.width) {\n shapeWidth = attrs.width;\n }\n if (attrs.height) {\n shapeHeight = attrs.height;\n }\n }\n if (shapeHeight >= 0) {\n bbox.height = shapeHeight;\n }\n if (shapeWidth >= 0) {\n bbox.width = shapeWidth;\n }\n if (attrs.marginTop) {\n bbox.y += attrs.marginTop;\n }\n if (attrs.marginLeft) {\n bbox.x += attrs.marginLeft;\n }\n return bbox;\n}\n/**\n * 把从xml计算出的结构填上位置信息,补全attrs\n * @param target\n * @param lastOffset\n */\nexport function generateTarget(target, lastOffset) {\n var _a;\n if (lastOffset === void 0) { lastOffset = { x: 0, y: 0 }; }\n var defaultBbox = __assign({ x: 0, y: 0, width: 0, height: 0 }, lastOffset);\n if ((_a = target.children) === null || _a === void 0 ? void 0 : _a.length) {\n var _b = target.attrs, attrs = _b === void 0 ? {} : _b;\n var marginTop = attrs.marginTop;\n var offset = __assign({}, lastOffset);\n if (marginTop) {\n offset.y += marginTop;\n }\n for (var index = 0; index < target.children.length; index++) {\n target.children[index].attrs.key = (attrs.key || 'root') + \" -\" + index + \" \";\n var node = generateTarget(target.children[index], offset);\n if (node.bbox) {\n var bbox = node.bbox;\n if (node.attrs.next === 'inline') {\n offset.x += node.bbox.width;\n }\n else {\n offset.y += node.bbox.height;\n }\n if (bbox.width + bbox.x > defaultBbox.width) {\n defaultBbox.width = bbox.width + bbox.x;\n }\n if (bbox.height + bbox.y > defaultBbox.height) {\n defaultBbox.height = bbox.height + bbox.y;\n }\n }\n }\n }\n target.bbox = getBBox(target, lastOffset, defaultBbox);\n target.attrs = __assign(__assign({}, target.attrs), target.bbox);\n return target;\n}\n/**\n * 对比前后两个最终计算出来的node,并对比出最小改动,\n * 动作: 'add' 添加节点 | ’delete‘ 删除节点 | ’change‘ 改变节点attrs | 'restructure' 重构节点\n * @param nowTarget\n * @param formerTarget\n */\nexport function compareTwoTarget(nowTarget, formerTarget) {\n var _a, _b, _c, _d;\n var type = (nowTarget || {}).type;\n var key = ((formerTarget === null || formerTarget === void 0 ? void 0 : formerTarget.attrs) || {}).key;\n if (key && nowTarget) {\n nowTarget.attrs.key = key;\n }\n if (!nowTarget && formerTarget) {\n return {\n action: 'delete',\n val: formerTarget,\n type: type,\n key: key,\n };\n }\n if (nowTarget && !formerTarget) {\n return {\n action: 'add',\n val: nowTarget,\n type: type,\n };\n }\n if (!nowTarget && !formerTarget) {\n return {\n action: 'same',\n type: type,\n };\n }\n var children = [];\n if (((_a = nowTarget.children) === null || _a === void 0 ? void 0 : _a.length) > 0 || ((_b = formerTarget.children) === null || _b === void 0 ? void 0 : _b.length) > 0) {\n var length = Math.max((_c = nowTarget.children) === null || _c === void 0 ? void 0 : _c.length, (_d = formerTarget.children) === null || _d === void 0 ? void 0 : _d.length);\n var formerChilren = formerTarget.children || [];\n var nowChilren = nowTarget.children || [];\n for (var index = 0; index < length; index += 1) {\n children.push(compareTwoTarget(nowChilren[index], formerChilren[index]));\n }\n }\n var formerKeys = Object.keys(formerTarget.attrs);\n var nowKeys = Object.keys(nowTarget.attrs);\n if (formerTarget.type !== nowTarget.type) {\n return {\n action: 'restructure',\n nowTarget: nowTarget,\n formerTarget: formerTarget,\n key: key,\n children: children,\n };\n }\n if (formerKeys\n .filter(function (e) { return e !== 'children'; })\n .some(function (e) { return nowTarget.attrs[e] !== formerTarget.attrs[e] || !nowKeys.includes(e); })) {\n return {\n action: 'change',\n val: nowTarget,\n children: children,\n type: type,\n key: key,\n };\n }\n return {\n action: 'same',\n children: children,\n type: type,\n key: key,\n };\n}\n/**\n * 根据xml或者返回xml的函数构建自定义节点的结构\n * @param gen\n */\nexport function createNodeFromXML(gen) {\n var structures = {};\n var compileXML = function (cfg) {\n var rawStr = typeof gen === 'function' ? gen(cfg) : gen;\n var target = xmlDataRenderer(rawStr)(cfg);\n var xmlParser = document.createElement('div');\n xmlParser.innerHTML = target;\n var xml = xmlParser.children[0];\n var result = generateTarget(parseXML(xml, cfg));\n xmlParser.remove();\n return result;\n };\n return {\n draw: function (cfg, group) {\n var resultTarget = compileXML(cfg);\n var keyshape = group;\n var renderTarget = function (target) {\n var _a = target.attrs, attrs = _a === void 0 ? {} : _a, bbox = target.bbox, type = target.type, children = target.children, rest = __rest(target, [\"attrs\", \"bbox\", \"type\", \"children\"]);\n if (target.type !== 'group') {\n var shape = group.addShape(target.type, __assign({ attrs: attrs, origin: {\n bbox: bbox,\n type: type,\n children: children,\n } }, rest));\n if (target.keyshape) {\n keyshape = shape;\n }\n }\n if (target.children) {\n target.children.forEach(function (n) { return renderTarget(n); });\n }\n };\n renderTarget(resultTarget);\n structures[cfg.id] = [resultTarget];\n return keyshape;\n },\n update: function (cfg, node) {\n if (!structures[cfg.id]) {\n structures[cfg.id] = [];\n }\n var container = node.getContainer();\n var children = container.get('children');\n var newTarget = compileXML(cfg);\n var lastTarget = structures[cfg.id].pop();\n var diffResult = compareTwoTarget(newTarget, lastTarget);\n var addShape = function (shape) {\n var _a;\n if (shape.type !== 'group') {\n container.addShape(shape.type, { attrs: shape.attrs });\n }\n if ((_a = shape.children) === null || _a === void 0 ? void 0 : _a.length) {\n shape.children.map(function (e) { return addShape(e); });\n }\n };\n var delShape = function (shape) {\n var _a;\n var targetShape = children.find(function (e) { return e.attrs.key === shape.attrs.key; });\n if (targetShape) {\n container.removeChild(targetShape);\n }\n if ((_a = shape.children) === null || _a === void 0 ? void 0 : _a.length) {\n shape.children.map(function (e) { return delShape(e); });\n }\n };\n var updateTarget = function (target) {\n var key = target.key;\n if (target.type !== 'group') {\n var targetShape = children.find(function (e) { return e.attrs.key === key; });\n switch (target.action) {\n case 'change':\n if (targetShape) {\n var originAttr = target.val.keyshape ? node.getOriginStyle() : {};\n targetShape.attr(__assign(__assign({}, originAttr), target.val.attrs));\n }\n break;\n case 'add':\n addShape(target.val);\n break;\n case 'delete':\n delShape(target.val);\n break;\n case 'restructure':\n delShape(target.formerTarget);\n addShape(target.nowTarget);\n break;\n default:\n break;\n }\n }\n if (target.children) {\n target.children.forEach(function (n) { return updateTarget(n); });\n }\n };\n updateTarget(diffResult);\n structures[cfg.id].push(newTarget);\n },\n getAnchorPoints: function () {\n return [\n [0, 0.5],\n [1, 0.5],\n [0.5, 1],\n [0.5, 0],\n ];\n },\n };\n}\n" } ], "filteredModules": 0 }, { "id": 7, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "index": 146, "index2": 148, "size": 1214, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "issuerId": null, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } } ], "profile": { "factory": 693, "building": 77, "dependencies": 227 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 21, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "type": "harmony side effect evaluation", "userRequest": "../util/util", "loc": "3:0-35" }, { "moduleId": 21, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "22:16-19" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony side effect evaluation", "userRequest": "../util/util", "loc": "3:0-103" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "64:2-17" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "102:6-10" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "145:6-10" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "210:4-8" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "226:8-16" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "235:18-28" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "256:8-18" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "289:9-23" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "317:10-24" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "375:4-8" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "488:4-8" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "509:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony side effect evaluation", "userRequest": "../util/util", "loc": "4:0-57" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "310:6-21" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "727:90-98" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "../util/util", "loc": "4:0-58" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "../util/util", "loc": "6:0-46" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "48:8-16" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "51:25-33" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "102:8-17" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "143:4-8" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "143:8-17" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "155:24-29" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "161:4-8" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "162:11-16" } ], "usedExports": [ "each", "isAllowCapture", "isBrowser", "isFunction", "isNil", "isObject", "isParent", "isString", "mix", "removeFromArray", "upperFirst" ], "providedExports": [ "removeFromArray", "isBrowser", "isNil", "isFunction", "isString", "isObject", "isArray", "mix", "each", "upperFirst", "isParent", "isAllowCapture" ], "optimizationBailout": [], "depth": 4, "source": "export function removeFromArray(arr, obj) {\n var index = arr.indexOf(obj);\n\n if (index !== -1) {\n arr.splice(index, 1);\n }\n}\nexport var isBrowser = typeof window !== 'undefined' && typeof window.document !== 'undefined';\nexport { default as isNil } from '@antv/util/lib/is-nil';\nexport { default as isFunction } from '@antv/util/lib/is-function';\nexport { default as isString } from '@antv/util/lib/is-string';\nexport { default as isObject } from '@antv/util/lib/is-object';\nexport { default as isArray } from '@antv/util/lib/is-array';\nexport { default as mix } from '@antv/util/lib/mix';\nexport { default as each } from '@antv/util/lib/each';\nexport { default as upperFirst } from '@antv/util/lib/upper-first'; // 是否元素的父容器\n\nexport function isParent(container, shape) {\n // 所有 shape 都是 canvas 的子元素\n if (container.isCanvas()) {\n return true;\n }\n\n var parent = shape.getParent();\n var isParent = false;\n\n while (parent) {\n if (parent === container) {\n isParent = true;\n break;\n }\n\n parent = parent.getParent();\n }\n\n return isParent;\n}\nexport function isAllowCapture(element) {\n // @ts-ignore\n return element.cfg.visible && element.cfg.capture;\n}" }, { "id": 8, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/mat3.js", "name": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/mat3.js", "index": 114, "index2": 111, "size": 19986, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/mat3.js", "issuerId": null, "issuerName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/mat3.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/mat3.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/mat3.js", "profile": { "factory": 1667, "building": 225, "dependencies": 394 } } ], "profile": { "factory": 1054, "building": 565, "dependencies": 14 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "1:0-59" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "3:0-14" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "5:2-22" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "6:9-22" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "9:0-11" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "11:2-19" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "12:9-22" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "15:0-10" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "17:2-18" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "18:9-22" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "21:0-14" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "29:8-22" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "33:8-18" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "37:8-19" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "48:15-19" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.sub = exports.mul = undefined;\nexports.create = create;\nexports.fromMat4 = fromMat4;\nexports.clone = clone;\nexports.copy = copy;\nexports.fromValues = fromValues;\nexports.set = set;\nexports.identity = identity;\nexports.transpose = transpose;\nexports.invert = invert;\nexports.adjoint = adjoint;\nexports.determinant = determinant;\nexports.multiply = multiply;\nexports.translate = translate;\nexports.rotate = rotate;\nexports.scale = scale;\nexports.fromTranslation = fromTranslation;\nexports.fromRotation = fromRotation;\nexports.fromScaling = fromScaling;\nexports.fromMat2d = fromMat2d;\nexports.fromQuat = fromQuat;\nexports.normalFromMat4 = normalFromMat4;\nexports.projection = projection;\nexports.str = str;\nexports.frob = frob;\nexports.add = add;\nexports.subtract = subtract;\nexports.multiplyScalar = multiplyScalar;\nexports.multiplyScalarAndAdd = multiplyScalarAndAdd;\nexports.exactEquals = exactEquals;\nexports.equals = equals;\n\nvar _common = require('./common.js');\n\nvar glMatrix = _interopRequireWildcard(_common);\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n\n newObj.default = obj;\n return newObj;\n }\n}\n/**\n * 3x3 Matrix\n * @module mat3\n */\n\n/**\n * Creates a new identity mat3\n *\n * @returns {mat3} a new 3x3 matrix\n */\n\n\nfunction create() {\n var out = new glMatrix.ARRAY_TYPE(9);\n\n if (glMatrix.ARRAY_TYPE != Float32Array) {\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n }\n\n out[0] = 1;\n out[4] = 1;\n out[8] = 1;\n return out;\n}\n/**\n * Copies the upper-left 3x3 values into the given mat3.\n *\n * @param {mat3} out the receiving 3x3 matrix\n * @param {mat4} a the source 4x4 matrix\n * @returns {mat3} out\n */\n\n\nfunction fromMat4(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[4];\n out[4] = a[5];\n out[5] = a[6];\n out[6] = a[8];\n out[7] = a[9];\n out[8] = a[10];\n return out;\n}\n/**\n * Creates a new mat3 initialized with values from an existing matrix\n *\n * @param {mat3} a matrix to clone\n * @returns {mat3} a new 3x3 matrix\n */\n\n\nfunction clone(a) {\n var out = new glMatrix.ARRAY_TYPE(9);\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[3];\n out[4] = a[4];\n out[5] = a[5];\n out[6] = a[6];\n out[7] = a[7];\n out[8] = a[8];\n return out;\n}\n/**\n * Copy the values from one mat3 to another\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the source matrix\n * @returns {mat3} out\n */\n\n\nfunction copy(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[3];\n out[4] = a[4];\n out[5] = a[5];\n out[6] = a[6];\n out[7] = a[7];\n out[8] = a[8];\n return out;\n}\n/**\n * Create a new mat3 with the given values\n *\n * @param {Number} m00 Component in column 0, row 0 position (index 0)\n * @param {Number} m01 Component in column 0, row 1 position (index 1)\n * @param {Number} m02 Component in column 0, row 2 position (index 2)\n * @param {Number} m10 Component in column 1, row 0 position (index 3)\n * @param {Number} m11 Component in column 1, row 1 position (index 4)\n * @param {Number} m12 Component in column 1, row 2 position (index 5)\n * @param {Number} m20 Component in column 2, row 0 position (index 6)\n * @param {Number} m21 Component in column 2, row 1 position (index 7)\n * @param {Number} m22 Component in column 2, row 2 position (index 8)\n * @returns {mat3} A new mat3\n */\n\n\nfunction fromValues(m00, m01, m02, m10, m11, m12, m20, m21, m22) {\n var out = new glMatrix.ARRAY_TYPE(9);\n out[0] = m00;\n out[1] = m01;\n out[2] = m02;\n out[3] = m10;\n out[4] = m11;\n out[5] = m12;\n out[6] = m20;\n out[7] = m21;\n out[8] = m22;\n return out;\n}\n/**\n * Set the components of a mat3 to the given values\n *\n * @param {mat3} out the receiving matrix\n * @param {Number} m00 Component in column 0, row 0 position (index 0)\n * @param {Number} m01 Component in column 0, row 1 position (index 1)\n * @param {Number} m02 Component in column 0, row 2 position (index 2)\n * @param {Number} m10 Component in column 1, row 0 position (index 3)\n * @param {Number} m11 Component in column 1, row 1 position (index 4)\n * @param {Number} m12 Component in column 1, row 2 position (index 5)\n * @param {Number} m20 Component in column 2, row 0 position (index 6)\n * @param {Number} m21 Component in column 2, row 1 position (index 7)\n * @param {Number} m22 Component in column 2, row 2 position (index 8)\n * @returns {mat3} out\n */\n\n\nfunction set(out, m00, m01, m02, m10, m11, m12, m20, m21, m22) {\n out[0] = m00;\n out[1] = m01;\n out[2] = m02;\n out[3] = m10;\n out[4] = m11;\n out[5] = m12;\n out[6] = m20;\n out[7] = m21;\n out[8] = m22;\n return out;\n}\n/**\n * Set a mat3 to the identity matrix\n *\n * @param {mat3} out the receiving matrix\n * @returns {mat3} out\n */\n\n\nfunction identity(out) {\n out[0] = 1;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = 1;\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n out[8] = 1;\n return out;\n}\n/**\n * Transpose the values of a mat3\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the source matrix\n * @returns {mat3} out\n */\n\n\nfunction transpose(out, a) {\n // If we are transposing ourselves we can skip a few steps but have to cache some values\n if (out === a) {\n var a01 = a[1],\n a02 = a[2],\n a12 = a[5];\n out[1] = a[3];\n out[2] = a[6];\n out[3] = a01;\n out[5] = a[7];\n out[6] = a02;\n out[7] = a12;\n } else {\n out[0] = a[0];\n out[1] = a[3];\n out[2] = a[6];\n out[3] = a[1];\n out[4] = a[4];\n out[5] = a[7];\n out[6] = a[2];\n out[7] = a[5];\n out[8] = a[8];\n }\n\n return out;\n}\n/**\n * Inverts a mat3\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the source matrix\n * @returns {mat3} out\n */\n\n\nfunction invert(out, a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2];\n var a10 = a[3],\n a11 = a[4],\n a12 = a[5];\n var a20 = a[6],\n a21 = a[7],\n a22 = a[8];\n var b01 = a22 * a11 - a12 * a21;\n var b11 = -a22 * a10 + a12 * a20;\n var b21 = a21 * a10 - a11 * a20; // Calculate the determinant\n\n var det = a00 * b01 + a01 * b11 + a02 * b21;\n\n if (!det) {\n return null;\n }\n\n det = 1.0 / det;\n out[0] = b01 * det;\n out[1] = (-a22 * a01 + a02 * a21) * det;\n out[2] = (a12 * a01 - a02 * a11) * det;\n out[3] = b11 * det;\n out[4] = (a22 * a00 - a02 * a20) * det;\n out[5] = (-a12 * a00 + a02 * a10) * det;\n out[6] = b21 * det;\n out[7] = (-a21 * a00 + a01 * a20) * det;\n out[8] = (a11 * a00 - a01 * a10) * det;\n return out;\n}\n/**\n * Calculates the adjugate of a mat3\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the source matrix\n * @returns {mat3} out\n */\n\n\nfunction adjoint(out, a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2];\n var a10 = a[3],\n a11 = a[4],\n a12 = a[5];\n var a20 = a[6],\n a21 = a[7],\n a22 = a[8];\n out[0] = a11 * a22 - a12 * a21;\n out[1] = a02 * a21 - a01 * a22;\n out[2] = a01 * a12 - a02 * a11;\n out[3] = a12 * a20 - a10 * a22;\n out[4] = a00 * a22 - a02 * a20;\n out[5] = a02 * a10 - a00 * a12;\n out[6] = a10 * a21 - a11 * a20;\n out[7] = a01 * a20 - a00 * a21;\n out[8] = a00 * a11 - a01 * a10;\n return out;\n}\n/**\n * Calculates the determinant of a mat3\n *\n * @param {mat3} a the source matrix\n * @returns {Number} determinant of a\n */\n\n\nfunction determinant(a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2];\n var a10 = a[3],\n a11 = a[4],\n a12 = a[5];\n var a20 = a[6],\n a21 = a[7],\n a22 = a[8];\n return a00 * (a22 * a11 - a12 * a21) + a01 * (-a22 * a10 + a12 * a20) + a02 * (a21 * a10 - a11 * a20);\n}\n/**\n * Multiplies two mat3's\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the first operand\n * @param {mat3} b the second operand\n * @returns {mat3} out\n */\n\n\nfunction multiply(out, a, b) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2];\n var a10 = a[3],\n a11 = a[4],\n a12 = a[5];\n var a20 = a[6],\n a21 = a[7],\n a22 = a[8];\n var b00 = b[0],\n b01 = b[1],\n b02 = b[2];\n var b10 = b[3],\n b11 = b[4],\n b12 = b[5];\n var b20 = b[6],\n b21 = b[7],\n b22 = b[8];\n out[0] = b00 * a00 + b01 * a10 + b02 * a20;\n out[1] = b00 * a01 + b01 * a11 + b02 * a21;\n out[2] = b00 * a02 + b01 * a12 + b02 * a22;\n out[3] = b10 * a00 + b11 * a10 + b12 * a20;\n out[4] = b10 * a01 + b11 * a11 + b12 * a21;\n out[5] = b10 * a02 + b11 * a12 + b12 * a22;\n out[6] = b20 * a00 + b21 * a10 + b22 * a20;\n out[7] = b20 * a01 + b21 * a11 + b22 * a21;\n out[8] = b20 * a02 + b21 * a12 + b22 * a22;\n return out;\n}\n/**\n * Translate a mat3 by the given vector\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the matrix to translate\n * @param {vec2} v vector to translate by\n * @returns {mat3} out\n */\n\n\nfunction translate(out, a, v) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2],\n a10 = a[3],\n a11 = a[4],\n a12 = a[5],\n a20 = a[6],\n a21 = a[7],\n a22 = a[8],\n x = v[0],\n y = v[1];\n out[0] = a00;\n out[1] = a01;\n out[2] = a02;\n out[3] = a10;\n out[4] = a11;\n out[5] = a12;\n out[6] = x * a00 + y * a10 + a20;\n out[7] = x * a01 + y * a11 + a21;\n out[8] = x * a02 + y * a12 + a22;\n return out;\n}\n/**\n * Rotates a mat3 by the given angle\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the matrix to rotate\n * @param {Number} rad the angle to rotate the matrix by\n * @returns {mat3} out\n */\n\n\nfunction rotate(out, a, rad) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2],\n a10 = a[3],\n a11 = a[4],\n a12 = a[5],\n a20 = a[6],\n a21 = a[7],\n a22 = a[8],\n s = Math.sin(rad),\n c = Math.cos(rad);\n out[0] = c * a00 + s * a10;\n out[1] = c * a01 + s * a11;\n out[2] = c * a02 + s * a12;\n out[3] = c * a10 - s * a00;\n out[4] = c * a11 - s * a01;\n out[5] = c * a12 - s * a02;\n out[6] = a20;\n out[7] = a21;\n out[8] = a22;\n return out;\n}\n\n;\n/**\n * Scales the mat3 by the dimensions in the given vec2\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the matrix to rotate\n * @param {vec2} v the vec2 to scale the matrix by\n * @returns {mat3} out\n **/\n\nfunction scale(out, a, v) {\n var x = v[0],\n y = v[1];\n out[0] = x * a[0];\n out[1] = x * a[1];\n out[2] = x * a[2];\n out[3] = y * a[3];\n out[4] = y * a[4];\n out[5] = y * a[5];\n out[6] = a[6];\n out[7] = a[7];\n out[8] = a[8];\n return out;\n}\n/**\n * Creates a matrix from a vector translation\n * This is equivalent to (but much faster than):\n *\n * mat3.identity(dest);\n * mat3.translate(dest, dest, vec);\n *\n * @param {mat3} out mat3 receiving operation result\n * @param {vec2} v Translation vector\n * @returns {mat3} out\n */\n\n\nfunction fromTranslation(out, v) {\n out[0] = 1;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = 1;\n out[5] = 0;\n out[6] = v[0];\n out[7] = v[1];\n out[8] = 1;\n return out;\n}\n/**\n * Creates a matrix from a given angle\n * This is equivalent to (but much faster than):\n *\n * mat3.identity(dest);\n * mat3.rotate(dest, dest, rad);\n *\n * @param {mat3} out mat3 receiving operation result\n * @param {Number} rad the angle to rotate the matrix by\n * @returns {mat3} out\n */\n\n\nfunction fromRotation(out, rad) {\n var s = Math.sin(rad),\n c = Math.cos(rad);\n out[0] = c;\n out[1] = s;\n out[2] = 0;\n out[3] = -s;\n out[4] = c;\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n out[8] = 1;\n return out;\n}\n/**\n * Creates a matrix from a vector scaling\n * This is equivalent to (but much faster than):\n *\n * mat3.identity(dest);\n * mat3.scale(dest, dest, vec);\n *\n * @param {mat3} out mat3 receiving operation result\n * @param {vec2} v Scaling vector\n * @returns {mat3} out\n */\n\n\nfunction fromScaling(out, v) {\n out[0] = v[0];\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = v[1];\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n out[8] = 1;\n return out;\n}\n/**\n * Copies the values from a mat2d into a mat3\n *\n * @param {mat3} out the receiving matrix\n * @param {mat2d} a the matrix to copy\n * @returns {mat3} out\n **/\n\n\nfunction fromMat2d(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = 0;\n out[3] = a[2];\n out[4] = a[3];\n out[5] = 0;\n out[6] = a[4];\n out[7] = a[5];\n out[8] = 1;\n return out;\n}\n/**\n* Calculates a 3x3 matrix from the given quaternion\n*\n* @param {mat3} out mat3 receiving operation result\n* @param {quat} q Quaternion to create matrix from\n*\n* @returns {mat3} out\n*/\n\n\nfunction fromQuat(out, q) {\n var x = q[0],\n y = q[1],\n z = q[2],\n w = q[3];\n var x2 = x + x;\n var y2 = y + y;\n var z2 = z + z;\n var xx = x * x2;\n var yx = y * x2;\n var yy = y * y2;\n var zx = z * x2;\n var zy = z * y2;\n var zz = z * z2;\n var wx = w * x2;\n var wy = w * y2;\n var wz = w * z2;\n out[0] = 1 - yy - zz;\n out[3] = yx - wz;\n out[6] = zx + wy;\n out[1] = yx + wz;\n out[4] = 1 - xx - zz;\n out[7] = zy - wx;\n out[2] = zx - wy;\n out[5] = zy + wx;\n out[8] = 1 - xx - yy;\n return out;\n}\n/**\n* Calculates a 3x3 normal matrix (transpose inverse) from the 4x4 matrix\n*\n* @param {mat3} out mat3 receiving operation result\n* @param {mat4} a Mat4 to derive the normal matrix from\n*\n* @returns {mat3} out\n*/\n\n\nfunction normalFromMat4(out, a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2],\n a03 = a[3];\n var a10 = a[4],\n a11 = a[5],\n a12 = a[6],\n a13 = a[7];\n var a20 = a[8],\n a21 = a[9],\n a22 = a[10],\n a23 = a[11];\n var a30 = a[12],\n a31 = a[13],\n a32 = a[14],\n a33 = a[15];\n var b00 = a00 * a11 - a01 * a10;\n var b01 = a00 * a12 - a02 * a10;\n var b02 = a00 * a13 - a03 * a10;\n var b03 = a01 * a12 - a02 * a11;\n var b04 = a01 * a13 - a03 * a11;\n var b05 = a02 * a13 - a03 * a12;\n var b06 = a20 * a31 - a21 * a30;\n var b07 = a20 * a32 - a22 * a30;\n var b08 = a20 * a33 - a23 * a30;\n var b09 = a21 * a32 - a22 * a31;\n var b10 = a21 * a33 - a23 * a31;\n var b11 = a22 * a33 - a23 * a32; // Calculate the determinant\n\n var det = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06;\n\n if (!det) {\n return null;\n }\n\n det = 1.0 / det;\n out[0] = (a11 * b11 - a12 * b10 + a13 * b09) * det;\n out[1] = (a12 * b08 - a10 * b11 - a13 * b07) * det;\n out[2] = (a10 * b10 - a11 * b08 + a13 * b06) * det;\n out[3] = (a02 * b10 - a01 * b11 - a03 * b09) * det;\n out[4] = (a00 * b11 - a02 * b08 + a03 * b07) * det;\n out[5] = (a01 * b08 - a00 * b10 - a03 * b06) * det;\n out[6] = (a31 * b05 - a32 * b04 + a33 * b03) * det;\n out[7] = (a32 * b02 - a30 * b05 - a33 * b01) * det;\n out[8] = (a30 * b04 - a31 * b02 + a33 * b00) * det;\n return out;\n}\n/**\n * Generates a 2D projection matrix with the given bounds\n *\n * @param {mat3} out mat3 frustum matrix will be written into\n * @param {number} width Width of your gl context\n * @param {number} height Height of gl context\n * @returns {mat3} out\n */\n\n\nfunction projection(out, width, height) {\n out[0] = 2 / width;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = -2 / height;\n out[5] = 0;\n out[6] = -1;\n out[7] = 1;\n out[8] = 1;\n return out;\n}\n/**\n * Returns a string representation of a mat3\n *\n * @param {mat3} a matrix to represent as a string\n * @returns {String} string representation of the matrix\n */\n\n\nfunction str(a) {\n return 'mat3(' + a[0] + ', ' + a[1] + ', ' + a[2] + ', ' + a[3] + ', ' + a[4] + ', ' + a[5] + ', ' + a[6] + ', ' + a[7] + ', ' + a[8] + ')';\n}\n/**\n * Returns Frobenius norm of a mat3\n *\n * @param {mat3} a the matrix to calculate Frobenius norm of\n * @returns {Number} Frobenius norm\n */\n\n\nfunction frob(a) {\n return Math.sqrt(Math.pow(a[0], 2) + Math.pow(a[1], 2) + Math.pow(a[2], 2) + Math.pow(a[3], 2) + Math.pow(a[4], 2) + Math.pow(a[5], 2) + Math.pow(a[6], 2) + Math.pow(a[7], 2) + Math.pow(a[8], 2));\n}\n/**\n * Adds two mat3's\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the first operand\n * @param {mat3} b the second operand\n * @returns {mat3} out\n */\n\n\nfunction add(out, a, b) {\n out[0] = a[0] + b[0];\n out[1] = a[1] + b[1];\n out[2] = a[2] + b[2];\n out[3] = a[3] + b[3];\n out[4] = a[4] + b[4];\n out[5] = a[5] + b[5];\n out[6] = a[6] + b[6];\n out[7] = a[7] + b[7];\n out[8] = a[8] + b[8];\n return out;\n}\n/**\n * Subtracts matrix b from matrix a\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the first operand\n * @param {mat3} b the second operand\n * @returns {mat3} out\n */\n\n\nfunction subtract(out, a, b) {\n out[0] = a[0] - b[0];\n out[1] = a[1] - b[1];\n out[2] = a[2] - b[2];\n out[3] = a[3] - b[3];\n out[4] = a[4] - b[4];\n out[5] = a[5] - b[5];\n out[6] = a[6] - b[6];\n out[7] = a[7] - b[7];\n out[8] = a[8] - b[8];\n return out;\n}\n/**\n * Multiply each element of the matrix by a scalar.\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the matrix to scale\n * @param {Number} b amount to scale the matrix's elements by\n * @returns {mat3} out\n */\n\n\nfunction multiplyScalar(out, a, b) {\n out[0] = a[0] * b;\n out[1] = a[1] * b;\n out[2] = a[2] * b;\n out[3] = a[3] * b;\n out[4] = a[4] * b;\n out[5] = a[5] * b;\n out[6] = a[6] * b;\n out[7] = a[7] * b;\n out[8] = a[8] * b;\n return out;\n}\n/**\n * Adds two mat3's after multiplying each element of the second operand by a scalar value.\n *\n * @param {mat3} out the receiving vector\n * @param {mat3} a the first operand\n * @param {mat3} b the second operand\n * @param {Number} scale the amount to scale b's elements by before adding\n * @returns {mat3} out\n */\n\n\nfunction multiplyScalarAndAdd(out, a, b, scale) {\n out[0] = a[0] + b[0] * scale;\n out[1] = a[1] + b[1] * scale;\n out[2] = a[2] + b[2] * scale;\n out[3] = a[3] + b[3] * scale;\n out[4] = a[4] + b[4] * scale;\n out[5] = a[5] + b[5] * scale;\n out[6] = a[6] + b[6] * scale;\n out[7] = a[7] + b[7] * scale;\n out[8] = a[8] + b[8] * scale;\n return out;\n}\n/**\n * Returns whether or not the matrices have exactly the same elements in the same position (when compared with ===)\n *\n * @param {mat3} a The first matrix.\n * @param {mat3} b The second matrix.\n * @returns {Boolean} True if the matrices are equal, false otherwise.\n */\n\n\nfunction exactEquals(a, b) {\n return a[0] === b[0] && a[1] === b[1] && a[2] === b[2] && a[3] === b[3] && a[4] === b[4] && a[5] === b[5] && a[6] === b[6] && a[7] === b[7] && a[8] === b[8];\n}\n/**\n * Returns whether or not the matrices have approximately the same elements in the same position.\n *\n * @param {mat3} a The first matrix.\n * @param {mat3} b The second matrix.\n * @returns {Boolean} True if the matrices are equal, false otherwise.\n */\n\n\nfunction equals(a, b) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2],\n a3 = a[3],\n a4 = a[4],\n a5 = a[5],\n a6 = a[6],\n a7 = a[7],\n a8 = a[8];\n var b0 = b[0],\n b1 = b[1],\n b2 = b[2],\n b3 = b[3],\n b4 = b[4],\n b5 = b[5],\n b6 = b[6],\n b7 = b[7],\n b8 = b[8];\n return Math.abs(a0 - b0) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1)) && Math.abs(a2 - b2) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a2), Math.abs(b2)) && Math.abs(a3 - b3) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a3), Math.abs(b3)) && Math.abs(a4 - b4) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a4), Math.abs(b4)) && Math.abs(a5 - b5) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a5), Math.abs(b5)) && Math.abs(a6 - b6) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a6), Math.abs(b6)) && Math.abs(a7 - b7) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a7), Math.abs(b7)) && Math.abs(a8 - b8) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a8), Math.abs(b8));\n}\n/**\n * Alias for {@link mat3.multiply}\n * @function\n */\n\n\nvar mul = exports.mul = multiply;\n/**\n * Alias for {@link mat3.subtract}\n * @function\n */\n\nvar sub = exports.sub = subtract;" }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "index": 235, "index2": 232, "size": 10034, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "issuerId": 31, "issuerName": "./src/util/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 3034, "building": 905, "dependencies": 1815 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../util/path", "loc": "10:0-58" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "336:19-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "441:29-44" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "468:30-45" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "469:30-45" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony side effect evaluation", "userRequest": "./path", "loc": "4:0-35" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony import specifier", "userRequest": "./path", "loc": "6:76-84" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/path", "loc": "4:0-86" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "67:23-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "72:23-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "73:46-61" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "77:46-61" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "216:26-38" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "231:48-60" } ], "usedExports": true, "providedExports": [ "getSpline", "getControlPoint", "pointsToPolygon", "pathToPoints", "getClosedSpline", "roundedHull", "paddedHull" ], "optimizationBailout": [], "depth": 2, "source": "import { vec2 } from '@antv/matrix-util';\nimport { catmullRom2Bezier } from '@antv/path-util';\n/**\n * 替换字符串中的字段\n * @param {String} str 模版字符串\n * @param {Object} o json data\n */\nvar substitute = function (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 var res = o[name];\n if (res === 0)\n res = '0';\n return res || '';\n });\n};\n/**\n * 给定坐标获取三次贝塞尔曲线的 M 及 C 值\n * @param points coordinate set\n */\nexport var getSpline = function (points) {\n var data = [];\n if (points.length < 2) {\n throw new Error(\"point length must largn than 2, now it's \" + points.length);\n }\n for (var _i = 0, points_1 = points; _i < points_1.length; _i++) {\n var point = points_1[_i];\n var x = point.x, y = point.y;\n data.push(x);\n data.push(y);\n }\n var spliePath = catmullRom2Bezier(data);\n spliePath.unshift(['M', points[0].x, points[0].y]);\n return spliePath;\n};\n/**\n * 根据起始点、相对位置、偏移量计算控制点\n * @param {IPoint} startPoint 起始点,包含 x,y\n * @param {IPoint} endPoint 结束点, 包含 x,y\n * @param {Number} percent 相对位置,范围 0-1\n * @param {Number} offset 偏移量\n * @return {IPoint} 控制点,包含 x,y\n */\nexport var getControlPoint = function (startPoint, endPoint, percent, offset) {\n if (percent === void 0) { percent = 0; }\n if (offset === void 0) { offset = 0; }\n var point = {\n x: (1 - percent) * startPoint.x + percent * endPoint.x,\n y: (1 - percent) * startPoint.y + percent * endPoint.y,\n };\n var tangent = [];\n vec2.normalize(tangent, [endPoint.x - startPoint.x, endPoint.y - startPoint.y]);\n if (tangent.length === 0) {\n tangent = [0, 0];\n }\n var perpendicular = [-tangent[1] * offset, tangent[0] * offset]; // 垂直向量\n point.x += perpendicular[0];\n point.y += perpendicular[1];\n return point;\n};\n/**\n * 点集转化为Path多边形\n * @param {Array} points 点集\n * @param {Boolen} z 是否封闭\n * @return {Array} Path\n */\nexport var pointsToPolygon = function (points, z) {\n var length = points.length;\n if (!length) {\n return '';\n }\n var path = '';\n var str = '';\n for (var i = 0; i < length; i++) {\n var item = points[i];\n if (i === 0) {\n str = 'M{x} {y}';\n }\n else {\n str = 'L{x} {y}';\n }\n path += substitute(str, item);\n }\n if (z) {\n path += 'Z';\n }\n return path;\n};\nexport var pathToPoints = function (path) {\n var points = [];\n path.forEach(function (seg) {\n var command = seg[0];\n if (command !== 'A') {\n for (var i = 1; i < seg.length; i = i + 2) {\n points.push([seg[i], seg[i + 1]]);\n }\n }\n else {\n var length = seg.length;\n points.push([seg[length - 2], seg[length - 1]]);\n }\n });\n return points;\n};\n/**\n * 生成平滑的闭合曲线\n * @param points\n */\nexport var getClosedSpline = function (points) {\n if (points.length < 2) {\n throw new Error(\"point length must largn than 2, now it's \" + points.length);\n }\n var first = points[0];\n var second = points[1];\n var last = points[points.length - 1];\n var lastSecond = points[points.length - 2];\n points.unshift(last);\n points.unshift(lastSecond);\n points.push(first);\n points.push(second);\n var closedPath = [];\n for (var i = 1; i < points.length - 2; i += 1) {\n var x0 = points[i - 1].x;\n var y0 = points[i - 1].y;\n var x1 = points[i].x;\n var y1 = points[i].y;\n var x2 = points[i + 1].x;\n var y2 = points[i + 1].y;\n var x3 = i !== points.length - 2 ? points[i + 2].x : x2;\n var y3 = i !== points.length - 2 ? points[i + 2].y : y2;\n var cp1x = x1 + (x2 - x0) / 6;\n var cp1y = y1 + (y2 - y0) / 6;\n var cp2x = x2 - (x3 - x1) / 6;\n var cp2y = y2 - (y3 - y1) / 6;\n closedPath.push(['C', cp1x, cp1y, cp2x, cp2y, x2, y2]);\n }\n closedPath.unshift(['M', last.x, last.y]);\n return closedPath;\n};\nvar vecScaleTo = function (v, length) {\n // Vector with direction of v with specified length\n return vec2.scale([], vec2.normalize([], v), length);\n};\nvar unitNormal = function (p0, p1) {\n // Returns the unit normal to the line segment from p0 to p1.\n var n = [p0[1] - p1[1], p1[0] - p0[0]];\n var nLength = Math.sqrt(n[0] * n[0] + n[1] * n[1]);\n if (nLength === 0) {\n throw new Error('p0 should not be equal to p1');\n }\n return [n[0] / nLength, n[1] / nLength];\n};\nvar vecFrom = function (p0, p1) {\n // Vector from p0 to p1\n return [p1[0] - p0[0], p1[1] - p0[1]];\n};\n/**\n * 传入的节点作为多边形顶点,生成有圆角的多边形\n * @param polyPoints 多边形顶点\n * @param padding 在原多边形基础上增加最终轮廓和原多边形的空白间隔\n */\nexport function roundedHull(polyPoints, padding) {\n // The rounded hull path around a single point\n var roundedHull1 = function (points) {\n var p1 = [points[0][0], points[0][1] - padding];\n var p2 = [points[0][0], points[0][1] + padding];\n return \"M \" + p1 + \" A \" + padding + \",\" + padding + \",0,0,0,\" + p2 + \" A \" + padding + \",\" + padding + \",0,0,0,\" + p1;\n };\n // The rounded hull path around two points\n var roundedHull2 = function (points) {\n var offsetVector = vec2.scale([], unitNormal(points[0], points[1]), padding);\n var invOffsetVector = vec2.scale([], offsetVector, -1);\n var p0 = vec2.add([], points[0], offsetVector);\n var p1 = vec2.add([], points[1], offsetVector);\n var p2 = vec2.add([], points[1], invOffsetVector);\n var p3 = vec2.add([], points[0], invOffsetVector);\n return \"M \" + p0 + \" L \" + p1 + \" A \" + [padding, padding, '0,0,0', p2].join(',') + \" L \" + p3 + \" A \" + [\n padding,\n padding,\n '0,0,0',\n p0,\n ].join(',');\n };\n // 特殊情况处理:节点数小于等于2\n if (!polyPoints || polyPoints.length < 1)\n return '';\n if (polyPoints.length === 1)\n return roundedHull1(polyPoints);\n if (polyPoints.length === 2)\n return roundedHull2(polyPoints);\n var segments = new Array(polyPoints.length);\n // Calculate each offset (outwards) segment of the convex hull.\n for (var segmentIndex = 0; segmentIndex < segments.length; ++segmentIndex) {\n var p0 = segmentIndex === 0 ? polyPoints[polyPoints.length - 1] : polyPoints[segmentIndex - 1];\n var p1 = polyPoints[segmentIndex];\n // Compute the offset vector for the line segment, with length = padding.\n var offset = vec2.scale([], unitNormal(p0, p1), padding);\n segments[segmentIndex] = [vec2.add([], p0, offset), vec2.add([], p1, offset)];\n }\n var arcData = \"A \" + [padding, padding, '0,0,0,'].join(',');\n segments = segments.map(function (segment, index) {\n var pathFragment = '';\n if (index === 0) {\n pathFragment = \"M \" + segments[segments.length - 1][1] + \" \";\n }\n pathFragment += arcData + segment[0] + \" L \" + segment[1];\n return pathFragment;\n });\n return segments.join(' ');\n}\n/**\n * 传入的节点作为多边形顶点,生成平滑的闭合多边形\n * @param polyPoints\n * @param padding\n */\nexport function paddedHull(polyPoints, padding) {\n var pointCount = polyPoints.length;\n var smoothHull1 = function (points) {\n // Returns the path for a circular hull around a single point.\n var p1 = [points[0][0], points[0][1] - padding];\n var p2 = [points[0][0], points[0][1] + padding];\n return \"M \" + p1 + \" A \" + [padding, padding, '0,0,0', p2].join(',') + \" A \" + [\n padding,\n padding,\n '0,0,0',\n p1,\n ].join(',');\n };\n // Returns the path for a rounded hull around two points.\n var smoothHull2 = function (points) {\n var v = vecFrom(points[0], points[1]);\n var extensionVec = vecScaleTo(v, padding);\n var extension0 = vec2.add([], points[0], vec2.scale([], extensionVec, -1));\n var extension1 = vec2.add([], points[1], extensionVec);\n var tangentHalfLength = 1.2 * padding;\n var controlDelta = vecScaleTo(vec2.normalize([], v), tangentHalfLength);\n var invControlDelta = vec2.scale([], controlDelta, -1);\n var control0 = vec2.add([], extension0, invControlDelta);\n var control1 = vec2.add([], extension1, invControlDelta);\n var control3 = vec2.add([], extension0, controlDelta);\n return \"M \" + extension0 + \" C \" + [control0, control1, extension1].join(',') + \" S \" + [\n control3,\n extension0,\n ].join(',') + \" Z\";\n };\n // Handle special cases\n if (!polyPoints || pointCount < 1)\n return '';\n if (pointCount === 1)\n return smoothHull1(polyPoints);\n if (pointCount === 2)\n return smoothHull2(polyPoints);\n var hullPoints = polyPoints.map(function (point, index) {\n var pNext = polyPoints[(index + 1) % pointCount];\n return {\n p: point,\n v: vec2.normalize([], vecFrom(point, pNext)),\n };\n });\n // Compute the expanded hull points, and the nearest prior control point for each.\n for (var i = 0; i < hullPoints.length; ++i) {\n var priorIndex = i > 0 ? i - 1 : pointCount - 1;\n var extensionVec = vec2.normalize([], vec2.add([], hullPoints[priorIndex].v, vec2.scale([], hullPoints[i].v, -1)));\n hullPoints[i].p = vec2.add([], hullPoints[i].p, vec2.scale([], extensionVec, padding));\n }\n return hullPoints.map(function (obj) {\n var point = obj.p;\n return { x: point[0], y: point[1] };\n });\n}\n" }, { "id": 10, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/matrix.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/matrix.js", "index": 167, "index2": 157, "size": 2284, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "issuerId": 42, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } } ], "profile": { "factory": 144, "building": 354, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony side effect evaluation", "userRequest": "../util/matrix", "loc": "5:0-70" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "../util/matrix", "loc": "348:22-36" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "../util/matrix", "loc": "365:20-34" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "../util/matrix", "loc": "389:13-25" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "../util/matrix", "loc": "400:25-31" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "../util/matrix", "loc": "403:15-27" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony side effect evaluation", "userRequest": "../util/matrix", "loc": "3:0-46" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony import specifier", "userRequest": "../util/matrix", "loc": "77:20-32" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony import specifier", "userRequest": "../util/matrix", "loc": "78:21-33" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony import specifier", "userRequest": "../util/matrix", "loc": "79:23-35" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony import specifier", "userRequest": "../util/matrix", "loc": "80:24-36" } ], "usedExports": ["invert", "multiplyMatrix", "multiplyVec2"], "providedExports": ["multiplyMatrix", "multiplyVec2", "invert"], "optimizationBailout": [], "depth": 4, "source": "/**\n * @fileoverview 矩阵运算,本来是要引入 gl-matrix, 但是考虑到 g-mobile 对大小有限制,同时 g-webgl 使用的 matrix 不一致\n * 所以,这里仅实现 2D 几个运算,上层自己引入 gl-matrix\n * @author dxq613@gmail.com\n */\n\n/**\n * 3阶矩阵相乘\n * @param {number[]} a 矩阵1\n * @param {number[]} b 矩阵2\n */\nexport function multiplyMatrix(a, b) {\n var out = [];\n var a00 = a[0];\n var a01 = a[1];\n var a02 = a[2];\n var a10 = a[3];\n var a11 = a[4];\n var a12 = a[5];\n var a20 = a[6];\n var a21 = a[7];\n var a22 = a[8];\n var b00 = b[0];\n var b01 = b[1];\n var b02 = b[2];\n var b10 = b[3];\n var b11 = b[4];\n var b12 = b[5];\n var b20 = b[6];\n var b21 = b[7];\n var b22 = b[8];\n out[0] = b00 * a00 + b01 * a10 + b02 * a20;\n out[1] = b00 * a01 + b01 * a11 + b02 * a21;\n out[2] = b00 * a02 + b01 * a12 + b02 * a22;\n out[3] = b10 * a00 + b11 * a10 + b12 * a20;\n out[4] = b10 * a01 + b11 * a11 + b12 * a21;\n out[5] = b10 * a02 + b11 * a12 + b12 * a22;\n out[6] = b20 * a00 + b21 * a10 + b22 * a20;\n out[7] = b20 * a01 + b21 * a11 + b22 * a21;\n out[8] = b20 * a02 + b21 * a12 + b22 * a22;\n return out;\n}\n/**\n * 3阶矩阵同2阶向量相乘\n * @param {number[]} m 矩阵\n * @param {number[]} v 二阶向量\n */\n\nexport function multiplyVec2(m, v) {\n var out = [];\n var x = v[0];\n var y = v[1];\n out[0] = m[0] * x + m[3] * y + m[6];\n out[1] = m[1] * x + m[4] * y + m[7];\n return out;\n}\n/**\n * 矩阵的逆\n * @param {number[]} a 矩阵\n */\n\nexport function invert(a) {\n var out = [];\n var a00 = a[0];\n var a01 = a[1];\n var a02 = a[2];\n var a10 = a[3];\n var a11 = a[4];\n var a12 = a[5];\n var a20 = a[6];\n var a21 = a[7];\n var a22 = a[8];\n var b01 = a22 * a11 - a12 * a21;\n var b11 = -a22 * a10 + a12 * a20;\n var b21 = a21 * a10 - a11 * a20; // Calculate the determinant\n\n var det = a00 * b01 + a01 * b11 + a02 * b21;\n\n if (!det) {\n return null;\n }\n\n det = 1.0 / det;\n out[0] = b01 * det;\n out[1] = (-a22 * a01 + a02 * a21) * det;\n out[2] = (a12 * a01 - a02 * a11) * det;\n out[3] = b11 * det;\n out[4] = (a22 * a00 - a02 * a20) * det;\n out[5] = (-a12 * a00 + a02 * a10) * det;\n out[6] = b21 * det;\n out[7] = (-a21 * a00 + a01 * a20) * det;\n out[8] = (a11 * a00 - a01 * a10) * det;\n return out;\n}" }, { "id": 11, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js", "name": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js", "index": 117, "index2": 113, "size": 15185, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec2.js", "issuerId": null, "issuerName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec2.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec2.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec2.js", "profile": { "factory": 1667, "building": 225, "dependencies": 394 } } ], "profile": { "factory": 452, "building": 557 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "1:0-59" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "4:0-10" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "5:14-22" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "5:34-45" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "5:52-63" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "16:0-14" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "20:0-12" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "21:14-24" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "22:25-39" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "39:0-13" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "51:15-19" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.forEach = exports.sqrLen = exports.sqrDist = exports.dist = exports.div = exports.mul = exports.sub = exports.len = undefined;\nexports.create = create;\nexports.clone = clone;\nexports.fromValues = fromValues;\nexports.copy = copy;\nexports.set = set;\nexports.add = add;\nexports.subtract = subtract;\nexports.multiply = multiply;\nexports.divide = divide;\nexports.ceil = ceil;\nexports.floor = floor;\nexports.min = min;\nexports.max = max;\nexports.round = round;\nexports.scale = scale;\nexports.scaleAndAdd = scaleAndAdd;\nexports.distance = distance;\nexports.squaredDistance = squaredDistance;\nexports.length = length;\nexports.squaredLength = squaredLength;\nexports.negate = negate;\nexports.inverse = inverse;\nexports.normalize = normalize;\nexports.dot = dot;\nexports.cross = cross;\nexports.lerp = lerp;\nexports.random = random;\nexports.transformMat2 = transformMat2;\nexports.transformMat2d = transformMat2d;\nexports.transformMat3 = transformMat3;\nexports.transformMat4 = transformMat4;\nexports.rotate = rotate;\nexports.angle = angle;\nexports.str = str;\nexports.exactEquals = exactEquals;\nexports.equals = equals;\n\nvar _common = require('./common.js');\n\nvar glMatrix = _interopRequireWildcard(_common);\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n\n newObj.default = obj;\n return newObj;\n }\n}\n/**\n * 2 Dimensional Vector\n * @module vec2\n */\n\n/**\n * Creates a new, empty vec2\n *\n * @returns {vec2} a new 2D vector\n */\n\n\nfunction create() {\n var out = new glMatrix.ARRAY_TYPE(2);\n\n if (glMatrix.ARRAY_TYPE != Float32Array) {\n out[0] = 0;\n out[1] = 0;\n }\n\n return out;\n}\n/**\n * Creates a new vec2 initialized with values from an existing vector\n *\n * @param {vec2} a vector to clone\n * @returns {vec2} a new 2D vector\n */\n\n\nfunction clone(a) {\n var out = new glMatrix.ARRAY_TYPE(2);\n out[0] = a[0];\n out[1] = a[1];\n return out;\n}\n/**\n * Creates a new vec2 initialized with the given values\n *\n * @param {Number} x X component\n * @param {Number} y Y component\n * @returns {vec2} a new 2D vector\n */\n\n\nfunction fromValues(x, y) {\n var out = new glMatrix.ARRAY_TYPE(2);\n out[0] = x;\n out[1] = y;\n return out;\n}\n/**\n * Copy the values from one vec2 to another\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the source vector\n * @returns {vec2} out\n */\n\n\nfunction copy(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n return out;\n}\n/**\n * Set the components of a vec2 to the given values\n *\n * @param {vec2} out the receiving vector\n * @param {Number} x X component\n * @param {Number} y Y component\n * @returns {vec2} out\n */\n\n\nfunction set(out, x, y) {\n out[0] = x;\n out[1] = y;\n return out;\n}\n/**\n * Adds two vec2's\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {vec2} out\n */\n\n\nfunction add(out, a, b) {\n out[0] = a[0] + b[0];\n out[1] = a[1] + b[1];\n return out;\n}\n/**\n * Subtracts vector b from vector a\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {vec2} out\n */\n\n\nfunction subtract(out, a, b) {\n out[0] = a[0] - b[0];\n out[1] = a[1] - b[1];\n return out;\n}\n/**\n * Multiplies two vec2's\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {vec2} out\n */\n\n\nfunction multiply(out, a, b) {\n out[0] = a[0] * b[0];\n out[1] = a[1] * b[1];\n return out;\n}\n/**\n * Divides two vec2's\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {vec2} out\n */\n\n\nfunction divide(out, a, b) {\n out[0] = a[0] / b[0];\n out[1] = a[1] / b[1];\n return out;\n}\n/**\n * Math.ceil the components of a vec2\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a vector to ceil\n * @returns {vec2} out\n */\n\n\nfunction ceil(out, a) {\n out[0] = Math.ceil(a[0]);\n out[1] = Math.ceil(a[1]);\n return out;\n}\n/**\n * Math.floor the components of a vec2\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a vector to floor\n * @returns {vec2} out\n */\n\n\nfunction floor(out, a) {\n out[0] = Math.floor(a[0]);\n out[1] = Math.floor(a[1]);\n return out;\n}\n/**\n * Returns the minimum of two vec2's\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {vec2} out\n */\n\n\nfunction min(out, a, b) {\n out[0] = Math.min(a[0], b[0]);\n out[1] = Math.min(a[1], b[1]);\n return out;\n}\n/**\n * Returns the maximum of two vec2's\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {vec2} out\n */\n\n\nfunction max(out, a, b) {\n out[0] = Math.max(a[0], b[0]);\n out[1] = Math.max(a[1], b[1]);\n return out;\n}\n/**\n * Math.round the components of a vec2\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a vector to round\n * @returns {vec2} out\n */\n\n\nfunction round(out, a) {\n out[0] = Math.round(a[0]);\n out[1] = Math.round(a[1]);\n return out;\n}\n/**\n * Scales a vec2 by a scalar number\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the vector to scale\n * @param {Number} b amount to scale the vector by\n * @returns {vec2} out\n */\n\n\nfunction scale(out, a, b) {\n out[0] = a[0] * b;\n out[1] = a[1] * b;\n return out;\n}\n/**\n * Adds two vec2's after scaling the second operand by a scalar value\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @param {Number} scale the amount to scale b by before adding\n * @returns {vec2} out\n */\n\n\nfunction scaleAndAdd(out, a, b, scale) {\n out[0] = a[0] + b[0] * scale;\n out[1] = a[1] + b[1] * scale;\n return out;\n}\n/**\n * Calculates the euclidian distance between two vec2's\n *\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {Number} distance between a and b\n */\n\n\nfunction distance(a, b) {\n var x = b[0] - a[0],\n y = b[1] - a[1];\n return Math.sqrt(x * x + y * y);\n}\n/**\n * Calculates the squared euclidian distance between two vec2's\n *\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {Number} squared distance between a and b\n */\n\n\nfunction squaredDistance(a, b) {\n var x = b[0] - a[0],\n y = b[1] - a[1];\n return x * x + y * y;\n}\n/**\n * Calculates the length of a vec2\n *\n * @param {vec2} a vector to calculate length of\n * @returns {Number} length of a\n */\n\n\nfunction length(a) {\n var x = a[0],\n y = a[1];\n return Math.sqrt(x * x + y * y);\n}\n/**\n * Calculates the squared length of a vec2\n *\n * @param {vec2} a vector to calculate squared length of\n * @returns {Number} squared length of a\n */\n\n\nfunction squaredLength(a) {\n var x = a[0],\n y = a[1];\n return x * x + y * y;\n}\n/**\n * Negates the components of a vec2\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a vector to negate\n * @returns {vec2} out\n */\n\n\nfunction negate(out, a) {\n out[0] = -a[0];\n out[1] = -a[1];\n return out;\n}\n/**\n * Returns the inverse of the components of a vec2\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a vector to invert\n * @returns {vec2} out\n */\n\n\nfunction inverse(out, a) {\n out[0] = 1.0 / a[0];\n out[1] = 1.0 / a[1];\n return out;\n}\n/**\n * Normalize a vec2\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a vector to normalize\n * @returns {vec2} out\n */\n\n\nfunction normalize(out, a) {\n var x = a[0],\n y = a[1];\n var len = x * x + y * y;\n\n if (len > 0) {\n //TODO: evaluate use of glm_invsqrt here?\n len = 1 / Math.sqrt(len);\n out[0] = a[0] * len;\n out[1] = a[1] * len;\n }\n\n return out;\n}\n/**\n * Calculates the dot product of two vec2's\n *\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {Number} dot product of a and b\n */\n\n\nfunction dot(a, b) {\n return a[0] * b[0] + a[1] * b[1];\n}\n/**\n * Computes the cross product of two vec2's\n * Note that the cross product must by definition produce a 3D vector\n *\n * @param {vec3} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction cross(out, a, b) {\n var z = a[0] * b[1] - a[1] * b[0];\n out[0] = out[1] = 0;\n out[2] = z;\n return out;\n}\n/**\n * Performs a linear interpolation between two vec2's\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\n * @returns {vec2} out\n */\n\n\nfunction lerp(out, a, b, t) {\n var ax = a[0],\n ay = a[1];\n out[0] = ax + t * (b[0] - ax);\n out[1] = ay + t * (b[1] - ay);\n return out;\n}\n/**\n * Generates a random vector with the given scale\n *\n * @param {vec2} out the receiving vector\n * @param {Number} [scale] Length of the resulting vector. If ommitted, a unit vector will be returned\n * @returns {vec2} out\n */\n\n\nfunction random(out, scale) {\n scale = scale || 1.0;\n var r = glMatrix.RANDOM() * 2.0 * Math.PI;\n out[0] = Math.cos(r) * scale;\n out[1] = Math.sin(r) * scale;\n return out;\n}\n/**\n * Transforms the vec2 with a mat2\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the vector to transform\n * @param {mat2} m matrix to transform with\n * @returns {vec2} out\n */\n\n\nfunction transformMat2(out, a, m) {\n var x = a[0],\n y = a[1];\n out[0] = m[0] * x + m[2] * y;\n out[1] = m[1] * x + m[3] * y;\n return out;\n}\n/**\n * Transforms the vec2 with a mat2d\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the vector to transform\n * @param {mat2d} m matrix to transform with\n * @returns {vec2} out\n */\n\n\nfunction transformMat2d(out, a, m) {\n var x = a[0],\n y = a[1];\n out[0] = m[0] * x + m[2] * y + m[4];\n out[1] = m[1] * x + m[3] * y + m[5];\n return out;\n}\n/**\n * Transforms the vec2 with a mat3\n * 3rd vector component is implicitly '1'\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the vector to transform\n * @param {mat3} m matrix to transform with\n * @returns {vec2} out\n */\n\n\nfunction transformMat3(out, a, m) {\n var x = a[0],\n y = a[1];\n out[0] = m[0] * x + m[3] * y + m[6];\n out[1] = m[1] * x + m[4] * y + m[7];\n return out;\n}\n/**\n * Transforms the vec2 with a mat4\n * 3rd vector component is implicitly '0'\n * 4th vector component is implicitly '1'\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the vector to transform\n * @param {mat4} m matrix to transform with\n * @returns {vec2} out\n */\n\n\nfunction transformMat4(out, a, m) {\n var x = a[0];\n var y = a[1];\n out[0] = m[0] * x + m[4] * y + m[12];\n out[1] = m[1] * x + m[5] * y + m[13];\n return out;\n}\n/**\n * Rotate a 2D vector\n * @param {vec2} out The receiving vec2\n * @param {vec2} a The vec2 point to rotate\n * @param {vec2} b The origin of the rotation\n * @param {Number} c The angle of rotation\n * @returns {vec2} out\n */\n\n\nfunction rotate(out, a, b, c) {\n //Translate point to the origin\n var p0 = a[0] - b[0],\n p1 = a[1] - b[1],\n sinC = Math.sin(c),\n cosC = Math.cos(c); //perform rotation and translate to correct position\n\n out[0] = p0 * cosC - p1 * sinC + b[0];\n out[1] = p0 * sinC + p1 * cosC + b[1];\n return out;\n}\n/**\n * Get the angle between two 2D vectors\n * @param {vec2} a The first operand\n * @param {vec2} b The second operand\n * @returns {Number} The angle in radians\n */\n\n\nfunction angle(a, b) {\n var x1 = a[0],\n y1 = a[1],\n x2 = b[0],\n y2 = b[1];\n var len1 = x1 * x1 + y1 * y1;\n\n if (len1 > 0) {\n //TODO: evaluate use of glm_invsqrt here?\n len1 = 1 / Math.sqrt(len1);\n }\n\n var len2 = x2 * x2 + y2 * y2;\n\n if (len2 > 0) {\n //TODO: evaluate use of glm_invsqrt here?\n len2 = 1 / Math.sqrt(len2);\n }\n\n var cosine = (x1 * x2 + y1 * y2) * len1 * len2;\n\n if (cosine > 1.0) {\n return 0;\n } else if (cosine < -1.0) {\n return Math.PI;\n } else {\n return Math.acos(cosine);\n }\n}\n/**\n * Returns a string representation of a vector\n *\n * @param {vec2} a vector to represent as a string\n * @returns {String} string representation of the vector\n */\n\n\nfunction str(a) {\n return 'vec2(' + a[0] + ', ' + a[1] + ')';\n}\n/**\n * Returns whether or not the vectors exactly have the same elements in the same position (when compared with ===)\n *\n * @param {vec2} a The first vector.\n * @param {vec2} b The second vector.\n * @returns {Boolean} True if the vectors are equal, false otherwise.\n */\n\n\nfunction exactEquals(a, b) {\n return a[0] === b[0] && a[1] === b[1];\n}\n/**\n * Returns whether or not the vectors have approximately the same elements in the same position.\n *\n * @param {vec2} a The first vector.\n * @param {vec2} b The second vector.\n * @returns {Boolean} True if the vectors are equal, false otherwise.\n */\n\n\nfunction equals(a, b) {\n var a0 = a[0],\n a1 = a[1];\n var b0 = b[0],\n b1 = b[1];\n return Math.abs(a0 - b0) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1));\n}\n/**\n * Alias for {@link vec2.length}\n * @function\n */\n\n\nvar len = exports.len = length;\n/**\n * Alias for {@link vec2.subtract}\n * @function\n */\n\nvar sub = exports.sub = subtract;\n/**\n * Alias for {@link vec2.multiply}\n * @function\n */\n\nvar mul = exports.mul = multiply;\n/**\n * Alias for {@link vec2.divide}\n * @function\n */\n\nvar div = exports.div = divide;\n/**\n * Alias for {@link vec2.distance}\n * @function\n */\n\nvar dist = exports.dist = distance;\n/**\n * Alias for {@link vec2.squaredDistance}\n * @function\n */\n\nvar sqrDist = exports.sqrDist = squaredDistance;\n/**\n * Alias for {@link vec2.squaredLength}\n * @function\n */\n\nvar sqrLen = exports.sqrLen = squaredLength;\n/**\n * Perform some operation over an array of vec2s.\n *\n * @param {Array} a the array of vectors to iterate over\n * @param {Number} stride Number of elements between the start of each vec2. If 0 assumes tightly packed\n * @param {Number} offset Number of elements to skip at the beginning of the array\n * @param {Number} count Number of vec2s to iterate over. If 0 iterates over entire array\n * @param {Function} fn Function to call for each vector in the array\n * @param {Object} [arg] additional argument to pass to fn\n * @returns {Array} a\n * @function\n */\n\nvar forEach = exports.forEach = function () {\n var vec = create();\n return function (a, stride, offset, count, fn, arg) {\n var i = void 0,\n l = void 0;\n\n if (!stride) {\n stride = 2;\n }\n\n if (!offset) {\n offset = 0;\n }\n\n if (count) {\n l = Math.min(count * stride + offset, a.length);\n } else {\n l = a.length;\n }\n\n for (i = offset; i < l; i += stride) {\n vec[0] = a[i];\n vec[1] = a[i + 1];\n fn(vec, vec, arg);\n a[i] = vec[0];\n a[i + 1] = vec[1];\n }\n\n return a;\n };\n}();" }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "index": 137, "index2": 197, "size": 6021, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "issuerId": 32, "issuerName": "./src/graph/controller/layout.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 157, "building": 209, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../util/base", "loc": "3:0-45" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/base", "loc": "98:22-35" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony side effect evaluation", "userRequest": "./base", "loc": "5:0-35" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony import specifier", "userRequest": "./base", "loc": "6:51-59" }, { "moduleId": 32, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "module": "./src/graph/controller/layout.ts", "moduleName": "./src/graph/controller/layout.ts", "type": "harmony side effect evaluation", "userRequest": "../../util/base", "loc": "1:0-40" }, { "moduleId": 32, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "module": "./src/graph/controller/layout.ts", "moduleName": "./src/graph/controller/layout.ts", "type": "harmony import specifier", "userRequest": "../../util/base", "loc": "122:63-68" }, { "moduleId": 32, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "module": "./src/graph/controller/layout.ts", "moduleName": "./src/graph/controller/layout.ts", "type": "harmony import specifier", "userRequest": "../../util/base", "loc": "163:16-21" }, { "moduleId": 32, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "module": "./src/graph/controller/layout.ts", "moduleName": "./src/graph/controller/layout.ts", "type": "harmony import specifier", "userRequest": "../../util/base", "loc": "167:16-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../../util/base", "loc": "4:0-48" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/base", "loc": "64:15-28" } ], "usedExports": true, "providedExports": [ "formatPadding", "cloneEvent", "isViewportChanged", "isNaN", "calculationItemsBBox", "processParallelEdges" ], "optimizationBailout": [], "depth": 2, "source": "import { isString, isNumber, isNil, isArray } from '@antv/util';\nimport { G6GraphEvent } from '../interface/behavior';\n/**\n * turn padding into [top, right, bottom, right]\n * @param {Number|Array} padding input padding\n * @return {array} output\n */\nexport var formatPadding = function (padding) {\n var top = 0;\n var left = 0;\n var right = 0;\n var bottom = 0;\n if (isNumber(padding)) {\n top = left = right = bottom = padding;\n }\n else if (isString(padding)) {\n var intPadding = parseInt(padding, 10);\n top = left = right = bottom = intPadding;\n }\n else if (isArray(padding)) {\n top = padding[0];\n right = !isNil(padding[1]) ? padding[1] : padding[0];\n bottom = !isNil(padding[2]) ? padding[2] : padding[0];\n left = !isNil(padding[3]) ? padding[3] : right;\n }\n return [top, right, bottom, left];\n};\n/**\n * clone event\n * @param e\n */\nexport var cloneEvent = function (e) {\n debugger;\n var event = new G6GraphEvent(e.type, e);\n event.clientX = e.clientX;\n event.clientY = e.clientY;\n event.x = e.x;\n event.y = e.y;\n event.target = e.target;\n event.currentTarget = e.currentTarget;\n event.bubbles = true;\n event.item = e.item;\n return event;\n};\n/**\n * 判断 viewport 是否改变,通过和单位矩阵对比\n * @param matrix Viewport 的 Matrix\n */\nexport var isViewportChanged = function (matrix) {\n // matrix 为 null, 则说明没有变化\n if (!matrix) {\n return false;\n }\n var MATRIX_LEN = 9;\n var ORIGIN_MATRIX = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n for (var i = 0; i < MATRIX_LEN; i++) {\n if (matrix[i] !== ORIGIN_MATRIX[i]) {\n return true;\n }\n }\n return false;\n};\nexport var isNaN = function (input) { return Number.isNaN(Number(input)); };\n/**\n * 计算一组 Item 的 BBox\n * @param items 选中的一组Item,可以是 node 或 combo\n */\nexport var calculationItemsBBox = function (items) {\n var minx = Infinity;\n var maxx = -Infinity;\n var miny = Infinity;\n var maxy = -Infinity;\n // 获取已节点的所有最大最小x y值\n for (var i = 0; i < items.length; i++) {\n var element = items[i];\n var bbox = element.getBBox();\n var minX = bbox.minX, minY = bbox.minY, maxX = bbox.maxX, maxY = bbox.maxY;\n if (minX < minx) {\n minx = minX;\n }\n if (minY < miny) {\n miny = minY;\n }\n if (maxX > maxx) {\n maxx = maxX;\n }\n if (maxY > maxy) {\n maxy = maxY;\n }\n }\n var x = Math.floor(minx);\n var y = Math.floor(miny);\n var width = Math.ceil(maxx) - Math.floor(minx);\n var height = Math.ceil(maxy) - Math.floor(miny);\n return {\n x: x,\n y: y,\n width: width,\n height: height,\n minX: minx,\n minY: miny,\n maxX: maxx,\n maxY: maxy,\n };\n};\n/**\n * 若 edges 中存在两端点相同的边,使用 quadratic 边并自动计算 curveOffset 使它们不相互重叠\n * @param edges 边数据集合\n * @param offsetDiff 相邻两边的 offset 之差\n */\nexport var processParallelEdges = function (edges, offsetDiff, multiEdgeType, singleEdgeType) {\n if (offsetDiff === void 0) { offsetDiff = 15; }\n if (multiEdgeType === void 0) { multiEdgeType = 'quadratic'; }\n if (singleEdgeType === void 0) { singleEdgeType = 'line'; }\n var len = edges.length;\n var cod = offsetDiff * 2;\n var loopPosition = [\n 'top',\n 'top-right',\n 'right',\n 'bottom-right',\n 'bottom',\n 'bottom-left',\n 'left',\n 'top-left',\n ];\n var edgeMap = {};\n var tags = [];\n var reverses = {};\n for (var i = 0; i < len; i++) {\n var edge = edges[i];\n var source = edge.source, target = edge.target;\n var sourceTarget = source + \"-\" + target;\n if (tags[i])\n continue;\n if (!edgeMap[sourceTarget]) {\n edgeMap[sourceTarget] = [];\n }\n tags[i] = true;\n edgeMap[sourceTarget].push(edge);\n for (var j = 0; j < len; j++) {\n if (i === j)\n continue;\n var sedge = edges[j];\n var src = sedge.source;\n var dst = sedge.target;\n // 两个节点之间共同的边\n // 第一条的source = 第二条的target\n // 第一条的target = 第二条的source\n if (!tags[j]) {\n if (source === dst && target === src) {\n edgeMap[sourceTarget].push(sedge);\n tags[j] = true;\n reverses[src + \"|\" + dst + \"|\" + (edgeMap[sourceTarget].length - 1)] = true;\n }\n else if (source === src && target === dst) {\n edgeMap[sourceTarget].push(sedge);\n tags[j] = true;\n }\n }\n }\n }\n for (var key in edgeMap) {\n var arcEdges = edgeMap[key];\n var length = arcEdges.length;\n for (var k = 0; k < length; k++) {\n var current = arcEdges[k];\n if (current.source === current.target) {\n current.type = 'loop';\n // 超过8条自环边,则需要重新处理\n current.loopCfg = {\n position: loopPosition[k % 8],\n dist: Math.floor(k / 8) * 20 + 50,\n };\n continue;\n }\n if (length === 1) {\n current.type = singleEdgeType;\n continue;\n }\n current.type = multiEdgeType;\n var sign = (k % 2 === 0 ? 1 : -1) * (reverses[current.source + \"|\" + current.target + \"|\" + k] ? -1 : 1);\n if (length % 2 === 1) {\n current.curveOffset = sign * Math.ceil(k / 2) * cod;\n }\n else {\n current.curveOffset = sign * (Math.floor(k / 2) * cod + offsetDiff);\n }\n }\n }\n return edges;\n};\n" }, { "id": 13, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "index": 140, "index2": 133, "size": 35680, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerId": 49, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } } ], "profile": { "factory": 1680, "building": 569, "dependencies": 582 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "../util/path", "loc": "6:0-41" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "36:19-43" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "38:21-45" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "40:21-44" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "41:21-40" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "45:19-43" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "46:21-45" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "47:21-40" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./util/path", "loc": "5:0-40" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./util/path", "loc": "17:0-20" } ], "usedExports": ["fillPathByDiff", "formatPath", "parsePathString"], "providedExports": [ "catmullRomToBezier", "fillPath", "fillPathByDiff", "formatPath", "intersection", "parsePathArray", "parsePathString", "pathToAbsolute", "pathToCurve", "rectPath" ], "optimizationBailout": [], "depth": 3, "source": "import { each, isArray } from '@antv/util';\nvar SPACES = \"\\t\\n\\x0B\\f\\r \\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\";\nvar PATH_COMMAND = new RegExp(\"([a-z])[\" + SPACES + \",]*((-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?[\" + SPACES + \"]*,?[\" + SPACES + \"]*)+)\", 'ig');\nvar PATH_VALUES = new RegExp(\"(-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?)[\" + SPACES + \"]*,?[\" + SPACES + \"]*\", 'ig'); // Parse given path string into an array of arrays of path segments\n\nvar parsePathString = function parsePathString(pathString) {\n if (!pathString) {\n return null;\n }\n\n if (isArray(pathString)) {\n return pathString;\n }\n\n var paramCounts = {\n a: 7,\n c: 6,\n o: 2,\n h: 1,\n l: 2,\n m: 2,\n r: 4,\n q: 4,\n s: 4,\n t: 2,\n v: 1,\n u: 3,\n z: 0\n };\n var data = [];\n String(pathString).replace(PATH_COMMAND, function (a, b, c) {\n var params = [];\n var name = b.toLowerCase();\n c.replace(PATH_VALUES, function (a, b) {\n b && params.push(+b);\n });\n\n if (name === 'm' && params.length > 2) {\n data.push([b].concat(params.splice(0, 2)));\n name = 'l';\n b = b === 'm' ? 'l' : 'L';\n }\n\n if (name === 'o' && params.length === 1) {\n data.push([b, params[0]]);\n }\n\n if (name === 'r') {\n data.push([b].concat(params));\n } else {\n while (params.length >= paramCounts[name]) {\n data.push([b].concat(params.splice(0, paramCounts[name])));\n\n if (!paramCounts[name]) {\n break;\n }\n }\n }\n\n return pathString;\n });\n return data;\n}; // http://schepers.cc/getting-to-the-point\n\n\nvar catmullRomToBezier = function catmullRomToBezier(crp, z) {\n var d = []; // @ts-ignore\n\n for (var i = 0, iLen = crp.length; iLen - 2 * !z > i; i += 2) {\n var p = [{\n x: +crp[i - 2],\n y: +crp[i - 1]\n }, {\n x: +crp[i],\n y: +crp[i + 1]\n }, {\n x: +crp[i + 2],\n y: +crp[i + 3]\n }, {\n x: +crp[i + 4],\n y: +crp[i + 5]\n }];\n\n if (z) {\n if (!i) {\n p[0] = {\n x: +crp[iLen - 2],\n y: +crp[iLen - 1]\n };\n } else if (iLen - 4 === i) {\n p[3] = {\n x: +crp[0],\n y: +crp[1]\n };\n } else if (iLen - 2 === i) {\n p[2] = {\n x: +crp[0],\n y: +crp[1]\n };\n p[3] = {\n x: +crp[2],\n y: +crp[3]\n };\n }\n } else {\n if (iLen - 4 === i) {\n p[3] = p[2];\n } else if (!i) {\n p[0] = {\n x: +crp[i],\n y: +crp[i + 1]\n };\n }\n }\n\n d.push(['C', (-p[0].x + 6 * p[1].x + p[2].x) / 6, (-p[0].y + 6 * p[1].y + p[2].y) / 6, (p[1].x + 6 * p[2].x - p[3].x) / 6, (p[1].y + 6 * p[2].y - p[3].y) / 6, p[2].x, p[2].y]);\n }\n\n return d;\n};\n\nvar ellipsePath = function ellipsePath(x, y, rx, ry, a) {\n var res = [];\n\n if (a === null && ry === null) {\n ry = rx;\n }\n\n x = +x;\n y = +y;\n rx = +rx;\n ry = +ry;\n\n if (a !== null) {\n var rad = Math.PI / 180;\n var x1 = x + rx * Math.cos(-ry * rad);\n var x2 = x + rx * Math.cos(-a * rad);\n var y1 = y + rx * Math.sin(-ry * rad);\n var y2 = y + rx * Math.sin(-a * rad);\n res = [['M', x1, y1], ['A', rx, rx, 0, +(a - ry > 180), 0, x2, y2]];\n } else {\n res = [['M', x, y], ['m', 0, -ry], ['a', rx, ry, 0, 1, 1, 0, 2 * ry], ['a', rx, ry, 0, 1, 1, 0, -2 * ry], ['z']];\n }\n\n return res;\n};\n\nvar pathToAbsolute = function pathToAbsolute(pathArray) {\n pathArray = parsePathString(pathArray);\n\n if (!pathArray || !pathArray.length) {\n return [['M', 0, 0]];\n }\n\n var res = [];\n var x = 0;\n var y = 0;\n var mx = 0;\n var my = 0;\n var start = 0;\n var pa0;\n var dots;\n\n if (pathArray[0][0] === 'M') {\n x = +pathArray[0][1];\n y = +pathArray[0][2];\n mx = x;\n my = y;\n start++;\n res[0] = ['M', x, y];\n }\n\n var crz = pathArray.length === 3 && pathArray[0][0] === 'M' && pathArray[1][0].toUpperCase() === 'R' && pathArray[2][0].toUpperCase() === 'Z';\n\n for (var r = void 0, pa = void 0, i = start, ii = pathArray.length; i < ii; i++) {\n res.push(r = []);\n pa = pathArray[i];\n pa0 = pa[0];\n\n if (pa0 !== pa0.toUpperCase()) {\n r[0] = pa0.toUpperCase();\n\n switch (r[0]) {\n case 'A':\n r[1] = pa[1];\n r[2] = pa[2];\n r[3] = pa[3];\n r[4] = pa[4];\n r[5] = pa[5];\n r[6] = +pa[6] + x;\n r[7] = +pa[7] + y;\n break;\n\n case 'V':\n r[1] = +pa[1] + y;\n break;\n\n case 'H':\n r[1] = +pa[1] + x;\n break;\n\n case 'R':\n dots = [x, y].concat(pa.slice(1));\n\n for (var j = 2, jj = dots.length; j < jj; j++) {\n dots[j] = +dots[j] + x;\n dots[++j] = +dots[j] + y;\n }\n\n res.pop();\n res = res.concat(catmullRomToBezier(dots, crz));\n break;\n\n case 'O':\n res.pop();\n dots = ellipsePath(x, y, pa[1], pa[2]);\n dots.push(dots[0]);\n res = res.concat(dots);\n break;\n\n case 'U':\n res.pop();\n res = res.concat(ellipsePath(x, y, pa[1], pa[2], pa[3]));\n r = ['U'].concat(res[res.length - 1].slice(-2));\n break;\n\n case 'M':\n mx = +pa[1] + x;\n my = +pa[2] + y;\n break;\n // for lint\n\n default:\n for (var j = 1, jj = pa.length; j < jj; j++) {\n r[j] = +pa[j] + (j % 2 ? x : y);\n }\n\n }\n } else if (pa0 === 'R') {\n dots = [x, y].concat(pa.slice(1));\n res.pop();\n res = res.concat(catmullRomToBezier(dots, crz));\n r = ['R'].concat(pa.slice(-2));\n } else if (pa0 === 'O') {\n res.pop();\n dots = ellipsePath(x, y, pa[1], pa[2]);\n dots.push(dots[0]);\n res = res.concat(dots);\n } else if (pa0 === 'U') {\n res.pop();\n res = res.concat(ellipsePath(x, y, pa[1], pa[2], pa[3]));\n r = ['U'].concat(res[res.length - 1].slice(-2));\n } else {\n for (var k = 0, kk = pa.length; k < kk; k++) {\n r[k] = pa[k];\n }\n }\n\n pa0 = pa0.toUpperCase();\n\n if (pa0 !== 'O') {\n switch (r[0]) {\n case 'Z':\n x = +mx;\n y = +my;\n break;\n\n case 'H':\n x = r[1];\n break;\n\n case 'V':\n y = r[1];\n break;\n\n case 'M':\n mx = r[r.length - 2];\n my = r[r.length - 1];\n break;\n // for lint\n\n default:\n x = r[r.length - 2];\n y = r[r.length - 1];\n }\n }\n }\n\n return res;\n};\n\nvar l2c = function l2c(x1, y1, x2, y2) {\n return [x1, y1, x2, y2, x2, y2];\n};\n\nvar q2c = function q2c(x1, y1, ax, ay, x2, y2) {\n var _13 = 1 / 3;\n\n var _23 = 2 / 3;\n\n return [_13 * x1 + _23 * ax, _13 * y1 + _23 * ay, _13 * x2 + _23 * ax, _13 * y2 + _23 * ay, x2, y2];\n};\n\nvar a2c = function a2c(x1, y1, rx, ry, angle, large_arc_flag, sweep_flag, x2, y2, recursive) {\n // for more information of where this math came from visit:\n // http://www.w3.org/TR/SVG11/implnote.html#ArcImplementationNotes\n if (rx === ry) {\n rx += 1;\n }\n\n var _120 = Math.PI * 120 / 180;\n\n var rad = Math.PI / 180 * (+angle || 0);\n var res = [];\n var xy;\n var f1;\n var f2;\n var cx;\n var cy;\n\n var rotate = function rotate(x, y, rad) {\n var X = x * Math.cos(rad) - y * Math.sin(rad);\n var Y = x * Math.sin(rad) + y * Math.cos(rad);\n return {\n x: X,\n y: Y\n };\n };\n\n if (!recursive) {\n xy = rotate(x1, y1, -rad);\n x1 = xy.x;\n y1 = xy.y;\n xy = rotate(x2, y2, -rad);\n x2 = xy.x;\n y2 = xy.y;\n\n if (x1 === x2 && y1 === y2) {\n // 若弧的起始点和终点重叠则错开一点\n x2 += 1;\n y2 += 1;\n } // const cos = Math.cos(Math.PI / 180 * angle);\n // const sin = Math.sin(Math.PI / 180 * angle);\n\n\n var x = (x1 - x2) / 2;\n var y = (y1 - y2) / 2;\n var h = x * x / (rx * rx) + y * y / (ry * ry);\n\n if (h > 1) {\n h = Math.sqrt(h);\n rx = h * rx;\n ry = h * ry;\n }\n\n var rx2 = rx * rx;\n var ry2 = ry * ry;\n var k = (large_arc_flag === sweep_flag ? -1 : 1) * Math.sqrt(Math.abs((rx2 * ry2 - rx2 * y * y - ry2 * x * x) / (rx2 * y * y + ry2 * x * x)));\n cx = k * rx * y / ry + (x1 + x2) / 2;\n cy = k * -ry * x / rx + (y1 + y2) / 2; // @ts-ignore\n\n f1 = Math.asin(((y1 - cy) / ry).toFixed(9)); // @ts-ignore\n\n f2 = Math.asin(((y2 - cy) / ry).toFixed(9));\n f1 = x1 < cx ? Math.PI - f1 : f1;\n f2 = x2 < cx ? Math.PI - f2 : f2;\n f1 < 0 && (f1 = Math.PI * 2 + f1);\n f2 < 0 && (f2 = Math.PI * 2 + f2);\n\n if (sweep_flag && f1 > f2) {\n f1 = f1 - Math.PI * 2;\n }\n\n if (!sweep_flag && f2 > f1) {\n f2 = f2 - Math.PI * 2;\n }\n } else {\n f1 = recursive[0];\n f2 = recursive[1];\n cx = recursive[2];\n cy = recursive[3];\n }\n\n var df = f2 - f1;\n\n if (Math.abs(df) > _120) {\n var f2old = f2;\n var x2old = x2;\n var y2old = y2;\n f2 = f1 + _120 * (sweep_flag && f2 > f1 ? 1 : -1);\n x2 = cx + rx * Math.cos(f2);\n y2 = cy + ry * Math.sin(f2);\n res = a2c(x2, y2, rx, ry, angle, 0, sweep_flag, x2old, y2old, [f2, f2old, cx, cy]);\n }\n\n df = f2 - f1;\n var c1 = Math.cos(f1);\n var s1 = Math.sin(f1);\n var c2 = Math.cos(f2);\n var s2 = Math.sin(f2);\n var t = Math.tan(df / 4);\n var hx = 4 / 3 * rx * t;\n var hy = 4 / 3 * ry * t;\n var m1 = [x1, y1];\n var m2 = [x1 + hx * s1, y1 - hy * c1];\n var m3 = [x2 + hx * s2, y2 - hy * c2];\n var m4 = [x2, y2];\n m2[0] = 2 * m1[0] - m2[0];\n m2[1] = 2 * m1[1] - m2[1];\n\n if (recursive) {\n return [m2, m3, m4].concat(res);\n }\n\n res = [m2, m3, m4].concat(res).join().split(',');\n var newres = [];\n\n for (var i = 0, ii = res.length; i < ii; i++) {\n newres[i] = i % 2 ? rotate(res[i - 1], res[i], rad).y : rotate(res[i], res[i + 1], rad).x;\n }\n\n return newres;\n};\n\nvar pathToCurve = function pathToCurve(path, path2) {\n var p = pathToAbsolute(path);\n var p2 = path2 && pathToAbsolute(path2);\n var attrs = {\n x: 0,\n y: 0,\n bx: 0,\n by: 0,\n X: 0,\n Y: 0,\n qx: null,\n qy: null\n };\n var attrs2 = {\n x: 0,\n y: 0,\n bx: 0,\n by: 0,\n X: 0,\n Y: 0,\n qx: null,\n qy: null\n };\n var pcoms1 = []; // path commands of original path p\n\n var pcoms2 = []; // path commands of original path p2\n\n var pfirst = ''; // temporary holder for original path command\n\n var pcom = ''; // holder for previous path command of original path\n\n var ii;\n\n var processPath = function processPath(path, d, pcom) {\n var nx;\n var ny;\n\n if (!path) {\n return ['C', d.x, d.y, d.x, d.y, d.x, d.y];\n }\n\n !(path[0] in {\n T: 1,\n Q: 1\n }) && (d.qx = d.qy = null);\n\n switch (path[0]) {\n case 'M':\n d.X = path[1];\n d.Y = path[2];\n break;\n\n case 'A':\n path = ['C'].concat(a2c.apply(0, [d.x, d.y].concat(path.slice(1))));\n break;\n\n case 'S':\n if (pcom === 'C' || pcom === 'S') {\n // In \"S\" case we have to take into account, if the previous command is C/S.\n nx = d.x * 2 - d.bx; // And reflect the previous\n\n ny = d.y * 2 - d.by; // command's control point relative to the current point.\n } else {\n // or some else or nothing\n nx = d.x;\n ny = d.y;\n }\n\n path = ['C', nx, ny].concat(path.slice(1));\n break;\n\n case 'T':\n if (pcom === 'Q' || pcom === 'T') {\n // In \"T\" case we have to take into account, if the previous command is Q/T.\n d.qx = d.x * 2 - d.qx; // And make a reflection similar\n\n d.qy = d.y * 2 - d.qy; // to case \"S\".\n } else {\n // or something else or nothing\n d.qx = d.x;\n d.qy = d.y;\n }\n\n path = ['C'].concat(q2c(d.x, d.y, d.qx, d.qy, path[1], path[2]));\n break;\n\n case 'Q':\n d.qx = path[1];\n d.qy = path[2];\n path = ['C'].concat(q2c(d.x, d.y, path[1], path[2], path[3], path[4]));\n break;\n\n case 'L':\n path = ['C'].concat(l2c(d.x, d.y, path[1], path[2]));\n break;\n\n case 'H':\n path = ['C'].concat(l2c(d.x, d.y, path[1], d.y));\n break;\n\n case 'V':\n path = ['C'].concat(l2c(d.x, d.y, d.x, path[1]));\n break;\n\n case 'Z':\n path = ['C'].concat(l2c(d.x, d.y, d.X, d.Y));\n break;\n\n default:\n break;\n }\n\n return path;\n };\n\n var fixArc = function fixArc(pp, i) {\n if (pp[i].length > 7) {\n pp[i].shift();\n var pi = pp[i];\n\n while (pi.length) {\n pcoms1[i] = 'A'; // if created multiple C:s, their original seg is saved\n\n p2 && (pcoms2[i] = 'A'); // the same as above\n\n pp.splice(i++, 0, ['C'].concat(pi.splice(0, 6)));\n }\n\n pp.splice(i, 1);\n ii = Math.max(p.length, p2 && p2.length || 0);\n }\n };\n\n var fixM = function fixM(path1, path2, a1, a2, i) {\n if (path1 && path2 && path1[i][0] === 'M' && path2[i][0] !== 'M') {\n path2.splice(i, 0, ['M', a2.x, a2.y]);\n a1.bx = 0;\n a1.by = 0;\n a1.x = path1[i][1];\n a1.y = path1[i][2];\n ii = Math.max(p.length, p2 && p2.length || 0);\n }\n };\n\n ii = Math.max(p.length, p2 && p2.length || 0);\n\n for (var i = 0; i < ii; i++) {\n p[i] && (pfirst = p[i][0]); // save current path command\n\n if (pfirst !== 'C') {\n // C is not saved yet, because it may be result of conversion\n pcoms1[i] = pfirst; // Save current path command\n\n i && (pcom = pcoms1[i - 1]); // Get previous path command pcom\n }\n\n p[i] = processPath(p[i], attrs, pcom); // Previous path command is inputted to processPath\n\n if (pcoms1[i] !== 'A' && pfirst === 'C') pcoms1[i] = 'C'; // A is the only command\n // which may produce multiple C:s\n // so we have to make sure that C is also C in original path\n\n fixArc(p, i); // fixArc adds also the right amount of A:s to pcoms1\n\n if (p2) {\n // the same procedures is done to p2\n p2[i] && (pfirst = p2[i][0]);\n\n if (pfirst !== 'C') {\n pcoms2[i] = pfirst;\n i && (pcom = pcoms2[i - 1]);\n }\n\n p2[i] = processPath(p2[i], attrs2, pcom);\n\n if (pcoms2[i] !== 'A' && pfirst === 'C') {\n pcoms2[i] = 'C';\n }\n\n fixArc(p2, i);\n }\n\n fixM(p, p2, attrs, attrs2, i);\n fixM(p2, p, attrs2, attrs, i);\n var seg = p[i];\n var seg2 = p2 && p2[i];\n var seglen = seg.length;\n var seg2len = p2 && seg2.length;\n attrs.x = seg[seglen - 2];\n attrs.y = seg[seglen - 1];\n attrs.bx = parseFloat(seg[seglen - 4]) || attrs.x;\n attrs.by = parseFloat(seg[seglen - 3]) || attrs.y;\n attrs2.bx = p2 && (parseFloat(seg2[seg2len - 4]) || attrs2.x);\n attrs2.by = p2 && (parseFloat(seg2[seg2len - 3]) || attrs2.y);\n attrs2.x = p2 && seg2[seg2len - 2];\n attrs2.y = p2 && seg2[seg2len - 1];\n }\n\n return p2 ? [p, p2] : p;\n};\n\nvar p2s = /,?([a-z]),?/gi;\n\nvar parsePathArray = function parsePathArray(path) {\n return path.join(',').replace(p2s, '$1');\n};\n\nvar base3 = function base3(t, p1, p2, p3, p4) {\n var t1 = -3 * p1 + 9 * p2 - 9 * p3 + 3 * p4;\n var t2 = t * t1 + 6 * p1 - 12 * p2 + 6 * p3;\n return t * t2 - 3 * p1 + 3 * p2;\n};\n\nvar bezlen = function bezlen(x1, y1, x2, y2, x3, y3, x4, y4, z) {\n if (z === null) {\n z = 1;\n }\n\n z = z > 1 ? 1 : z < 0 ? 0 : z;\n var z2 = z / 2;\n var n = 12;\n var Tvalues = [-0.1252, 0.1252, -0.3678, 0.3678, -0.5873, 0.5873, -0.7699, 0.7699, -0.9041, 0.9041, -0.9816, 0.9816];\n var Cvalues = [0.2491, 0.2491, 0.2335, 0.2335, 0.2032, 0.2032, 0.1601, 0.1601, 0.1069, 0.1069, 0.0472, 0.0472];\n var sum = 0;\n\n for (var i = 0; i < n; i++) {\n var ct = z2 * Tvalues[i] + z2;\n var xbase = base3(ct, x1, x2, x3, x4);\n var ybase = base3(ct, y1, y2, y3, y4);\n var comb = xbase * xbase + ybase * ybase;\n sum += Cvalues[i] * Math.sqrt(comb);\n }\n\n return z2 * sum;\n};\n\nvar curveDim = function curveDim(x0, y0, x1, y1, x2, y2, x3, y3) {\n var tvalues = [];\n var bounds = [[], []];\n var a;\n var b;\n var c;\n var t;\n\n for (var i = 0; i < 2; ++i) {\n if (i === 0) {\n b = 6 * x0 - 12 * x1 + 6 * x2;\n a = -3 * x0 + 9 * x1 - 9 * x2 + 3 * x3;\n c = 3 * x1 - 3 * x0;\n } else {\n b = 6 * y0 - 12 * y1 + 6 * y2;\n a = -3 * y0 + 9 * y1 - 9 * y2 + 3 * y3;\n c = 3 * y1 - 3 * y0;\n }\n\n if (Math.abs(a) < 1e-12) {\n if (Math.abs(b) < 1e-12) {\n continue;\n }\n\n t = -c / b;\n\n if (t > 0 && t < 1) {\n tvalues.push(t);\n }\n\n continue;\n }\n\n var b2ac = b * b - 4 * c * a;\n var sqrtb2ac = Math.sqrt(b2ac);\n\n if (b2ac < 0) {\n continue;\n }\n\n var t1 = (-b + sqrtb2ac) / (2 * a);\n\n if (t1 > 0 && t1 < 1) {\n tvalues.push(t1);\n }\n\n var t2 = (-b - sqrtb2ac) / (2 * a);\n\n if (t2 > 0 && t2 < 1) {\n tvalues.push(t2);\n }\n }\n\n var j = tvalues.length;\n var jlen = j;\n var mt;\n\n while (j--) {\n t = tvalues[j];\n mt = 1 - t;\n bounds[0][j] = mt * mt * mt * x0 + 3 * mt * mt * t * x1 + 3 * mt * t * t * x2 + t * t * t * x3;\n bounds[1][j] = mt * mt * mt * y0 + 3 * mt * mt * t * y1 + 3 * mt * t * t * y2 + t * t * t * y3;\n }\n\n bounds[0][jlen] = x0;\n bounds[1][jlen] = y0;\n bounds[0][jlen + 1] = x3;\n bounds[1][jlen + 1] = y3;\n bounds[0].length = bounds[1].length = jlen + 2;\n return {\n min: {\n x: Math.min.apply(0, bounds[0]),\n y: Math.min.apply(0, bounds[1])\n },\n max: {\n x: Math.max.apply(0, bounds[0]),\n y: Math.max.apply(0, bounds[1])\n }\n };\n};\n\nvar intersect = function intersect(x1, y1, x2, y2, x3, y3, x4, y4) {\n if (Math.max(x1, x2) < Math.min(x3, x4) || Math.min(x1, x2) > Math.max(x3, x4) || Math.max(y1, y2) < Math.min(y3, y4) || Math.min(y1, y2) > Math.max(y3, y4)) {\n return;\n }\n\n var nx = (x1 * y2 - y1 * x2) * (x3 - x4) - (x1 - x2) * (x3 * y4 - y3 * x4);\n var ny = (x1 * y2 - y1 * x2) * (y3 - y4) - (y1 - y2) * (x3 * y4 - y3 * x4);\n var denominator = (x1 - x2) * (y3 - y4) - (y1 - y2) * (x3 - x4);\n\n if (!denominator) {\n return;\n }\n\n var px = nx / denominator;\n var py = ny / denominator;\n var px2 = +px.toFixed(2);\n var py2 = +py.toFixed(2);\n\n if (px2 < +Math.min(x1, x2).toFixed(2) || px2 > +Math.max(x1, x2).toFixed(2) || px2 < +Math.min(x3, x4).toFixed(2) || px2 > +Math.max(x3, x4).toFixed(2) || py2 < +Math.min(y1, y2).toFixed(2) || py2 > +Math.max(y1, y2).toFixed(2) || py2 < +Math.min(y3, y4).toFixed(2) || py2 > +Math.max(y3, y4).toFixed(2)) {\n return;\n }\n\n return {\n x: px,\n y: py\n };\n};\n\nvar isPointInsideBBox = function isPointInsideBBox(bbox, x, y) {\n return x >= bbox.x && x <= bbox.x + bbox.width && y >= bbox.y && y <= bbox.y + bbox.height;\n};\n\nvar rectPath = function rectPath(x, y, w, h, r) {\n if (r) {\n return [['M', +x + +r, y], ['l', w - r * 2, 0], ['a', r, r, 0, 0, 1, r, r], ['l', 0, h - r * 2], ['a', r, r, 0, 0, 1, -r, r], ['l', r * 2 - w, 0], ['a', r, r, 0, 0, 1, -r, -r], ['l', 0, r * 2 - h], ['a', r, r, 0, 0, 1, r, -r], ['z']];\n }\n\n var res = [['M', x, y], ['l', w, 0], ['l', 0, h], ['l', -w, 0], ['z']]; // @ts-ignore\n\n res.parsePathArray = parsePathArray;\n return res;\n};\n\nvar box = function box(x, y, width, height) {\n if (x === null) {\n x = y = width = height = 0;\n }\n\n if (y === null) {\n y = x.y;\n width = x.width;\n height = x.height;\n x = x.x;\n }\n\n return {\n x: x,\n y: y,\n width: width,\n w: width,\n height: height,\n h: height,\n x2: x + width,\n y2: y + height,\n cx: x + width / 2,\n cy: y + height / 2,\n r1: Math.min(width, height) / 2,\n r2: Math.max(width, height) / 2,\n r0: Math.sqrt(width * width + height * height) / 2,\n path: rectPath(x, y, width, height),\n vb: [x, y, width, height].join(' ')\n };\n};\n\nvar isBBoxIntersect = function isBBoxIntersect(bbox1, bbox2) {\n bbox1 = box(bbox1);\n bbox2 = box(bbox2);\n return isPointInsideBBox(bbox2, bbox1.x, bbox1.y) || isPointInsideBBox(bbox2, bbox1.x2, bbox1.y) || isPointInsideBBox(bbox2, bbox1.x, bbox1.y2) || isPointInsideBBox(bbox2, bbox1.x2, bbox1.y2) || isPointInsideBBox(bbox1, bbox2.x, bbox2.y) || isPointInsideBBox(bbox1, bbox2.x2, bbox2.y) || isPointInsideBBox(bbox1, bbox2.x, bbox2.y2) || isPointInsideBBox(bbox1, bbox2.x2, bbox2.y2) || (bbox1.x < bbox2.x2 && bbox1.x > bbox2.x || bbox2.x < bbox1.x2 && bbox2.x > bbox1.x) && (bbox1.y < bbox2.y2 && bbox1.y > bbox2.y || bbox2.y < bbox1.y2 && bbox2.y > bbox1.y);\n};\n\nvar bezierBBox = function bezierBBox(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y) {\n if (!isArray(p1x)) {\n p1x = [p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y];\n }\n\n var bbox = curveDim.apply(null, p1x);\n return box(bbox.min.x, bbox.min.y, bbox.max.x - bbox.min.x, bbox.max.y - bbox.min.y);\n};\n\nvar findDotsAtSegment = function findDotsAtSegment(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t) {\n var t1 = 1 - t;\n var t13 = Math.pow(t1, 3);\n var t12 = Math.pow(t1, 2);\n var t2 = t * t;\n var t3 = t2 * t;\n var x = t13 * p1x + t12 * 3 * t * c1x + t1 * 3 * t * t * c2x + t3 * p2x;\n var y = t13 * p1y + t12 * 3 * t * c1y + t1 * 3 * t * t * c2y + t3 * p2y;\n var mx = p1x + 2 * t * (c1x - p1x) + t2 * (c2x - 2 * c1x + p1x);\n var my = p1y + 2 * t * (c1y - p1y) + t2 * (c2y - 2 * c1y + p1y);\n var nx = c1x + 2 * t * (c2x - c1x) + t2 * (p2x - 2 * c2x + c1x);\n var ny = c1y + 2 * t * (c2y - c1y) + t2 * (p2y - 2 * c2y + c1y);\n var ax = t1 * p1x + t * c1x;\n var ay = t1 * p1y + t * c1y;\n var cx = t1 * c2x + t * p2x;\n var cy = t1 * c2y + t * p2y;\n var alpha = 90 - Math.atan2(mx - nx, my - ny) * 180 / Math.PI; // (mx > nx || my < ny) && (alpha += 180);\n\n return {\n x: x,\n y: y,\n m: {\n x: mx,\n y: my\n },\n n: {\n x: nx,\n y: ny\n },\n start: {\n x: ax,\n y: ay\n },\n end: {\n x: cx,\n y: cy\n },\n alpha: alpha\n };\n};\n\nvar interHelper = function interHelper(bez1, bez2, justCount) {\n var bbox1 = bezierBBox(bez1);\n var bbox2 = bezierBBox(bez2);\n\n if (!isBBoxIntersect(bbox1, bbox2)) {\n return justCount ? 0 : [];\n }\n\n var l1 = bezlen.apply(0, bez1);\n var l2 = bezlen.apply(0, bez2);\n var n1 = ~~(l1 / 8);\n var n2 = ~~(l2 / 8);\n var dots1 = [];\n var dots2 = [];\n var xy = {};\n var res = justCount ? 0 : [];\n\n for (var i = 0; i < n1 + 1; i++) {\n var d = findDotsAtSegment.apply(0, bez1.concat(i / n1));\n dots1.push({\n x: d.x,\n y: d.y,\n t: i / n1\n });\n }\n\n for (var i = 0; i < n2 + 1; i++) {\n var d = findDotsAtSegment.apply(0, bez2.concat(i / n2));\n dots2.push({\n x: d.x,\n y: d.y,\n t: i / n2\n });\n }\n\n for (var i = 0; i < n1; i++) {\n for (var j = 0; j < n2; j++) {\n var di = dots1[i];\n var di1 = dots1[i + 1];\n var dj = dots2[j];\n var dj1 = dots2[j + 1];\n var ci = Math.abs(di1.x - di.x) < 0.001 ? 'y' : 'x';\n var cj = Math.abs(dj1.x - dj.x) < 0.001 ? 'y' : 'x';\n var is = intersect(di.x, di.y, di1.x, di1.y, dj.x, dj.y, dj1.x, dj1.y);\n\n if (is) {\n if (xy[is.x.toFixed(4)] === is.y.toFixed(4)) {\n continue;\n }\n\n xy[is.x.toFixed(4)] = is.y.toFixed(4);\n var t1 = di.t + Math.abs((is[ci] - di[ci]) / (di1[ci] - di[ci])) * (di1.t - di.t);\n var t2 = dj.t + Math.abs((is[cj] - dj[cj]) / (dj1[cj] - dj[cj])) * (dj1.t - dj.t);\n\n if (t1 >= 0 && t1 <= 1 && t2 >= 0 && t2 <= 1) {\n if (justCount) {\n // @ts-ignore\n res += 1;\n } else {\n // @ts-ignore\n res.push({\n x: is.x,\n y: is.y,\n t1: t1,\n t2: t2\n });\n }\n }\n }\n }\n }\n\n return res;\n};\n\nvar interPathHelper = function interPathHelper(path1, path2, justCount) {\n path1 = pathToCurve(path1);\n path2 = pathToCurve(path2);\n var x1;\n var y1;\n var x2;\n var y2;\n var x1m;\n var y1m;\n var x2m;\n var y2m;\n var bez1;\n var bez2;\n var res = justCount ? 0 : [];\n\n for (var i = 0, ii = path1.length; i < ii; i++) {\n var pi = path1[i];\n\n if (pi[0] === 'M') {\n x1 = x1m = pi[1];\n y1 = y1m = pi[2];\n } else {\n if (pi[0] === 'C') {\n bez1 = [x1, y1].concat(pi.slice(1));\n x1 = bez1[6];\n y1 = bez1[7];\n } else {\n bez1 = [x1, y1, x1, y1, x1m, y1m, x1m, y1m];\n x1 = x1m;\n y1 = y1m;\n }\n\n for (var j = 0, jj = path2.length; j < jj; j++) {\n var pj = path2[j];\n\n if (pj[0] === 'M') {\n x2 = x2m = pj[1];\n y2 = y2m = pj[2];\n } else {\n if (pj[0] === 'C') {\n bez2 = [x2, y2].concat(pj.slice(1));\n x2 = bez2[6];\n y2 = bez2[7];\n } else {\n bez2 = [x2, y2, x2, y2, x2m, y2m, x2m, y2m];\n x2 = x2m;\n y2 = y2m;\n }\n\n var intr = interHelper(bez1, bez2, justCount);\n\n if (justCount) {\n // @ts-ignore\n res += intr;\n } else {\n // @ts-ignore\n for (var k = 0, kk = intr.length; k < kk; k++) {\n intr[k].segment1 = i;\n intr[k].segment2 = j;\n intr[k].bez1 = bez1;\n intr[k].bez2 = bez2;\n } // @ts-ignore\n\n\n res = res.concat(intr);\n }\n }\n }\n }\n }\n\n return res;\n};\n\nvar intersection = function intersection(path1, path2) {\n return interPathHelper(path1, path2);\n};\n\nfunction decasteljau(points, t) {\n var left = [];\n var right = [];\n\n function recurse(points, t) {\n if (points.length === 1) {\n left.push(points[0]);\n right.push(points[0]);\n } else {\n var middlePoints = [];\n\n for (var i = 0; i < points.length - 1; i++) {\n if (i === 0) {\n left.push(points[0]);\n }\n\n if (i === points.length - 2) {\n right.push(points[i + 1]);\n }\n\n middlePoints[i] = [(1 - t) * points[i][0] + t * points[i + 1][0], (1 - t) * points[i][1] + t * points[i + 1][1]];\n }\n\n recurse(middlePoints, t);\n }\n }\n\n if (points.length) {\n recurse(points, t);\n }\n\n return {\n left: left,\n right: right.reverse()\n };\n}\n\nfunction splitCurve(start, end, count) {\n var points = [[start[1], start[2]]];\n count = count || 2;\n var segments = [];\n\n if (end[0] === 'A') {\n points.push(end[6]);\n points.push(end[7]);\n } else if (end[0] === 'C') {\n points.push([end[1], end[2]]);\n points.push([end[3], end[4]]);\n points.push([end[5], end[6]]);\n } else if (end[0] === 'S' || end[0] === 'Q') {\n points.push([end[1], end[2]]);\n points.push([end[3], end[4]]);\n } else {\n points.push([end[1], end[2]]);\n }\n\n var leftSegments = points;\n var t = 1 / count;\n\n for (var i = 0; i < count - 1; i++) {\n var rt = t / (1 - t * i);\n var split = decasteljau(leftSegments, rt);\n segments.push(split.left);\n leftSegments = split.right;\n }\n\n segments.push(leftSegments);\n var result = segments.map(function (segment) {\n var cmd = [];\n\n if (segment.length === 4) {\n cmd.push('C');\n cmd = cmd.concat(segment[2]);\n }\n\n if (segment.length >= 3) {\n if (segment.length === 3) {\n cmd.push('Q');\n }\n\n cmd = cmd.concat(segment[1]);\n }\n\n if (segment.length === 2) {\n cmd.push('L');\n }\n\n cmd = cmd.concat(segment[segment.length - 1]);\n return cmd;\n });\n return result;\n}\n\nvar splitSegment = function splitSegment(start, end, count) {\n if (count === 1) {\n return [[].concat(start)];\n }\n\n var segments = [];\n\n if (end[0] === 'L' || end[0] === 'C' || end[0] === 'Q') {\n segments = segments.concat(splitCurve(start, end, count));\n } else {\n var temp = [].concat(start);\n\n if (temp[0] === 'M') {\n temp[0] = 'L';\n }\n\n for (var i = 0; i <= count - 1; i++) {\n segments.push(temp);\n }\n }\n\n return segments;\n};\n\nvar fillPath = function fillPath(source, target) {\n if (source.length === 1) {\n return source;\n }\n\n var sourceLen = source.length - 1;\n var targetLen = target.length - 1;\n var ratio = sourceLen / targetLen;\n var segmentsToFill = [];\n\n if (source.length === 1 && source[0][0] === 'M') {\n for (var i = 0; i < targetLen - sourceLen; i++) {\n source.push(source[0]);\n }\n\n return source;\n }\n\n for (var i = 0; i < targetLen; i++) {\n var index = Math.floor(ratio * i);\n segmentsToFill[index] = (segmentsToFill[index] || 0) + 1;\n }\n\n var filled = segmentsToFill.reduce(function (filled, count, i) {\n if (i === sourceLen) {\n return filled.concat(source[sourceLen]);\n }\n\n return filled.concat(splitSegment(source[i], source[i + 1], count));\n }, []);\n filled.unshift(source[0]);\n\n if (target[targetLen] === 'Z' || target[targetLen] === 'z') {\n filled.push('Z');\n }\n\n return filled;\n};\n\nvar isEqual = function isEqual(obj1, obj2) {\n if (obj1.length !== obj2.length) {\n return false;\n }\n\n var result = true;\n each(obj1, function (item, i) {\n if (item !== obj2[i]) {\n result = false;\n return false;\n }\n });\n return result;\n};\n\nfunction getMinDiff(del, add, modify) {\n var type = null;\n var min = modify;\n\n if (add < min) {\n min = add;\n type = 'add';\n }\n\n if (del < min) {\n min = del;\n type = 'del';\n }\n\n return {\n type: type,\n min: min\n };\n}\n/*\n * https://en.wikipedia.org/wiki/Levenshtein_distance\n * 计算两条path的编辑距离\n */\n\n\nvar levenshteinDistance = function levenshteinDistance(source, target) {\n var sourceLen = source.length;\n var targetLen = target.length;\n var sourceSegment;\n var targetSegment;\n var temp = 0;\n\n if (sourceLen === 0 || targetLen === 0) {\n return null;\n }\n\n var dist = [];\n\n for (var i = 0; i <= sourceLen; i++) {\n dist[i] = [];\n dist[i][0] = {\n min: i\n };\n }\n\n for (var j = 0; j <= targetLen; j++) {\n dist[0][j] = {\n min: j\n };\n }\n\n for (var i = 1; i <= sourceLen; i++) {\n sourceSegment = source[i - 1];\n\n for (var j = 1; j <= targetLen; j++) {\n targetSegment = target[j - 1];\n\n if (isEqual(sourceSegment, targetSegment)) {\n temp = 0;\n } else {\n temp = 1;\n }\n\n var del = dist[i - 1][j].min + 1;\n var add = dist[i][j - 1].min + 1;\n var modify = dist[i - 1][j - 1].min + temp;\n dist[i][j] = getMinDiff(del, add, modify);\n }\n }\n\n return dist;\n};\n\nvar fillPathByDiff = function fillPathByDiff(source, target) {\n var diffMatrix = levenshteinDistance(source, target);\n var sourceLen = source.length;\n var targetLen = target.length;\n var changes = [];\n var index = 1;\n var minPos = 1; // 如果source和target不是完全不相等\n\n if (diffMatrix[sourceLen][targetLen].min !== sourceLen) {\n // 获取从source到target所需改动\n for (var i = 1; i <= sourceLen; i++) {\n var min = diffMatrix[i][i].min;\n minPos = i;\n\n for (var j = index; j <= targetLen; j++) {\n if (diffMatrix[i][j].min < min) {\n min = diffMatrix[i][j].min;\n minPos = j;\n }\n }\n\n index = minPos;\n\n if (diffMatrix[i][index].type) {\n changes.push({\n index: i - 1,\n type: diffMatrix[i][index].type\n });\n }\n } // 对source进行增删path\n\n\n for (var i = changes.length - 1; i >= 0; i--) {\n index = changes[i].index;\n\n if (changes[i].type === 'add') {\n source.splice(index, 0, [].concat(source[index]));\n } else {\n source.splice(index, 1);\n }\n }\n } // source尾部补齐\n\n\n sourceLen = source.length;\n var diff = targetLen - sourceLen;\n\n if (sourceLen < targetLen) {\n for (var i = 0; i < diff; i++) {\n if (source[sourceLen - 1][0] === 'z' || source[sourceLen - 1][0] === 'Z') {\n source.splice(sourceLen - 2, 0, source[sourceLen - 2]);\n } else {\n source.push(source[sourceLen - 1]);\n }\n\n sourceLen += 1;\n }\n }\n\n return source;\n}; // 将两个点均分成count个点\n\n\nfunction _splitPoints(points, former, count) {\n var result = [].concat(points);\n var index;\n var t = 1 / (count + 1);\n\n var formerEnd = _getSegmentPoints(former)[0];\n\n for (var i = 1; i <= count; i++) {\n t *= i;\n index = Math.floor(points.length * t);\n\n if (index === 0) {\n result.unshift([formerEnd[0] * t + points[index][0] * (1 - t), formerEnd[1] * t + points[index][1] * (1 - t)]);\n } else {\n result.splice(index, 0, [formerEnd[0] * t + points[index][0] * (1 - t), formerEnd[1] * t + points[index][1] * (1 - t)]);\n }\n }\n\n return result;\n}\n/*\n * 抽取pathSegment中的关键点\n * M,L,A,Q,H,V一个端点\n * Q, S抽取一个端点,一个控制点\n * C抽取一个端点,两个控制点\n */\n\n\nfunction _getSegmentPoints(segment) {\n var points = [];\n\n switch (segment[0]) {\n case 'M':\n points.push([segment[1], segment[2]]);\n break;\n\n case 'L':\n points.push([segment[1], segment[2]]);\n break;\n\n case 'A':\n points.push([segment[6], segment[7]]);\n break;\n\n case 'Q':\n points.push([segment[3], segment[4]]);\n points.push([segment[1], segment[2]]);\n break;\n\n case 'T':\n points.push([segment[1], segment[2]]);\n break;\n\n case 'C':\n points.push([segment[5], segment[6]]);\n points.push([segment[1], segment[2]]);\n points.push([segment[3], segment[4]]);\n break;\n\n case 'S':\n points.push([segment[3], segment[4]]);\n points.push([segment[1], segment[2]]);\n break;\n\n case 'H':\n points.push([segment[1], segment[1]]);\n break;\n\n case 'V':\n points.push([segment[1], segment[1]]);\n break;\n\n default:\n }\n\n return points;\n}\n\nvar formatPath = function formatPath(fromPath, toPath) {\n if (fromPath.length <= 1) {\n return fromPath;\n }\n\n var points;\n\n for (var i = 0; i < toPath.length; i++) {\n if (fromPath[i][0] !== toPath[i][0]) {\n // 获取fromPath的pathSegment的端点,根据toPath的指令对其改造\n points = _getSegmentPoints(fromPath[i]);\n\n switch (toPath[i][0]) {\n case 'M':\n fromPath[i] = ['M'].concat(points[0]);\n break;\n\n case 'L':\n fromPath[i] = ['L'].concat(points[0]);\n break;\n\n case 'A':\n fromPath[i] = [].concat(toPath[i]);\n fromPath[i][6] = points[0][0];\n fromPath[i][7] = points[0][1];\n break;\n\n case 'Q':\n if (points.length < 2) {\n if (i > 0) {\n points = _splitPoints(points, fromPath[i - 1], 1);\n } else {\n fromPath[i] = toPath[i];\n break;\n }\n }\n\n fromPath[i] = ['Q'].concat(points.reduce(function (arr, i) {\n return arr.concat(i);\n }, []));\n break;\n\n case 'T':\n fromPath[i] = ['T'].concat(points[0]);\n break;\n\n case 'C':\n if (points.length < 3) {\n if (i > 0) {\n points = _splitPoints(points, fromPath[i - 1], 2);\n } else {\n fromPath[i] = toPath[i];\n break;\n }\n }\n\n fromPath[i] = ['C'].concat(points.reduce(function (arr, i) {\n return arr.concat(i);\n }, []));\n break;\n\n case 'S':\n if (points.length < 2) {\n if (i > 0) {\n points = _splitPoints(points, fromPath[i - 1], 1);\n } else {\n fromPath[i] = toPath[i];\n break;\n }\n }\n\n fromPath[i] = ['S'].concat(points.reduce(function (arr, i) {\n return arr.concat(i);\n }, []));\n break;\n\n default:\n fromPath[i] = toPath[i];\n }\n }\n }\n\n return fromPath;\n};\n\nexport { catmullRomToBezier, fillPath, fillPathByDiff, formatPath, intersection, parsePathArray, parsePathString, pathToAbsolute, pathToCurve, rectPath };" }, { "id": 14, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "name": "./src/shape/index.ts + 13 modules", "index": 238, "index2": 250, "size": 87579, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./shape", "loc": "3:0-47" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "9:19-24" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "10:19-24" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "11:20-25" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "23:18-23" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "24:18-23" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "25:19-24" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "27:11-16" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "28:12-18" } ], "usedExports": ["Arrow", "Marker", "default"], "providedExports": ["Arrow", "Marker", "default"], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_tslib@2.0.3@tslib/tslib.es6.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/global.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/shape/shape.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/util/base.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/util/graphic.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/util/math.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/util/path.ts because of ./src/index.ts" ], "depth": 1, "modules": [ { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "index": 238, "index2": 250, "size": 230, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./shape", "loc": "3:0-47" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "9:19-24" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "10:19-24" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "11:20-25" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "23:18-23" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "24:18-23" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "25:19-24" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "27:11-16" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "28:12-18" } ], "usedExports": ["Arrow", "Marker", "default"], "providedExports": ["Arrow", "Marker", "default"], "optimizationBailout": [], "depth": 1, "source": "import Shape from './shape';\nimport './node';\nimport './edge';\nimport './combo';\nimport './combos';\nimport './nodes';\nexport { default as Arrow } from './arrow';\nexport { default as Marker } from './marker';\nexport default Shape;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/node.ts", "name": "./src/shape/node.ts", "index": 239, "index2": 238, "size": 10415, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "issuerId": null, "issuerName": "./src/shape/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 1776, "building": 65, "dependencies": 2105 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "module": "./src/shape/index.ts", "moduleName": "./src/shape/index.ts", "type": "harmony side effect evaluation", "userRequest": "./node", "loc": "2:0-16" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 2, "source": "import { __assign } from \"tslib\";\nimport { isArray, isNil, mix } from '@antv/util';\nimport { formatPadding } from '../util/base';\nimport Global from '../global';\nimport Shape from './shape';\nimport { shapeBase } from './shapeBase';\nvar singleNode = {\n itemType: 'node',\n // 单个图形的类型\n shapeType: 'single-node',\n /**\n * 文本相对图形的位置,默认以中心点\n * 位置包括: top, bottom, left, right, center\n * @type {String}\n */\n labelPosition: 'center',\n /**\n * 文本相对偏移,当 labelPosition 不为 center 时有效\n * @type {Number}\n */\n offset: Global.nodeLabel.offset,\n /**\n * 获取节点宽高\n * @internal 返回节点的大小,以 [width, height] 的方式维护\n * @param {Object} cfg 节点的配置项\n * @return {Array} 宽高\n */\n getSize: function (cfg) {\n var size = cfg.size || this.getOptions({}).size || Global.defaultNode.size;\n // size 是数组,但长度为1,则补长度为2\n if (isArray(size) && size.length === 1) {\n size = [size[0], size[0]];\n }\n // size 为数字,则转换为数组\n if (!isArray(size)) {\n size = [size, size];\n }\n return size;\n },\n // 私有方法,不希望扩展的节点复写这个方法\n getLabelStyleByPosition: function (cfg, labelCfg) {\n var labelPosition = labelCfg.position || this.labelPosition;\n // 默认的位置(最可能的情形),所以放在最上面\n if (labelPosition === 'center') {\n return { x: 0, y: 0, text: cfg.label };\n }\n var offset = labelCfg.offset;\n if (isNil(offset)) {\n // 考虑 offset = 0 的场景,不用用 labelCfg.offset || Global.nodeLabel.offset\n offset = this.offset; // 不居中时的偏移量\n }\n var size = this.getSize(cfg);\n var width = size[0];\n var height = size[1];\n var style;\n switch (labelPosition) {\n case 'top':\n style = {\n x: 0,\n y: 0 - height / 2 - offset,\n textBaseline: 'bottom',\n };\n break;\n case 'bottom':\n style = {\n x: 0,\n y: height / 2 + offset,\n textBaseline: 'top',\n };\n break;\n case 'left':\n style = {\n x: 0 - width / 2 - offset,\n y: 0,\n textAlign: 'right',\n };\n break;\n default:\n style = {\n x: width / 2 + offset,\n y: 0,\n textAlign: 'left',\n };\n break;\n }\n style.text = cfg.label;\n return style;\n },\n getLabelBgStyleByPosition: function (label, cfg, labelCfg, group) {\n if (!label) {\n return {};\n }\n var bbox = label.getBBox();\n var backgroundStyle = labelCfg.style && labelCfg.style.background;\n if (!backgroundStyle) {\n return {};\n }\n var padding = formatPadding(backgroundStyle.padding);\n var backgroundWidth = bbox.width + padding[1] + padding[3];\n var backgroundHeight = bbox.height + padding[0] + padding[2];\n var offset = labelCfg.offset;\n if (isNil(offset)) {\n // 考虑 offset = 0 的场景,不用用 labelCfg.offset || Global.nodeLabel.offset\n offset = this.offset; // 不居中时的偏移量\n }\n var style;\n style = {\n x: bbox.minX - padding[3],\n y: bbox.minY - padding[0],\n };\n style = __assign(__assign(__assign({}, style), backgroundStyle), { width: backgroundWidth, height: backgroundHeight });\n return style;\n },\n drawShape: function (cfg, group) {\n var shapeType = this.shapeType; // || this.type,都已经加了 shapeType\n var style = this.getShapeStyle(cfg);\n var shape = group.addShape(shapeType, {\n attrs: style,\n draggable: true,\n name: 'node-shape',\n });\n return shape;\n },\n /**\n * 更新linkPoints\n * @param {Object} cfg 节点数据配置项\n * @param {Group} group Item所在的group\n */\n updateLinkPoints: function (cfg, group) {\n var defaultLinkPoints = this.getOptions(cfg).linkPoints;\n var markLeft = group.find(function (element) { return element.get('className') === 'link-point-left'; });\n var markRight = group.find(function (element) { return element.get('className') === 'link-point-right'; });\n var markTop = group.find(function (element) { return element.get('className') === 'link-point-top'; });\n var markBottom = group.find(function (element) { return element.get('className') === 'link-point-bottom'; });\n var currentLinkPoints;\n if (markLeft) {\n currentLinkPoints = markLeft.attr();\n }\n if (markRight && !currentLinkPoints) {\n currentLinkPoints = markRight.attr();\n }\n if (markTop && !currentLinkPoints) {\n currentLinkPoints = markTop.attr();\n }\n if (markBottom && !currentLinkPoints) {\n currentLinkPoints = markBottom.attr();\n }\n if (!currentLinkPoints)\n currentLinkPoints = defaultLinkPoints;\n var linkPoints = mix({}, currentLinkPoints, cfg.linkPoints);\n var markFill = linkPoints.fill, markStroke = linkPoints.stroke, borderWidth = linkPoints.lineWidth;\n var markSize = linkPoints.size / 2;\n if (!markSize)\n markSize = linkPoints.r;\n var _a = cfg.linkPoints\n ? cfg.linkPoints\n : { left: undefined, right: undefined, top: undefined, bottom: undefined }, left = _a.left, right = _a.right, top = _a.top, bottom = _a.bottom;\n var size = this.getSize(cfg);\n var width = size[0];\n var height = size[1];\n var styles = {\n r: markSize,\n fill: markFill,\n stroke: markStroke,\n lineWidth: borderWidth,\n };\n if (markLeft) {\n if (!left && left !== undefined) {\n markLeft.remove();\n }\n else {\n markLeft.attr(__assign(__assign({}, styles), { x: -width / 2, y: 0 }));\n }\n }\n else if (left) {\n group.addShape('circle', {\n attrs: __assign(__assign({}, styles), { x: -width / 2, y: 0 }),\n className: 'link-point-left',\n name: 'link-point-left',\n isAnchorPoint: true,\n });\n }\n if (markRight) {\n if (!right && right !== undefined) {\n markRight.remove();\n }\n markRight.attr(__assign(__assign({}, styles), { x: width / 2, y: 0 }));\n }\n else if (right) {\n group.addShape('circle', {\n attrs: __assign(__assign({}, styles), { x: width / 2, y: 0 }),\n className: 'link-point-right',\n name: 'link-point-right',\n isAnchorPoint: true,\n });\n }\n if (markTop) {\n if (!top && top !== undefined) {\n markTop.remove();\n }\n markTop.attr(__assign(__assign({}, styles), { x: 0, y: -height / 2 }));\n }\n else if (top) {\n group.addShape('circle', {\n attrs: __assign(__assign({}, styles), { x: 0, y: -height / 2 }),\n className: 'link-point-top',\n name: 'link-point-top',\n isAnchorPoint: true,\n });\n }\n if (markBottom) {\n if (!bottom && bottom !== undefined) {\n markBottom.remove();\n }\n else {\n markBottom.attr(__assign(__assign({}, styles), { x: 0, y: height / 2 }));\n }\n }\n else if (bottom) {\n group.addShape('circle', {\n attrs: __assign(__assign({}, styles), { x: 0, y: height / 2 }),\n className: 'link-point-bottom',\n name: 'link-point-bottom',\n isAnchorPoint: true,\n });\n }\n },\n updateShape: function (cfg, item, keyShapeStyle, hasIcon) {\n var keyShape = item.get('keyShape');\n keyShape.attr(__assign({}, keyShapeStyle));\n this.updateLabel(cfg, item);\n // special for some types of nodes\n if (hasIcon) {\n this.updateIcon(cfg, item);\n }\n },\n updateIcon: function (cfg, item) {\n var _this = this;\n var group = item.getContainer();\n var icon = this.getOptions(cfg).icon;\n var show = (cfg.icon ? cfg.icon : { show: undefined }).show;\n var iconShape = group.find(function (element) { return element.get('className') === _this.type + \"-icon\"; });\n if (iconShape) {\n // 若原先存在 icon\n if (show || show === undefined) {\n // 若传入 show: true, 或没有设置,则更新原有的 icon 样式\n var iconConfig = mix({}, iconShape.attr(), icon);\n var w = iconConfig.width, h = iconConfig.height;\n iconShape.attr(__assign(__assign({}, iconConfig), { x: -w / 2, y: -h / 2 }));\n }\n else {\n // 若传入了 show: false 则删除原先的 icon\n iconShape.remove();\n }\n }\n else if (show) {\n // 如果原先不存在 icon,但传入了 show: true,则新增 icon\n var w = icon.width, h = icon.height;\n group.addShape('image', {\n attrs: __assign(__assign({}, icon), { x: -w / 2, y: -h / 2 }),\n className: this.type + \"-icon\",\n name: this.type + \"-icon\",\n });\n // to ensure the label is on the top of all the shapes\n var labelShape = group.find(function (element) { return element.get('className') === \"node-label\"; });\n if (labelShape) {\n labelShape.toFront();\n }\n }\n },\n};\nvar singleNodeDef = __assign(__assign({}, shapeBase), singleNode);\nShape.registerNode('single-node', singleNodeDef);\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/edge.ts", "name": "./src/shape/edge.ts", "index": 241, "index2": 239, "size": 20456, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "issuerId": null, "issuerName": "./src/shape/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 1776, "building": 65, "dependencies": 2105 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "module": "./src/shape/index.ts", "moduleName": "./src/shape/index.ts", "type": "harmony side effect evaluation", "userRequest": "./edge", "loc": "3:0-16" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 2, "source": "/**\n * @fileOverview 自定义边\n * @description 自定义边中有大量逻辑同自定义节点重复,虽然可以提取成为 mixin ,但是考虑到代码的可读性,还是单独实现。\n * @author dxq613@gmail.com\n */\nimport { __assign } from \"tslib\";\nimport { deepMix, mix, each, isNil, isNumber, isArray } from '@antv/util';\nimport { getLabelPosition, getLoopCfgs } from '../util/graphic';\nimport { distance, getCircleCenterByPoints } from '../util/math';\nimport { getControlPoint, getSpline } from '../util/path';\nimport Global from '../global';\nimport Shape from './shape';\nimport { shapeBase, CLS_LABEL_BG_SUFFIX } from './shapeBase';\nvar CLS_SHAPE = 'edge-shape';\n// start,end 倒置,center 不变\nfunction revertAlign(labelPosition) {\n var textAlign = labelPosition;\n if (labelPosition === 'start') {\n textAlign = 'end';\n }\n else if (labelPosition === 'end') {\n textAlign = 'start';\n }\n return textAlign;\n}\nvar singleEdge = {\n itemType: 'edge',\n /**\n * 文本的位置\n * @type {String}\n */\n labelPosition: 'center',\n /**\n * 文本的 x 偏移\n * @type {Number}\n */\n refX: 0,\n /**\n * 文本的 y 偏移\n * @type {Number}\n */\n refY: 0,\n /**\n * 文本是否跟着线自动旋转,默认 false\n * @type {Boolean}\n */\n labelAutoRotate: false,\n // 自定义边时的配置\n options: {\n size: Global.defaultEdge.size,\n style: {\n x: 0,\n y: 0,\n stroke: Global.defaultEdge.style.stroke,\n lineAppendWidth: Global.defaultEdge.style.lineAppendWidth,\n },\n labelCfg: {\n style: {\n fill: Global.edgeLabel.style.fill,\n fontSize: Global.edgeLabel.style.fontSize,\n },\n },\n stateStyles: __assign({}, Global.edgeStateStyles),\n },\n /**\n * 获取边的 path\n * @internal 供扩展的边覆盖\n * @param {Array} points 构成边的点的集合\n * @return {Array} 构成 path 的数组\n */\n getPath: function (points) {\n var path = [];\n each(points, function (point, index) {\n if (index === 0) {\n path.push(['M', point.x, point.y]);\n }\n else {\n path.push(['L', point.x, point.y]);\n }\n });\n return path;\n },\n getShapeStyle: function (cfg) {\n var defaultStyle = this.options.style;\n var strokeStyle = {\n stroke: cfg.color,\n };\n // 如果设置了color,则覆盖默认的stroke属性\n var style = mix({}, defaultStyle, strokeStyle, cfg.style);\n var size = cfg.size || Global.defaultEdge.size;\n cfg = this.getPathPoints(cfg);\n var startPoint = cfg.startPoint, endPoint = cfg.endPoint;\n var controlPoints = this.getControlPoints(cfg);\n var points = [startPoint]; // 添加起始点\n // 添加控制点\n if (controlPoints) {\n points = points.concat(controlPoints);\n }\n // 添加结束点\n points.push(endPoint);\n var path = this.getPath(points);\n var styles = mix({}, Global.defaultEdge.style, {\n stroke: Global.defaultEdge.color,\n lineWidth: size,\n path: path,\n }, style);\n return styles;\n },\n updateShapeStyle: function (cfg, item) {\n var group = item.getContainer();\n var strokeStyle = {\n stroke: cfg.color,\n };\n var shape = group.find(function (element) { return element.get('className') === 'edge-shape'; }) || item.getKeyShape();\n var size = cfg.size;\n cfg = this.getPathPoints(cfg);\n var startPoint = cfg.startPoint, endPoint = cfg.endPoint;\n var controlPoints = this.getControlPoints(cfg); // || cfg.controlPoints;\n var points = [startPoint]; // 添加起始点\n // 添加控制点\n if (controlPoints) {\n points = points.concat(controlPoints);\n }\n // 添加结束点\n points.push(endPoint);\n var currentAttr = shape.attr();\n var previousStyle = mix({}, strokeStyle, currentAttr, cfg.style);\n var source = cfg.sourceNode;\n var target = cfg.targetNode;\n var routeCfg = { radius: previousStyle.radius };\n if (!controlPoints) {\n routeCfg = { source: source, target: target, offset: previousStyle.offset, radius: previousStyle.radius };\n }\n if (currentAttr.endArrow && previousStyle.endArrow === false) {\n cfg.style.endArrow = {\n path: '',\n };\n }\n if (currentAttr.startArrow && previousStyle.startArrow === false) {\n cfg.style.startArrow = {\n path: '',\n };\n }\n var path = this.getPath(points, routeCfg);\n var style = mix(strokeStyle, shape.attr(), {\n lineWidth: size,\n path: path,\n }, cfg.style);\n if (shape) {\n shape.attr(style);\n }\n },\n getLabelStyleByPosition: function (cfg, labelCfg, group) {\n var labelPosition = labelCfg.position || this.labelPosition; // 文本的位置用户可以传入\n var style = {};\n var pathShape = group && group.find(function (element) { return element.get('className') === CLS_SHAPE; });\n // 不对 pathShape 进行判空,如果线不存在,说明有问题了\n var pointPercent;\n if (labelPosition === 'start') {\n pointPercent = 0;\n }\n else if (labelPosition === 'end') {\n pointPercent = 1;\n }\n else {\n pointPercent = 0.5;\n }\n // 偏移量\n var offsetX = labelCfg.refX || this.refX;\n var offsetY = labelCfg.refY || this.refY;\n // 如果两个节点重叠,线就变成了一个点,这时候label的位置,就是这个点 + 绝对偏移\n if (cfg.startPoint.x === cfg.endPoint.x && cfg.startPoint.y === cfg.endPoint.y) {\n style.x = cfg.startPoint.x + offsetX;\n style.y = cfg.startPoint.y + offsetY;\n style.text = cfg.label;\n return style;\n }\n var autoRotate = isNil(labelCfg.autoRotate) ? this.labelAutoRotate : labelCfg.autoRotate;\n var offsetStyle = getLabelPosition(pathShape, pointPercent, offsetX, offsetY, autoRotate);\n style.x = offsetStyle.x;\n style.y = offsetStyle.y;\n style.rotate = offsetStyle.rotate;\n style.textAlign = this._getTextAlign(labelPosition, offsetStyle.angle);\n style.text = cfg.label;\n return style;\n },\n getLabelBgStyleByPosition: function (label, cfg, labelCfg, group) {\n if (!label) {\n return {};\n }\n var bbox = label.getBBox();\n var backgroundStyle = labelCfg.style && labelCfg.style.background;\n if (!backgroundStyle) {\n return {};\n }\n var padding = backgroundStyle.padding;\n var backgroundWidth = bbox.width + padding[1] + padding[3];\n var backgroundHeight = bbox.height + padding[0] + padding[2];\n var labelPosition = labelCfg.position || this.labelPosition;\n var style = __assign(__assign({}, backgroundStyle), { width: backgroundWidth, height: backgroundHeight, x: bbox.minX - padding[2], y: bbox.minY - padding[0], rotate: 0 });\n var autoRotate = isNil(labelCfg.autoRotate) ? this.labelAutoRotate : labelCfg.autoRotate;\n var pathShape = group && group.find(function (element) { return element.get('className') === CLS_SHAPE; });\n // 不对 pathShape 进行判空,如果线不存在,说明有问题了\n var pointPercent;\n if (labelPosition === 'start') {\n pointPercent = 0;\n }\n else if (labelPosition === 'end') {\n pointPercent = 1;\n }\n else {\n pointPercent = 0.5;\n }\n // 偏移量\n var offsetX = labelCfg.refX || this.refX;\n var offsetY = labelCfg.refY || this.refY;\n // // 如果两个节点重叠,线就变成了一个点,这时候label的位置,就是这个点 + 绝对偏移\n if (cfg.startPoint.x === cfg.endPoint.x && cfg.startPoint.y === cfg.endPoint.y) {\n style.x = cfg.startPoint.x + offsetX;\n style.y = cfg.startPoint.y + offsetY;\n return style;\n }\n var offsetStyle = getLabelPosition(pathShape, pointPercent, offsetX - backgroundWidth / 2, offsetY + backgroundHeight / 2, autoRotate);\n var rad = offsetStyle.angle;\n if (rad > (1 / 2) * Math.PI && rad < ((3 * 1) / 2) * Math.PI) {\n offsetStyle = getLabelPosition(pathShape, pointPercent, offsetX + backgroundWidth / 2, offsetY + backgroundHeight / 2, autoRotate);\n }\n if (autoRotate) {\n style.x = offsetStyle.x;\n style.y = offsetStyle.y;\n }\n style.rotate = offsetStyle.rotate;\n return style;\n },\n // 获取文本对齐方式\n _getTextAlign: function (labelPosition, angle) {\n var textAlign = 'center';\n if (!angle) {\n return labelPosition;\n }\n angle = angle % (Math.PI * 2); // 取模\n if (labelPosition !== 'center') {\n if ((angle >= 0 && angle <= Math.PI / 2) ||\n (angle >= (3 / 2) * Math.PI && angle < 2 * Math.PI)) {\n textAlign = labelPosition;\n }\n else {\n textAlign = revertAlign(labelPosition);\n }\n }\n return textAlign;\n },\n /**\n * @internal 获取边的控制点\n * @param {Object} cfg 边的配置项\n * @return {Array} 控制点的数组\n */\n getControlPoints: function (cfg) {\n return cfg.controlPoints;\n },\n /**\n * @internal 处理需要重计算点和边的情况\n * @param {Object} cfg 边的配置项\n * @return {Object} 边的配置项\n */\n getPathPoints: function (cfg) {\n return cfg;\n },\n /**\n * 绘制边\n * @override\n * @param {Object} cfg 边的配置项\n * @param {G.Group} group 边的容器\n * @return {IShape} 图形\n */\n drawShape: function (cfg, group) {\n var shapeStyle = this.getShapeStyle(cfg);\n var shape = group.addShape('path', {\n className: CLS_SHAPE,\n name: CLS_SHAPE,\n attrs: shapeStyle,\n });\n return shape;\n },\n drawLabel: function (cfg, group) {\n var defaultLabelCfg = this.options.labelCfg;\n var labelCfg = deepMix({\n fontFamily: typeof window !== 'undefined'\n ? window.getComputedStyle(document.body, null).getPropertyValue('font-family') ||\n 'Arial, sans-serif'\n : 'Arial, sans-serif',\n }, defaultLabelCfg, cfg.labelCfg);\n var labelStyle = this.getLabelStyle(cfg, labelCfg, group);\n var rotate = labelStyle.rotate;\n delete labelStyle.rotate;\n var label = group.addShape('text', {\n attrs: labelStyle,\n name: 'text-shape',\n });\n if (rotate) {\n label.rotateAtStart(rotate);\n }\n if (labelStyle.background) {\n var rect = this.drawLabelBg(cfg, group, label);\n var labelBgClassname = this.itemType + CLS_LABEL_BG_SUFFIX;\n rect.set('classname', labelBgClassname);\n label.toFront();\n }\n return label;\n },\n drawLabelBg: function (cfg, group, label) {\n var defaultLabelCfg = this.options.labelCfg;\n var labelCfg = deepMix({}, defaultLabelCfg, cfg.labelCfg);\n var labelStyle = this.getLabelStyle(cfg, labelCfg, group);\n var rotate = labelStyle.rotate;\n var style = this.getLabelBgStyleByPosition(label, cfg, labelCfg, group);\n delete style.rotate;\n var rect = group.addShape('rect', { name: 'text-bg-shape', attrs: style });\n if (rotate)\n rect.rotateAtStart(rotate);\n return rect;\n },\n};\nvar singleEdgeDef = __assign(__assign({}, shapeBase), singleEdge);\nShape.registerEdge('single-edge', singleEdgeDef);\n// 直线, 不支持控制点\nShape.registerEdge('line', {\n // 控制点不生效\n getControlPoints: function () {\n return undefined;\n },\n}, 'single-edge');\n// 直线\nShape.registerEdge('spline', {\n getPath: function (points) {\n var path = getSpline(points);\n return path;\n },\n}, 'single-edge');\nShape.registerEdge('arc', {\n curveOffset: 20,\n clockwise: 1,\n getControlPoints: function (cfg) {\n var startPoint = cfg.startPoint, endPoint = cfg.endPoint;\n var midPoint = {\n x: (startPoint.x + endPoint.x) / 2,\n y: (startPoint.y + endPoint.y) / 2,\n };\n var center;\n var arcPoint;\n // 根据给定点计算圆弧\n if (cfg.controlPoints !== undefined) {\n arcPoint = cfg.controlPoints[0];\n center = getCircleCenterByPoints(startPoint, arcPoint, endPoint);\n // 根据控制点和直线关系决定 clockwise值\n if (startPoint.x <= endPoint.x && startPoint.y > endPoint.y) {\n this.clockwise = center.x > arcPoint.x ? 0 : 1;\n }\n else if (startPoint.x <= endPoint.x && startPoint.y < endPoint.y) {\n this.clockwise = center.x > arcPoint.x ? 1 : 0;\n }\n else if (startPoint.x > endPoint.x && startPoint.y <= endPoint.y) {\n this.clockwise = center.y < arcPoint.y ? 0 : 1;\n }\n else {\n this.clockwise = center.y < arcPoint.y ? 1 : 0;\n }\n // 若给定点和两端点共线,无法生成圆弧,绘制直线\n if ((arcPoint.x - startPoint.x) / (arcPoint.y - startPoint.y) ===\n (endPoint.x - startPoint.x) / (endPoint.y - startPoint.y)) {\n return [];\n }\n }\n else {\n // 根据直线连线中点的的偏移计算圆弧\n // 若用户给定偏移量则根据其计算,否则按照默认偏移值计算\n if (cfg.curveOffset === undefined) {\n cfg.curveOffset = this.curveOffset;\n }\n if (isArray(cfg.curveOffset)) {\n cfg.curveOffset = cfg.curveOffset[0];\n }\n if (cfg.curveOffset < 0) {\n this.clockwise = 0;\n }\n else {\n this.clockwise = 1;\n }\n var vec = {\n x: endPoint.x - startPoint.x,\n y: endPoint.y - startPoint.y,\n };\n var edgeAngle = Math.atan2(vec.y, vec.x);\n arcPoint = {\n x: cfg.curveOffset * Math.cos(-Math.PI / 2 + edgeAngle) + midPoint.x,\n y: cfg.curveOffset * Math.sin(-Math.PI / 2 + edgeAngle) + midPoint.y,\n };\n center = getCircleCenterByPoints(startPoint, arcPoint, endPoint);\n }\n var radius = distance(startPoint, center);\n var controlPoints = [{ x: radius, y: radius }];\n return controlPoints;\n },\n getPath: function (points) {\n var path = [];\n path.push(['M', points[0].x, points[0].y]);\n // 控制点与端点共线\n if (points.length === 2) {\n path.push(['L', points[1].x, points[1].y]);\n }\n else {\n path.push([\n 'A',\n points[1].x,\n points[1].y,\n 0,\n 0,\n this.clockwise,\n points[2].x,\n points[2].y,\n ]);\n }\n return path;\n },\n}, 'single-edge');\nShape.registerEdge('quadratic', {\n curvePosition: 0.5,\n curveOffset: -20,\n getControlPoints: function (cfg) {\n var controlPoints = cfg.controlPoints; // 指定controlPoints\n if (!controlPoints || !controlPoints.length) {\n var startPoint = cfg.startPoint, endPoint = cfg.endPoint;\n if (cfg.curveOffset === undefined)\n cfg.curveOffset = this.curveOffset;\n if (cfg.curvePosition === undefined)\n cfg.curvePosition = this.curvePosition;\n if (isArray(this.curveOffset))\n cfg.curveOffset = cfg.curveOffset[0];\n if (isArray(this.curvePosition))\n cfg.curvePosition = cfg.curveOffset[0];\n var innerPoint = getControlPoint(startPoint, endPoint, cfg.curvePosition, cfg.curveOffset);\n controlPoints = [innerPoint];\n }\n return controlPoints;\n },\n getPath: function (points) {\n var path = [];\n path.push(['M', points[0].x, points[0].y]);\n path.push(['Q', points[1].x, points[1].y, points[2].x, points[2].y]);\n return path;\n },\n}, 'single-edge');\nShape.registerEdge('cubic', {\n curvePosition: [1 / 2, 1 / 2],\n curveOffset: [-20, 20],\n getControlPoints: function (cfg) {\n var controlPoints = cfg.controlPoints; // 指定controlPoints\n if (cfg.curveOffset === undefined)\n cfg.curveOffset = this.curveOffset;\n if (cfg.curvePosition === undefined)\n cfg.curvePosition = this.curvePosition;\n if (isNumber(cfg.curveOffset))\n cfg.curveOffset = [cfg.curveOffset, -cfg.curveOffset];\n if (isNumber(cfg.curvePosition))\n cfg.curvePosition = [cfg.curvePosition, 1 - cfg.curvePosition];\n if (!controlPoints || !controlPoints.length || controlPoints.length < 2) {\n var startPoint = cfg.startPoint, endPoint = cfg.endPoint;\n var innerPoint1 = getControlPoint(startPoint, endPoint, cfg.curvePosition[0], cfg.curveOffset[0]);\n var innerPoint2 = getControlPoint(startPoint, endPoint, cfg.curvePosition[1], cfg.curveOffset[1]);\n controlPoints = [innerPoint1, innerPoint2];\n }\n return controlPoints;\n },\n getPath: function (points) {\n var path = [];\n path.push(['M', points[0].x, points[0].y]);\n path.push([\n 'C',\n points[1].x,\n points[1].y,\n points[2].x,\n points[2].y,\n points[3].x,\n points[3].y,\n ]);\n return path;\n },\n}, 'single-edge');\n// 垂直方向的三阶贝塞尔曲线,不再考虑用户外部传入的控制点\nShape.registerEdge('cubic-vertical', {\n curvePosition: [1 / 2, 1 / 2],\n getControlPoints: function (cfg) {\n var startPoint = cfg.startPoint, endPoint = cfg.endPoint;\n if (cfg.curvePosition !== undefined)\n this.curvePosition = cfg.curvePosition;\n if (isNumber(this.curvePosition))\n this.curvePosition = [this.curvePosition, 1 - this.curvePosition];\n var innerPoint1 = {\n x: startPoint.x,\n y: (endPoint.y - startPoint.y) * this.curvePosition[0] + startPoint.y,\n };\n var innerPoint2 = {\n x: endPoint.x,\n y: (endPoint.y - startPoint.y) * this.curvePosition[1] + startPoint.y,\n };\n var controlPoints = [innerPoint1, innerPoint2];\n return controlPoints;\n },\n}, 'cubic');\n// 水平方向的三阶贝塞尔曲线,不再考虑用户外部传入的控制点\nShape.registerEdge('cubic-horizontal', {\n curvePosition: [1 / 2, 1 / 2],\n getControlPoints: function (cfg) {\n var startPoint = cfg.startPoint, endPoint = cfg.endPoint;\n if (cfg.curvePosition !== undefined)\n this.curvePosition = cfg.curvePosition;\n if (isNumber(this.curvePosition))\n this.curvePosition = [this.curvePosition, 1 - this.curvePosition];\n var innerPoint1 = {\n x: (endPoint.x - startPoint.x) * this.curvePosition[0] + startPoint.x,\n y: startPoint.y,\n };\n var innerPoint2 = {\n x: (endPoint.x - startPoint.x) * this.curvePosition[1] + startPoint.x,\n y: endPoint.y,\n };\n var controlPoints = [innerPoint1, innerPoint2];\n return controlPoints;\n },\n}, 'cubic');\nShape.registerEdge('loop', {\n getPathPoints: function (cfg) {\n return getLoopCfgs(cfg);\n },\n getControlPoints: function (cfg) {\n return cfg.controlPoints;\n },\n afterDraw: function (cfg) {\n cfg.controlPoints = undefined;\n },\n afterUpdate: function (cfg) {\n cfg.controlPoints = undefined;\n },\n}, 'cubic');\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combo.ts", "name": "./src/shape/combo.ts", "index": 242, "index2": 240, "size": 4778, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "issuerId": null, "issuerName": "./src/shape/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 1776, "building": 65, "dependencies": 2105 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "module": "./src/shape/index.ts", "moduleName": "./src/shape/index.ts", "type": "harmony side effect evaluation", "userRequest": "./combo", "loc": "4:0-17" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 2, "source": "import { __assign } from \"tslib\";\nimport { isArray, isNil, clone } from '@antv/util';\nimport Global from '../global';\nimport Shape from './shape';\nimport { shapeBase } from './shapeBase';\nvar singleCombo = {\n itemType: 'combo',\n // 单个图形的类型\n shapeType: 'single-combo',\n /**\n * Combo 标题文本相对图形的位置,默认为 top\n * 位置包括: top, bottom, left, right, center\n * @type {String}\n */\n labelPosition: 'top',\n /**\n * 标题文本相对偏移,当 labelPosition 不为 center 时有效\n * @type {Number}\n */\n refX: Global.comboLabel.refX,\n refY: Global.comboLabel.refY,\n options: {\n style: {\n stroke: Global.defaultCombo.style.stroke,\n fill: Global.defaultCombo.style.fill,\n lineWidth: Global.defaultCombo.style.lineWidth,\n },\n labelCfg: {\n style: {\n fill: Global.comboLabel.style.fill,\n fontSize: Global.comboLabel.style.fontSize,\n },\n },\n stateStyles: __assign({}, Global.comboStateStyles),\n },\n /**\n * 获取 Combo 宽高\n * @internal 返回 Combo 的大小,以 [width, height] 的方式维护\n * @param {Object} cfg Combo 的配置项\n * @return {Array} 宽高\n */\n getSize: function (cfg) {\n var size = clone(cfg.size || this.options.size || Global.defaultCombo.size);\n // size 是数组,若长度为 1,则补长度为 2\n if (isArray(size) && size.length === 1) {\n size = [size[0], size[0]];\n }\n // size 为数字,则转换为数组\n if (!isArray(size)) {\n size = [size, size];\n }\n return size;\n },\n // 私有方法,不希望扩展的 Combo 复写这个方法\n getLabelStyleByPosition: function (cfg, labelCfg) {\n var labelPosition = labelCfg.position || this.labelPosition;\n var cfgStyle = cfg.style;\n var padding = cfg.padding || this.options.padding;\n if (isArray(padding))\n padding = padding[0];\n var refX = labelCfg.refX, refY = labelCfg.refY;\n // 考虑 refX 和 refY = 0 的场景,不用用 labelCfg.refX || Global.nodeLabel.refX\n if (isNil(refX)) {\n refX = this.refX; // 不居中时的偏移量\n }\n if (isNil(refY)) {\n refY = this.refY; // 不居中时的偏移量\n }\n var size = this.getSize(cfg);\n var r = Math.max(cfgStyle.r, size[0] / 2) || size[0] / 2;\n var dis = r + padding;\n var style;\n switch (labelPosition) {\n case 'top':\n style = {\n x: 0,\n y: -dis - refY,\n textBaseline: 'bottom',\n textAlign: 'center',\n };\n break;\n case 'bottom':\n style = {\n x: 0,\n y: dis + refY,\n textBaseline: 'bottom',\n textAlign: 'center',\n };\n break;\n case 'left':\n style = {\n x: -dis + refX,\n y: 0,\n textAlign: 'left',\n };\n break;\n case 'center':\n style = {\n x: 0,\n y: 0,\n text: cfg.label,\n textAlign: 'center',\n };\n break;\n default:\n style = {\n x: dis + refX,\n y: 0,\n textAlign: 'right',\n };\n break;\n }\n style.text = cfg.label;\n return style;\n },\n drawShape: function (cfg, group) {\n var shapeType = this.shapeType; // || this.type,都已经加了 shapeType\n var style = this.getShapeStyle(cfg);\n var shape = group.addShape(shapeType, {\n attrs: style,\n draggable: true,\n name: 'combo-shape',\n });\n return shape;\n },\n updateShape: function (cfg, item, keyShapeStyle) {\n var keyShape = item.get('keyShape');\n var animate = cfg.animate === undefined ? this.options.animate : cfg.animate;\n if (animate && keyShape.animate) {\n keyShape.animate(keyShapeStyle, {\n duration: 200,\n easing: 'easeLinear',\n });\n }\n else {\n keyShape.attr(__assign({}, keyShapeStyle));\n }\n this.updateLabel(cfg, item);\n // special for some types of nodes\n },\n};\nvar singleComboDef = __assign(__assign({}, shapeBase), singleCombo);\nShape.registerCombo('single-combo', singleComboDef);\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combos/index.ts", "name": "./src/shape/combos/index.ts", "index": 243, "index2": 243, "size": 36, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "issuerId": null, "issuerName": "./src/shape/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 1776, "building": 65, "dependencies": 2105 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "module": "./src/shape/index.ts", "moduleName": "./src/shape/index.ts", "type": "harmony side effect evaluation", "userRequest": "./combos", "loc": "5:0-18" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 2, "source": "import './circle';\nimport './rect';\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/index.ts", "name": "./src/shape/nodes/index.ts", "index": 246, "index2": 247, "size": 54, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "issuerId": null, "issuerName": "./src/shape/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 1776, "building": 65, "dependencies": 2105 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "module": "./src/shape/index.ts", "moduleName": "./src/shape/index.ts", "type": "harmony side effect evaluation", "userRequest": "./nodes", "loc": "6:0-17" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 2, "source": "import './circle';\nimport './rect';\nimport './image';\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/arrow.ts", "name": "./src/shape/arrow.ts", "index": 250, "index2": 248, "size": 2807, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "issuerId": null, "issuerName": "./src/shape/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 1776, "building": 65, "dependencies": 2105 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "module": "./src/shape/index.ts", "moduleName": "./src/shape/index.ts", "type": "harmony side effect evaluation", "userRequest": "./arrow", "loc": "7:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "module": "./src/shape/index.ts", "moduleName": "./src/shape/index.ts", "type": "harmony export imported specifier", "userRequest": "./arrow", "loc": "7:0-43" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 2, "source": "export default {\n triangle: function (width, length, d) {\n if (width === void 0) { width = 10; }\n if (length === void 0) { length = 15; }\n if (d === void 0) { d = 0; }\n var begin = d * 2;\n var path = \"M \" + begin + \",0 L \" + (begin + length) + \",-\" + width / 2 + \" L \" + (begin + length) + \",\" + width / 2 + \" Z\";\n return path;\n },\n vee: function (width, length, d) {\n if (width === void 0) { width = 15; }\n if (length === void 0) { length = 20; }\n if (d === void 0) { d = 0; }\n var begin = d * 2;\n var path = \"M \" + begin + \",0 L \" + (begin + length) + \",-\" + width / 2 + \"\\n L \" + (begin + (2 * length) / 3) + \",0 L \" + (begin + length) + \",\" + width / 2 + \" Z\";\n return path;\n },\n circle: function (r, d) {\n if (r === void 0) { r = 5; }\n if (d === void 0) { d = 0; }\n var begin = d * 2;\n var path = \"M \" + begin + \", 0\\n a \" + r + \",\" + r + \" 0 1,0 \" + r * 2 + \",0\\n a \" + r + \",\" + r + \" 0 1,0 \" + -r * 2 + \",0\";\n return path;\n },\n rect: function (width, length, d) {\n if (width === void 0) { width = 10; }\n if (length === void 0) { length = 10; }\n if (d === void 0) { d = 0; }\n var begin = d * 2;\n var path = \"M \" + begin + \",\" + -width / 2 + \" \\n L \" + (begin + length) + \",\" + -width / 2 + \" \\n L \" + (begin + length) + \",\" + width / 2 + \" \\n L \" + begin + \",\" + width / 2 + \" Z\";\n return path;\n },\n diamond: function (width, length, d) {\n if (width === void 0) { width = 15; }\n if (length === void 0) { length = 15; }\n if (d === void 0) { d = 0; }\n var begin = d * 2;\n var path = \"M \" + begin + \",0 \\n L \" + (begin + length / 2) + \",\" + -width / 2 + \" \\n L \" + (begin + length) + \",0 \\n L \" + (begin + length / 2) + \",\" + width / 2 + \" Z\";\n return path;\n },\n triangleRect: function (tWidth, tLength, rWidth, rLength, gap, d) {\n if (tWidth === void 0) { tWidth = 15; }\n if (tLength === void 0) { tLength = 15; }\n if (rWidth === void 0) { rWidth = 15; }\n if (rLength === void 0) { rLength = 3; }\n if (gap === void 0) { gap = 5; }\n if (d === void 0) { d = 0; }\n var begin = d * 2;\n var rectBegin = begin + tLength + gap;\n var path = \"M \" + begin + \",0 L \" + (begin + tLength) + \",-\" + tWidth / 2 + \" L \" + (begin + tLength) + \",\" + tWidth / 2 + \" Z\\n M \" + rectBegin + \", -\" + rWidth / 2 + \"\\n L \" + (rectBegin + rLength) + \" -\" + rWidth / 2 + \"\\n L \" + (rectBegin + rLength) + \" \" + rWidth / 2 + \"\\n L \" + rectBegin + \" \" + rWidth / 2 + \"\\n Z\";\n return path;\n },\n};\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/marker.ts", "name": "./src/shape/marker.ts", "index": 251, "index2": 249, "size": 1048, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "issuerId": null, "issuerName": "./src/shape/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 1776, "building": 65, "dependencies": 2105 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "module": "./src/shape/index.ts", "moduleName": "./src/shape/index.ts", "type": "harmony side effect evaluation", "userRequest": "./marker", "loc": "8:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "module": "./src/shape/index.ts", "moduleName": "./src/shape/index.ts", "type": "harmony export imported specifier", "userRequest": "./marker", "loc": "8:0-45" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 2, "source": "export default {\n collapse: function (x, y, r) {\n return [\n ['M', x - r, y],\n ['a', r, r, 0, 1, 0, r * 2, 0],\n ['a', r, r, 0, 1, 0, -r * 2, 0],\n ['M', x - r + 4, y],\n ['L', x + r - 4, y],\n ];\n },\n expand: function (x, y, r) {\n return [\n ['M', x - r, y],\n ['a', r, r, 0, 1, 0, r * 2, 0],\n ['a', r, r, 0, 1, 0, -r * 2, 0],\n ['M', x - r + 4, y],\n ['L', x - r + 2 * r - 4, y],\n ['M', x - r + r, y - r + 4],\n ['L', x, y + r - 4],\n ];\n },\n upTriangle: function (x, y, r) {\n var l1 = r * Math.cos(Math.PI / 6);\n var l2 = r * Math.sin(Math.PI / 6);\n return [['M', x - l1, y + l2], ['L', x + l1, y + l2], ['L', x, y - r], ['Z']];\n },\n downTriangle: function (x, y, r) {\n var l1 = r * Math.cos(Math.PI / 6);\n var l2 = r * Math.sin(Math.PI / 6);\n return [['M', x - l1, y - l2], ['L', x + l1, y - l2], ['L', x, y + r], ['Z']];\n },\n};\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shapeBase.ts", "name": "./src/shape/shapeBase.ts", "index": 240, "index2": 237, "size": 21210, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combo.ts", "issuerId": null, "issuerName": "./src/shape/combo.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combo.ts", "name": "./src/shape/combo.ts", "profile": { "factory": 1776, "building": 65, "dependencies": 2105 } } ], "profile": { "factory": 2065, "building": 287, "dependencies": 932 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combo.ts", "module": "./src/shape/combo.ts", "moduleName": "./src/shape/combo.ts", "type": "harmony side effect evaluation", "userRequest": "./shapeBase", "loc": "5:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/node.ts", "module": "./src/shape/node.ts", "moduleName": "./src/shape/node.ts", "type": "harmony side effect evaluation", "userRequest": "./shapeBase", "loc": "6:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/edge.ts", "module": "./src/shape/edge.ts", "moduleName": "./src/shape/edge.ts", "type": "harmony side effect evaluation", "userRequest": "./shapeBase", "loc": "13:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combo.ts", "module": "./src/shape/combo.ts", "moduleName": "./src/shape/combo.ts", "type": "harmony import specifier", "userRequest": "./shapeBase", "loc": "142:43-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/node.ts", "module": "./src/shape/node.ts", "moduleName": "./src/shape/node.ts", "type": "harmony import specifier", "userRequest": "./shapeBase", "loc": "272:42-51" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/edge.ts", "module": "./src/shape/edge.ts", "moduleName": "./src/shape/edge.ts", "type": "harmony import specifier", "userRequest": "./shapeBase", "loc": "305:51-70" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/edge.ts", "module": "./src/shape/edge.ts", "moduleName": "./src/shape/edge.ts", "type": "harmony import specifier", "userRequest": "./shapeBase", "loc": "324:42-51" } ], "usedExports": ["shapeBase", "CLS_LABEL_BG_SUFFIX"], "providedExports": ["CLS_LABEL_BG_SUFFIX", "shapeBase"], "optimizationBailout": [], "depth": 3, "source": "import { __assign } from \"tslib\";\nimport Global from '../global';\nimport { transform } from '@antv/matrix-util';\nimport { deepMix, each, mix, isBoolean, isPlainObject, clone } from '@antv/util';\nvar CLS_SHAPE_SUFFIX = '-shape';\nvar CLS_LABEL_SUFFIX = '-label';\nvar ARROWS = ['startArrow', 'endArrow'];\nvar SHAPE_DEFAULT_ATTRS = {\n lineWidth: 1,\n stroke: undefined,\n fill: undefined,\n lineAppendWidth: 1,\n opacity: undefined,\n strokeOpacity: undefined,\n fillOpacity: undefined,\n x: 0,\n y: 0,\n r: 10,\n width: 20,\n height: 20,\n shadowColor: undefined,\n shadowBlur: 0,\n shadowOffsetX: 0,\n shadowOffsetY: 0,\n};\nvar PATH_SHAPE_DEFAULT_ATTRS = {\n lineWidth: 1,\n stroke: '#000',\n lineDash: undefined,\n startArrow: false,\n endArrow: false,\n opacity: undefined,\n strokeOpacity: undefined,\n fillOpacity: undefined,\n shadowColor: undefined,\n shadowBlur: 0,\n shadowOffsetX: 0,\n shadowOffsetY: 0,\n};\nvar SHAPES_DEFAULT_ATTRS = {\n edge: PATH_SHAPE_DEFAULT_ATTRS,\n node: SHAPE_DEFAULT_ATTRS,\n combo: SHAPE_DEFAULT_ATTRS,\n};\nexport var CLS_LABEL_BG_SUFFIX = '-label-bg';\n// 单个 shape 带有一个 label,共用这段代码\nexport var shapeBase = {\n // 默认样式及配置\n options: {},\n itemType: '',\n /**\n * 形状的类型,例如 circle,ellipse,polyline...\n */\n type: '',\n getCustomConfig: function (cfg) {\n return {};\n },\n getOptions: function (cfg) {\n return deepMix({\n // 解决局部渲染导致的文字移动残影问题\n labelCfg: {\n style: {\n fontFamily: typeof window !== 'undefined'\n ? window.getComputedStyle(document.body, null).getPropertyValue('font-family') ||\n 'Arial, sans-serif'\n : 'Arial, sans-serif',\n },\n },\n descriptionCfg: {\n style: {\n fontFamily: typeof window !== 'undefined'\n ? window.getComputedStyle(document.body, null).getPropertyValue('font-family') ||\n 'Arial, sans-serif'\n : 'Arial, sans-serif',\n },\n },\n }, this.options, this.getCustomConfig(cfg) || {}, cfg);\n },\n /**\n * 绘制节点/边,包含文本\n * @override\n * @param {Object} cfg 节点的配置项\n * @param {G.Group} group 节点的容器\n * @return {IShape} 绘制的图形\n */\n draw: function (cfg, group) {\n var shape = this.drawShape(cfg, group);\n shape.set('className', this.itemType + CLS_SHAPE_SUFFIX);\n if (cfg.label) {\n var label = this.drawLabel(cfg, group);\n label.set('className', this.itemType + CLS_LABEL_SUFFIX);\n }\n return shape;\n },\n /**\n * 绘制完成后的操作,便于用户继承现有的节点、边\n * @param cfg\n * @param group\n * @param keyShape\n */\n afterDraw: function (cfg, group, keyShape) { },\n drawShape: function (cfg, group) {\n return null;\n },\n drawLabel: function (cfg, group) {\n var defaultLabelCfg = this.getOptions(cfg).labelCfg;\n // image的情况下有可能为null\n var labelCfg = (defaultLabelCfg || {});\n var labelStyle = this.getLabelStyle(cfg, labelCfg, group);\n var rotate = labelStyle.rotate;\n delete labelStyle.rotate;\n var label = group.addShape('text', {\n attrs: labelStyle,\n draggable: true,\n className: 'text-shape',\n name: 'text-shape',\n });\n if (rotate) {\n var labelBBox = label.getBBox();\n var labelMatrix = label.getMatrix();\n if (!labelMatrix) {\n labelMatrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n if (labelStyle.rotateCenter) {\n switch (labelStyle.rotateCenter) {\n case 'center':\n labelMatrix = transform(labelMatrix, [\n ['t', -labelBBox.width / 2, -labelBBox.height / 2],\n ['r', rotate],\n ['t', labelBBox.width / 2, labelBBox.height / 2],\n ]);\n break;\n case 'lefttop':\n labelMatrix = transform(labelMatrix, [\n ['t', -labelStyle.x, -labelStyle.y],\n ['r', rotate],\n ['t', labelStyle.x, labelStyle.y],\n ]);\n break;\n case 'leftcenter':\n labelMatrix = transform(labelMatrix, [\n ['t', -labelStyle.x, -labelStyle.y - labelBBox.height / 2],\n ['r', rotate],\n ['t', labelStyle.x, labelStyle.y + labelBBox.height / 2],\n ]);\n break;\n default:\n labelMatrix = transform(labelMatrix, [\n ['t', -labelBBox.width / 2, -labelBBox.height / 2],\n ['r', rotate],\n ['t', labelBBox.width / 2, labelBBox.height / 2],\n ]);\n break;\n }\n }\n else {\n labelMatrix = transform(labelMatrix, [\n ['t', -labelStyle.x, -labelStyle.y - labelBBox.height / 2],\n ['r', rotate],\n ['t', labelStyle.x, labelStyle.y + labelBBox.height / 2],\n ]);\n }\n label.setMatrix(labelMatrix);\n }\n if (labelStyle.background) {\n var rect = this.drawLabelBg(cfg, group, label);\n var labelBgClassname = this.itemType + CLS_LABEL_BG_SUFFIX;\n rect.set('classname', labelBgClassname);\n label.toFront();\n }\n return label;\n },\n drawLabelBg: function (cfg, group, label) {\n var defaultLabelCfg = this.options.labelCfg;\n var labelCfg = mix({}, defaultLabelCfg, cfg.labelCfg);\n var style = this.getLabelBgStyleByPosition(label, cfg, labelCfg, group);\n var rect = group.addShape('rect', { name: 'text-bg-shape', attrs: style });\n return rect;\n },\n getLabelStyleByPosition: function (cfg, labelCfg, group) {\n return { text: cfg.label };\n },\n getLabelBgStyleByPosition: function (label, cfg, labelCfg, group) {\n return {};\n },\n /**\n * 获取文本的配置项\n * @param cfg 节点的配置项\n * @param labelCfg 文本的配置项\n * @param group 父容器,label 的定位可能与图形相关\n */\n getLabelStyle: function (cfg, labelCfg, group) {\n var calculateStyle = this.getLabelStyleByPosition(cfg, labelCfg, group);\n var attrName = this.itemType + \"Label\"; // 取 nodeLabel,edgeLabel 的配置项\n var defaultStyle = Global[attrName] ? Global[attrName].style : null;\n var labelStyle = __assign(__assign(__assign({}, defaultStyle), calculateStyle), labelCfg.style);\n return labelStyle;\n },\n /**\n * 获取图形的配置项\n * @param cfg\n */\n getShapeStyle: function (cfg) {\n return cfg.style;\n },\n /**\n * 更新节点,包含文本\n * @override\n * @param {Object} cfg 节点/边的配置项\n * @param {G6.Item} item 节点/边\n */\n update: function (cfg, item) {\n this.updateShapeStyle(cfg, item);\n this.updateLabel(cfg, item);\n },\n updateShapeStyle: function (cfg, item) {\n var group = item.getContainer();\n var shape = item.getKeyShape();\n var shapeStyle = mix({}, shape.attr(), cfg.style);\n var _loop_1 = function (key) {\n var _a;\n var style = shapeStyle[key];\n if (isPlainObject(style)) {\n // 更新图元素样式,支持更新子元素\n var subShape = group.find(function (element) { return element.get('name') === key; });\n if (subShape) {\n subShape.attr(style);\n }\n }\n else {\n shape.attr((_a = {},\n _a[key] = style,\n _a));\n }\n };\n for (var key in shapeStyle) {\n _loop_1(key);\n }\n },\n updateLabel: function (cfg, item) {\n var group = item.getContainer();\n var defaultLabelCfg = this.getOptions({}).labelCfg;\n var labelClassName = this.itemType + CLS_LABEL_SUFFIX;\n var label = group.find(function (element) { return element.get('className') === labelClassName; });\n var labelBgClassname = this.itemType + CLS_LABEL_BG_SUFFIX;\n var labelBg = group.find(function (element) { return element.get('classname') === labelBgClassname; });\n // 防止 cfg.label = \"\" 的情况\n if (cfg.label || cfg.label === '') {\n // 若传入的新配置中有 label,(用户没传入但原先有 label,label 也会有值)\n if (!label) {\n // 若原先不存在 label,则绘制一个新的 label\n var newLabel = this.drawLabel(cfg, group);\n newLabel.set('className', labelClassName);\n }\n else {\n // 若原先存在 label,则更新样式。与 getLabelStyle 不同在于这里需要融合当前 label 的样式\n // 用于融合 style 以外的属性:position, offset, ...\n var currentLabelCfg = {};\n if (item.getModel) {\n currentLabelCfg = item.getModel().labelCfg;\n }\n // 这里不能去掉\n var labelCfg = deepMix({}, defaultLabelCfg, currentLabelCfg, cfg.labelCfg);\n // 获取位置信息\n var calculateStyle = this.getLabelStyleByPosition(cfg, labelCfg, group);\n // 取 nodeLabel,edgeLabel 的配置项\n var cfgStyle = cfg.labelCfg ? cfg.labelCfg.style : undefined;\n var cfgBgStyle = labelCfg.style && labelCfg.style.background;\n // 需要融合当前\b label 的样式 label.attr()。不再需要全局/默认样式,因为已经应用在当前的 label 上\n var labelStyle = __assign(__assign(__assign({}, label.attr()), calculateStyle), cfgStyle);\n var rotate = labelStyle.rotate;\n delete labelStyle.rotate;\n // 计算 label 的旋转矩阵\n if (rotate) {\n // if G 4.x define the rotateAtStart, use it directly instead of using the following codes\n var rotateMatrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n rotateMatrix = transform(rotateMatrix, [\n ['t', -labelStyle.x, -labelStyle.y],\n ['r', rotate],\n ['t', labelStyle.x, labelStyle.y],\n ]);\n label.resetMatrix();\n label.attr(__assign(__assign({}, labelStyle), { matrix: rotateMatrix }));\n }\n else {\n label.resetMatrix();\n label.attr(labelStyle);\n }\n if (!labelBg) {\n if (labelStyle.background) {\n labelBg = this.drawLabelBg(cfg, group, label);\n labelBg.set('classname', labelBgClassname);\n label.toFront();\n }\n }\n else if (labelStyle.background) {\n var calculateBgStyle = this.getLabelBgStyleByPosition(label, cfg, labelCfg, group);\n // const labelBgStyle = Object.assign({}, labelBg.attr(), calculateBgStyle, cfgBgStyle);\n var labelBgStyle = __assign(__assign({}, calculateBgStyle), cfgBgStyle);\n labelBg.resetMatrix();\n if (rotate) {\n labelBg.rotateAtStart(rotate);\n }\n labelBg.attr(labelBgStyle);\n }\n else {\n group.removeChild(labelBg);\n }\n }\n }\n },\n // update(cfg, item) // 默认不定义\n afterUpdate: function (cfg, item) { },\n /**\n * 设置节点的状态,主要是交互状态,业务状态请在 draw 方法中实现\n * 单图形的节点仅考虑 selected、active 状态,有其他状态需求的用户自己复写这个方法\n * @override\n * @param {String} name 状态名称\n * @param {String | Boolean} value 状态值\n * @param {G6.Item} item 节点\n */\n setState: function (name, value, item) {\n var _a, _b;\n var shape = item.get('keyShape');\n if (!shape) {\n return;\n }\n var type = item.getType();\n var stateName = isBoolean(value) ? name : name + \":\" + value;\n var shapeStateStyle = this.getStateStyle(stateName, item);\n var itemStateStyle = item.getStateStyle(stateName);\n // 不允许设置一个不存在的状态\n if (!itemStateStyle && !shapeStateStyle) {\n return;\n }\n // 要设置或取消的状态的样式\n // 当没有 state 状态时,默认使用 model.stateStyles 中的样式\n var styles = mix({}, itemStateStyle || shapeStateStyle);\n var group = item.getContainer();\n // 从图元素现有的样式中删除本次要取消的 states 中存在的属性值。使用对象检索更快\n var keptAttrs = { x: 1, y: 1, cx: 1, cy: 1 };\n if (value) {\n var _loop_2 = function (key) {\n var _a;\n var style = styles[key];\n if (isPlainObject(style) && !ARROWS.includes(key)) {\n var subShape = group.find(function (element) { return element.get('name') === key; });\n if (subShape) {\n subShape.attr(style);\n }\n }\n else {\n // 非纯对象,则认为是设置到 keyShape 上面的\n shape.attr((_a = {},\n _a[key] = style,\n _a));\n }\n };\n // style 为要设置的状态的样式\n for (var key in styles) {\n _loop_2(key);\n }\n }\n else {\n // 所有生效的 state 的样式\n var enableStatesStyle = clone(item.getCurrentStatesStyle());\n var model = item.getModel();\n // 原始样式\n var tmp = item.getOriginStyle();\n var originStyle_1 = mix({}, model.style, clone(item.getOriginStyle()));\n var keyShapeName_1 = shape.get('name');\n var keyShapeStyles_1 = clone(shape.attr());\n // 已有样式 - 要取消的状态的样式\n var filtetDisableStatesStyle = {};\n var _loop_3 = function (p) {\n var style = styles[p];\n if (isPlainObject(style) && !ARROWS.includes(p)) {\n var subShape_1 = group.find(function (element) { return element.get('name') === p; });\n if (subShape_1) {\n var subShapeStyles_1 = clone(subShape_1.attr());\n each(style, function (v, key) {\n if (p === keyShapeName_1 && keyShapeStyles_1[key] && !keptAttrs[key]) {\n delete keyShapeStyles_1[key];\n var value_1 = originStyle_1[p][key] || SHAPES_DEFAULT_ATTRS[type][key];\n shape.attr(key, value_1);\n }\n else if (subShapeStyles_1[key] || subShapeStyles_1[key] === 0) {\n delete subShapeStyles_1[key];\n var value_2 = originStyle_1[p][key] || SHAPES_DEFAULT_ATTRS[type][key];\n subShape_1.attr(key, value_2);\n }\n });\n filtetDisableStatesStyle[p] = subShapeStyles_1;\n }\n }\n else {\n if (keyShapeStyles_1[p] && !keptAttrs[p]) {\n delete keyShapeStyles_1[p];\n var value_3 = originStyle_1[p] ||\n (originStyle_1[keyShapeName_1] ? originStyle_1[keyShapeName_1][p] : undefined) ||\n SHAPES_DEFAULT_ATTRS[type][p];\n shape.attr(p, value_3);\n }\n }\n };\n // styles 为要取消的状态的样式\n for (var p in styles) {\n _loop_3(p);\n }\n // 从图元素现有的样式中删除本次要取消的 states 中存在的属性值后,\n // 如果 keyShape 有 name 属性,则 filtetDisableStatesStyle 的格式为 { keyShapeName: {} }\n // 否则为普通对象\n if (!keyShapeName_1) {\n mix(filtetDisableStatesStyle, keyShapeStyles_1);\n }\n else {\n filtetDisableStatesStyle[keyShapeName_1] = keyShapeStyles_1;\n }\n for (var key in enableStatesStyle) {\n if (keptAttrs[key])\n continue;\n var enableStyle = enableStatesStyle[key];\n if (!isPlainObject(enableStyle) || ARROWS.includes(key)) {\n // 把样式属性merge到keyShape中\n if (!keyShapeName_1) {\n mix(originStyle_1, (_a = {},\n _a[key] = enableStyle,\n _a));\n }\n else {\n mix(originStyle_1[keyShapeName_1], (_b = {},\n _b[key] = enableStyle,\n _b));\n delete originStyle_1[key];\n }\n delete enableStatesStyle[key];\n }\n }\n var originstyles = {};\n deepMix(originstyles, originStyle_1, filtetDisableStatesStyle, enableStatesStyle);\n var keyShapeSetted = false;\n var _loop_4 = function (originKey) {\n var _a, _b;\n var style = originstyles[originKey];\n if (isPlainObject(style) && !ARROWS.includes(originKey)) {\n var subShape = group.find(function (element) { return element.get('name') === originKey; });\n if (subShape) {\n subShape.attr(style);\n if (originKey === keyShapeName_1)\n keyShapeSetted = true;\n }\n }\n else if (!keyShapeSetted) {\n var value_4 = style || SHAPES_DEFAULT_ATTRS[type][originKey];\n // 当更新 combo 状态时,当不存在 keyShapeName 时候,则认为是设置到 keyShape 上面的\n if (type === 'combo') {\n if (!keyShapeName_1) {\n shape.attr((_a = {},\n _a[originKey] = value_4,\n _a));\n }\n }\n else {\n shape.attr((_b = {},\n _b[originKey] = value_4,\n _b));\n }\n }\n };\n for (var originKey in originstyles) {\n _loop_4(originKey);\n }\n }\n },\n /**\n * 获取不同状态下的样式\n *\n * @param {string} name 状态名称\n * @param {Item} item Node或Edge的实例\n * @return {object} 样式\n */\n getStateStyle: function (name, item) {\n var model = item.getModel();\n var type = item.getType();\n var _a = this.getOptions(model), stateStyles = _a.stateStyles, _b = _a.style, style = _b === void 0 ? {} : _b;\n var modelStateStyle = model.stateStyles\n ? model.stateStyles[name]\n : stateStyles && stateStyles[name];\n if (type === 'combo') {\n return clone(modelStateStyle);\n }\n return mix({}, style, modelStateStyle);\n },\n /**\n * 获取控制点\n * @param {Object} cfg 节点、边的配置项\n * @return {Array|null} 控制点的数组,如果为 null,则没有控制点\n */\n getControlPoints: function (cfg) {\n return cfg.controlPoints;\n },\n /**\n * 获取控制点\n * @param {Object} cfg 节点、边的配置项\n * @return {Array|null} 锚点的数组,如果为 null,则没有锚点\n */\n getAnchorPoints: function (cfg) {\n var anchorPoints = this.getOptions(cfg).anchorPoints;\n return anchorPoints;\n },\n};\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combos/circle.ts", "name": "./src/shape/combos/circle.ts", "index": 244, "index2": 241, "size": 3518, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combos/index.ts", "issuerId": null, "issuerName": "./src/shape/combos/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combos/index.ts", "name": "./src/shape/combos/index.ts", "profile": { "factory": 1776, "building": 65, "dependencies": 2105 } } ], "profile": { "factory": 290, "building": 227, "dependencies": 742 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combos/index.ts", "module": "./src/shape/combos/index.ts", "moduleName": "./src/shape/combos/index.ts", "type": "harmony side effect evaluation", "userRequest": "./circle", "loc": "1:0-18" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 3, "source": "import { __assign } from \"tslib\";\nimport Global from '../../global';\nimport Shape from '../shape';\nimport { isNumber, clone, mix, isArray } from '@antv/util';\n// 圆形 Combo\nShape.registerCombo('circle', {\n // 自定义节点时的配置\n options: {\n size: [Global.defaultCombo.size[0], Global.defaultCombo.size[0]],\n padding: Global.defaultCombo.padding[0],\n animate: true,\n style: {\n stroke: Global.defaultCombo.style.stroke,\n fill: Global.defaultCombo.style.fill,\n lineWidth: Global.defaultCombo.style.lineWidth,\n },\n labelCfg: {\n style: {\n fill: Global.comboLabel.style.fill,\n fontSize: Global.comboLabel.style.fontSize,\n },\n refX: 0,\n refY: 0,\n },\n stateStyles: __assign({}, Global.comboStateStyles),\n },\n shapeType: 'circle',\n // 文本位置\n labelPosition: 'top',\n drawShape: function (cfg, group) {\n var style = this.getShapeStyle(cfg);\n delete style.height;\n delete style.width;\n var keyShape = group.addShape('circle', {\n attrs: style,\n className: 'circle-combo',\n name: 'circle-combo',\n draggable: true,\n });\n return keyShape;\n },\n /**\n * 获取 Combo 的样式,供基于该 Combo 自定义时使用\n * @param {Object} cfg Combo 数据模型\n * @return {Object} Combo 的样式\n */\n getShapeStyle: function (cfg) {\n var defaultStyle = this.options.style;\n var padding = cfg.padding || this.options.padding;\n if (isArray(padding))\n padding = padding[0];\n var strokeStyle = {\n stroke: cfg.color,\n };\n // 如果设置了color,则覆盖默认的stroke属性\n var style = mix({}, defaultStyle, strokeStyle, cfg.style);\n var size = this.getSize(cfg);\n var r;\n if (!isNumber(style.r) || isNaN(style.r))\n r = size[0] / 2 || Global.defaultCombo.style.r;\n else\n r = Math.max(style.r, size[0] / 2) || size[0] / 2;\n style.r = r + padding;\n var styles = __assign({ x: 0, y: 0 }, style);\n if (cfg.style)\n cfg.style.r = r;\n else {\n cfg.style = { r: r };\n }\n return styles;\n },\n update: function (cfg, item) {\n var size = this.getSize(cfg);\n var padding = cfg.padding || this.options.padding;\n if (isArray(padding))\n padding = padding[0];\n var cfgStyle = clone(cfg.style);\n var r = Math.max(cfgStyle.r, size[0] / 2) || size[0] / 2;\n cfgStyle.r = r + padding;\n var itemCacheSize = item.get('sizeCache');\n if (itemCacheSize) {\n itemCacheSize.r = cfgStyle.r;\n }\n // 下面这些属性需要覆盖默认样式与目前样式,但若在 cfg 中有指定则应该被 cfg 的相应配置覆盖。\n var strokeStyle = {\n stroke: cfg.color,\n };\n // 与 getShapeStyle 不同在于,update 时需要获取到当前的 style 进行融合。即新传入的配置项中没有涉及的属性,保留当前的配置。\n var keyShape = item.get('keyShape');\n var style = mix({}, keyShape.attr(), strokeStyle, cfgStyle);\n if (cfg.style)\n cfg.style.r = r;\n else {\n cfg.style = { r: r };\n }\n this.updateShape(cfg, item, style, true);\n },\n}, 'single-combo');\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combos/rect.ts", "name": "./src/shape/combos/rect.ts", "index": 245, "index2": 242, "size": 6996, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combos/index.ts", "issuerId": null, "issuerName": "./src/shape/combos/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combos/index.ts", "name": "./src/shape/combos/index.ts", "profile": { "factory": 1776, "building": 65, "dependencies": 2105 } } ], "profile": { "factory": 290, "building": 227, "dependencies": 742 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combos/index.ts", "module": "./src/shape/combos/index.ts", "moduleName": "./src/shape/combos/index.ts", "type": "harmony side effect evaluation", "userRequest": "./rect", "loc": "2:0-16" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 3, "source": "import { __assign } from \"tslib\";\nimport { mix, isNumber, clone, isNil } from '@antv/util';\nimport Global from '../../global';\nimport Shape from '../shape';\nShape.registerCombo('rect', {\n // 自定义 Combo 时的配置\n options: {\n size: [40, 5],\n padding: [25, 20, 15, 20],\n animate: true,\n style: {\n radius: 0,\n stroke: Global.defaultCombo.style.stroke,\n fill: Global.defaultCombo.style.fill,\n lineWidth: Global.defaultCombo.style.lineWidth,\n },\n // 文本样式配置\n labelCfg: {\n style: {\n fill: Global.comboLabel.style.fill,\n fontSize: Global.comboLabel.style.fontSize,\n },\n },\n // 连接点,默认为左右\n anchorPoints: [[0, 0.5], [1, 0.5]],\n stateStyles: __assign({}, Global.comboStateStyles),\n },\n shapeType: 'rect',\n labelPosition: 'top',\n drawShape: function (cfg, group) {\n var style = this.getShapeStyle(cfg);\n var keyShape = group.addShape('rect', {\n attrs: style,\n className: 'rect-combo',\n name: 'rect-combo',\n draggable: true,\n });\n return keyShape;\n },\n // 私有方法,不希望扩展的 Combo 复写这个方法\n getLabelStyleByPosition: function (cfg, labelCfg) {\n var labelPosition = labelCfg.position || this.labelPosition;\n var cfgStyle = cfg.style;\n var padding = cfg.padding || this.options.padding;\n if (isNumber(padding))\n padding = [padding, padding, padding, padding];\n var refX = labelCfg.refX, refY = labelCfg.refY;\n // 考虑 refX 和 refY = 0 的场景,不用用 labelCfg.refX || Global.nodeLabel.refY\n if (isNil(refX)) {\n refX = this.refX; // 不居中时的偏移量\n }\n if (isNil(refY)) {\n refY = this.refY; // 不居中时的偏移量\n }\n var leftDis = cfgStyle.width / 2 + padding[3];\n var topDis = cfgStyle.height / 2 + padding[0];\n var style;\n switch (labelPosition) {\n case 'top':\n style = {\n x: 0 - leftDis + refX,\n y: 0 - topDis + refY,\n textBaseline: 'top',\n textAlign: 'left',\n };\n break;\n case 'bottom':\n style = {\n x: 0,\n y: topDis + refY,\n textBaseline: 'bottom',\n textAlign: 'center',\n };\n break;\n case 'left':\n style = {\n x: 0 - leftDis + refY,\n y: 0,\n textAlign: 'left',\n };\n break;\n case 'center':\n style = {\n x: 0,\n y: 0,\n text: cfg.label,\n textAlign: 'center',\n };\n break;\n default:\n style = {\n x: leftDis + refX,\n y: 0,\n textAlign: 'right',\n };\n break;\n }\n style.text = cfg.label;\n return style;\n },\n /**\n * 获取节点的样式,供基于该节点自定义时使用\n * @param {Object} cfg 节点数据模型\n * @return {Object} 节点的样式\n */\n getShapeStyle: function (cfg) {\n var defaultStyle = this.options.style;\n var padding = cfg.padding || this.options.padding;\n if (isNumber(padding))\n padding = [padding, padding, padding, padding];\n var strokeStyle = {\n stroke: cfg.color,\n };\n // 如果设置了color,则覆盖默认的stroke属性\n var style = mix({}, defaultStyle, strokeStyle, cfg.style);\n var size = this.getSize(cfg);\n var width;\n var height;\n if (!isNumber(style.width) || isNaN(style.width))\n width = size[0] || Global.defaultCombo.style.width;\n else\n width = Math.max(style.width, size[0]) || size[0];\n if (!isNumber(style.height) || isNaN(style.height))\n height = size[1] || Global.defaultCombo.style.height;\n else\n height = Math.max(style.height, size[1]) || size[1];\n var x = -width / 2 - padding[3];\n var y = -height / 2 - padding[0];\n style.width = width + padding[1] + padding[3];\n style.height = height + padding[0] + padding[2];\n var styles = __assign({ x: x,\n y: y }, style);\n if (!cfg.style) {\n cfg.style = {\n width: width,\n height: height,\n };\n }\n else {\n cfg.style.width = width;\n cfg.style.height = height;\n }\n return styles;\n },\n update: function (cfg, item) {\n var size = this.getSize(cfg);\n var padding = cfg.padding || this.options.padding;\n if (isNumber(padding))\n padding = [padding, padding, padding, padding];\n var cfgStyle = clone(cfg.style);\n var width = Math.max(cfgStyle.width, size[0]) || size[0];\n var height = Math.max(cfgStyle.height, size[1]) || size[1];\n cfgStyle.width = width + padding[1] + padding[3];\n cfgStyle.height = height + padding[0] + padding[2];\n var itemCacheSize = item.get('sizeCache');\n if (itemCacheSize) {\n itemCacheSize.width = cfgStyle.width;\n itemCacheSize.height = cfgStyle.height;\n }\n cfgStyle.x = -width / 2 - padding[3];\n cfgStyle.y = -height / 2 - padding[0];\n // 下面这些属性需要覆盖默认样式与目前样式,但若在 cfg 中有指定则应该被 cfg 的相应配置覆盖。\n var strokeStyle = {\n stroke: cfg.color,\n };\n // 与 getShapeStyle 不同在于,update 时需要获取到当前的 style 进行融合。即新传入的配置项中没有涉及的属性,保留当前的配置。\n var keyShape = item.get('keyShape');\n var style = mix({}, keyShape.attr(), strokeStyle, cfgStyle);\n if (cfg.style) {\n cfg.style.width = width;\n cfg.style.height = height;\n }\n else {\n cfg.style = { width: width, height: height };\n }\n this.updateShape(cfg, item, style, false);\n },\n updateShape: function (cfg, item, keyShapeStyle) {\n var keyShape = item.get('keyShape');\n var animate = cfg.animate === undefined ? this.options.animate : cfg.animate;\n if (animate && keyShape.animate) {\n keyShape.animate(keyShapeStyle, {\n duration: 200,\n easing: 'easeLinear',\n });\n }\n else {\n keyShape.attr(__assign({}, keyShapeStyle));\n }\n this.updateLabel(cfg, item);\n },\n}, 'single-combo');\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/circle.ts", "name": "./src/shape/nodes/circle.ts", "index": 247, "index2": 244, "size": 5816, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/index.ts", "issuerId": null, "issuerName": "./src/shape/nodes/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/index.ts", "name": "./src/shape/nodes/index.ts", "profile": { "factory": 1776, "building": 65, "dependencies": 2105 } } ], "profile": { "factory": 293, "building": 209, "dependencies": 837 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/index.ts", "module": "./src/shape/nodes/index.ts", "moduleName": "./src/shape/nodes/index.ts", "type": "harmony side effect evaluation", "userRequest": "./circle", "loc": "1:0-18" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 3, "source": "import { __assign, __rest } from \"tslib\";\nimport { deepMix } from '@antv/util';\nimport Global from '../../global';\nimport Shape from '../shape';\n// 带有图标的圆,可用于拓扑图中\nShape.registerNode('circle', {\n // 自定义节点时的配置\n options: {\n size: Global.defaultNode.size,\n style: {\n x: 0,\n y: 0,\n stroke: Global.defaultNode.style.stroke,\n fill: Global.defaultNode.style.fill,\n lineWidth: Global.defaultNode.style.lineWidth,\n },\n labelCfg: {\n style: {\n fill: Global.nodeLabel.style.fill,\n fontSize: Global.nodeLabel.style.fontSize,\n },\n },\n // 节点上左右上下四个方向上的链接circle配置\n linkPoints: {\n top: false,\n right: false,\n bottom: false,\n left: false,\n // circle的大小\n size: Global.defaultNode.linkPoints.size,\n lineWidth: Global.defaultNode.linkPoints.lineWidth,\n fill: Global.defaultNode.linkPoints.fill,\n stroke: Global.defaultNode.linkPoints.stroke,\n },\n // 节点中icon配置\n icon: {\n // 是否显示icon,值为 false 则不渲染icon\n show: false,\n // icon的地址,字符串类型\n img: 'https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg',\n width: 20,\n height: 20,\n },\n stateStyles: __assign({}, Global.nodeStateStyles),\n },\n shapeType: 'circle',\n // 文本位置\n labelPosition: 'center',\n drawShape: function (cfg, group) {\n var _a = this.getOptions(cfg).icon, defaultIcon = _a === void 0 ? {} : _a;\n var style = this.getShapeStyle(cfg);\n var icon = deepMix({}, defaultIcon, cfg.icon);\n var keyShape = group.addShape('circle', {\n attrs: style,\n className: this.type + \"-keyShape\",\n draggable: true,\n });\n var width = icon.width, height = icon.height, show = icon.show;\n if (show) {\n group.addShape('image', {\n attrs: __assign({ x: -width / 2, y: -height / 2 }, icon),\n className: this.type + \"-icon\",\n name: this.type + \"-icon\",\n draggable: true,\n });\n }\n this.drawLinkPoints(cfg, group);\n return keyShape;\n },\n /**\n * 绘制节点上的LinkPoints\n * @param {Object} cfg data数据配置项\n * @param {Group} group Group实例\n */\n drawLinkPoints: function (cfg, group) {\n var _a = this.getOptions(cfg).linkPoints, linkPoints = _a === void 0 ? {} : _a;\n var top = linkPoints.top, left = linkPoints.left, right = linkPoints.right, bottom = linkPoints.bottom, markSize = linkPoints.size, markR = linkPoints.r, markStyle = __rest(linkPoints, [\"top\", \"left\", \"right\", \"bottom\", \"size\", \"r\"]);\n var size = this.getSize(cfg);\n var r = size[0] / 2;\n if (left) {\n // left circle\n group.addShape('circle', {\n attrs: __assign(__assign({}, markStyle), { x: -r, y: 0, r: markSize / 2 || markR || 5 }),\n className: 'link-point-left',\n name: 'link-point-left',\n isAnchorPoint: true,\n });\n }\n if (right) {\n // right circle\n group.addShape('circle', {\n attrs: __assign(__assign({}, markStyle), { x: r, y: 0, r: markSize / 2 || markR || 5 }),\n className: 'link-point-right',\n name: 'link-point-right',\n isAnchorPoint: true,\n });\n }\n if (top) {\n // top circle\n group.addShape('circle', {\n attrs: __assign(__assign({}, markStyle), { x: 0, y: -r, r: markSize / 2 || markR || 5 }),\n className: 'link-point-top',\n name: 'link-point-top',\n isAnchorPoint: true,\n });\n }\n if (bottom) {\n // bottom circle\n group.addShape('circle', {\n attrs: __assign(__assign({}, markStyle), { x: 0, y: r, r: markSize / 2 || markR || 5 }),\n className: 'link-point-bottom',\n name: 'link-point-bottom',\n isAnchorPoint: true,\n });\n }\n },\n /**\n * 获取节点的样式,供基于该节点自定义时使用\n * @param {Object} cfg 节点数据模型\n * @return {Object} 节点的样式\n */\n getShapeStyle: function (cfg) {\n var defaultStyle = this.getOptions(cfg).style;\n var strokeStyle = {\n stroke: cfg.color,\n };\n // 如果设置了color,则覆盖默认的stroke属性\n var style = deepMix({}, defaultStyle, strokeStyle);\n var size = this.getSize(cfg);\n var r = size[0] / 2;\n var styles = __assign({ x: 0, y: 0, r: r }, style);\n return styles;\n },\n update: function (cfg, item) {\n var group = item.getContainer();\n var size = this.getSize(cfg);\n // 下面这些属性需要覆盖默认样式与目前样式,但若在 cfg 中有指定则应该被 cfg 的相应配置覆盖。\n var strokeStyle = {\n stroke: cfg.color,\n r: size[0] / 2,\n };\n // 与 getShapeStyle 不同在于,update 时需要获取到当前的 style 进行融合。即新传入的配置项中没有涉及的属性,保留当前的配置。\n var keyShape = item.get('keyShape');\n var style = deepMix({}, keyShape.attr(), strokeStyle, cfg.style);\n this.updateShape(cfg, item, style, true);\n this.updateLinkPoints(cfg, group);\n },\n}, 'single-node');\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/rect.ts", "name": "./src/shape/nodes/rect.ts", "index": 248, "index2": 245, "size": 6047, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/index.ts", "issuerId": null, "issuerName": "./src/shape/nodes/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/index.ts", "name": "./src/shape/nodes/index.ts", "profile": { "factory": 1776, "building": 65, "dependencies": 2105 } } ], "profile": { "factory": 293, "building": 209, "dependencies": 837 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/index.ts", "module": "./src/shape/nodes/index.ts", "moduleName": "./src/shape/nodes/index.ts", "type": "harmony side effect evaluation", "userRequest": "./rect", "loc": "2:0-16" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 3, "source": "import { __assign, __rest } from \"tslib\";\nimport { mix } from '@antv/util';\nimport Global from '../../global';\nimport Shape from '../shape';\nShape.registerNode('rect', {\n // 自定义节点时的配置\n options: {\n size: [100, 30],\n style: {\n radius: 0,\n stroke: Global.defaultNode.style.stroke,\n fill: Global.defaultNode.style.fill,\n lineWidth: Global.defaultNode.style.lineWidth,\n },\n // 文本样式配置\n labelCfg: {\n style: {\n fill: Global.nodeLabel.style.fill,\n fontSize: Global.nodeLabel.style.fontSize,\n },\n },\n // 节点上左右上下四个方向上的链接circle配置\n linkPoints: {\n top: false,\n right: false,\n bottom: false,\n left: false,\n // circle的大小\n size: Global.defaultNode.linkPoints.size,\n lineWidth: Global.defaultNode.linkPoints.lineWidth,\n fill: Global.defaultNode.linkPoints.fill,\n stroke: Global.defaultNode.linkPoints.stroke,\n },\n // 节点中icon配置\n icon: {\n // 是否显示icon,值为 false 则不渲染icon\n show: false,\n // icon的地址,字符串类型\n img: 'https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg',\n width: 20,\n height: 20,\n },\n // 连接点,默认为左右\n // anchorPoints: [{ x: 0, y: 0.5 }, { x: 1, y: 0.5 }]\n anchorPoints: [[0, 0.5], [1, 0.5]],\n stateStyles: __assign({}, Global.nodeStateStyles),\n },\n shapeType: 'rect',\n labelPosition: 'center',\n drawShape: function (cfg, group) {\n var style = this.getShapeStyle(cfg);\n var keyShape = group.addShape('rect', {\n attrs: style,\n className: this.type + \"-keyShape\",\n name: this.type + \"-keyShape\",\n draggable: true,\n });\n this.drawLinkPoints(cfg, group);\n return keyShape;\n },\n /**\n * 绘制节点上的LinkPoints\n * @param {Object} cfg data数据配置项\n * @param {Group} group Group实例\n */\n drawLinkPoints: function (cfg, group) {\n var _a = this.getOptions(cfg).linkPoints, linkPoints = _a === void 0 ? {} : _a;\n var top = linkPoints.top, left = linkPoints.left, right = linkPoints.right, bottom = linkPoints.bottom, markSize = linkPoints.size, markR = linkPoints.r, markStyle = __rest(linkPoints, [\"top\", \"left\", \"right\", \"bottom\", \"size\", \"r\"]);\n var size = this.getSize(cfg);\n var width = size[0];\n var height = size[1];\n if (left) {\n // left circle\n group.addShape('circle', {\n attrs: __assign(__assign({}, markStyle), { x: -width / 2, y: 0, r: markSize / 2 || markR || 5 }),\n className: 'link-point-left',\n name: 'link-point-left',\n isAnchorPoint: true,\n });\n }\n if (right) {\n // right circle\n group.addShape('circle', {\n attrs: __assign(__assign({}, markStyle), { x: width / 2, y: 0, r: markSize / 2 || markR || 5 }),\n className: 'link-point-right',\n name: 'link-point-right',\n isAnchorPoint: true,\n });\n }\n if (top) {\n // top circle\n group.addShape('circle', {\n attrs: __assign(__assign({}, markStyle), { x: 0, y: -height / 2, r: markSize / 2 || markR || 5 }),\n className: 'link-point-top',\n name: 'link-point-top',\n isAnchorPoint: true,\n });\n }\n if (bottom) {\n // bottom circle\n group.addShape('circle', {\n attrs: __assign(__assign({}, markStyle), { x: 0, y: height / 2, r: markSize / 2 || markR || 5 }),\n className: 'link-point-bottom',\n name: 'link-point-bottom',\n isAnchorPoint: true,\n });\n }\n },\n /**\n * 获取节点的样式,供基于该节点自定义时使用\n * @param {Object} cfg 节点数据模型\n * @return {Object} 节点的样式\n */\n getShapeStyle: function (cfg) {\n var defaultStyle = this.getOptions(cfg).style;\n var strokeStyle = {\n stroke: cfg.color,\n };\n // 如果设置了color,则覆盖默认的stroke属性\n var style = mix({}, defaultStyle, strokeStyle);\n var size = this.getSize(cfg);\n var width = style.width || size[0];\n var height = style.height || size[1];\n var styles = __assign({ x: -width / 2, y: -height / 2, width: width,\n height: height }, style);\n return styles;\n },\n update: function (cfg, item) {\n var group = item.getContainer();\n // 这里不传 cfg 参数是因为 cfg.style 需要最后覆盖样式\n var defaultStyle = this.getOptions({}).style;\n var size = this.getSize(cfg);\n var keyShape = item.get('keyShape');\n if (!cfg.size) {\n size[0] = keyShape.attr('width') || defaultStyle.width;\n size[1] = keyShape.attr('height') || defaultStyle.height;\n }\n // 下面这些属性需要覆盖默认样式与目前样式,但若在 cfg 中有指定则应该被 cfg 的相应配置覆盖。\n var strokeStyle = {\n stroke: cfg.color,\n x: -size[0] / 2,\n y: -size[1] / 2,\n width: size[0],\n height: size[1],\n };\n // 与 getShapeStyle 不同在于,update 时需要获取到当前的 style 进行融合。即新传入的配置项中没有涉及的属性,保留当前的配置。\n var style = mix({}, defaultStyle, keyShape.attr(), strokeStyle);\n style = mix(style, cfg.style);\n this.updateShape(cfg, item, style, false);\n this.updateLinkPoints(cfg, group);\n },\n}, 'single-node');\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/image.ts", "name": "./src/shape/nodes/image.ts", "index": 249, "index2": 246, "size": 4123, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/index.ts", "issuerId": null, "issuerName": "./src/shape/nodes/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/index.ts", "name": "./src/shape/nodes/index.ts", "profile": { "factory": 1776, "building": 65, "dependencies": 2105 } } ], "profile": { "factory": 293, "building": 209, "dependencies": 837 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/index.ts", "module": "./src/shape/nodes/index.ts", "moduleName": "./src/shape/nodes/index.ts", "type": "harmony side effect evaluation", "userRequest": "./image", "loc": "3:0-17" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 3, "source": "import { __assign } from \"tslib\";\nimport Shape from '../shape';\n/**\n * 基本的图片,可以添加文本,默认文本在图片的下面\n */\nShape.registerNode('image', {\n options: {\n img: 'https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*eD7nT6tmYgAAAAAAAAAAAABkARQnAQ',\n size: 200,\n clipCfg: {\n show: false,\n type: 'circle',\n // circle\n r: 50,\n // ellipse\n rx: 50,\n ry: 35,\n // rect\n width: 50,\n height: 35,\n // polygon\n points: [[30, 12], [12, 30], [30, 48], [48, 30]],\n // path\n path: [\n ['M', 25, 25],\n ['L', 50, 25],\n ['A', 12.5, 12.5, 0, 1, 1, 50, 50],\n ['A', 12.5, 12.5, 0, 1, 0, 50, 50],\n ['L', 25, 75],\n ['Z'],\n ],\n // 坐标\n x: 0,\n y: 0,\n },\n },\n shapeType: 'image',\n labelPosition: 'bottom',\n drawShape: function (cfg, group) {\n var shapeType = this.shapeType; // || this.type,都已经加了 shapeType\n var style = this.getShapeStyle(cfg);\n delete style.fill;\n var shape = group.addShape(shapeType, {\n attrs: style,\n className: this.type + \"-keyShape\",\n name: this.type + \"-keyShape\",\n draggable: true,\n });\n this.drawClip(cfg, shape);\n return shape;\n },\n drawClip: function (cfg, shape) {\n var clip = this.getOptions(cfg).clipCfg;\n if (!clip.show) {\n return;\n }\n // 支持 circle、rect、ellipse、Polygon 及自定义 path clip\n var type = clip.type, x = clip.x, y = clip.y, style = clip.style;\n if (type === 'circle') {\n var r = clip.r;\n shape.setClip({\n type: 'circle',\n attrs: __assign({ r: r,\n x: x,\n y: y }, style),\n });\n }\n else if (type === 'rect') {\n var width = clip.width, height = clip.height;\n var rectX = x - width / 2;\n var rectY = y - height / 2;\n shape.setClip({\n type: 'rect',\n attrs: __assign({ x: rectX, y: rectY, width: width,\n height: height }, style),\n });\n }\n else if (type === 'ellipse') {\n var rx = clip.rx, ry = clip.ry;\n shape.setClip({\n type: 'ellipse',\n attrs: __assign({ x: x,\n y: y,\n rx: rx,\n ry: ry }, style),\n });\n }\n else if (type === 'polygon') {\n var points = clip.points;\n shape.setClip({\n type: 'polygon',\n attrs: __assign({ points: points }, style),\n });\n }\n else if (type === 'path') {\n var path = clip.path;\n shape.setClip({\n type: 'path',\n attrs: __assign({ path: path }, style),\n });\n }\n },\n getShapeStyle: function (cfg) {\n var defaultStyle = this.getOptions(cfg).style;\n var size = this.getSize(cfg);\n var img = this.getOptions(cfg).img;\n var width = size[0];\n var height = size[1];\n if (defaultStyle) {\n width = defaultStyle.width || size[0];\n height = defaultStyle.height || size[1];\n }\n var style = __assign({ x: -width / 2, y: -height / 2, width: width,\n height: height,\n img: img }, defaultStyle);\n return style;\n },\n updateShapeStyle: function (cfg, item) {\n var group = item.getContainer();\n var shapeClassName = this.itemType + \"-shape\";\n var shape = group.find(function (element) { return element.get('className') === shapeClassName; }) || item.getKeyShape();\n var shapeStyle = this.getShapeStyle(cfg);\n if (shape) {\n shape.attr(shapeStyle);\n }\n },\n}, 'single-node');\n" } ], "filteredModules": 0 }, { "id": 15, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array.js", "index": 152, "index2": 143, "size": 242, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "profile": { "factory": 1578, "building": 488, "dependencies": 365 } } ], "profile": { "factory": 855, "building": 182, "dependencies": 41 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/is-array", "loc": "13:0-61" }, { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony export imported specifier", "userRequest": "@antv/util/lib/is-array", "loc": "13:0-61" }, { "moduleId": 18, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "type": "cjs require", "userRequest": "./is-array", "loc": "7:17-38" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/is-array", "loc": "1:0-46" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/is-array", "loc": "2:0-46" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util/lib/is-array", "loc": "10:6-13" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util/lib/is-array", "loc": "11:6-13" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar is_type_1 = require(\"./is-type\");\n\nexports.default = function (value) {\n return Array.isArray ? Array.isArray(value) : is_type_1.default(value, 'Array');\n};" }, { "id": 16, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_algorithm@0.0.4@@antv/algorithm/dist/index.min.js", "name": "./node_modules/_@antv_algorithm@0.0.4@@antv/algorithm/dist/index.min.js", "index": 121, "index2": 119, "size": 29494, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "issuerId": null, "issuerName": "./src/graph/graph.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/algorithm", "loc": "5:0-102" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/algorithm", "loc": "23:34-39" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/algorithm", "loc": "24:34-39" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/algorithm", "loc": "2276:22-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/algorithm", "loc": "2374:31-48" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/algorithm", "loc": "2394:31-48" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/algorithm", "loc": "2398:41-54" } ], "usedExports": ["Stack", "floydWarshall", "getAdjMatrix", "getDegree"], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n!function (t, e) {\n \"object\" == (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) && \"undefined\" != typeof module ? e(exports) : \"function\" == typeof define && define.amd ? define([\"exports\"], e) : e((t = \"undefined\" != typeof globalThis ? globalThis : t || self).algorithm = {});\n}(this, function (t) {\n \"use strict\";\n\n var e = function e(t, _e) {\n var n = t.nodes,\n r = t.edges,\n i = [],\n o = {};\n if (!n) throw Error(\"invalid nodes data!\");\n return n && n.forEach(function (t, e) {\n o[t.id] = e;\n i.push([]);\n }), r && r.forEach(function (t) {\n var n = o[t.source],\n r = o[t.target];\n i[n][r] = 1, _e || (i[r][n] = 1);\n }), i;\n };\n\n function n(t, e) {\n if (!(t instanceof e)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function r(t, e) {\n for (var n = 0; e.length > n; n++) {\n var r = e[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);\n }\n }\n\n function i(t, e, n) {\n return e && r(t.prototype, e), n && r(t, n), t;\n }\n\n function o(t, e) {\n (null == e || e > t.length) && (e = t.length);\n\n for (var n = 0, r = Array(e); e > n; n++) {\n r[n] = t[n];\n }\n\n return r;\n }\n\n function u(t, e) {\n var _n;\n\n if (\"undefined\" == typeof Symbol || null == t[Symbol.iterator]) {\n if (Array.isArray(t) || (_n = function (t, e) {\n if (t) {\n if (\"string\" == typeof t) return o(t, e);\n var n = Object.prototype.toString.call(t).slice(8, -1);\n return \"Object\" === n && t.constructor && (n = t.constructor.name), \"Map\" === n || \"Set\" === n ? Array.from(t) : \"Arguments\" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? o(t, e) : void 0;\n }\n }(t)) || e && t && \"number\" == typeof t.length) {\n _n && (t = _n);\n\n var r = 0,\n i = function i() {};\n\n return {\n s: i,\n n: function n() {\n return t.length > r ? {\n done: !1,\n value: t[r++]\n } : {\n done: !0\n };\n },\n e: function e(t) {\n throw t;\n },\n f: i\n };\n }\n\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n var u,\n a = !0,\n s = !1;\n return {\n s: function s() {\n _n = t[Symbol.iterator]();\n },\n n: function n() {\n var t = _n.next();\n\n return a = t.done, t;\n },\n e: function e(t) {\n s = !0, u = t;\n },\n f: function f() {\n try {\n a || null == _n.return || _n.return();\n } finally {\n if (s) throw u;\n }\n }\n };\n }\n\n var a = function a(t, e) {\n return t === e;\n },\n s = function () {\n function t(e) {\n var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null;\n n(this, t), this.value = e, this.next = r;\n }\n\n return i(t, [{\n key: \"toString\",\n value: function value(t) {\n return t ? t(this.value) : \"\".concat(this.value);\n }\n }]), t;\n }(),\n l = function () {\n function t() {\n var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : a;\n n(this, t), this.head = null, this.tail = null, this.compare = e;\n }\n\n return i(t, [{\n key: \"prepend\",\n value: function value(t) {\n var e = new s(t, this.head);\n return this.head = e, this.tail || (this.tail = e), this;\n }\n }, {\n key: \"append\",\n value: function value(t) {\n var e = new s(t);\n return this.head ? (this.tail.next = e, this.tail = e, this) : (this.head = e, this.tail = e, this);\n }\n }, {\n key: \"delete\",\n value: function value(t) {\n if (!this.head) return null;\n\n for (var e = null; this.head && this.compare(this.head.value, t);) {\n e = this.head, this.head = this.head.next;\n }\n\n var n = this.head;\n if (null !== n) for (; n.next;) {\n this.compare(n.next.value, t) ? (e = n.next, n.next = n.next.next) : n = n.next;\n }\n return this.compare(this.tail.value, t) && (this.tail = n), e;\n }\n }, {\n key: \"find\",\n value: function value(t) {\n var e = t.value,\n n = void 0 === e ? void 0 : e,\n r = t.callback,\n i = void 0 === r ? void 0 : r;\n if (!this.head) return null;\n\n for (var o = this.head; o;) {\n if (i && i(o.value)) return o;\n if (void 0 !== n && this.compare(o.value, n)) return o;\n o = o.next;\n }\n\n return null;\n }\n }, {\n key: \"deleteTail\",\n value: function value() {\n var t = this.tail;\n if (this.head === this.tail) return this.head = null, this.tail = null, t;\n\n for (var e = this.head; e.next;) {\n e.next.next ? e = e.next : e.next = null;\n }\n\n return this.tail = e, t;\n }\n }, {\n key: \"deleteHead\",\n value: function value() {\n if (!this.head) return null;\n var t = this.head;\n return this.head.next ? this.head = this.head.next : (this.head = null, this.tail = null), t;\n }\n }, {\n key: \"fromArray\",\n value: function value(t) {\n var e = this;\n return t.forEach(function (t) {\n return e.append(t);\n }), this;\n }\n }, {\n key: \"toArray\",\n value: function value() {\n for (var t = [], e = this.head; e;) {\n t.push(e), e = e.next;\n }\n\n return t;\n }\n }, {\n key: \"reverse\",\n value: function value() {\n for (var t = this.head, e = null, n = null; t;) {\n n = t.next, t.next = e, e = t, t = n;\n }\n\n this.tail = this.head, this.head = e;\n }\n }, {\n key: \"toString\",\n value: function value() {\n var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : void 0;\n return \"\" + this.toArray().map(function (e) {\n return e.toString(t);\n });\n }\n }]), t;\n }(),\n h = function () {\n function t() {\n n(this, t), this.linkedList = new l();\n }\n\n return i(t, [{\n key: \"isEmpty\",\n value: function value() {\n return !this.linkedList.head;\n }\n }, {\n key: \"peek\",\n value: function value() {\n return this.linkedList.head ? this.linkedList.head.value : null;\n }\n }, {\n key: \"enqueue\",\n value: function value(t) {\n this.linkedList.append(t);\n }\n }, {\n key: \"dequeue\",\n value: function value() {\n var t = this.linkedList.deleteHead();\n return t ? t.value : null;\n }\n }, {\n key: \"toString\",\n value: function value(t) {\n return this.linkedList.toString(t);\n }\n }]), t;\n }(),\n f = function f(t) {\n var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : [],\n n = arguments.length > 2 ? arguments[2] : void 0,\n r = e.filter(function (e) {\n return e.source === t || e.target === t;\n });\n\n if (\"target\" === n) {\n var i = function i(e) {\n return e.source === t;\n };\n\n return r.filter(i).map(function (t) {\n return t.target;\n });\n }\n\n if (\"source\" === n) {\n var o = function o(e) {\n return e.target === t;\n };\n\n return r.filter(o).map(function (t) {\n return t.source;\n });\n }\n\n var u = function u(e) {\n return e.source === t ? e.target : e.source;\n };\n\n return r.map(u);\n },\n c = function c(t, e) {\n return e.filter(function (e) {\n return e.source === t || e.target === t;\n });\n },\n d = function d() {\n var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0;\n return \"\".concat(t, \"_\").concat(new Date().getTime());\n };\n\n var v = function v(t) {\n var e = {},\n n = t.nodes,\n r = t.edges,\n i = void 0 === r ? [] : r;\n return (void 0 === n ? [] : n).forEach(function (t) {\n e[t.id] = {\n degree: 0,\n inDegree: 0,\n outDegree: 0\n };\n }), i.forEach(function (t) {\n e[t.source].degree++, e[t.source].outDegree++, e[t.target].degree++, e[t.target].inDegree++;\n }), e;\n };\n\n function g(t, e, n, r) {\n r.enter({\n current: e,\n previous: n\n });\n var i = t.edges;\n f(e, void 0 === i ? [] : i, \"target\").forEach(function (i) {\n r.allowTraversal({\n previous: n,\n current: e,\n next: i\n }) && g(t, i, e, r);\n }), r.leave({\n current: e,\n previous: n\n });\n }\n\n function p(t, e, n) {\n g(t, e, \"\", function () {\n var t,\n e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},\n n = e,\n r = function r() {},\n i = (t = {}, function (e) {\n var n = e.next;\n return !t[n] && (t[n] = !0, !0);\n });\n\n return n.allowTraversal = e.allowTraversal || i, n.enter = e.enter || r, n.leave = e.leave || r, n;\n }(n));\n }\n\n var y = function y(t, e, n, r) {\n var i = t.nodes,\n o = void 0 === i ? [] : i,\n u = t.edges,\n a = void 0 === u ? [] : u,\n s = {},\n l = {},\n h = {};\n o.forEach(function (t, n) {\n var r = t.id;\n l[r] = 1 / 0, r === e && (l[r] = 0);\n });\n\n for (var f = o.length, d = function d(t) {\n var e = function (t, e, n) {\n for (var r, i = 1 / 0, o = 0; e.length > o; o++) {\n var u = e[o].id;\n n[u] || t[u] > i || (i = t[u], r = e[o]);\n }\n\n return r;\n }(l, o, s),\n i = e.id;\n\n if (s[i] = !0, l[i] === 1 / 0) return \"continue\";\n (n ? function (t, e) {\n return e.filter(function (e) {\n return e.source === t;\n });\n }(i, a) : c(i, a)).forEach(function (t) {\n var n = t.target,\n o = n === i ? t.source : n,\n u = r && t[r] ? t[r] : 1;\n l[o] > l[e.id] + u && (l[o] = l[e.id] + u, h[o] = e.id);\n });\n }, v = 0; f > v; v++) {\n d();\n }\n\n var g = {};\n\n for (var p in l) {\n g[p] = [p];\n\n for (var y = h[p]; void 0 !== y;) {\n g[p].unshift(y), y = h[y];\n }\n }\n\n return {\n length: l,\n path: g\n };\n },\n k = function k(t, e, n, r) {\n for (var i = e.length, o = 2 * r, u = 0, a = 0; i > a; a++) {\n for (var s = t[a].clusterId, l = 0; i > l; l++) {\n if (s === t[l].clusterId) u += (e[a][l] || 0) - (n[a] || 0) * (n[l] || 0) / o;\n }\n }\n\n return u *= 1 / o;\n },\n m = function () {\n function t(e) {\n n(this, t), this.count = e.length, this.parent = {};\n var r,\n i = u(e);\n\n try {\n for (i.s(); !(r = i.n()).done;) {\n var o = r.value;\n this.parent[o] = o;\n }\n } catch (t) {\n i.e(t);\n } finally {\n i.f();\n }\n }\n\n return i(t, [{\n key: \"find\",\n value: function value(t) {\n for (; this.parent[t] !== t;) {\n t = this.parent[t];\n }\n\n return t;\n }\n }, {\n key: \"union\",\n value: function value(t, e) {\n var n = this.find(t),\n r = this.find(e);\n n !== r && (r > n ? (this.parent[e] !== e && this.union(this.parent[e], t), this.parent[e] = this.parent[t]) : (this.parent[t] !== t && this.union(this.parent[t], e), this.parent[t] = this.parent[e]));\n }\n }, {\n key: \"connected\",\n value: function value(t, e) {\n return this.find(t) === this.find(e);\n }\n }]), t;\n }(),\n E = function E(t, e) {\n return t - e;\n },\n b = function () {\n function t() {\n var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : E;\n n(this, t), this.compareFn = e, this.list = [];\n }\n\n return i(t, [{\n key: \"getLeft\",\n value: function value(t) {\n return 2 * t + 1;\n }\n }, {\n key: \"getRight\",\n value: function value(t) {\n return 2 * t + 2;\n }\n }, {\n key: \"getParent\",\n value: function value(t) {\n return 0 === t ? null : Math.floor((t - 1) / 2);\n }\n }, {\n key: \"isEmpty\",\n value: function value() {\n return 0 >= this.list.length;\n }\n }, {\n key: \"top\",\n value: function value() {\n return this.isEmpty() ? void 0 : this.list[0];\n }\n }, {\n key: \"delMin\",\n value: function value() {\n var t = this.top(),\n e = this.list.pop();\n return this.list.length > 0 && (this.list[0] = e, this.moveDown(0)), t;\n }\n }, {\n key: \"insert\",\n value: function value(t) {\n return null !== t && (this.list.push(t), this.moveUp(this.list.length - 1), !0);\n }\n }, {\n key: \"moveUp\",\n value: function value(t) {\n for (var e = this.getParent(t); t && t > 0 && this.compareFn(this.list[e], this.list[t]) > 0;) {\n var n = this.list[e];\n this.list[e] = this.list[t], this.list[t] = n, e = this.getParent(t = e);\n }\n }\n }, {\n key: \"moveDown\",\n value: function value(t) {\n var e = t,\n n = this.getLeft(t),\n r = this.getRight(t),\n i = this.list.length;\n\n if (null !== n && i > n && this.compareFn(this.list[e], this.list[n]) > 0 ? e = n : null !== r && i > r && this.compareFn(this.list[e], this.list[r]) > 0 && (e = r), t !== e) {\n var o = [this.list[e], this.list[t]];\n this.list[t] = o[0], this.list[e] = o[1], this.moveDown(e);\n }\n }\n }]), t;\n }(),\n x = function x(t, e) {\n var n = [],\n r = t.nodes,\n i = void 0 === r ? [] : r,\n o = t.edges,\n u = void 0 === o ? [] : o;\n if (0 === i.length) return n;\n var a = i[0],\n s = new Set();\n s.add(a);\n var l = new b(function (t, n) {\n return e ? t.weight - n.weight : 0;\n });\n\n for (c(a.id, u).forEach(function (t) {\n l.insert(t);\n }); !l.isEmpty();) {\n var h = l.delMin(),\n f = h.source,\n d = h.target;\n s.has(f) && s.has(d) || (n.push(h), s.has(f) || (s.add(f), c(f, u).forEach(function (t) {\n l.insert(t);\n })), s.has(d) || (s.add(d), c(d, u).forEach(function (t) {\n l.insert(t);\n })));\n }\n\n return n;\n },\n w = function w(t, e) {\n var n = [],\n r = t.nodes,\n i = void 0 === r ? [] : r,\n o = t.edges;\n if (0 === i.length) return n;\n var u = (void 0 === o ? [] : o).map(function (t) {\n return t;\n });\n e && u.sort(function (t, e) {\n return t.weight - e.weight;\n });\n\n for (var a = new m(i.map(function (t) {\n return t.id;\n })); u.length > 0;) {\n var s = u.shift(),\n l = s.source,\n h = s.target;\n a.connected(l, h) || (n.push(s), a.union(l, h));\n }\n\n return n;\n };\n\n t.Stack = function () {\n function t() {\n var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 10;\n n(this, t), this.linkedList = new l(), this.maxStep = e;\n }\n\n return i(t, [{\n key: \"isEmpty\",\n value: function value() {\n return !this.linkedList.head;\n }\n }, {\n key: \"isMaxStack\",\n value: function value() {\n return this.toArray().length >= this.maxStep;\n }\n }, {\n key: \"peek\",\n value: function value() {\n return this.isEmpty() ? null : this.linkedList.head.value;\n }\n }, {\n key: \"push\",\n value: function value(t) {\n this.linkedList.prepend(t), this.length > this.maxStep && this.linkedList.deleteTail();\n }\n }, {\n key: \"pop\",\n value: function value() {\n var t = this.linkedList.deleteHead();\n return t ? t.value : null;\n }\n }, {\n key: \"toArray\",\n value: function value() {\n return this.linkedList.toArray().map(function (t) {\n return t.value;\n });\n }\n }, {\n key: \"clear\",\n value: function value() {\n for (; !this.isEmpty();) {\n this.pop();\n }\n }\n }, {\n key: \"length\",\n get: function get() {\n return this.linkedList.toArray().length;\n }\n }]), t;\n }(), t.breadthFirstSearch = function (t, e, n) {\n var r = function () {\n var t,\n e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},\n n = e,\n r = function r() {},\n i = (t = {}, function (e) {\n var n = e.next;\n return !t[n] && (t[n] = !0, !0);\n });\n\n return n.allowTraversal = e.allowTraversal || i, n.enter = e.enter || r, n.leave = e.leave || r, n;\n }(n),\n i = new h(),\n o = t.edges,\n u = void 0 === o ? [] : o;\n\n i.enqueue(e);\n\n for (var a = \"\", s = function s() {\n var t = i.dequeue();\n r.enter({\n current: t,\n previous: a\n }), f(t, u, \"target\").forEach(function (e) {\n r.allowTraversal({\n previous: a,\n current: t,\n next: e\n }) && i.enqueue(e);\n }), r.leave({\n current: t,\n previous: a\n }), a = t;\n }; !i.isEmpty();) {\n s();\n }\n }, t.connectedComponent = function (t, e) {\n return e ? function (t) {\n var e,\n n = t.nodes,\n r = void 0 === n ? [] : n,\n i = t.edges,\n o = void 0 === i ? [] : i,\n a = [],\n s = {},\n l = {},\n h = {},\n c = [],\n d = 0,\n v = function t(e) {\n l[e.id] = d, h[e.id] = d, d += 1, a.push(e), s[e.id] = !0;\n\n for (var n = f(e.id, o, \"target\").filter(function (t) {\n return r.map(function (t) {\n return t.id;\n }).indexOf(t) > -1;\n }), i = function i(_i) {\n var o = n[_i];\n if (l[o] || 0 === l[o]) s[o] && (h[e.id] = Math.min(h[e.id], l[o]));else {\n var u = r.filter(function (t) {\n return t.id === o;\n });\n u.length > 0 && t(u[0]), h[e.id] = Math.min(h[e.id], h[o]);\n }\n }, u = 0; n.length > u; u++) {\n i(u);\n }\n\n if (h[e.id] === l[e.id]) {\n for (var v = []; a.length > 0;) {\n var g = a.pop();\n if (s[g.id] = !1, v.push(g), g === e) break;\n }\n\n v.length > 0 && c.push(v);\n }\n },\n g = u(r);\n\n try {\n for (g.s(); !(e = g.n()).done;) {\n var p = e.value;\n l[p.id] || 0 === l[p.id] || v(p);\n }\n } catch (t) {\n g.e(t);\n } finally {\n g.f();\n }\n\n return c;\n }(t) : function (t) {\n for (var e = t.nodes, n = void 0 === e ? [] : e, r = t.edges, i = void 0 === r ? [] : r, o = [], u = {}, a = [], s = function t(e) {\n a.push(e), u[e.id] = !0;\n\n for (var r = f(e.id, i), o = function o(e) {\n var i = r[e];\n\n if (!u[i]) {\n var o = n.filter(function (t) {\n return t.id === i;\n });\n o.length > 0 && t(o[0]);\n }\n }, s = 0; r.length > s; ++s) {\n o(s);\n }\n }, l = 0; n.length > l; l++) {\n var h = n[l];\n\n if (!u[h.id]) {\n s(h);\n\n for (var c = []; a.length > 0;) {\n c.push(a.pop());\n }\n\n o.push(c);\n }\n }\n\n return o;\n }(t);\n }, t.depthFirstSearch = p, t.detectCycle = function (t) {\n var e = null,\n n = t.nodes,\n r = {},\n i = {},\n o = {},\n u = {};\n (void 0 === n ? [] : n).forEach(function (t) {\n i[t.id] = t;\n });\n\n for (var a = {\n enter: function enter(t) {\n var n = t.current,\n u = t.previous;\n\n if (o[n]) {\n e = {};\n\n for (var a = n, s = u; s !== n;) {\n e[a] = s, a = s, s = r[s];\n }\n\n e[a] = s;\n } else o[n] = n, delete i[n], r[n] = u;\n },\n leave: function leave(t) {\n var e = t.current;\n u[e] = e, delete o[e];\n },\n allowTraversal: function allowTraversal(t) {\n return !e && !u[t.next];\n }\n }; Object.keys(i).length;) {\n p(t, Object.keys(i)[0], a);\n }\n\n return e;\n }, t.dijkstra = y, t.findAllPath = function (t, e, n, r) {\n if (e === n) return [[e]];\n var i,\n o,\n u,\n a = t.edges,\n s = void 0 === a ? [] : a,\n l = [e],\n h = (u = !0, (o = e) in (i = {}) ? Object.defineProperty(i, o, {\n value: u,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : i[o] = u, i),\n c = [],\n d = [],\n v = r ? f(e, s, \"target\") : f(e, s);\n\n for (c.push(v); l.length > 0 && c.length > 0;) {\n var g = c[c.length - 1];\n\n if (g.length) {\n var p = g.shift();\n\n if (p && (l.push(p), h[p] = !0, v = r ? f(p, s, \"target\") : f(p, s), c.push(v.filter(function (t) {\n return !h[t];\n }))), l[l.length - 1] === n) {\n var y = l.map(function (t) {\n return t;\n });\n d.push(y);\n var k = l.pop();\n h[k] = !1, c.pop();\n }\n } else {\n var m = l.pop();\n h[m] = !1, c.pop();\n }\n }\n\n return d;\n }, t.findShortestPath = function (t, e, n, r, i) {\n var o = y(t, e, r, i);\n return {\n length: o.length[n],\n path: o.path[n]\n };\n }, t.floydWarshall = function (t, n) {\n for (var r = e(t, n), i = [], o = r.length, u = 0; o > u; u += 1) {\n i[u] = [];\n\n for (var a = 0; o > a; a += 1) {\n i[u][a] = u === a ? 0 : 0 !== r[u][a] && r[u][a] ? r[u][a] : 1 / 0;\n }\n }\n\n for (var s = 0; o > s; s += 1) {\n for (var l = 0; o > l; l += 1) {\n for (var h = 0; o > h; h += 1) {\n i[l][h] > i[l][s] + i[s][h] && (i[l][h] = i[l][s] + i[s][h]);\n }\n }\n }\n\n return i;\n }, t.getAdjMatrix = e, t.getDegree = v, t.getInDegree = function (t, e) {\n return v(t)[e] ? v(t)[e].inDegree : 0;\n }, t.getNeighbors = f, t.getOutDegree = function (t, e) {\n return v(t)[e] ? v(t)[e].outDegree : 0;\n }, t.labelPropagation = function (t) {\n var n = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],\n r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : \"weight\",\n i = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 1e3,\n o = t.nodes,\n u = void 0 === o ? [] : o,\n a = t.edges,\n s = void 0 === a ? [] : a,\n l = {},\n h = {};\n u.forEach(function (t, e) {\n var n = d();\n t.clusterId = n, l[n] = {\n id: n,\n nodes: [t]\n }, h[t.id] = {\n node: t,\n idx: e\n };\n });\n var f = e(t, n),\n c = {};\n f.forEach(function (t, e) {\n var n = u[e].id;\n c[n] = {}, t.forEach(function (t, e) {\n t && (c[n][u[e].id] = t);\n });\n });\n\n for (var v = 0; i > v;) {\n var g = !1;\n if (u.forEach(function (t) {\n var e = {};\n Object.keys(c[t.id]).forEach(function (n) {\n var r = c[t.id][n],\n i = h[n].node.clusterId;\n e[i] || (e[i] = 0), e[i] += r;\n });\n var n = -1 / 0,\n r = [];\n\n if (Object.keys(e).forEach(function (t) {\n e[t] > n ? (n = e[t], r = [t]) : n === e[t] && r.push(t);\n }), 1 !== r.length || r[0] !== t.clusterId) {\n var i = r.indexOf(t.clusterId);\n\n if (0 > i || r.splice(i, 1), r && r.length) {\n g = !0;\n var o = l[t.clusterId],\n u = o.nodes.indexOf(t);\n o.nodes.splice(u, 1);\n var a = Math.floor(Math.random() * r.length),\n s = l[r[a]];\n s.nodes.push(t), t.clusterId = s.id;\n }\n }\n }), !g) break;\n v++;\n }\n\n Object.keys(l).forEach(function (t) {\n var e = l[t];\n e.nodes && e.nodes.length || delete l[t];\n });\n var p = [],\n y = {};\n s.forEach(function (t) {\n var e = t[r] || 1,\n n = h[t.source].node.clusterId,\n i = h[t.target].node.clusterId,\n o = \"\".concat(n, \"---\").concat(i);\n if (y[o]) y[o].weight += e, y[o].count++;else {\n var u = {\n source: n,\n target: i,\n weight: e,\n count: 1\n };\n y[o] = u, p.push(u);\n }\n });\n var k = [];\n return Object.keys(l).forEach(function (t) {\n k.push(l[t]);\n }), {\n clusters: k,\n clusterEdges: p\n };\n }, t.louvain = function (t) {\n var n = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],\n r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : \"weight\",\n i = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 1e-4,\n o = t.nodes,\n u = void 0 === o ? [] : o,\n a = t.edges,\n s = void 0 === a ? [] : a,\n l = {},\n h = {};\n u.forEach(function (t, e) {\n var n = d();\n t.clusterId = n, l[n] = {\n id: n,\n nodes: [t]\n }, h[t.id] = {\n node: t,\n idx: e\n };\n });\n var f = e(t, n),\n c = [],\n v = {},\n g = 0;\n f.forEach(function (t, e) {\n var n = 0,\n r = u[e].id;\n v[r] = {}, t.forEach(function (t, e) {\n t && (n += t, v[r][u[e].id] = t, g += t);\n }), c.push(n);\n }), g /= 2;\n\n for (var p = 1 / 0, y = 1 / 0, m = 0; p = k(u, f, c, g), Math.abs(p - y) >= i && 100 >= m;) {\n y = p, m++, Object.keys(l).forEach(function (t) {\n var e = 0;\n s.forEach(function (n) {\n var i = h[n.source].node.clusterId,\n o = h[n.target].node.clusterId;\n (i === t && o !== t || o === t && i !== t) && (e += n[r] || 1);\n }), l[t].sumTot = e;\n }), u.forEach(function (t, e) {\n var n,\n i = l[t.clusterId],\n o = 0,\n u = c[e] / (2 * g),\n a = 0;\n i.nodes.forEach(function (t) {\n a += f[e][h[t.id].idx] || 0;\n });\n var d = a - i.sumTot * u;\n\n if (Object.keys(v[t.id]).forEach(function (r) {\n var i = h[r].node.clusterId;\n\n if (i !== t.clusterId) {\n var a = l[i],\n s = a.nodes;\n\n if (s && s.length) {\n var c = 0;\n s.forEach(function (t) {\n c += f[e][h[t.id].idx] || 0;\n });\n var v = c - a.sumTot * u - d;\n v > o && (o = v, n = a);\n }\n }\n }), o > 0) {\n n.nodes.push(t);\n var p = t.clusterId;\n t.clusterId = n.id;\n var y = i.nodes.indexOf(t);\n i.nodes.splice(y, 1);\n var k = 0,\n m = 0;\n s.forEach(function (t) {\n var e = h[t.source].node.clusterId,\n i = h[t.target].node.clusterId;\n (e === n.id && i !== n.id || i === n.id && e !== n.id) && (k += t[r] || 1), (e === p && i !== p || i === p && e !== p) && (m += t[r] || 1);\n }), n.sumTot = k, i.sumTot = m;\n }\n });\n }\n\n Object.keys(l).forEach(function (t) {\n var e = l[t];\n e.nodes && e.nodes.length || delete l[t];\n });\n var E = [],\n b = {};\n s.forEach(function (t) {\n var e = t[r] || 1,\n n = h[t.source].node.clusterId,\n i = h[t.target].node.clusterId,\n o = \"\".concat(n, \"---\").concat(i);\n if (b[o]) b[o].weight += e, b[o].count++;else {\n var u = {\n source: n,\n target: i,\n weight: e,\n count: 1\n };\n b[o] = u, E.push(u);\n }\n });\n var x = [];\n return Object.keys(l).forEach(function (t) {\n x.push(l[t]);\n }), {\n clusters: x,\n clusterEdges: E\n };\n }, t.minimumSpanningTree = function (t, e, n) {\n return n ? {\n prim: x,\n kruskal: w\n }[n](t, e) : w(t, e);\n }, t.pageRank = function (t, e, n) {\n \"number\" != typeof e && (e = 1e-6), \"number\" != typeof n && (n = .85);\n\n for (var r, i = 1, o = 0, u = 1e3, a = t.nodes, s = void 0 === a ? [] : a, l = t.edges, h = void 0 === l ? [] : l, c = s.length, d = {}, g = {}, p = 0; c > p; ++p) {\n var y = s[p].id;\n d[y] = 1 / c, g[y] = 1 / c;\n }\n\n for (var k = v(t); u > 0 && i > e;) {\n o = 0;\n\n for (var m = 0; c > m; ++m) {\n var E = s[m],\n b = E.id;\n if (r = 0, 0 === k[E.id].inDegree) d[b] = 0;else {\n for (var x = f(b, h, \"source\"), w = 0; x.length > w; ++w) {\n var I = x[w],\n S = k[I].outDegree;\n S > 0 && (r += g[I] / S);\n }\n\n d[b] = n * r, o += d[b];\n }\n }\n\n o = (1 - o) / c, i = 0;\n\n for (var O = 0; c > O; ++O) {\n var T = s[O].id;\n i += Math.abs((r = d[T] + o) - g[T]), g[T] = r;\n }\n\n u -= 1;\n }\n\n return g;\n }, Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n});" }, { "id": 17, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-string.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-string.js", "index": 150, "index2": 141, "size": 200, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "profile": { "factory": 1578, "building": 488, "dependencies": 365 } } ], "profile": { "factory": 855, "building": 182, "dependencies": 41 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/is-string", "loc": "11:0-63" }, { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony export imported specifier", "userRequest": "@antv/util/lib/is-string", "loc": "11:0-63" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/is-string", "loc": "3:0-48" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util/lib/is-string", "loc": "14:6-14" }, { "moduleId": 51, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "type": "cjs require", "userRequest": "./is-string", "loc": "11:18-40" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar is_type_1 = require(\"./is-type\");\n\nexports.default = function (str) {\n return is_type_1.default(str, 'String');\n};" }, { "id": 18, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "index": 154, "index2": 145, "size": 686, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "profile": { "factory": 1578, "building": 488, "dependencies": 365 } } ], "profile": { "factory": 855, "building": 182, "dependencies": 41 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/each", "loc": "15:0-54" }, { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony export imported specifier", "userRequest": "@antv/util/lib/each", "loc": "15:0-54" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/each", "loc": "1:0-39" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util/lib/each", "loc": "16:4-8" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util/lib/each", "loc": "29:6-10" } ], "usedExports": ["default"], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar is_array_1 = require(\"./is-array\");\n\nvar is_object_1 = require(\"./is-object\");\n\nfunction each(elements, func) {\n if (!elements) {\n return;\n }\n\n var rst;\n\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\n if (rst === false) {\n break;\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\n if (rst === false) {\n break;\n }\n }\n }\n }\n}\n\nexports.default = each;" }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "index": 138, "index2": 196, "size": 566, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony side effect evaluation", "userRequest": "../interface/behavior", "loc": "2:0-53" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "../interface/behavior", "loc": "34:20-32" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./interface/behavior", "loc": "18:0-37" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony export imported specifier", "userRequest": "./interface/behavior", "loc": "18:0-37" } ], "usedExports": ["G6GraphEvent"], "providedExports": ["G6GraphEvent"], "optimizationBailout": [], "depth": 1, "source": "import { __extends } from \"tslib\";\nimport { Event as GraphEvent } from '@antv/g-base';\nvar G6GraphEvent = /** @class */ (function (_super) {\n __extends(G6GraphEvent, _super);\n function G6GraphEvent(type, event) {\n var _this = _super.call(this, type, event) || this;\n _this.item = event.item;\n _this.canvasX = event.canvasX;\n _this.canvasY = event.canvasY;\n _this.wheelDelta = event.wheelDelta;\n _this.detail = event.detail;\n return _this;\n }\n return G6GraphEvent;\n}(GraphEvent));\nexport { G6GraphEvent };\n" }, { "id": 20, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/event/graph-event.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/event/graph-event.js", "index": 144, "index2": 137, "size": 1958, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerId": 49, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } } ], "profile": { "factory": 1680, "building": 569, "dependencies": 582 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "./graph-event", "loc": "5:0-39" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "./graph-event", "loc": "172:23-33" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./event/graph-event", "loc": "12:0-55" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./event/graph-event", "loc": "12:0-55" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var GraphEvent =\n/** @class */\nfunction () {\n function GraphEvent(type, event) {\n /**\n * 是否允许冒泡\n * @type {boolean}\n */\n this.bubbles = true;\n /**\n * 触发对象\n * @type {object}\n */\n\n this.target = null;\n /**\n * 监听对象\n * @type {object}\n */\n\n this.currentTarget = null;\n /**\n * 委托对象\n * @type {object}\n */\n\n this.delegateTarget = null;\n /**\n * 委托事件监听对象的代理对象,即 ev.delegateObject = ev.currentTarget.get('delegateObject')\n * @type {object}\n */\n\n this.delegateObject = null;\n /**\n * 是否阻止了原生事件\n * @type {boolean}\n */\n\n this.defaultPrevented = false;\n /**\n * 是否阻止传播(向上冒泡)\n * @type {boolean}\n */\n\n this.propagationStopped = false;\n /**\n * 触发事件的图形\n * @type {IShape}\n */\n\n this.shape = null;\n /**\n * 开始触发事件的图形\n * @type {IShape}\n */\n\n this.fromShape = null;\n /**\n * 事件结束时的触发图形\n * @type {IShape}\n */\n\n this.toShape = null; // 触发事件的路径\n\n this.propagationPath = [];\n this.type = type;\n this.name = type;\n this.originalEvent = event;\n this.timeStamp = event.timeStamp;\n }\n /**\n * 阻止浏览器默认的行为\n */\n\n\n GraphEvent.prototype.preventDefault = function () {\n this.defaultPrevented = true;\n\n if (this.originalEvent.preventDefault) {\n this.originalEvent.preventDefault();\n }\n };\n /**\n * 阻止冒泡\n */\n\n\n GraphEvent.prototype.stopPropagation = function () {\n this.propagationStopped = true;\n };\n\n GraphEvent.prototype.toString = function () {\n var type = this.type;\n return \"[Event (type=\" + type + \")]\";\n };\n\n GraphEvent.prototype.save = function () {};\n\n GraphEvent.prototype.restore = function () {};\n\n return GraphEvent;\n}();\n\nexport default GraphEvent;" }, { "id": 21, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "index": 145, "index2": 150, "size": 1025, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerId": 49, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } } ], "profile": { "factory": 1680, "building": 569, "dependencies": 582 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony side effect evaluation", "userRequest": "./base", "loc": "6:0-26" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "./base", "loc": "871:2-6" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./abstract/base", "loc": "13:0-50" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./abstract/base", "loc": "13:0-50" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import { __extends } from \"tslib\";\nimport EE from '@antv/event-emitter';\nimport { mix } from '../util/util';\n\nvar Base =\n/** @class */\nfunction (_super) {\n __extends(Base, _super);\n\n function Base(cfg) {\n var _this = _super.call(this) || this;\n /**\n * 是否被销毁\n * @type {boolean}\n */\n\n\n _this.destroyed = false;\n\n var defaultCfg = _this.getDefaultCfg();\n\n _this.cfg = mix(defaultCfg, cfg);\n return _this;\n }\n /**\n * @protected\n * 默认的配置项\n * @returns {object} 默认的配置项\n */\n\n\n Base.prototype.getDefaultCfg = function () {\n return {};\n }; // 实现接口的方法\n\n\n Base.prototype.get = function (name) {\n return this.cfg[name];\n }; // 实现接口的方法\n\n\n Base.prototype.set = function (name, value) {\n this.cfg[name] = value;\n }; // 实现接口的方法\n\n\n Base.prototype.destroy = function () {\n this.cfg = {\n destroyed: true\n };\n this.off();\n this.destroyed = true;\n };\n\n return Base;\n}(EE);\n\nexport default Base;" }, { "id": 22, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_event-emitter@0.1.2@@antv/event-emitter/esm/index.js", "name": "./node_modules/_@antv_event-emitter@0.1.2@@antv/event-emitter/esm/index.js", "index": 111, "index2": 109, "size": 2600, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "issuerId": null, "issuerName": "./src/graph/graph.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 21, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "type": "harmony side effect evaluation", "userRequest": "@antv/event-emitter", "loc": "2:0-37" }, { "moduleId": 21, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "type": "harmony import specifier", "userRequest": "@antv/event-emitter", "loc": "56:2-4" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/event-emitter", "loc": "2:0-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/event-emitter", "loc": "2483:2-14" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 2, "source": "var WILDCARD = '*';\n/* event-emitter */\n\nvar EventEmitter =\n/** @class */\nfunction () {\n function EventEmitter() {\n this._events = {};\n }\n /**\n * 监听一个事件\n * @param evt\n * @param callback\n * @param once\n */\n\n\n EventEmitter.prototype.on = function (evt, callback, once) {\n if (!this._events[evt]) {\n this._events[evt] = [];\n }\n\n this._events[evt].push({\n callback: callback,\n once: !!once\n });\n\n return this;\n };\n /**\n * 监听一个事件一次\n * @param evt\n * @param callback\n */\n\n\n EventEmitter.prototype.once = function (evt, callback) {\n this.on(evt, callback, true);\n return this;\n };\n /**\n * 触发一个事件\n * @param evt\n * @param args\n */\n\n\n EventEmitter.prototype.emit = function (evt) {\n var _this = this;\n\n var args = [];\n\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n\n var events = this._events[evt] || [];\n var wildcardEvents = this._events[WILDCARD] || []; // 实际的处理 emit 方法\n\n var doEmit = function doEmit(es) {\n var length = es.length;\n\n for (var i = 0; i < length; i++) {\n if (!es[i]) {\n continue;\n }\n\n var _a = es[i],\n callback = _a.callback,\n once = _a.once;\n\n if (once) {\n es.splice(i, 1);\n\n if (es.length === 0) {\n delete _this._events[evt];\n }\n\n length--;\n i--;\n }\n\n callback.apply(_this, args);\n }\n };\n\n doEmit(events);\n doEmit(wildcardEvents);\n };\n /**\n * 取消监听一个事件,或者一个channel\n * @param evt\n * @param callback\n */\n\n\n EventEmitter.prototype.off = function (evt, callback) {\n if (!evt) {\n // evt 为空全部清除\n this._events = {};\n } else {\n if (!callback) {\n // evt 存在,callback 为空,清除事件所有方法\n delete this._events[evt];\n } else {\n // evt 存在,callback 存在,清除匹配的\n var events = this._events[evt] || [];\n var length_1 = events.length;\n\n for (var i = 0; i < length_1; i++) {\n if (events[i].callback === callback) {\n events.splice(i, 1);\n length_1--;\n i--;\n }\n }\n\n if (events.length === 0) {\n delete this._events[evt];\n }\n }\n }\n\n return this;\n };\n /* 当前所有的事件 */\n\n\n EventEmitter.prototype.getEvents = function () {\n return this._events;\n };\n\n return EventEmitter;\n}();\n\nexport default EventEmitter;" }, { "id": 23, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "index": 159, "index2": 159, "size": 13102, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "issuerId": 41, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 41, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } } ], "profile": { "factory": 173, "building": 127, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 41, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "type": "harmony side effect evaluation", "userRequest": "./container", "loc": "2:0-36" }, { "moduleId": 41, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "type": "harmony import specifier", "userRequest": "./container", "loc": "36:2-11" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "./container", "loc": "3:0-36" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "./container", "loc": "270:2-11" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import { __extends } from \"tslib\";\nimport Element from './element';\nimport { isFunction, isObject, each, removeFromArray, upperFirst, isAllowCapture } from '../util/util';\nvar SHAPE_MAP = {};\nvar INDEX = '_INDEX';\n/**\n * 设置 canvas\n * @param {IElement} element 元素\n * @param {ICanvas} canvas 画布\n */\n\nfunction setCanvas(element, canvas) {\n element.set('canvas', canvas);\n\n if (element.isGroup()) {\n var children = element.get('children');\n\n if (children.length) {\n children.forEach(function (child) {\n setCanvas(child, canvas);\n });\n }\n }\n}\n/**\n * 设置 timeline\n * @param {IElement} element 元素\n * @param {Timeline} timeline 时间轴\n */\n\n\nfunction setTimeline(element, timeline) {\n element.set('timeline', timeline);\n\n if (element.isGroup()) {\n var children = element.get('children');\n\n if (children.length) {\n children.forEach(function (child) {\n setTimeline(child, timeline);\n });\n }\n }\n}\n\nfunction contains(container, element) {\n var children = container.getChildren();\n return children.indexOf(element) >= 0;\n}\n\nfunction removeChild(container, element, destroy) {\n if (destroy === void 0) {\n destroy = true;\n } // 不再调用 element.remove() 方法,会出现循环调用\n\n\n if (destroy) {\n element.destroy();\n } else {\n element.set('parent', null);\n element.set('canvas', null);\n }\n\n removeFromArray(container.getChildren(), element);\n}\n\nfunction getComparer(compare) {\n return function (left, right) {\n var result = compare(left, right);\n return result === 0 ? left[INDEX] - right[INDEX] : result;\n };\n}\n\nvar Container =\n/** @class */\nfunction (_super) {\n __extends(Container, _super);\n\n function Container() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n Container.prototype.isCanvas = function () {\n return false;\n }; // 根据子节点确定 BBox\n\n\n Container.prototype.getBBox = function () {\n // 所有的值可能在画布的可视区外\n var minX = Infinity;\n var maxX = -Infinity;\n var minY = Infinity;\n var maxY = -Infinity;\n var xArr = [];\n var yArr = []; // 将可见元素、图形以及不为空的图形分组筛选出来,用于包围盒合并\n\n var children = this.getChildren().filter(function (child) {\n return child.get('visible') && (!child.isGroup() || child.isGroup() && child.getChildren().length > 0);\n });\n\n if (children.length > 0) {\n each(children, function (child) {\n var box = child.getBBox();\n xArr.push(box.minX, box.maxX);\n yArr.push(box.minY, box.maxY);\n });\n minX = Math.min.apply(null, xArr);\n maxX = Math.max.apply(null, xArr);\n minY = Math.min.apply(null, yArr);\n maxY = Math.max.apply(null, yArr);\n } else {\n minX = 0;\n maxX = 0;\n minY = 0;\n maxY = 0;\n }\n\n var box = {\n x: minX,\n y: minY,\n minX: minX,\n minY: minY,\n maxX: maxX,\n maxY: maxY,\n width: maxX - minX,\n height: maxY - minY\n };\n return box;\n }; // 获取画布的包围盒\n\n\n Container.prototype.getCanvasBBox = function () {\n var minX = Infinity;\n var maxX = -Infinity;\n var minY = Infinity;\n var maxY = -Infinity;\n var xArr = [];\n var yArr = []; // 将可见元素、图形以及不为空的图形分组筛选出来,用于包围盒合并\n\n var children = this.getChildren().filter(function (child) {\n return child.get('visible') && (!child.isGroup() || child.isGroup() && child.getChildren().length > 0);\n });\n\n if (children.length > 0) {\n each(children, function (child) {\n var box = child.getCanvasBBox();\n xArr.push(box.minX, box.maxX);\n yArr.push(box.minY, box.maxY);\n });\n minX = Math.min.apply(null, xArr);\n maxX = Math.max.apply(null, xArr);\n minY = Math.min.apply(null, yArr);\n maxY = Math.max.apply(null, yArr);\n } else {\n minX = 0;\n maxX = 0;\n minY = 0;\n maxY = 0;\n }\n\n var box = {\n x: minX,\n y: minY,\n minX: minX,\n minY: minY,\n maxX: maxX,\n maxY: maxY,\n width: maxX - minX,\n height: maxY - minY\n };\n return box;\n };\n\n Container.prototype.getDefaultCfg = function () {\n var cfg = _super.prototype.getDefaultCfg.call(this);\n\n cfg['children'] = [];\n return cfg;\n };\n\n Container.prototype.onAttrChange = function (name, value, originValue) {\n _super.prototype.onAttrChange.call(this, name, value, originValue);\n\n if (name === 'matrix') {\n var totalMatrix = this.getTotalMatrix();\n\n this._applyChildrenMarix(totalMatrix);\n }\n }; // 不但应用到自己身上还要应用于子元素\n\n\n Container.prototype.applyMatrix = function (matrix) {\n var preTotalMatrix = this.getTotalMatrix();\n\n _super.prototype.applyMatrix.call(this, matrix);\n\n var totalMatrix = this.getTotalMatrix(); // totalMatrix 没有发生变化时,这里仅考虑两者都为 null 时\n // 不继续向下传递矩阵\n\n if (totalMatrix === preTotalMatrix) {\n return;\n }\n\n this._applyChildrenMarix(totalMatrix);\n }; // 在子元素上设置矩阵\n\n\n Container.prototype._applyChildrenMarix = function (totalMatrix) {\n var children = this.getChildren();\n each(children, function (child) {\n child.applyMatrix(totalMatrix);\n });\n }; // 兼容老版本的接口\n\n\n Container.prototype.addShape = function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n var type = args[0];\n var cfg = args[1];\n\n if (isObject(type)) {\n cfg = type;\n } else {\n cfg['type'] = type;\n }\n\n var shapeType = SHAPE_MAP[cfg.type];\n\n if (!shapeType) {\n shapeType = upperFirst(cfg.type);\n SHAPE_MAP[cfg.type] = shapeType;\n }\n\n var ShapeBase = this.getShapeBase();\n var shape = new ShapeBase[shapeType](cfg);\n this.add(shape);\n return shape;\n };\n\n Container.prototype.addGroup = function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n var groupClass = args[0],\n cfg = args[1];\n var group;\n\n if (isFunction(groupClass)) {\n if (cfg) {\n group = new groupClass(cfg);\n } else {\n group = new groupClass({\n // canvas,\n parent: this\n });\n }\n } else {\n var tmpCfg = groupClass || {};\n var TmpGroupClass = this.getGroupBase();\n group = new TmpGroupClass(tmpCfg);\n }\n\n this.add(group);\n return group;\n };\n\n Container.prototype.getCanvas = function () {\n var canvas;\n\n if (this.isCanvas()) {\n canvas = this;\n } else {\n canvas = this.get('canvas');\n }\n\n return canvas;\n };\n\n Container.prototype.getShape = function (x, y, ev) {\n // 如果不支持拾取,则直接返回\n if (!isAllowCapture(this)) {\n return null;\n }\n\n var children = this.getChildren();\n var shape; // 如果容器是 group\n\n if (!this.isCanvas()) {\n var v = [x, y, 1]; // 将 x, y 转换成对应于 group 的局部坐标\n\n v = this.invertFromMatrix(v);\n\n if (!this.isClipped(v[0], v[1])) {\n shape = this._findShape(children, v[0], v[1], ev);\n }\n } else {\n shape = this._findShape(children, x, y, ev);\n }\n\n return shape;\n };\n\n Container.prototype._findShape = function (children, x, y, ev) {\n var shape = null;\n\n for (var i = children.length - 1; i >= 0; i--) {\n var child = children[i];\n\n if (isAllowCapture(child)) {\n if (child.isGroup()) {\n shape = child.getShape(x, y, ev);\n } else if (child.isHit(x, y)) {\n shape = child;\n }\n }\n\n if (shape) {\n break;\n }\n }\n\n return shape;\n };\n\n Container.prototype.add = function (element) {\n var canvas = this.getCanvas();\n var children = this.getChildren();\n var timeline = this.get('timeline');\n var preParent = element.getParent();\n\n if (preParent) {\n removeChild(preParent, element, false);\n }\n\n element.set('parent', this);\n\n if (canvas) {\n setCanvas(element, canvas);\n }\n\n if (timeline) {\n setTimeline(element, timeline);\n }\n\n children.push(element);\n element.onCanvasChange('add');\n\n this._applyElementMatrix(element);\n }; // 将当前容器的矩阵应用到子元素\n\n\n Container.prototype._applyElementMatrix = function (element) {\n var totalMatrix = this.getTotalMatrix(); // 添加图形或者分组时,需要把当前图元的矩阵设置进去\n\n if (totalMatrix) {\n element.applyMatrix(totalMatrix);\n }\n };\n\n Container.prototype.getChildren = function () {\n return this.get('children');\n };\n\n Container.prototype.sort = function () {\n var children = this.getChildren(); // 稳定排序\n\n each(children, function (child, index) {\n child[INDEX] = index;\n return child;\n });\n children.sort(getComparer(function (obj1, obj2) {\n return obj1.get('zIndex') - obj2.get('zIndex');\n }));\n this.onCanvasChange('sort');\n };\n\n Container.prototype.clear = function () {\n this.set('clearing', true);\n\n if (this.destroyed) {\n return;\n }\n\n var children = this.getChildren();\n\n for (var i = children.length - 1; i >= 0; i--) {\n children[i].destroy(); // 销毁子元素\n }\n\n this.set('children', []);\n this.onCanvasChange('clear');\n this.set('clearing', false);\n };\n\n Container.prototype.destroy = function () {\n if (this.get('destroyed')) {\n return;\n }\n\n this.clear();\n\n _super.prototype.destroy.call(this);\n };\n /**\n * 获取第一个子元素\n * @return {IElement} 第一个元素\n */\n\n\n Container.prototype.getFirst = function () {\n return this.getChildByIndex(0);\n };\n /**\n * 获取最后一个子元素\n * @return {IElement} 元素\n */\n\n\n Container.prototype.getLast = function () {\n var children = this.getChildren();\n return this.getChildByIndex(children.length - 1);\n };\n /**\n * 根据索引获取子元素\n * @return {IElement} 第一个元素\n */\n\n\n Container.prototype.getChildByIndex = function (index) {\n var children = this.getChildren();\n return children[index];\n };\n /**\n * 子元素的数量\n * @return {number} 子元素数量\n */\n\n\n Container.prototype.getCount = function () {\n var children = this.getChildren();\n return children.length;\n };\n /**\n * 是否包含对应元素\n * @param {IElement} element 元素\n * @return {boolean}\n */\n\n\n Container.prototype.contain = function (element) {\n var children = this.getChildren();\n return children.indexOf(element) > -1;\n };\n /**\n * 移除对应子元素\n * @param {IElement} element 子元素\n * @param {boolean} destroy 是否销毁子元素,默认为 true\n */\n\n\n Container.prototype.removeChild = function (element, destroy) {\n if (destroy === void 0) {\n destroy = true;\n }\n\n if (this.contain(element)) {\n element.remove(destroy);\n }\n };\n /**\n * 查找所有匹配的元素\n * @param {ElementFilterFn} fn 匹配函数\n * @return {IElement[]} 元素数组\n */\n\n\n Container.prototype.findAll = function (fn) {\n var rst = [];\n var children = this.getChildren();\n each(children, function (element) {\n if (fn(element)) {\n rst.push(element);\n }\n\n if (element.isGroup()) {\n rst = rst.concat(element.findAll(fn));\n }\n });\n return rst;\n };\n /**\n * 查找元素,找到第一个返回\n * @param {ElementFilterFn} fn 匹配函数\n * @return {IElement|null} 元素,可以为空\n */\n\n\n Container.prototype.find = function (fn) {\n var rst = null;\n var children = this.getChildren();\n each(children, function (element) {\n if (fn(element)) {\n rst = element;\n } else if (element.isGroup()) {\n rst = element.find(fn);\n }\n\n if (rst) {\n return false;\n }\n });\n return rst;\n };\n /**\n * 根据 ID 查找元素\n * @param {string} id 元素 id\n * @return {IElement|null} 元素\n */\n\n\n Container.prototype.findById = function (id) {\n return this.find(function (element) {\n return element.get('id') === id;\n });\n };\n /**\n * 该方法即将废弃,不建议使用\n * 根据 className 查找元素\n * TODO: 该方式定义暂时只给 G6 3.3 以后的版本使用,待 G6 中的 findByClassName 方法移除后,G 也需要同步移除\n * @param {string} className 元素 className\n * @return {IElement | null} 元素\n */\n\n\n Container.prototype.findByClassName = function (className) {\n return this.find(function (element) {\n return element.get('className') === className;\n });\n };\n /**\n * 根据 name 查找元素列表\n * @param {string} name 元素名称\n * @return {IElement[]} 元素\n */\n\n\n Container.prototype.findAllByName = function (name) {\n return this.findAll(function (element) {\n return element.get('name') === name;\n });\n };\n\n return Container;\n}(Element);\n\nexport default Container;" }, { "id": 24, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "index": 213, "index2": 231, "size": 51022, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/path-util", "loc": "2:0-52" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/path-util", "loc": "37:20-37" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/path-util", "loc": "3:0-50" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/path-util", "loc": "68:23-38" } ], "usedExports": ["catmullRom2Bezier", "parsePathString"], "providedExports": [ "parsePath", "catmullRom2Bezier", "fillPath", "fillPathByDiff", "formatPath", "pathIntersection", "parsePathArray", "parsePathString", "path2Curve", "path2Absolute", "reactPath", "getArcParams", "path2Segments", "getLineIntersect", "isPolygonsIntersect", "isPointInPolygon" ], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-string.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/lib/mod.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/lib/to-radian.js (<- Module is not an ECMAScript module)" ], "depth": 3, "modules": [ { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "index": 213, "index2": 231, "size": 991, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "issuerId": 9, "issuerName": "./src/util/path.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } } ], "profile": { "factory": 1816, "building": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/path-util", "loc": "2:0-52" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/path-util", "loc": "37:20-37" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/path-util", "loc": "3:0-50" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/path-util", "loc": "68:23-38" } ], "usedExports": ["catmullRom2Bezier", "parsePathString"], "providedExports": [ "parsePath", "catmullRom2Bezier", "fillPath", "fillPathByDiff", "formatPath", "pathIntersection", "parsePathArray", "parsePathString", "path2Curve", "path2Absolute", "reactPath", "getArcParams", "path2Segments", "getLineIntersect", "isPolygonsIntersect", "isPointInPolygon" ], "optimizationBailout": [], "depth": 3, "source": "export { default as parsePath } from './parse-path';\nexport { default as catmullRom2Bezier } from './catmull-rom-2-bezier';\nexport { default as fillPath } from './fill-path';\nexport { default as fillPathByDiff } from './fill-path-by-diff';\nexport { default as formatPath } from './format-path';\nexport { default as pathIntersection } from './path-intersection';\nexport { default as parsePathArray } from './parse-path-array';\nexport { default as parsePathString } from './parse-path-string';\nexport { default as path2Curve } from './path-2-curve';\nexport { default as path2Absolute } from './path-2-absolute';\nexport { default as reactPath } from './rect-path';\nexport { default as getArcParams } from './get-arc-params';\nexport { default as path2Segments } from './path-2-segments';\nexport { default as getLineIntersect } from './get-line-intersect';\nexport { default as isPolygonsIntersect } from './is-polygons-intersect';\nexport { default as isPointInPolygon } from './point-in-polygon';" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "index": 214, "index2": 210, "size": 886, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./parse-path", "loc": "1:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./parse-path", "loc": "1:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "type": "harmony side effect evaluation", "userRequest": "./parse-path", "loc": "3:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "type": "harmony import specifier", "userRequest": "./parse-path", "loc": "10:9-18" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import each from '@antv/util/lib/each';\nimport isArray from '@antv/util/lib/is-array';\nimport isString from '@antv/util/lib/is-string';\nvar regexTags = /[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/ig;\nvar regexDot = /[^\\s\\,]+/ig;\n\nfunction parsePath(p) {\n var path = p || [];\n\n if (isArray(path)) {\n return path;\n }\n\n if (isString(path)) {\n path = path.match(regexTags);\n each(path, function (item, index) {\n // @ts-ignore\n item = item.match(regexDot);\n\n if (item[0].length > 1) {\n var tag = item[0].charAt(0); // @ts-ignore\n\n item.splice(1, 0, item[0].substr(1)); // @ts-ignore\n\n item[0] = tag;\n } // @ts-ignore\n\n\n each(item, function (sub, i) {\n if (!isNaN(sub)) {\n // @ts-ignore\n item[i] = +sub;\n }\n }); // @ts-ignore\n\n path[index] = item;\n });\n return path;\n }\n}\n\nexport default parsePath;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/catmull-rom-2-bezier.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/catmull-rom-2-bezier.js", "index": 215, "index2": 211, "size": 1188, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./catmull-rom-2-bezier", "loc": "2:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./catmull-rom-2-bezier", "loc": "2:0-70" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "// http://schepers.cc/getting-to-the-point\nexport default function catmullRom2Bezier(crp, z) {\n var d = []; // @ts-ignore\n\n for (var i = 0, iLen = crp.length; iLen - 2 * !z > i; i += 2) {\n var p = [{\n x: +crp[i - 2],\n y: +crp[i - 1]\n }, {\n x: +crp[i],\n y: +crp[i + 1]\n }, {\n x: +crp[i + 2],\n y: +crp[i + 3]\n }, {\n x: +crp[i + 4],\n y: +crp[i + 5]\n }];\n\n if (z) {\n if (!i) {\n p[0] = {\n x: +crp[iLen - 2],\n y: +crp[iLen - 1]\n };\n } else if (iLen - 4 === i) {\n p[3] = {\n x: +crp[0],\n y: +crp[1]\n };\n } else if (iLen - 2 === i) {\n p[2] = {\n x: +crp[0],\n y: +crp[1]\n };\n p[3] = {\n x: +crp[2],\n y: +crp[3]\n };\n }\n } else {\n if (iLen - 4 === i) {\n p[3] = p[2];\n } else if (!i) {\n p[0] = {\n x: +crp[i],\n y: +crp[i + 1]\n };\n }\n }\n\n d.push(['C', (-p[0].x + 6 * p[1].x + p[2].x) / 6, (-p[0].y + 6 * p[1].y + p[2].y) / 6, (p[1].x + 6 * p[2].x - p[3].x) / 6, (p[1].y + 6 * p[2].y - p[3].y) / 6, p[2].x, p[2].y]);\n }\n\n return d;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path.js", "index": 216, "index2": 212, "size": 3329, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./fill-path", "loc": "3:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./fill-path", "loc": "3:0-50" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "function decasteljau(points, t) {\n var left = [];\n var right = [];\n\n function recurse(points, t) {\n if (points.length === 1) {\n left.push(points[0]);\n right.push(points[0]);\n } else {\n var middlePoints = [];\n\n for (var i = 0; i < points.length - 1; i++) {\n if (i === 0) {\n left.push(points[0]);\n }\n\n if (i === points.length - 2) {\n right.push(points[i + 1]);\n }\n\n middlePoints[i] = [(1 - t) * points[i][0] + t * points[i + 1][0], (1 - t) * points[i][1] + t * points[i + 1][1]];\n }\n\n recurse(middlePoints, t);\n }\n }\n\n if (points.length) {\n recurse(points, t);\n }\n\n return {\n left: left,\n right: right.reverse()\n };\n}\n\nfunction splitCurve(start, end, count) {\n var points = [[start[1], start[2]]];\n count = count || 2;\n var segments = [];\n\n if (end[0] === 'A') {\n points.push(end[6]);\n points.push(end[7]);\n } else if (end[0] === 'C') {\n points.push([end[1], end[2]]);\n points.push([end[3], end[4]]);\n points.push([end[5], end[6]]);\n } else if (end[0] === 'S' || end[0] === 'Q') {\n points.push([end[1], end[2]]);\n points.push([end[3], end[4]]);\n } else {\n points.push([end[1], end[2]]);\n }\n\n var leftSegments = points;\n var t = 1 / count;\n\n for (var i = 0; i < count - 1; i++) {\n var rt = t / (1 - t * i);\n var split = decasteljau(leftSegments, rt);\n segments.push(split.left);\n leftSegments = split.right;\n }\n\n segments.push(leftSegments);\n var result = segments.map(function (segment) {\n var cmd = [];\n\n if (segment.length === 4) {\n cmd.push('C');\n cmd = cmd.concat(segment[2]);\n }\n\n if (segment.length >= 3) {\n if (segment.length === 3) {\n cmd.push('Q');\n }\n\n cmd = cmd.concat(segment[1]);\n }\n\n if (segment.length === 2) {\n cmd.push('L');\n }\n\n cmd = cmd.concat(segment[segment.length - 1]);\n return cmd;\n });\n return result;\n}\n\nfunction splitSegment(start, end, count) {\n if (count === 1) {\n return [[].concat(start)];\n }\n\n var segments = [];\n\n if (end[0] === 'L' || end[0] === 'C' || end[0] === 'Q') {\n segments = segments.concat(splitCurve(start, end, count));\n } else {\n var temp = [].concat(start);\n\n if (temp[0] === 'M') {\n temp[0] = 'L';\n }\n\n for (var i = 0; i <= count - 1; i++) {\n segments.push(temp);\n }\n }\n\n return segments;\n}\n\nexport default function fillPath(source, target) {\n if (source.length === 1) {\n return source;\n }\n\n var sourceLen = source.length - 1;\n var targetLen = target.length - 1;\n var ratio = sourceLen / targetLen;\n var segmentsToFill = [];\n\n if (source.length === 1 && source[0][0] === 'M') {\n for (var i = 0; i < targetLen - sourceLen; i++) {\n source.push(source[0]);\n }\n\n return source;\n }\n\n for (var i = 0; i < targetLen; i++) {\n var index = Math.floor(ratio * i);\n segmentsToFill[index] = (segmentsToFill[index] || 0) + 1;\n }\n\n var filled = segmentsToFill.reduce(function (filled, count, i) {\n if (i === sourceLen) {\n return filled.concat(source[sourceLen]);\n }\n\n return filled.concat(splitSegment(source[i], source[i + 1], count));\n }, []);\n filled.unshift(source[0]);\n\n if (target[targetLen] === 'Z' || target[targetLen] === 'z') {\n filled.push('Z');\n }\n\n return filled;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path-by-diff.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path-by-diff.js", "index": 217, "index2": 216, "size": 2922, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./fill-path-by-diff", "loc": "4:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./fill-path-by-diff", "loc": "4:0-64" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import isEqual from '@antv/util/lib/is-equal';\n\nfunction getMinDiff(del, add, modify) {\n var type = null;\n var min = modify;\n\n if (add < min) {\n min = add;\n type = 'add';\n }\n\n if (del < min) {\n min = del;\n type = 'del';\n }\n\n return {\n type: type,\n min: min\n };\n}\n/*\n * https://en.wikipedia.org/wiki/Levenshtein_distance\n * 计算两条path的编辑距离\n */\n\n\nvar levenshteinDistance = function levenshteinDistance(source, target) {\n var sourceLen = source.length;\n var targetLen = target.length;\n var sourceSegment, targetSegment;\n var temp = 0;\n\n if (sourceLen === 0 || targetLen === 0) {\n return null;\n }\n\n var dist = [];\n\n for (var i = 0; i <= sourceLen; i++) {\n dist[i] = [];\n dist[i][0] = {\n min: i\n };\n }\n\n for (var j = 0; j <= targetLen; j++) {\n dist[0][j] = {\n min: j\n };\n }\n\n for (var i = 1; i <= sourceLen; i++) {\n sourceSegment = source[i - 1];\n\n for (var j = 1; j <= targetLen; j++) {\n targetSegment = target[j - 1];\n\n if (isEqual(sourceSegment, targetSegment)) {\n temp = 0;\n } else {\n temp = 1;\n }\n\n var del = dist[i - 1][j].min + 1;\n var add = dist[i][j - 1].min + 1;\n var modify = dist[i - 1][j - 1].min + temp;\n dist[i][j] = getMinDiff(del, add, modify);\n }\n }\n\n return dist;\n};\n\nexport default function fillPathByDiff(source, target) {\n var diffMatrix = levenshteinDistance(source, target);\n var sourceLen = source.length;\n var targetLen = target.length;\n var changes = [];\n var index = 1;\n var minPos = 1; // 如果source和target不是完全不相等\n // @ts-ignore\n\n if (diffMatrix[sourceLen][targetLen] !== sourceLen) {\n // 获取从source到target所需改动\n for (var i = 1; i <= sourceLen; i++) {\n var min = diffMatrix[i][i].min;\n minPos = i;\n\n for (var j = index; j <= targetLen; j++) {\n if (diffMatrix[i][j].min < min) {\n min = diffMatrix[i][j].min;\n minPos = j;\n }\n }\n\n index = minPos;\n\n if (diffMatrix[i][index].type) {\n changes.push({\n index: i - 1,\n type: diffMatrix[i][index].type\n });\n }\n } // 对source进行增删path\n\n\n for (var i = changes.length - 1; i >= 0; i--) {\n index = changes[i].index;\n\n if (changes[i].type === 'add') {\n // @ts-ignore\n source.splice(index, 0, [].concat(source[index]));\n } else {\n // @ts-ignore\n source.splice(index, 1);\n }\n }\n } // source尾部补齐\n\n\n sourceLen = source.length;\n\n if (sourceLen < targetLen) {\n for (var i = 0; i < targetLen - sourceLen; i++) {\n if (source[sourceLen - 1][0] === 'z' || source[sourceLen - 1][0] === 'Z') {\n // @ts-ignore\n source.splice(sourceLen - 2, 0, source[sourceLen - 2]);\n } else {\n // @ts-ignore\n source.push(source[sourceLen - 1]);\n }\n }\n }\n\n return source;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/format-path.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/format-path.js", "index": 221, "index2": 217, "size": 3788, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./format-path", "loc": "5:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./format-path", "loc": "5:0-54" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "/*\n * 抽取pathSegment中的关键点\n * M,L,A,Q,H,V一个端点\n * Q, S抽取一个端点,一个控制点\n * C抽取一个端点,两个控制点\n */\nfunction _getSegmentPoints(segment) {\n var points = [];\n\n switch (segment[0]) {\n case 'M':\n points.push([segment[1], segment[2]]);\n break;\n\n case 'L':\n points.push([segment[1], segment[2]]);\n break;\n\n case 'A':\n points.push([segment[6], segment[7]]);\n break;\n\n case 'Q':\n points.push([segment[3], segment[4]]);\n points.push([segment[1], segment[2]]);\n break;\n\n case 'T':\n points.push([segment[1], segment[2]]);\n break;\n\n case 'C':\n points.push([segment[5], segment[6]]);\n points.push([segment[1], segment[2]]);\n points.push([segment[3], segment[4]]);\n break;\n\n case 'S':\n points.push([segment[3], segment[4]]);\n points.push([segment[1], segment[2]]);\n break;\n\n case 'H':\n points.push([segment[1], segment[1]]);\n break;\n\n case 'V':\n points.push([segment[1], segment[1]]);\n break;\n\n default:\n }\n\n return points;\n} // 将两个点均分成count个点\n\n\nfunction _splitPoints(points, former, count) {\n var result = [].concat(points);\n var index;\n var t = 1 / (count + 1);\n\n var formerEnd = _getSegmentPoints(former)[0];\n\n for (var i = 1; i <= count; i++) {\n t *= i;\n index = Math.floor(points.length * t);\n\n if (index === 0) {\n result.unshift([formerEnd[0] * t + points[index][0] * (1 - t), formerEnd[1] * t + points[index][1] * (1 - t)]);\n } else {\n result.splice(index, 0, [formerEnd[0] * t + points[index][0] * (1 - t), formerEnd[1] * t + points[index][1] * (1 - t)]);\n }\n }\n\n return result;\n}\n\nexport default function formatPath(fromPath, toPath) {\n if (fromPath.length <= 1) {\n return fromPath;\n }\n\n var points;\n\n for (var i = 0; i < toPath.length; i++) {\n if (fromPath[i][0] !== toPath[i][0]) {\n // 获取fromPath的pathSegment的端点,根据toPath的指令对其改造\n points = _getSegmentPoints(fromPath[i]);\n\n switch (toPath[i][0]) {\n case 'M':\n fromPath[i] = ['M'].concat(points[0]);\n break;\n\n case 'L':\n fromPath[i] = ['L'].concat(points[0]);\n break;\n\n case 'A':\n fromPath[i] = [].concat(toPath[i]);\n fromPath[i][6] = points[0][0];\n fromPath[i][7] = points[0][1];\n break;\n\n case 'Q':\n if (points.length < 2) {\n if (i > 0) {\n points = _splitPoints(points, fromPath[i - 1], 1);\n } else {\n fromPath[i] = toPath[i];\n break;\n }\n }\n\n fromPath[i] = ['Q'].concat(points.reduce(function (arr, i) {\n return arr.concat(i);\n }, []));\n break;\n\n case 'T':\n fromPath[i] = ['T'].concat(points[0]);\n break;\n\n case 'C':\n if (points.length < 3) {\n if (i > 0) {\n points = _splitPoints(points, fromPath[i - 1], 2);\n } else {\n fromPath[i] = toPath[i];\n break;\n }\n }\n\n fromPath[i] = ['C'].concat(points.reduce(function (arr, i) {\n return arr.concat(i);\n }, []));\n break;\n\n case 'S':\n if (points.length < 2) {\n if (i > 0) {\n points = _splitPoints(points, fromPath[i - 1], 1);\n } else {\n fromPath[i] = toPath[i];\n break;\n }\n }\n\n fromPath[i] = ['S'].concat(points.reduce(function (arr, i) {\n return arr.concat(i);\n }, []));\n break;\n\n default:\n fromPath[i] = toPath[i];\n }\n }\n }\n\n return fromPath;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/rect-path.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/rect-path.js", "index": 223, "index2": 218, "size": 417, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "type": "harmony side effect evaluation", "userRequest": "./rect-path", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./rect-path", "loc": "11:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./rect-path", "loc": "11:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "type": "harmony import specifier", "userRequest": "./rect-path", "loc": "173:10-18" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "export default function rectPath(x, y, w, h, r) {\n if (r) {\n return [['M', +x + +r, y], ['l', w - r * 2, 0], ['a', r, r, 0, 0, 1, r, r], ['l', 0, h - r * 2], ['a', r, r, 0, 0, 1, -r, r], ['l', r * 2 - w, 0], ['a', r, r, 0, 0, 1, -r, -r], ['l', 0, r * 2 - h], ['a', r, r, 0, 0, 1, r, -r], ['z']];\n }\n\n return [['M', x, y], ['l', w, 0], ['l', 0, h], ['l', -w, 0], ['z']]; // res.parsePathArray = parsePathArray;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path-string.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path-string.js", "index": 226, "index2": 219, "size": 1579, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-absolute.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-absolute.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-absolute.js", "type": "harmony side effect evaluation", "userRequest": "./parse-path-string", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./parse-path-string", "loc": "8:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./parse-path-string", "loc": "8:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-absolute.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-absolute.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-absolute.js", "type": "harmony import specifier", "userRequest": "./parse-path-string", "loc": "9:18-33" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import isArray from '@antv/util/lib/is-array';\nvar SPACES = \"\\t\\n\\x0B\\f\\r \\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\";\nvar PATH_COMMAND = new RegExp('([a-z])[' + SPACES + ',]*((-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?[' + SPACES + ']*,?[' + SPACES + ']*)+)', 'ig');\nvar PATH_VALUES = new RegExp('(-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?)[' + SPACES + ']*,?[' + SPACES + ']*', 'ig'); // Parses given path string into an array of arrays of path segments\n\nexport default function parsePathString(pathString) {\n if (!pathString) {\n return null;\n }\n\n if (isArray(pathString)) {\n return pathString;\n }\n\n var paramCounts = {\n a: 7,\n c: 6,\n o: 2,\n h: 1,\n l: 2,\n m: 2,\n r: 4,\n q: 4,\n s: 4,\n t: 2,\n v: 1,\n u: 3,\n z: 0\n };\n var data = [];\n String(pathString).replace(PATH_COMMAND, function (a, b, c) {\n var params = [];\n var name = b.toLowerCase();\n c.replace(PATH_VALUES, function (a, b) {\n b && params.push(+b);\n });\n\n if (name === 'm' && params.length > 2) {\n data.push([b].concat(params.splice(0, 2)));\n name = 'l';\n b = b === 'm' ? 'l' : 'L';\n }\n\n if (name === 'o' && params.length === 1) {\n data.push([b, params[0]]);\n }\n\n if (name === 'r') {\n data.push([b].concat(params));\n } else {\n while (params.length >= paramCounts[name]) {\n data.push([b].concat(params.splice(0, paramCounts[name])));\n\n if (!paramCounts[name]) {\n break;\n }\n }\n }\n\n return '';\n });\n return data;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-absolute.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-absolute.js", "index": 225, "index2": 220, "size": 3469, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "type": "harmony side effect evaluation", "userRequest": "./path-2-absolute", "loc": "1:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./path-2-absolute", "loc": "10:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./path-2-absolute", "loc": "10:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "type": "harmony import specifier", "userRequest": "./path-2-absolute", "loc": "135:10-23" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "type": "harmony import specifier", "userRequest": "./path-2-absolute", "loc": "136:20-33" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import parsePathString from './parse-path-string';\nvar REGEX_MD = /[a-z]/;\n\nfunction toSymmetry(p, c) {\n return [c[0] + (c[0] - p[0]), c[1] + (c[1] - p[1])];\n}\n\nexport default function pathToAbsolute(pathString) {\n var pathArray = parsePathString(pathString);\n\n if (!pathArray || !pathArray.length) {\n return [['M', 0, 0]];\n }\n\n var needProcess = false; // 如果存在小写的命令或者 V,H,T,S 则需要处理\n\n for (var i = 0; i < pathArray.length; i++) {\n var cmd = pathArray[i][0]; // 如果存在相对位置的命令,则中断返回\n\n if (REGEX_MD.test(cmd) || ['V', 'H', 'T', 'S'].indexOf(cmd) >= 0) {\n needProcess = true;\n break;\n }\n } // 如果不存在相对命令,则直接返回\n // 如果在业务上都写绝对路径,这种方式最快,仅做了一次检测\n\n\n if (!needProcess) {\n return pathArray;\n }\n\n var res = [];\n var x = 0;\n var y = 0;\n var mx = 0;\n var my = 0;\n var start = 0;\n var pa0;\n var dots;\n var first = pathArray[0];\n\n if (first[0] === 'M' || first[0] === 'm') {\n x = +first[1];\n y = +first[2];\n mx = x;\n my = y;\n start++;\n res[0] = ['M', x, y];\n }\n\n for (var i = start, ii = pathArray.length; i < ii; i++) {\n var pa = pathArray[i];\n var preParams = res[i - 1]; // 取前一个已经处理后的节点,否则会出现问题\n\n var r = [];\n var cmd = pa[0];\n var upCmd = cmd.toUpperCase();\n\n if (cmd !== upCmd) {\n r[0] = upCmd;\n\n switch (upCmd) {\n case 'A':\n r[1] = pa[1];\n r[2] = pa[2];\n r[3] = pa[3];\n r[4] = pa[4];\n r[5] = pa[5];\n r[6] = +pa[6] + x;\n r[7] = +pa[7] + y;\n break;\n\n case 'V':\n r[1] = +pa[1] + y;\n break;\n\n case 'H':\n r[1] = +pa[1] + x;\n break;\n\n case 'M':\n mx = +pa[1] + x;\n my = +pa[2] + y;\n break;\n // for lint\n\n default:\n for (var j = 1, jj = pa.length; j < jj; j++) {\n r[j] = +pa[j] + (j % 2 ? x : y);\n }\n\n }\n } else {\n // 如果本来已经大写,则不处理\n r = pathArray[i];\n } // 需要在外面统一做,同时处理 V,H,S,T 等特殊指令\n\n\n switch (upCmd) {\n case 'Z':\n x = +mx;\n y = +my;\n break;\n\n case 'H':\n x = r[1];\n r = ['L', x, y];\n break;\n\n case 'V':\n y = r[1];\n r = ['L', x, y];\n break;\n\n case 'T':\n x = r[1];\n y = r[2]; // 以 x, y 为中心的,上一个控制点的对称点\n // 需要假设上一个节点的命令为 Q\n\n var symetricT = toSymmetry([preParams[1], preParams[2]], [preParams[3], preParams[4]]);\n r = ['Q', symetricT[0], symetricT[1], x, y];\n break;\n\n case 'S':\n x = r[r.length - 2];\n y = r[r.length - 1]; // 以 x,y 为中心,取上一个控制点,\n // 需要假设上一个线段为 C 或者 S\n\n var length_1 = preParams.length;\n var symetricS = toSymmetry([preParams[length_1 - 4], preParams[length_1 - 3]], [preParams[length_1 - 2], preParams[length_1 - 1]]);\n r = ['C', symetricS[0], symetricS[1], r[1], r[2], x, y];\n break;\n\n case 'M':\n mx = r[r.length - 2];\n my = r[r.length - 1];\n break;\n // for lint\n\n default:\n x = r[r.length - 2];\n y = r[r.length - 1];\n }\n\n res.push(r);\n }\n\n return res;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "index": 224, "index2": 221, "size": 8292, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "type": "harmony side effect evaluation", "userRequest": "./path-2-curve", "loc": "3:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./path-2-curve", "loc": "9:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./path-2-curve", "loc": "9:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "type": "harmony import specifier", "userRequest": "./path-2-curve", "loc": "315:10-20" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "type": "harmony import specifier", "userRequest": "./path-2-curve", "loc": "317:10-20" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import path2Absolute from './path-2-absolute';\n\nvar a2c = function a2c(x1, y1, rx, ry, angle, large_arc_flag, sweep_flag, x2, y2, recursive) {\n // for more information of where this math came from visit:\n // http://www.w3.org/TR/SVG11/implnote.html#ArcImplementationNotes\n if (rx === ry) {\n rx += 1;\n }\n\n var _120 = Math.PI * 120 / 180;\n\n var rad = Math.PI / 180 * (+angle || 0);\n var res = [];\n var xy;\n var f1;\n var f2;\n var cx;\n var cy;\n\n var rotate = function rotate(x, y, rad) {\n var X = x * Math.cos(rad) - y * Math.sin(rad);\n var Y = x * Math.sin(rad) + y * Math.cos(rad);\n return {\n x: X,\n y: Y\n };\n };\n\n if (!recursive) {\n xy = rotate(x1, y1, -rad);\n x1 = xy.x;\n y1 = xy.y;\n xy = rotate(x2, y2, -rad);\n x2 = xy.x;\n y2 = xy.y;\n\n if (x1 === x2 && y1 === y2) {\n // 若弧的起始点和终点重叠则错开一点\n x2 += 1;\n y2 += 1;\n } // const cos = Math.cos(Math.PI / 180 * angle);\n // const sin = Math.sin(Math.PI / 180 * angle);\n\n\n var x = (x1 - x2) / 2;\n var y = (y1 - y2) / 2;\n var h = x * x / (rx * rx) + y * y / (ry * ry);\n\n if (h > 1) {\n h = Math.sqrt(h);\n rx = h * rx;\n ry = h * ry;\n }\n\n var rx2 = rx * rx;\n var ry2 = ry * ry;\n var k = (large_arc_flag === sweep_flag ? -1 : 1) * Math.sqrt(Math.abs((rx2 * ry2 - rx2 * y * y - ry2 * x * x) / (rx2 * y * y + ry2 * x * x)));\n cx = k * rx * y / ry + (x1 + x2) / 2;\n cy = k * -ry * x / rx + (y1 + y2) / 2;\n f1 = Math.asin(Number(((y1 - cy) / ry).toFixed(9)));\n f2 = Math.asin(Number(((y2 - cy) / ry).toFixed(9)));\n f1 = x1 < cx ? Math.PI - f1 : f1;\n f2 = x2 < cx ? Math.PI - f2 : f2;\n f1 < 0 && (f1 = Math.PI * 2 + f1);\n f2 < 0 && (f2 = Math.PI * 2 + f2);\n\n if (sweep_flag && f1 > f2) {\n f1 = f1 - Math.PI * 2;\n }\n\n if (!sweep_flag && f2 > f1) {\n f2 = f2 - Math.PI * 2;\n }\n } else {\n f1 = recursive[0];\n f2 = recursive[1];\n cx = recursive[2];\n cy = recursive[3];\n }\n\n var df = f2 - f1;\n\n if (Math.abs(df) > _120) {\n var f2old = f2;\n var x2old = x2;\n var y2old = y2;\n f2 = f1 + _120 * (sweep_flag && f2 > f1 ? 1 : -1);\n x2 = cx + rx * Math.cos(f2);\n y2 = cy + ry * Math.sin(f2);\n res = a2c(x2, y2, rx, ry, angle, 0, sweep_flag, x2old, y2old, [f2, f2old, cx, cy]);\n }\n\n df = f2 - f1;\n var c1 = Math.cos(f1);\n var s1 = Math.sin(f1);\n var c2 = Math.cos(f2);\n var s2 = Math.sin(f2);\n var t = Math.tan(df / 4);\n var hx = 4 / 3 * rx * t;\n var hy = 4 / 3 * ry * t;\n var m1 = [x1, y1];\n var m2 = [x1 + hx * s1, y1 - hy * c1];\n var m3 = [x2 + hx * s2, y2 - hy * c2];\n var m4 = [x2, y2];\n m2[0] = 2 * m1[0] - m2[0];\n m2[1] = 2 * m1[1] - m2[1];\n\n if (recursive) {\n return [m2, m3, m4].concat(res);\n }\n\n res = [m2, m3, m4].concat(res).join().split(',');\n var newres = [];\n\n for (var i = 0, ii = res.length; i < ii; i++) {\n newres[i] = i % 2 ? rotate(res[i - 1], res[i], rad).y : rotate(res[i], res[i + 1], rad).x;\n }\n\n return newres;\n};\n\nvar l2c = function l2c(x1, y1, x2, y2) {\n return [x1, y1, x2, y2, x2, y2];\n};\n\nvar q2c = function q2c(x1, y1, ax, ay, x2, y2) {\n var _13 = 1 / 3;\n\n var _23 = 2 / 3;\n\n return [_13 * x1 + _23 * ax, _13 * y1 + _23 * ay, _13 * x2 + _23 * ax, _13 * y2 + _23 * ay, x2, y2];\n};\n\nexport default function pathTocurve(path, path2) {\n var p = path2Absolute(path);\n var p2 = path2 && path2Absolute(path2);\n var attrs = {\n x: 0,\n y: 0,\n bx: 0,\n by: 0,\n X: 0,\n Y: 0,\n qx: null,\n qy: null\n };\n var attrs2 = {\n x: 0,\n y: 0,\n bx: 0,\n by: 0,\n X: 0,\n Y: 0,\n qx: null,\n qy: null\n };\n var pcoms1 = []; // path commands of original path p\n\n var pcoms2 = []; // path commands of original path p2\n\n var pfirst = ''; // temporary holder for original path command\n\n var pcom = ''; // holder for previous path command of original path\n\n var ii;\n\n var processPath = function processPath(path, d, pcom) {\n var nx, ny;\n\n if (!path) {\n return ['C', d.x, d.y, d.x, d.y, d.x, d.y];\n }\n\n !(path[0] in {\n T: 1,\n Q: 1\n }) && (d.qx = d.qy = null);\n\n switch (path[0]) {\n case 'M':\n d.X = path[1];\n d.Y = path[2];\n break;\n\n case 'A':\n path = ['C'].concat(a2c.apply(0, [d.x, d.y].concat(path.slice(1))));\n break;\n\n case 'S':\n if (pcom === 'C' || pcom === 'S') {\n // In \"S\" case we have to take into account, if the previous command is C/S.\n nx = d.x * 2 - d.bx; // And reflect the previous\n\n ny = d.y * 2 - d.by; // command's control point relative to the current point.\n } else {\n // or some else or nothing\n nx = d.x;\n ny = d.y;\n }\n\n path = ['C', nx, ny].concat(path.slice(1));\n break;\n\n case 'T':\n if (pcom === 'Q' || pcom === 'T') {\n // In \"T\" case we have to take into account, if the previous command is Q/T.\n d.qx = d.x * 2 - d.qx; // And make a reflection similar\n\n d.qy = d.y * 2 - d.qy; // to case \"S\".\n } else {\n // or something else or nothing\n d.qx = d.x;\n d.qy = d.y;\n }\n\n path = ['C'].concat(q2c(d.x, d.y, d.qx, d.qy, path[1], path[2]));\n break;\n\n case 'Q':\n d.qx = path[1];\n d.qy = path[2];\n path = ['C'].concat(q2c(d.x, d.y, path[1], path[2], path[3], path[4]));\n break;\n\n case 'L':\n path = ['C'].concat(l2c(d.x, d.y, path[1], path[2]));\n break;\n\n case 'H':\n path = ['C'].concat(l2c(d.x, d.y, path[1], d.y));\n break;\n\n case 'V':\n path = ['C'].concat(l2c(d.x, d.y, d.x, path[1]));\n break;\n\n case 'Z':\n path = ['C'].concat(l2c(d.x, d.y, d.X, d.Y));\n break;\n\n default:\n break;\n }\n\n return path;\n };\n\n var fixArc = function fixArc(pp, i) {\n if (pp[i].length > 7) {\n pp[i].shift();\n var pi = pp[i];\n\n while (pi.length) {\n pcoms1[i] = 'A'; // if created multiple C:s, their original seg is saved\n\n p2 && (pcoms2[i] = 'A'); // the same as above\n\n pp.splice(i++, 0, ['C'].concat(pi.splice(0, 6)));\n }\n\n pp.splice(i, 1);\n ii = Math.max(p.length, p2 && p2.length || 0);\n }\n };\n\n var fixM = function fixM(path1, path2, a1, a2, i) {\n if (path1 && path2 && path1[i][0] === 'M' && path2[i][0] !== 'M') {\n path2.splice(i, 0, ['M', a2.x, a2.y]);\n a1.bx = 0;\n a1.by = 0;\n a1.x = path1[i][1];\n a1.y = path1[i][2];\n ii = Math.max(p.length, p2 && p2.length || 0);\n }\n };\n\n ii = Math.max(p.length, p2 && p2.length || 0);\n\n for (var i = 0; i < ii; i++) {\n p[i] && (pfirst = p[i][0]); // save current path command\n\n if (pfirst !== 'C') {\n // C is not saved yet, because it may be result of conversion\n pcoms1[i] = pfirst; // Save current path command\n\n i && (pcom = pcoms1[i - 1]); // Get previous path command pcom\n }\n\n p[i] = processPath(p[i], attrs, pcom); // Previous path command is inputted to processPath\n\n if (pcoms1[i] !== 'A' && pfirst === 'C') pcoms1[i] = 'C'; // A is the only command\n // which may produce multiple C:s\n // so we have to make sure that C is also C in original path\n\n fixArc(p, i); // fixArc adds also the right amount of A:s to pcoms1\n\n if (p2) {\n // the same procedures is done to p2\n p2[i] && (pfirst = p2[i][0]);\n\n if (pfirst !== 'C') {\n pcoms2[i] = pfirst;\n i && (pcom = pcoms2[i - 1]);\n }\n\n p2[i] = processPath(p2[i], attrs2, pcom);\n\n if (pcoms2[i] !== 'A' && pfirst === 'C') {\n pcoms2[i] = 'C';\n }\n\n fixArc(p2, i);\n }\n\n fixM(p, p2, attrs, attrs2, i);\n fixM(p2, p, attrs2, attrs, i);\n var seg = p[i];\n var seg2 = p2 && p2[i];\n var seglen = seg.length;\n var seg2len = p2 && seg2.length;\n attrs.x = seg[seglen - 2];\n attrs.y = seg[seglen - 1];\n attrs.bx = parseFloat(seg[seglen - 4]) || attrs.x;\n attrs.by = parseFloat(seg[seglen - 3]) || attrs.y;\n attrs2.bx = p2 && (parseFloat(seg2[seg2len - 4]) || attrs2.x);\n attrs2.by = p2 && (parseFloat(seg2[seg2len - 3]) || attrs2.y);\n attrs2.x = p2 && seg2[seg2len - 2];\n attrs2.y = p2 && seg2[seg2len - 1];\n }\n\n return p2 ? [p, p2] : p;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "index": 222, "index2": 222, "size": 10060, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./path-intersection", "loc": "6:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./path-intersection", "loc": "6:0-66" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import { isArray } from '@antv/util';\nimport rectPath from './rect-path';\nimport path2Curve from './path-2-curve';\n\nvar base3 = function base3(t, p1, p2, p3, p4) {\n var t1 = -3 * p1 + 9 * p2 - 9 * p3 + 3 * p4;\n var t2 = t * t1 + 6 * p1 - 12 * p2 + 6 * p3;\n return t * t2 - 3 * p1 + 3 * p2;\n};\n\nvar bezlen = function bezlen(x1, y1, x2, y2, x3, y3, x4, y4, z) {\n if (z === null) {\n z = 1;\n }\n\n z = z > 1 ? 1 : z < 0 ? 0 : z;\n var z2 = z / 2;\n var n = 12;\n var Tvalues = [-0.1252, 0.1252, -0.3678, 0.3678, -0.5873, 0.5873, -0.7699, 0.7699, -0.9041, 0.9041, -0.9816, 0.9816];\n var Cvalues = [0.2491, 0.2491, 0.2335, 0.2335, 0.2032, 0.2032, 0.1601, 0.1601, 0.1069, 0.1069, 0.0472, 0.0472];\n var sum = 0;\n\n for (var i = 0; i < n; i++) {\n var ct = z2 * Tvalues[i] + z2;\n var xbase = base3(ct, x1, x2, x3, x4);\n var ybase = base3(ct, y1, y2, y3, y4);\n var comb = xbase * xbase + ybase * ybase;\n sum += Cvalues[i] * Math.sqrt(comb);\n }\n\n return z2 * sum;\n};\n\nvar curveDim = function curveDim(x0, y0, x1, y1, x2, y2, x3, y3) {\n var tvalues = [];\n var bounds = [[], []];\n var a;\n var b;\n var c;\n var t;\n\n for (var i = 0; i < 2; ++i) {\n if (i === 0) {\n b = 6 * x0 - 12 * x1 + 6 * x2;\n a = -3 * x0 + 9 * x1 - 9 * x2 + 3 * x3;\n c = 3 * x1 - 3 * x0;\n } else {\n b = 6 * y0 - 12 * y1 + 6 * y2;\n a = -3 * y0 + 9 * y1 - 9 * y2 + 3 * y3;\n c = 3 * y1 - 3 * y0;\n }\n\n if (Math.abs(a) < 1e-12) {\n if (Math.abs(b) < 1e-12) {\n continue;\n }\n\n t = -c / b;\n\n if (t > 0 && t < 1) {\n tvalues.push(t);\n }\n\n continue;\n }\n\n var b2ac = b * b - 4 * c * a;\n var sqrtb2ac = Math.sqrt(b2ac);\n\n if (b2ac < 0) {\n continue;\n }\n\n var t1 = (-b + sqrtb2ac) / (2 * a);\n\n if (t1 > 0 && t1 < 1) {\n tvalues.push(t1);\n }\n\n var t2 = (-b - sqrtb2ac) / (2 * a);\n\n if (t2 > 0 && t2 < 1) {\n tvalues.push(t2);\n }\n }\n\n var j = tvalues.length;\n var jlen = j;\n var mt;\n\n while (j--) {\n t = tvalues[j];\n mt = 1 - t;\n bounds[0][j] = mt * mt * mt * x0 + 3 * mt * mt * t * x1 + 3 * mt * t * t * x2 + t * t * t * x3;\n bounds[1][j] = mt * mt * mt * y0 + 3 * mt * mt * t * y1 + 3 * mt * t * t * y2 + t * t * t * y3;\n }\n\n bounds[0][jlen] = x0;\n bounds[1][jlen] = y0;\n bounds[0][jlen + 1] = x3;\n bounds[1][jlen + 1] = y3;\n bounds[0].length = bounds[1].length = jlen + 2;\n return {\n min: {\n x: Math.min.apply(0, bounds[0]),\n y: Math.min.apply(0, bounds[1])\n },\n max: {\n x: Math.max.apply(0, bounds[0]),\n y: Math.max.apply(0, bounds[1])\n }\n };\n};\n\nvar intersect = function intersect(x1, y1, x2, y2, x3, y3, x4, y4) {\n if (Math.max(x1, x2) < Math.min(x3, x4) || Math.min(x1, x2) > Math.max(x3, x4) || Math.max(y1, y2) < Math.min(y3, y4) || Math.min(y1, y2) > Math.max(y3, y4)) {\n return;\n }\n\n var nx = (x1 * y2 - y1 * x2) * (x3 - x4) - (x1 - x2) * (x3 * y4 - y3 * x4);\n var ny = (x1 * y2 - y1 * x2) * (y3 - y4) - (y1 - y2) * (x3 * y4 - y3 * x4);\n var denominator = (x1 - x2) * (y3 - y4) - (y1 - y2) * (x3 - x4);\n\n if (!denominator) {\n return;\n }\n\n var px = nx / denominator;\n var py = ny / denominator;\n var px2 = +px.toFixed(2);\n var py2 = +py.toFixed(2);\n\n if (px2 < +Math.min(x1, x2).toFixed(2) || px2 > +Math.max(x1, x2).toFixed(2) || px2 < +Math.min(x3, x4).toFixed(2) || px2 > +Math.max(x3, x4).toFixed(2) || py2 < +Math.min(y1, y2).toFixed(2) || py2 > +Math.max(y1, y2).toFixed(2) || py2 < +Math.min(y3, y4).toFixed(2) || py2 > +Math.max(y3, y4).toFixed(2)) {\n return;\n }\n\n return {\n x: px,\n y: py\n };\n};\n\nvar isPointInsideBBox = function isPointInsideBBox(bbox, x, y) {\n return x >= bbox.x && x <= bbox.x + bbox.width && y >= bbox.y && y <= bbox.y + bbox.height;\n};\n\nvar box = function box(x, y, width, height) {\n if (x === null) {\n x = y = width = height = 0;\n }\n\n if (y === null) {\n y = x.y;\n width = x.width;\n height = x.height;\n x = x.x;\n }\n\n return {\n x: x,\n y: y,\n width: width,\n w: width,\n height: height,\n h: height,\n x2: x + width,\n y2: y + height,\n cx: x + width / 2,\n cy: y + height / 2,\n r1: Math.min(width, height) / 2,\n r2: Math.max(width, height) / 2,\n r0: Math.sqrt(width * width + height * height) / 2,\n path: rectPath(x, y, width, height),\n vb: [x, y, width, height].join(' ')\n };\n};\n\nvar isBBoxIntersect = function isBBoxIntersect(bbox1, bbox2) {\n // @ts-ignore\n bbox1 = box(bbox1); // @ts-ignore\n\n bbox2 = box(bbox2);\n return isPointInsideBBox(bbox2, bbox1.x, bbox1.y) || isPointInsideBBox(bbox2, bbox1.x2, bbox1.y) || isPointInsideBBox(bbox2, bbox1.x, bbox1.y2) || isPointInsideBBox(bbox2, bbox1.x2, bbox1.y2) || isPointInsideBBox(bbox1, bbox2.x, bbox2.y) || isPointInsideBBox(bbox1, bbox2.x2, bbox2.y) || isPointInsideBBox(bbox1, bbox2.x, bbox2.y2) || isPointInsideBBox(bbox1, bbox2.x2, bbox2.y2) || (bbox1.x < bbox2.x2 && bbox1.x > bbox2.x || bbox2.x < bbox1.x2 && bbox2.x > bbox1.x) && (bbox1.y < bbox2.y2 && bbox1.y > bbox2.y || bbox2.y < bbox1.y2 && bbox2.y > bbox1.y);\n};\n\nvar bezierBBox = function bezierBBox(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y) {\n if (!isArray(p1x)) {\n p1x = [p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y];\n }\n\n var bbox = curveDim.apply(null, p1x);\n return box(bbox.min.x, bbox.min.y, bbox.max.x - bbox.min.x, bbox.max.y - bbox.min.y);\n};\n\nvar findDotsAtSegment = function findDotsAtSegment(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t) {\n var t1 = 1 - t;\n var t13 = Math.pow(t1, 3);\n var t12 = Math.pow(t1, 2);\n var t2 = t * t;\n var t3 = t2 * t;\n var x = t13 * p1x + t12 * 3 * t * c1x + t1 * 3 * t * t * c2x + t3 * p2x;\n var y = t13 * p1y + t12 * 3 * t * c1y + t1 * 3 * t * t * c2y + t3 * p2y;\n var mx = p1x + 2 * t * (c1x - p1x) + t2 * (c2x - 2 * c1x + p1x);\n var my = p1y + 2 * t * (c1y - p1y) + t2 * (c2y - 2 * c1y + p1y);\n var nx = c1x + 2 * t * (c2x - c1x) + t2 * (p2x - 2 * c2x + c1x);\n var ny = c1y + 2 * t * (c2y - c1y) + t2 * (p2y - 2 * c2y + c1y);\n var ax = t1 * p1x + t * c1x;\n var ay = t1 * p1y + t * c1y;\n var cx = t1 * c2x + t * p2x;\n var cy = t1 * c2y + t * p2y;\n var alpha = 90 - Math.atan2(mx - nx, my - ny) * 180 / Math.PI; // (mx > nx || my < ny) && (alpha += 180);\n\n return {\n x: x,\n y: y,\n m: {\n x: mx,\n y: my\n },\n n: {\n x: nx,\n y: ny\n },\n start: {\n x: ax,\n y: ay\n },\n end: {\n x: cx,\n y: cy\n },\n alpha: alpha\n };\n};\n\nvar interHelper = function interHelper(bez1, bez2, justCount) {\n // @ts-ignore\n var bbox1 = bezierBBox(bez1); // @ts-ignore\n\n var bbox2 = bezierBBox(bez2);\n\n if (!isBBoxIntersect(bbox1, bbox2)) {\n return justCount ? 0 : [];\n }\n\n var l1 = bezlen.apply(0, bez1);\n var l2 = bezlen.apply(0, bez2);\n var n1 = ~~(l1 / 8);\n var n2 = ~~(l2 / 8);\n var dots1 = [];\n var dots2 = [];\n var xy = {};\n var res = justCount ? 0 : [];\n\n for (var i = 0; i < n1 + 1; i++) {\n var d = findDotsAtSegment.apply(0, bez1.concat(i / n1));\n dots1.push({\n x: d.x,\n y: d.y,\n t: i / n1\n });\n }\n\n for (var i = 0; i < n2 + 1; i++) {\n var d = findDotsAtSegment.apply(0, bez2.concat(i / n2));\n dots2.push({\n x: d.x,\n y: d.y,\n t: i / n2\n });\n }\n\n for (var i = 0; i < n1; i++) {\n for (var j = 0; j < n2; j++) {\n var di = dots1[i];\n var di1 = dots1[i + 1];\n var dj = dots2[j];\n var dj1 = dots2[j + 1];\n var ci = Math.abs(di1.x - di.x) < 0.001 ? 'y' : 'x';\n var cj = Math.abs(dj1.x - dj.x) < 0.001 ? 'y' : 'x';\n var is = intersect(di.x, di.y, di1.x, di1.y, dj.x, dj.y, dj1.x, dj1.y);\n\n if (is) {\n if (xy[is.x.toFixed(4)] === is.y.toFixed(4)) {\n continue;\n }\n\n xy[is.x.toFixed(4)] = is.y.toFixed(4);\n var t1 = di.t + Math.abs((is[ci] - di[ci]) / (di1[ci] - di[ci])) * (di1.t - di.t);\n var t2 = dj.t + Math.abs((is[cj] - dj[cj]) / (dj1[cj] - dj[cj])) * (dj1.t - dj.t);\n\n if (t1 >= 0 && t1 <= 1 && t2 >= 0 && t2 <= 1) {\n if (justCount) {\n // @ts-ignore\n res++;\n } else {\n // @ts-ignore\n res.push({\n x: is.x,\n y: is.y,\n t1: t1,\n t2: t2\n });\n }\n }\n }\n }\n }\n\n return res;\n};\n\nvar interPathHelper = function interPathHelper(path1, path2, justCount) {\n // @ts-ignore\n path1 = path2Curve(path1); // @ts-ignore\n\n path2 = path2Curve(path2);\n var x1;\n var y1;\n var x2;\n var y2;\n var x1m;\n var y1m;\n var x2m;\n var y2m;\n var bez1;\n var bez2;\n var res = justCount ? 0 : [];\n\n for (var i = 0, ii = path1.length; i < ii; i++) {\n var pi = path1[i];\n\n if (pi[0] === 'M') {\n x1 = x1m = pi[1];\n y1 = y1m = pi[2];\n } else {\n if (pi[0] === 'C') {\n bez1 = [x1, y1].concat(pi.slice(1));\n x1 = bez1[6];\n y1 = bez1[7];\n } else {\n bez1 = [x1, y1, x1, y1, x1m, y1m, x1m, y1m];\n x1 = x1m;\n y1 = y1m;\n }\n\n for (var j = 0, jj = path2.length; j < jj; j++) {\n var pj = path2[j];\n\n if (pj[0] === 'M') {\n x2 = x2m = pj[1];\n y2 = y2m = pj[2];\n } else {\n if (pj[0] === 'C') {\n bez2 = [x2, y2].concat(pj.slice(1));\n x2 = bez2[6];\n y2 = bez2[7];\n } else {\n bez2 = [x2, y2, x2, y2, x2m, y2m, x2m, y2m];\n x2 = x2m;\n y2 = y2m;\n }\n\n var intr = interHelper(bez1, bez2, justCount);\n\n if (justCount) {\n // @ts-ignore\n res += intr;\n } else {\n // @ts-ignore\n for (var k = 0, kk = intr.length; k < kk; k++) {\n intr[k].segment1 = i;\n intr[k].segment2 = j;\n intr[k].bez1 = bez1;\n intr[k].bez2 = bez2;\n } // @ts-ignore\n\n\n res = res.concat(intr);\n }\n }\n }\n }\n }\n\n return res;\n};\n\nexport default function pathIntersection(path1, path2) {\n // @ts-ignore\n return interPathHelper(path1, path2);\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path-array.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path-array.js", "index": 227, "index2": 223, "size": 119, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./parse-path-array", "loc": "7:0-63" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./parse-path-array", "loc": "7:0-63" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "var p2s = /,?([a-z]),?/gi;\nexport default function parsePathArray(path) {\n return path.join(',').replace(p2s, '$1');\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-arc-params.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-arc-params.js", "index": 228, "index2": 226, "size": 3102, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "type": "harmony side effect evaluation", "userRequest": "./get-arc-params", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "type": "harmony side effect evaluation", "userRequest": "./get-arc-params", "loc": "2:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-arc-params", "loc": "12:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-arc-params", "loc": "12:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "type": "harmony import specifier", "userRequest": "./get-arc-params", "loc": "42:24-36" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "type": "harmony import specifier", "userRequest": "./get-arc-params", "loc": "72:45-56" } ], "usedExports": ["default", "isSamePoint"], "providedExports": ["isSamePoint", "default"], "optimizationBailout": [], "depth": 4, "source": "import mod from '@antv/util/lib/mod';\nimport toRadian from '@antv/util/lib/to-radian'; // 向量长度\n\nfunction vMag(v) {\n return Math.sqrt(v[0] * v[0] + v[1] * v[1]);\n} // u.v/|u||v|,计算夹角的余弦值\n\n\nfunction vRatio(u, v) {\n // 当存在一个向量的长度为 0 时,夹角也为 0,即夹角的余弦值为 1\n return vMag(u) * vMag(v) ? (u[0] * v[0] + u[1] * v[1]) / (vMag(u) * vMag(v)) : 1;\n} // 向量角度\n\n\nfunction vAngle(u, v) {\n return (u[0] * v[1] < u[1] * v[0] ? -1 : 1) * Math.acos(vRatio(u, v));\n}\n/**\n * 判断两个点是否重合,点坐标的格式为 [x, y]\n * @param {Array} point1 第一个点\n * @param {Array} point2 第二个点\n */\n\n\nexport function isSamePoint(point1, point2) {\n return point1[0] === point2[0] && point1[1] === point2[1];\n} // A 0:rx 1:ry 2:x-axis-rotation 3:large-arc-flag 4:sweep-flag 5: x 6: y\n\nexport default function getArcParams(startPoint, params) {\n var rx = params[1];\n var ry = params[2];\n var xRotation = mod(toRadian(params[3]), Math.PI * 2);\n var arcFlag = params[4];\n var sweepFlag = params[5]; // 弧形起点坐标\n\n var x1 = startPoint[0];\n var y1 = startPoint[1]; // 弧形终点坐标\n\n var x2 = params[6];\n var y2 = params[7];\n var xp = Math.cos(xRotation) * (x1 - x2) / 2.0 + Math.sin(xRotation) * (y1 - y2) / 2.0;\n var yp = -1 * Math.sin(xRotation) * (x1 - x2) / 2.0 + Math.cos(xRotation) * (y1 - y2) / 2.0;\n var lambda = xp * xp / (rx * rx) + yp * yp / (ry * ry);\n\n if (lambda > 1) {\n rx *= Math.sqrt(lambda);\n ry *= Math.sqrt(lambda);\n }\n\n var diff = rx * rx * (yp * yp) + ry * ry * (xp * xp);\n var f = diff ? Math.sqrt((rx * rx * (ry * ry) - diff) / diff) : 1;\n\n if (arcFlag === sweepFlag) {\n f *= -1;\n }\n\n if (isNaN(f)) {\n f = 0;\n } // 旋转前的起点坐标,且当长半轴和短半轴的长度为 0 时,坐标按 (0, 0) 处理\n\n\n var cxp = ry ? f * rx * yp / ry : 0;\n var cyp = rx ? f * -ry * xp / rx : 0; // 椭圆圆心坐标\n\n var cx = (x1 + x2) / 2.0 + Math.cos(xRotation) * cxp - Math.sin(xRotation) * cyp;\n var cy = (y1 + y2) / 2.0 + Math.sin(xRotation) * cxp + Math.cos(xRotation) * cyp; // 起始点的单位向量\n\n var u = [(xp - cxp) / rx, (yp - cyp) / ry]; // 终止点的单位向量\n\n var v = [(-1 * xp - cxp) / rx, (-1 * yp - cyp) / ry]; // 计算起始点和圆心的连线,与 x 轴正方向的夹角\n\n var theta = vAngle([1, 0], u); // 计算圆弧起始点和终止点与椭圆圆心连线的夹角\n\n var dTheta = vAngle(u, v);\n\n if (vRatio(u, v) <= -1) {\n dTheta = Math.PI;\n }\n\n if (vRatio(u, v) >= 1) {\n dTheta = 0;\n }\n\n if (sweepFlag === 0 && dTheta > 0) {\n dTheta = dTheta - 2 * Math.PI;\n }\n\n if (sweepFlag === 1 && dTheta < 0) {\n dTheta = dTheta + 2 * Math.PI;\n }\n\n return {\n cx: cx,\n cy: cy,\n // 弧形的起点和终点相同时,长轴和短轴的长度按 0 处理\n rx: isSamePoint(startPoint, [x2, y2]) ? 0 : rx,\n ry: isSamePoint(startPoint, [x2, y2]) ? 0 : ry,\n startAngle: theta,\n endAngle: theta + dTheta,\n xRotation: xRotation,\n arcFlag: arcFlag,\n sweepFlag: sweepFlag\n };\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "index": 231, "index2": 227, "size": 5927, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./path-2-segments", "loc": "13:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./path-2-segments", "loc": "13:0-61" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import getArcParams from './get-arc-params';\nimport { isSamePoint } from './get-arc-params';\nimport parsePath from './parse-path'; // 点对称\n\nfunction toSymmetry(point, center) {\n return [center[0] + (center[0] - point[0]), center[1] + (center[1] - point[1])];\n}\n\nexport default function getSegments(path) {\n path = parsePath(path);\n var segments = [];\n var currentPoint = null; // 当前图形\n\n var nextParams = null; // 下一节点的 path 参数\n\n var startMovePoint = null; // 开始 M 的点,可能会有多个\n\n var lastStartMovePointIndex = 0; // 最近一个开始点 M 的索引\n\n var count = path.length;\n\n for (var i = 0; i < count; i++) {\n var params = path[i];\n nextParams = path[i + 1];\n var command = params[0]; // 数学定义上的参数,便于后面的计算\n\n var segment = {\n command: command,\n prePoint: currentPoint,\n params: params,\n startTangent: null,\n endTangent: null\n };\n\n switch (command) {\n case 'M':\n startMovePoint = [params[1], params[2]];\n lastStartMovePointIndex = i;\n break;\n\n case 'A':\n var arcParams = getArcParams(currentPoint, params);\n segment['arcParams'] = arcParams;\n break;\n\n default:\n break;\n }\n\n if (command === 'Z') {\n // 有了 Z 后,当前节点从开始 M 的点开始\n currentPoint = startMovePoint; // 如果当前点的命令为 Z,相当于当前点为最近一个 M 点,则下一个点直接指向最近一个 M 点的下一个点\n\n nextParams = path[lastStartMovePointIndex + 1];\n } else {\n var len = params.length;\n currentPoint = [params[len - 2], params[len - 1]];\n }\n\n if (nextParams && nextParams[0] === 'Z') {\n // 如果下一个点的命令为 Z,则下一个点直接指向最近一个 M 点\n nextParams = path[lastStartMovePointIndex];\n\n if (segments[lastStartMovePointIndex]) {\n // 如果下一个点的命令为 Z,则最近一个 M 点的前一个点为当前点\n segments[lastStartMovePointIndex].prePoint = currentPoint;\n }\n }\n\n segment['currentPoint'] = currentPoint; // 如果当前点与最近一个 M 点相同,则最近一个 M 点的前一个点为当前点的前一个点\n\n if (segments[lastStartMovePointIndex] && isSamePoint(currentPoint, segments[lastStartMovePointIndex].currentPoint)) {\n segments[lastStartMovePointIndex].prePoint = segment.prePoint;\n }\n\n var nextPoint = nextParams ? [nextParams[nextParams.length - 2], nextParams[nextParams.length - 1]] : null;\n segment['nextPoint'] = nextPoint; // Add startTangent and endTangent\n\n var prePoint = segment.prePoint;\n\n if (['L', 'H', 'V'].includes(command)) {\n segment.startTangent = [prePoint[0] - currentPoint[0], prePoint[1] - currentPoint[1]];\n segment.endTangent = [currentPoint[0] - prePoint[0], currentPoint[1] - prePoint[1]];\n } else if (command === 'Q') {\n // 二次贝塞尔曲线只有一个控制点\n var cp = [params[1], params[2]]; // 二次贝塞尔曲线的终点为 currentPoint\n\n segment.startTangent = [prePoint[0] - cp[0], prePoint[1] - cp[1]];\n segment.endTangent = [currentPoint[0] - cp[0], currentPoint[1] - cp[1]];\n } else if (command === 'T') {\n var preSegment = segments[i - 1];\n var cp = toSymmetry(preSegment.currentPoint, prePoint);\n\n if (preSegment.command === 'Q') {\n segment.command = 'Q';\n segment.startTangent = [prePoint[0] - cp[0], prePoint[1] - cp[1]];\n segment.endTangent = [currentPoint[0] - cp[0], currentPoint[1] - cp[1]];\n } else {\n segment.command = 'TL';\n segment.startTangent = [prePoint[0] - currentPoint[0], prePoint[1] - currentPoint[1]];\n segment.endTangent = [currentPoint[0] - prePoint[0], currentPoint[1] - prePoint[1]];\n }\n } else if (command === 'C') {\n // 三次贝塞尔曲线有两个控制点\n var cp1 = [params[1], params[2]];\n var cp2 = [params[3], params[4]];\n segment.startTangent = [prePoint[0] - cp1[0], prePoint[1] - cp1[1]];\n segment.endTangent = [currentPoint[0] - cp2[0], currentPoint[1] - cp2[1]];\n } else if (command === 'S') {\n var preSegment = segments[i - 1];\n var cp1 = toSymmetry(preSegment.currentPoint, prePoint);\n var cp2 = [params[1], params[2]];\n\n if (preSegment.command === 'C') {\n segment.command = 'C'; // 将 S 命令变换为 C 命令\n\n segment.startTangent = [prePoint[0] - cp1[0], prePoint[1] - cp1[1]];\n segment.endTangent = [currentPoint[0] - cp2[0], currentPoint[1] - cp2[1]];\n } else {\n segment.command = 'SQ'; // 将 S 命令变换为 SQ 命令\n\n segment.startTangent = [prePoint[0] - cp2[0], prePoint[1] - cp2[1]];\n segment.endTangent = [currentPoint[0] - cp2[0], currentPoint[1] - cp2[1]];\n }\n } else if (command === 'A') {\n var d = 0.001;\n\n var _a = segment['arcParams'] || {},\n _b = _a.cx,\n cx = _b === void 0 ? 0 : _b,\n _c = _a.cy,\n cy = _c === void 0 ? 0 : _c,\n _d = _a.rx,\n rx = _d === void 0 ? 0 : _d,\n _e = _a.ry,\n ry = _e === void 0 ? 0 : _e,\n _f = _a.sweepFlag,\n sweepFlag = _f === void 0 ? 0 : _f,\n _g = _a.startAngle,\n startAngle = _g === void 0 ? 0 : _g,\n _h = _a.endAngle,\n endAngle = _h === void 0 ? 0 : _h;\n\n if (sweepFlag === 0) {\n d *= -1;\n }\n\n var dx1 = rx * Math.cos(startAngle - d) + cx;\n var dy1 = ry * Math.sin(startAngle - d) + cy;\n segment.startTangent = [dx1 - startMovePoint[0], dy1 - startMovePoint[1]];\n var dx2 = rx * Math.cos(startAngle + endAngle + d) + cx;\n var dy2 = ry * Math.sin(startAngle + endAngle - d) + cy;\n segment.endTangent = [prePoint[0] - dx2, prePoint[1] - dy2];\n }\n\n segments.push(segment);\n }\n\n return segments;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-line-intersect.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-line-intersect.js", "index": 232, "index2": 228, "size": 838, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "type": "harmony side effect evaluation", "userRequest": "./get-line-intersect", "loc": "2:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-line-intersect", "loc": "14:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-line-intersect", "loc": "14:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "type": "harmony import specifier", "userRequest": "./get-line-intersect", "loc": "45:8-24" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "var isBetween = function isBetween(value, min, max) {\n return value >= min && value <= max;\n};\n\nexport default function getLineIntersect(p0, p1, p2, p3) {\n var tolerance = 0.001;\n var E = {\n x: p2.x - p0.x,\n y: p2.y - p0.y\n };\n var D0 = {\n x: p1.x - p0.x,\n y: p1.y - p0.y\n };\n var D1 = {\n x: p3.x - p2.x,\n y: p3.y - p2.y\n };\n var kross = D0.x * D1.y - D0.y * D1.x;\n var sqrKross = kross * kross;\n var sqrLen0 = D0.x * D0.x + D0.y * D0.y;\n var sqrLen1 = D1.x * D1.x + D1.y * D1.y;\n var point = null;\n\n if (sqrKross > tolerance * sqrLen0 * sqrLen1) {\n var s = (E.x * D1.y - E.y * D1.x) / kross;\n var t = (E.x * D0.y - E.y * D0.x) / kross;\n\n if (isBetween(s, 0, 1) && isBetween(t, 0, 1)) {\n point = {\n x: p0.x + s * D0.x,\n y: p0.y + s * D0.y\n };\n }\n }\n\n return point;\n}\n;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/point-in-polygon.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/point-in-polygon.js", "index": 234, "index2": 229, "size": 1441, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "type": "harmony side effect evaluation", "userRequest": "./point-in-polygon", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./point-in-polygon", "loc": "16:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./point-in-polygon", "loc": "16:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "type": "harmony import specifier", "userRequest": "./point-in-polygon", "loc": "88:8-24" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "type": "harmony import specifier", "userRequest": "./point-in-polygon", "loc": "100:8-24" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "/**\n * @fileoverview 判断点是否在多边形内\n * @author dxq613@gmail.com\n */\n// 多边形的射线检测,参考:https://blog.csdn.net/WilliamSun0122/article/details/77994526\nvar tolerance = 1e-6; // 三态函数,判断两个double在eps精度下的大小关系\n\nfunction dcmp(x) {\n if (Math.abs(x) < tolerance) {\n return 0;\n }\n\n return x < 0 ? -1 : 1;\n} // 判断点Q是否在p1和p2的线段上\n\n\nfunction onSegment(p1, p2, q) {\n if ((q[0] - p1[0]) * (p2[1] - p1[1]) === (p2[0] - p1[0]) * (q[1] - p1[1]) && Math.min(p1[0], p2[0]) <= q[0] && q[0] <= Math.max(p1[0], p2[0]) && Math.min(p1[1], p2[1]) <= q[1] && q[1] <= Math.max(p1[1], p2[1])) {\n return true;\n }\n\n return false;\n} // 判断点P在多边形内-射线法\n\n\nexport default function isInPolygon(points, x, y) {\n var isHit = false;\n var n = points.length;\n\n if (n <= 2) {\n // svg 中点小于 3 个时,不显示,也无法被拾取\n return false;\n }\n\n for (var i = 0; i < n; i++) {\n var p1 = points[i];\n var p2 = points[(i + 1) % n];\n\n if (onSegment(p1, p2, [x, y])) {\n // 点在多边形一条边上\n return true;\n } // 前一个判断min(p1[1],p2[1]) 0 !== dcmp(p2[1] - y) > 0 && dcmp(x - (y - p1[1]) * (p1[0] - p2[0]) / (p1[1] - p2[1]) - p1[0]) < 0) {\n isHit = !isHit;\n }\n }\n\n return isHit;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "index": 233, "index2": 230, "size": 2639, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-polygons-intersect", "loc": "15:0-73" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-polygons-intersect", "loc": "15:0-73" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import isPointInPolygon from './point-in-polygon';\nimport getLineIntersect from './get-line-intersect';\nimport { each } from '@antv/util';\n\nfunction parseToLines(points) {\n var lines = [];\n var count = points.length;\n\n for (var i = 0; i < count - 1; i++) {\n var point = points[i];\n var next = points[i + 1];\n lines.push({\n from: {\n x: point[0],\n y: point[1]\n },\n to: {\n x: next[0],\n y: next[1]\n }\n });\n }\n\n if (lines.length > 1) {\n var first = points[0];\n var last = points[count - 1];\n lines.push({\n from: {\n x: last[0],\n y: last[1]\n },\n to: {\n x: first[0],\n y: first[1]\n }\n });\n }\n\n return lines;\n}\n\nfunction lineIntersectPolygon(lines, line) {\n var isIntersect = false;\n each(lines, function (l) {\n if (getLineIntersect(l.from, l.to, line.from, line.to)) {\n isIntersect = true;\n return false;\n }\n });\n return isIntersect;\n}\n\nfunction getBBox(points) {\n var xArr = points.map(function (p) {\n return p[0];\n });\n var yArr = points.map(function (p) {\n return p[1];\n });\n return {\n minX: Math.min.apply(null, xArr),\n maxX: Math.max.apply(null, xArr),\n minY: Math.min.apply(null, yArr),\n maxY: Math.max.apply(null, yArr)\n };\n}\n\nfunction intersectBBox(box1, box2) {\n return !(box2.minX > box1.maxX || box2.maxX < box1.minX || box2.minY > box1.maxY || box2.maxY < box1.minY);\n}\n\nexport default function isPolygonsIntersect(points1, points2) {\n // 空数组,或者一个点返回 false\n if (points1.length < 2 || points2.length < 2) {\n return false;\n }\n\n var bbox1 = getBBox(points1);\n var bbox2 = getBBox(points2); // 判定包围盒是否相交,比判定点是否在多边形内要快的多,可以筛选掉大多数情况\n\n if (!intersectBBox(bbox1, bbox2)) {\n return false;\n }\n\n var isIn = false; // 判定点是否在多边形内部,一旦有一个点在另一个多边形内,则返回\n\n each(points2, function (point) {\n if (isPointInPolygon(points1, point[0], point[1])) {\n isIn = true;\n return false;\n }\n });\n\n if (isIn) {\n return true;\n } // 两个多边形都需要判定\n\n\n each(points1, function (point) {\n if (isPointInPolygon(points2, point[0], point[1])) {\n isIn = true;\n return false;\n }\n });\n\n if (isIn) {\n return true;\n }\n\n var lines1 = parseToLines(points1);\n var lines2 = parseToLines(points2);\n var isIntersect = false;\n each(lines2, function (line) {\n if (lineIntersectPolygon(lines1, line)) {\n isIntersect = true;\n return false;\n }\n });\n return isIntersect;\n}" } ], "filteredModules": 0 }, { "id": 25, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "index": 160, "index2": 158, "size": 60144, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony side effect evaluation", "userRequest": "./element", "loc": "2:0-32" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "./element", "loc": "562:2-9" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony side effect evaluation", "userRequest": "./element", "loc": "2:0-32" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony import specifier", "userRequest": "./element", "loc": "193:2-9" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js because of ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/matrix.js because of ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js because of ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_tslib@2.0.3@tslib/tslib.es6.js because of ./src/index.ts" ], "depth": 4, "modules": [ { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "index": 160, "index2": 158, "size": 22263, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "issuerId": 42, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } } ], "profile": { "factory": 144, "building": 354, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony side effect evaluation", "userRequest": "./element", "loc": "2:0-32" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "./element", "loc": "562:2-9" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony side effect evaluation", "userRequest": "./element", "loc": "2:0-32" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony import specifier", "userRequest": "./element", "loc": "193:2-9" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import { __extends } from \"tslib\";\nimport { each, isEqual, isFunction, isNumber, isObject, isArray, noop, mix, upperFirst, uniqueId } from '@antv/util';\nimport { ext } from '@antv/matrix-util';\nimport { removeFromArray, isParent } from '../util/util';\nimport { multiplyMatrix, multiplyVec2, invert } from '../util/matrix';\nimport Base from './base';\nvar transform = ext.transform;\nvar MATRIX = 'matrix';\nvar CLONE_CFGS = ['zIndex', 'capture', 'visible', 'type']; // 可以在 toAttrs 中设置,但不属于绘图属性的字段\n\nvar RESERVED_PORPS = ['repeat'];\nvar DELEGATION_SPLIT = ':';\nvar WILDCARD = '*'; // 需要考虑数组嵌套数组的场景\n// 数组嵌套对象的场景不考虑\n\nfunction _cloneArrayAttr(arr) {\n var result = [];\n\n for (var i = 0; i < arr.length; i++) {\n if (isArray(arr[i])) {\n result.push([].concat(arr[i]));\n } else {\n result.push(arr[i]);\n }\n }\n\n return result;\n}\n\nfunction getFormatFromAttrs(toAttrs, shape) {\n var fromAttrs = {};\n var attrs = shape.attrs;\n\n for (var k in toAttrs) {\n fromAttrs[k] = attrs[k];\n }\n\n return fromAttrs;\n}\n\nfunction getFormatToAttrs(props, shape) {\n var toAttrs = {};\n var attrs = shape.attr();\n each(props, function (v, k) {\n if (RESERVED_PORPS.indexOf(k) === -1 && !isEqual(attrs[k], v)) {\n toAttrs[k] = v;\n }\n });\n return toAttrs;\n}\n\nfunction checkExistedAttrs(animations, animation) {\n if (animation.onFrame) {\n return animations;\n }\n\n var startTime = animation.startTime,\n delay = animation.delay,\n duration = animation.duration;\n var hasOwnProperty = Object.prototype.hasOwnProperty;\n each(animations, function (item) {\n // 后一个动画开始执行的时间 < 前一个动画的结束时间 && 后一个动画的执行时间 > 前一个动画的延迟\n if (startTime + delay < item.startTime + item.delay + item.duration && duration > item.delay) {\n each(animation.toAttrs, function (v, k) {\n if (hasOwnProperty.call(item.toAttrs, k)) {\n delete item.toAttrs[k];\n delete item.fromAttrs[k];\n }\n });\n }\n });\n return animations;\n}\n\nvar Element =\n/** @class */\nfunction (_super) {\n __extends(Element, _super);\n\n function Element(cfg) {\n var _this = _super.call(this, cfg) || this;\n /**\n * @protected\n * 图形属性\n * @type {ShapeAttrs}\n */\n\n\n _this.attrs = {};\n\n var attrs = _this.getDefaultAttrs();\n\n mix(attrs, cfg.attrs);\n _this.attrs = attrs;\n\n _this.initAttrs(attrs);\n\n _this.initAnimate(); // 初始化动画\n\n\n return _this;\n } // override\n\n\n Element.prototype.getDefaultCfg = function () {\n return {\n visible: true,\n capture: true,\n zIndex: 0\n };\n };\n /**\n * @protected\n * 获取默认的属相\n */\n\n\n Element.prototype.getDefaultAttrs = function () {\n return {\n matrix: this.getDefaultMatrix(),\n opacity: 1\n };\n };\n /**\n * @protected\n * 一些方法调用会引起画布变化\n * @param {ChangeType} changeType 改变的类型\n */\n\n\n Element.prototype.onCanvasChange = function (changeType) {};\n /**\n * @protected\n * 初始化属性,有些属性需要加工\n * @param {object} attrs 属性值\n */\n\n\n Element.prototype.initAttrs = function (attrs) {};\n /**\n * @protected\n * 初始化动画\n */\n\n\n Element.prototype.initAnimate = function () {\n this.set('animable', true);\n this.set('animating', false);\n };\n\n Element.prototype.isGroup = function () {\n return false;\n };\n\n Element.prototype.getParent = function () {\n return this.get('parent');\n };\n\n Element.prototype.getCanvas = function () {\n return this.get('canvas');\n };\n\n Element.prototype.attr = function () {\n var _a;\n\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n var name = args[0],\n value = args[1];\n if (!name) return this.attrs;\n\n if (isObject(name)) {\n for (var k in name) {\n this.setAttr(k, name[k]);\n }\n\n this.afterAttrsChange(name);\n return this;\n }\n\n if (args.length === 2) {\n this.setAttr(name, value);\n this.afterAttrsChange((_a = {}, _a[name] = value, _a));\n return this;\n }\n\n return this.attrs[name];\n }; // 是否被裁剪,被裁剪则不显示,不参与拾取\n\n\n Element.prototype.isClipped = function (refX, refY) {\n var clip = this.getClip();\n return clip && !clip.isHit(refX, refY);\n };\n /**\n * 内部设置属性值的接口\n * @param {string} name 属性名\n * @param {any} value 属性值\n */\n\n\n Element.prototype.setAttr = function (name, value) {\n var originValue = this.attrs[name];\n\n if (originValue !== value) {\n this.attrs[name] = value;\n this.onAttrChange(name, value, originValue);\n }\n };\n /**\n * @protected\n * 属性值发生改变\n * @param {string} name 属性名\n * @param {any} value 属性值\n * @param {any} originValue 属性值\n */\n\n\n Element.prototype.onAttrChange = function (name, value, originValue) {\n if (name === 'matrix') {\n this.set('totalMatrix', null);\n }\n };\n /**\n * 属性更改后需要做的事情\n * @protected\n */\n\n\n Element.prototype.afterAttrsChange = function (targetAttrs) {\n if (this.cfg.isClipShape) {\n var applyTo = this.cfg.applyTo;\n\n if (applyTo) {\n applyTo.onCanvasChange('clip');\n }\n } else {\n this.onCanvasChange('attr');\n }\n };\n\n Element.prototype.show = function () {\n // 不是高频操作直接使用 set\n this.set('visible', true);\n this.onCanvasChange('show');\n return this;\n };\n\n Element.prototype.hide = function () {\n // 不是高频操作直接使用 set\n this.set('visible', false);\n this.onCanvasChange('hide');\n return this;\n };\n\n Element.prototype.setZIndex = function (zIndex) {\n this.set('zIndex', zIndex);\n var parent = this.getParent();\n\n if (parent) {\n // 改变 zIndex 不应该立即触发渲染 (调用 onCanvasChange('zIndex')),需要经过 sort 再触发\n parent.sort();\n }\n\n return this;\n };\n\n Element.prototype.toFront = function () {\n var parent = this.getParent();\n\n if (!parent) {\n return;\n }\n\n var children = parent.getChildren();\n var el = this.get('el');\n var index = children.indexOf(this);\n children.splice(index, 1);\n children.push(this);\n this.onCanvasChange('zIndex');\n };\n\n Element.prototype.toBack = function () {\n var parent = this.getParent();\n\n if (!parent) {\n return;\n }\n\n var children = parent.getChildren();\n var el = this.get('el');\n var index = children.indexOf(this);\n children.splice(index, 1);\n children.unshift(this);\n this.onCanvasChange('zIndex');\n };\n\n Element.prototype.remove = function (destroy) {\n if (destroy === void 0) {\n destroy = true;\n }\n\n var parent = this.getParent();\n\n if (parent) {\n removeFromArray(parent.getChildren(), this);\n\n if (!parent.get('clearing')) {\n // 如果父元素正在清理,当前元素不触发 remove\n this.onCanvasChange('remove');\n }\n } else {\n this.onCanvasChange('remove');\n }\n\n if (destroy) {\n this.destroy();\n }\n };\n\n Element.prototype.resetMatrix = function () {\n this.attr(MATRIX, this.getDefaultMatrix());\n this.onCanvasChange('matrix');\n };\n\n Element.prototype.getMatrix = function () {\n return this.attr(MATRIX);\n };\n\n Element.prototype.setMatrix = function (m) {\n this.attr(MATRIX, m);\n this.onCanvasChange('matrix');\n }; // 获取总的 matrix\n\n\n Element.prototype.getTotalMatrix = function () {\n var totalMatrix = this.cfg.totalMatrix;\n\n if (!totalMatrix) {\n var currentMatrix = this.attr('matrix');\n var parentMatrix = this.cfg.parentMatrix;\n\n if (parentMatrix && currentMatrix) {\n totalMatrix = multiplyMatrix(parentMatrix, currentMatrix);\n } else {\n totalMatrix = currentMatrix || parentMatrix;\n }\n\n this.set('totalMatrix', totalMatrix);\n }\n\n return totalMatrix;\n }; // 上层分组设置 matrix\n\n\n Element.prototype.applyMatrix = function (matrix) {\n var currentMatrix = this.attr('matrix');\n var totalMatrix = null;\n\n if (matrix && currentMatrix) {\n totalMatrix = multiplyMatrix(matrix, currentMatrix);\n } else {\n totalMatrix = currentMatrix || matrix;\n }\n\n this.set('totalMatrix', totalMatrix);\n this.set('parentMatrix', matrix);\n };\n /**\n * @protected\n * 获取默认的矩阵\n * @returns {number[]|null} 默认的矩阵\n */\n\n\n Element.prototype.getDefaultMatrix = function () {\n return null;\n }; // 将向量应用设置的矩阵\n\n\n Element.prototype.applyToMatrix = function (v) {\n var matrix = this.attr('matrix');\n\n if (matrix) {\n return multiplyVec2(matrix, v);\n }\n\n return v;\n }; // 根据设置的矩阵,将向量转换相对于图形/分组的位置\n\n\n Element.prototype.invertFromMatrix = function (v) {\n var matrix = this.attr('matrix');\n\n if (matrix) {\n var invertMatrix = invert(matrix);\n\n if (invertMatrix) {\n return multiplyVec2(invertMatrix, v);\n }\n }\n\n return v;\n }; // 设置 clip\n\n\n Element.prototype.setClip = function (clipCfg) {\n var canvas = this.getCanvas(); // 应该只设置当前元素的 clip,不应该去修改 clip 本身,方便 clip 被复用\n // TODO: setClip 的传参既 shape 配置,也支持 shape 对象\n // const preShape = this.get('clipShape');\n // if (preShape) {\n // // 将之前的 clipShape 销毁\n // preShape.destroy();\n // }\n\n var clipShape = null; // 如果配置项为 null,则不移除 clipShape\n\n if (clipCfg) {\n var ShapeBase = this.getShapeBase();\n var shapeType = upperFirst(clipCfg.type);\n var Cons = ShapeBase[shapeType];\n\n if (Cons) {\n clipShape = new Cons({\n type: clipCfg.type,\n isClipShape: true,\n applyTo: this,\n attrs: clipCfg.attrs,\n canvas: canvas\n });\n }\n }\n\n this.set('clipShape', clipShape);\n this.onCanvasChange('clip');\n return clipShape;\n };\n\n Element.prototype.getClip = function () {\n // 高频率调用的地方直接使用 this.cfg.xxx\n var clipShape = this.cfg.clipShape; // 未设置时返回 Null,保证一致性\n\n if (!clipShape) {\n return null;\n }\n\n return clipShape;\n };\n\n Element.prototype.clone = function () {\n var _this = this;\n\n var originAttrs = this.attrs;\n var attrs = {};\n each(originAttrs, function (i, k) {\n if (isArray(originAttrs[k])) {\n attrs[k] = _cloneArrayAttr(originAttrs[k]);\n } else {\n attrs[k] = originAttrs[k];\n }\n });\n var cons = this.constructor; // @ts-ignore\n\n var clone = new cons({\n attrs: attrs\n });\n each(CLONE_CFGS, function (cfgName) {\n clone.set(cfgName, _this.get(cfgName));\n });\n return clone;\n };\n\n Element.prototype.destroy = function () {\n var destroyed = this.destroyed;\n\n if (destroyed) {\n return;\n }\n\n this.attrs = {};\n\n _super.prototype.destroy.call(this); // this.onCanvasChange('destroy');\n\n };\n /**\n * 是否处于动画暂停状态\n * @return {boolean} 是否处于动画暂停状态\n */\n\n\n Element.prototype.isAnimatePaused = function () {\n return this.get('_pause').isPaused;\n };\n /**\n * 执行动画,支持多种函数签名\n * 1. animate(toAttrs: ElementAttrs, duration: number, easing?: string, callback?: () => void, delay?: number)\n * 2. animate(onFrame: OnFrame, duration: number, easing?: string, callback?: () => void, delay?: number)\n * 3. animate(toAttrs: ElementAttrs, cfg: AnimateCfg)\n * 4. animate(onFrame: OnFrame, cfg: AnimateCfg)\n * 各个参数的含义为:\n * toAttrs 动画最终状态\n * onFrame 自定义帧动画函数\n * duration 动画执行时间\n * easing 动画缓动效果\n * callback 动画执行后的回调\n * delay 动画延迟时间\n */\n\n\n Element.prototype.animate = function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n this.set('animating', true);\n var timeline = this.get('timeline');\n\n if (!timeline) {\n timeline = this.get('canvas').get('timeline');\n this.set('timeline', timeline);\n }\n\n var animations = this.get('animations') || []; // 初始化 tick\n\n if (!timeline.timer) {\n timeline.initTimer();\n }\n\n var toAttrs = args[0],\n duration = args[1],\n _a = args[2],\n easing = _a === void 0 ? 'easeLinear' : _a,\n _b = args[3],\n callback = _b === void 0 ? noop : _b,\n _c = args[4],\n delay = _c === void 0 ? 0 : _c;\n var onFrame;\n var repeat;\n var pauseCallback;\n var resumeCallback;\n var animateCfg; // 第二个参数,既可以是动画最终状态 toAttrs,也可以是自定义帧动画函数 onFrame\n\n if (isFunction(toAttrs)) {\n onFrame = toAttrs;\n toAttrs = {};\n } else if (isObject(toAttrs) && toAttrs.onFrame) {\n // 兼容 3.0 中的写法,onFrame 和 repeat 可在 toAttrs 中设置\n onFrame = toAttrs.onFrame;\n repeat = toAttrs.repeat;\n } // 第二个参数,既可以是执行时间 duration,也可以是动画参数 animateCfg\n\n\n if (isObject(duration)) {\n animateCfg = duration;\n duration = animateCfg.duration;\n easing = animateCfg.easing || 'easeLinear';\n delay = animateCfg.delay || 0; // animateCfg 中的设置优先级更高\n\n repeat = animateCfg.repeat || repeat || false;\n callback = animateCfg.callback || noop;\n pauseCallback = animateCfg.pauseCallback || noop;\n resumeCallback = animateCfg.resumeCallback || noop;\n } else {\n // 第四个参数,既可以是回调函数 callback,也可以是延迟时间 delay\n if (isNumber(callback)) {\n delay = callback;\n callback = null;\n } // 第三个参数,既可以是缓动参数 easing,也可以是回调函数 callback\n\n\n if (isFunction(easing)) {\n callback = easing;\n easing = 'easeLinear';\n } else {\n easing = easing || 'easeLinear';\n }\n }\n\n var formatToAttrs = getFormatToAttrs(toAttrs, this);\n var animation = {\n fromAttrs: getFormatFromAttrs(formatToAttrs, this),\n toAttrs: formatToAttrs,\n duration: duration,\n easing: easing,\n repeat: repeat,\n callback: callback,\n pauseCallback: pauseCallback,\n resumeCallback: resumeCallback,\n delay: delay,\n startTime: timeline.getTime(),\n id: uniqueId(),\n onFrame: onFrame,\n pathFormatted: false\n }; // 如果动画元素队列中已经有这个图形了\n\n if (animations.length > 0) {\n // 先检查是否需要合并属性。若有相同的动画,将该属性从前一个动画中删除,直接用后一个动画中\n animations = checkExistedAttrs(animations, animation);\n } else {\n // 否则将图形添加到动画元素队列\n timeline.addAnimator(this);\n }\n\n animations.push(animation);\n this.set('animations', animations);\n this.set('_pause', {\n isPaused: false\n });\n };\n /**\n * 停止动画\n * @param {boolean} toEnd 是否到动画的最终状态\n */\n\n\n Element.prototype.stopAnimate = function (toEnd) {\n var _this = this;\n\n if (toEnd === void 0) {\n toEnd = true;\n }\n\n var animations = this.get('animations');\n each(animations, function (animation) {\n // 将动画执行到最后一帧\n if (toEnd) {\n if (animation.onFrame) {\n _this.attr(animation.onFrame(1));\n } else {\n _this.attr(animation.toAttrs);\n }\n }\n\n if (animation.callback) {\n // 动画停止时的回调\n animation.callback();\n }\n });\n this.set('animating', false);\n this.set('animations', []);\n };\n /**\n * 暂停动画\n */\n\n\n Element.prototype.pauseAnimate = function () {\n var timeline = this.get('timeline');\n var animations = this.get('animations');\n var pauseTime = timeline.getTime();\n each(animations, function (animation) {\n animation._paused = true;\n animation._pauseTime = pauseTime;\n\n if (animation.pauseCallback) {\n // 动画暂停时的回调\n animation.pauseCallback();\n }\n }); // 记录下是在什么时候暂停的\n\n this.set('_pause', {\n isPaused: true,\n pauseTime: pauseTime\n });\n return this;\n };\n /**\n * 恢复动画\n */\n\n\n Element.prototype.resumeAnimate = function () {\n var timeline = this.get('timeline');\n var current = timeline.getTime();\n var animations = this.get('animations');\n var pauseTime = this.get('_pause').pauseTime; // 之后更新属性需要计算动画已经执行的时长,如果暂停了,就把初始时间调后\n\n each(animations, function (animation) {\n animation.startTime = animation.startTime + (current - pauseTime);\n animation._paused = false;\n animation._pauseTime = null;\n\n if (animation.resumeCallback) {\n animation.resumeCallback();\n }\n });\n this.set('_pause', {\n isPaused: false\n });\n this.set('animations', animations);\n return this;\n };\n /**\n * 触发委托事件\n * @param {string} type 事件类型\n * @param {GraphEvent} eventObj 事件对象\n */\n\n\n Element.prototype.emitDelegation = function (type, eventObj) {\n var _this = this;\n\n var paths = eventObj.propagationPath;\n var events = this.getEvents();\n var relativeShape;\n\n if (type === 'mouseenter') {\n relativeShape = eventObj.fromShape;\n } else if (type === 'mouseleave') {\n relativeShape = eventObj.toShape;\n }\n\n var _loop_1 = function _loop_1(i) {\n var element = paths[i]; // 暂定跟 name 绑定\n\n var name_1 = element.get('name');\n\n if (name_1) {\n // 第一个 mouseenter 和 mouseleave 的停止即可,因为后面的都是前面的 Parent\n if ( // 只有 element 是 Group 或者 Canvas 的时候,才需要判断 isParent\n (element.isGroup() || element.isCanvas && element.isCanvas()) && relativeShape && isParent(element, relativeShape)) {\n return \"break\";\n }\n\n if (isArray(name_1)) {\n each(name_1, function (subName) {\n _this.emitDelegateEvent(element, subName, eventObj);\n });\n } else {\n this_1.emitDelegateEvent(element, name_1, eventObj);\n }\n }\n };\n\n var this_1 = this; // 至少有一个对象,且第一个对象为 shape\n\n for (var i = 0; i < paths.length; i++) {\n var state_1 = _loop_1(i);\n\n if (state_1 === \"break\") break;\n }\n };\n\n Element.prototype.emitDelegateEvent = function (element, name, eventObj) {\n var events = this.getEvents(); // 事件委托的形式 name:type\n\n var eventName = name + DELEGATION_SPLIT + eventObj.type;\n\n if (events[eventName] || events[WILDCARD]) {\n // 对于通配符 *,事件名称 = 委托事件名称\n eventObj.name = eventName;\n eventObj.currentTarget = element;\n eventObj.delegateTarget = this; // 将委托事件的监听对象 delegateObject 挂载到事件对象上\n\n eventObj.delegateObject = element.get('delegateObject');\n this.emit(eventName, eventObj);\n }\n };\n /**\n * 移动元素\n * @param {number} translateX 水平移动距离\n * @param {number} translateY 垂直移动距离\n * @return {IElement} 元素\n */\n\n\n Element.prototype.translate = function (translateX, translateY) {\n if (translateX === void 0) {\n translateX = 0;\n }\n\n if (translateY === void 0) {\n translateY = 0;\n }\n\n var matrix = this.getMatrix();\n var newMatrix = transform(matrix, [['t', translateX, translateY]]);\n this.setMatrix(newMatrix);\n return this;\n };\n /**\n * 移动元素到目标位置\n * @param {number} targetX 目标位置的水平坐标\n * @param {number} targetX 目标位置的垂直坐标\n * @return {IElement} 元素\n */\n\n\n Element.prototype.move = function (targetX, targetY) {\n var x = this.attr('x') || 0;\n var y = this.attr('y') || 0;\n this.translate(targetX - x, targetY - y);\n return this;\n };\n /**\n * 移动元素到目标位置,等价于 move 方法。由于 moveTo 的语义性更强,因此在文档中推荐使用 moveTo 方法\n * @param {number} targetX 目标位置的 x 轴坐标\n * @param {number} targetY 目标位置的 y 轴坐标\n * @return {IElement} 元素\n */\n\n\n Element.prototype.moveTo = function (targetX, targetY) {\n return this.move(targetX, targetY);\n };\n /**\n * 缩放元素\n * @param {number} ratioX 水平缩放比例\n * @param {number} ratioY 垂直缩放比例\n * @return {IElement} 元素\n */\n\n\n Element.prototype.scale = function (ratioX, ratioY) {\n var matrix = this.getMatrix();\n var newMatrix = transform(matrix, [['s', ratioX, ratioY || ratioX]]);\n this.setMatrix(newMatrix);\n return this;\n };\n /**\n * 以画布左上角 (0, 0) 为中心旋转元素\n * @param {number} radian 旋转角度(弧度值)\n * @return {IElement} 元素\n */\n\n\n Element.prototype.rotate = function (radian) {\n var matrix = this.getMatrix();\n var newMatrix = transform(matrix, [['r', radian]]);\n this.setMatrix(newMatrix);\n return this;\n };\n /**\n * 以起始点为中心旋转元素\n * @param {number} radian 旋转角度(弧度值)\n * @return {IElement} 元素\n */\n\n\n Element.prototype.rotateAtStart = function (rotate) {\n var _a = this.attr(),\n x = _a.x,\n y = _a.y;\n\n var matrix = this.getMatrix();\n var newMatrix = transform(matrix, [['t', -x, -y], ['r', rotate], ['t', x, y]]);\n this.setMatrix(newMatrix);\n return this;\n };\n /**\n * 以任意点 (x, y) 为中心旋转元素\n * @param {number} radian 旋转角度(弧度值)\n * @return {IElement} 元素\n */\n\n\n Element.prototype.rotateAtPoint = function (x, y, rotate) {\n var matrix = this.getMatrix();\n var newMatrix = transform(matrix, [['t', -x, -y], ['r', rotate], ['t', x, y]]);\n this.setMatrix(newMatrix);\n return this;\n };\n\n return Element;\n}(Base);\n\nexport default Element;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "index": 161, "index2": 156, "size": 109, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "issuerId": null, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "profile": { "factory": 144, "building": 354, "dependencies": 2 } } ], "profile": { "factory": 307, "building": 24 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "3:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "7:16-19" } ], "usedExports": ["ext"], "providedExports": ["mat3", "vec2", "vec3", "ext"], "optimizationBailout": [], "depth": 5, "source": "import { mat3, vec2, vec3 } from 'gl-matrix';\nimport * as ext from './ext';\nexport { mat3, vec2, vec3, ext };" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "index": 163, "index2": 154, "size": 436, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "profile": { "factory": 144, "building": 354, "dependencies": 2 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "profile": { "factory": 307, "building": 24 } } ], "profile": { "factory": 281, "building": 10, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "gl-matrix", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "gl-matrix", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "gl-matrix", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "gl-matrix", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "type": "harmony side effect evaluation", "userRequest": "gl-matrix", "loc": "4:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "type": "harmony import specifier", "userRequest": "gl-matrix", "loc": "7:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "type": "harmony import specifier", "userRequest": "gl-matrix", "loc": "8:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "type": "harmony import specifier", "userRequest": "gl-matrix", "loc": "12:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "type": "harmony import specifier", "userRequest": "gl-matrix", "loc": "13:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "type": "harmony import specifier", "userRequest": "gl-matrix", "loc": "17:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "type": "harmony import specifier", "userRequest": "gl-matrix", "loc": "18:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "type": "harmony import specifier", "userRequest": "gl-matrix", "loc": "22:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "type": "harmony import specifier", "userRequest": "gl-matrix", "loc": "79:12-16" } ], "usedExports": ["mat3", "vec2"], "providedExports": [ "glMatrix", "mat2", "mat2d", "mat3", "mat4", "quat", "quat2", "vec2", "vec3", "vec4" ], "optimizationBailout": [], "depth": 6, "source": "import * as glMatrix from \"./common.js\";\nimport * as mat2 from \"./mat2.js\";\nimport * as mat2d from \"./mat2d.js\";\nimport * as mat3 from \"./mat3.js\";\nimport * as mat4 from \"./mat4.js\";\nimport * as quat from \"./quat.js\";\nimport * as quat2 from \"./quat2.js\";\nimport * as vec2 from \"./vec2.js\";\nimport * as vec3 from \"./vec3.js\";\nimport * as vec4 from \"./vec4.js\";\nexport { glMatrix, mat2, mat2d, mat3, mat4, quat, quat2, vec2, vec3, vec4 };" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "name": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "index": 162, "index2": 155, "size": 2281, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "profile": { "factory": 144, "building": 354, "dependencies": 2 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "profile": { "factory": 307, "building": 24 } } ], "profile": { "factory": 281, "building": 10, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./ext", "loc": "2:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./ext", "loc": "3:0-33" } ], "usedExports": true, "providedExports": [ "leftTranslate", "leftRotate", "leftScale", "transform", "direction", "angleTo", "vertical" ], "optimizationBailout": [], "depth": 6, "source": "/**\n * @description 扩展方法,提供 gl-matrix 为提供的方法\n * */\nimport { mat3, vec2 } from 'gl-matrix';\nexport function leftTranslate(out, a, v) {\n var transMat = [0, 0, 0, 0, 0, 0, 0, 0, 0];\n mat3.fromTranslation(transMat, v);\n return mat3.multiply(out, transMat, a);\n}\nexport function leftRotate(out, a, rad) {\n var rotateMat = [0, 0, 0, 0, 0, 0, 0, 0, 0];\n mat3.fromRotation(rotateMat, rad);\n return mat3.multiply(out, rotateMat, a);\n}\nexport function leftScale(out, a, v) {\n var scaleMat = [0, 0, 0, 0, 0, 0, 0, 0, 0];\n mat3.fromScaling(scaleMat, v);\n return mat3.multiply(out, scaleMat, a);\n}\n\nfunction leftMultiply(out, a, a1) {\n return mat3.multiply(out, a1, a);\n}\n/**\n * 根据 actions 来做 transform\n * @param m\n * @param actions\n */\n\n\nexport function transform(m, actions) {\n var matrix = m ? [].concat(m) : [1, 0, 0, 0, 1, 0, 0, 0, 1];\n\n for (var i = 0, len = actions.length; i < len; i++) {\n var action = actions[i];\n\n switch (action[0]) {\n case 't':\n leftTranslate(matrix, matrix, [action[1], action[2]]);\n break;\n\n case 's':\n leftScale(matrix, matrix, [action[1], action[2]]);\n break;\n\n case 'r':\n leftRotate(matrix, matrix, action[1]);\n break;\n\n case 'm':\n leftMultiply(matrix, matrix, action[1]);\n break;\n\n default:\n break;\n }\n }\n\n return matrix;\n}\n/**\n * 向量 v1 到 向量 v2 夹角的方向\n * @param {Array} v1 向量\n * @param {Array} v2 向量\n * @return {Boolean} >= 0 顺时针 < 0 逆时针\n */\n\nexport function direction(v1, v2) {\n return v1[0] * v2[1] - v2[0] * v1[1];\n}\n/**\n * 二维向量 v1 到 v2 的夹角\n * @param v1\n * @param v2\n * @param direct\n */\n\nexport function angleTo(v1, v2, direct) {\n var ang = vec2.angle(v1, v2);\n var angleLargeThanPI = direction(v1, v2) >= 0;\n\n if (direct) {\n if (angleLargeThanPI) {\n return Math.PI * 2 - ang;\n }\n\n return ang;\n }\n\n if (angleLargeThanPI) {\n return ang;\n }\n\n return Math.PI * 2 - ang;\n}\n/**\n * 计算二维向量的垂直向量\n * @param out\n * @param v\n * @param flag\n */\n\nexport function vertical(out, v, flag) {\n if (flag) {\n out[0] = v[1];\n out[1] = -1 * v[0];\n } else {\n out[0] = -1 * v[1];\n out[1] = v[0];\n }\n\n return out;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/common.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/common.js", "index": 165, "index2": 151, "size": 1385, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "profile": { "factory": 144, "building": 354, "dependencies": 2 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "profile": { "factory": 307, "building": 24 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "profile": { "factory": 281, "building": 10, "dependencies": 23 } } ], "profile": { "factory": 4, "building": 629, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 55, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "type": "harmony side effect evaluation", "userRequest": "./common.js", "loc": "1:0-40" }, { "moduleId": 55, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "14:16-35" }, { "moduleId": 55, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "16:6-25" }, { "moduleId": 55, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "33:16-35" }, { "moduleId": 55, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "80:16-35" }, { "moduleId": 55, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "386:30-46" }, { "moduleId": 55, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "386:115-131" }, { "moduleId": 55, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "386:200-216" }, { "moduleId": 55, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "386:285-301" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony side effect evaluation", "userRequest": "./common.js", "loc": "1:0-40" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "28:16-35" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "30:6-25" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "49:16-35" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "104:16-35" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "473:30-46" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "473:115-131" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "473:200-216" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "473:285-301" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "473:370-386" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "473:455-471" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony side effect evaluation", "userRequest": "./common.js", "loc": "1:0-40" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "14:16-35" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "16:6-25" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "45:16-35" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "114:16-35" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "566:12-28" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "837:12-28" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1030:24-43" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1107:20-39" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1496:33-49" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1496:80-96" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1496:127-143" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:30-46" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:115-131" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:200-216" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:285-301" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:370-386" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:455-471" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:540-556" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:625-641" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:710-726" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:795-811" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:882-898" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:971-987" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:1060-1076" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:1149-1165" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:1238-1254" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:1327-1343" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony side effect evaluation", "userRequest": "./common.js", "loc": "1:0-40" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "17:16-35" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "19:6-25" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "79:10-26" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "309:20-36" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "339:11-26" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "340:11-26" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "341:11-26" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony side effect evaluation", "userRequest": "./common.js", "loc": "1:0-40" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "19:15-34" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "21:6-25" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "43:15-34" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "70:15-34" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "96:15-34" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "191:14-33" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "536:22-38" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "834:30-46" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "834:115-131" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "834:200-216" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "834:285-301" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "834:370-386" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "834:455-471" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "834:540-556" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "834:625-641" }, { "moduleId": 60, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "type": "harmony side effect evaluation", "userRequest": "./common.js", "loc": "1:0-40" }, { "moduleId": 60, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "14:16-35" }, { "moduleId": 60, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "16:6-25" }, { "moduleId": 60, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "32:16-35" }, { "moduleId": 60, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "61:16-35" }, { "moduleId": 60, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "462:10-25" }, { "moduleId": 60, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "463:10-25" }, { "moduleId": 60, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "699:30-46" }, { "moduleId": 60, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "699:115-131" }, { "moduleId": 60, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "699:200-216" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony side effect evaluation", "userRequest": "./common.js", "loc": "1:0-40" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "14:16-35" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "16:6-25" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "33:16-35" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "51:16-35" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "454:9-24" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "455:9-24" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "460:9-24" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "461:9-24" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "573:30-46" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "573:115-131" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "573:200-216" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "573:285-301" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "type": "harmony side effect evaluation", "userRequest": "./common.js", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony side effect evaluation", "userRequest": "./common.js", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./common.js", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./common.js", "loc": "11:0-76" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "14:16-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "14:16-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "16:6-25" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "16:6-25" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "31:16-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "45:16-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "58:16-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "106:16-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "381:10-25" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "538:30-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "538:115-131" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "765:30-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "765:115-131" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "765:200-216" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "765:285-301" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "765:370-386" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "765:455-471" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "765:540-556" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "765:625-641" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "765:710-726" } ], "usedExports": ["ARRAY_TYPE", "RANDOM", "EPSILON"], "providedExports": [ "EPSILON", "ARRAY_TYPE", "RANDOM", "setMatrixArrayType", "toRadian", "equals" ], "optimizationBailout": [], "depth": 7, "source": "/**\r\n * Common utilities\r\n * @module glMatrix\r\n */\n// Configuration Constants\nexport var EPSILON = 0.000001;\nexport var ARRAY_TYPE = typeof Float32Array !== 'undefined' ? Float32Array : Array;\nexport var RANDOM = Math.random;\n/**\r\n * Sets the type of array used when creating new vectors and matrices\r\n *\r\n * @param {Float32ArrayConstructor | ArrayConstructor} type Array type, such as Float32Array or Array\r\n */\n\nexport function setMatrixArrayType(type) {\n ARRAY_TYPE = type;\n}\nvar degree = Math.PI / 180;\n/**\r\n * Convert Degree To Radian\r\n *\r\n * @param {Number} a Angle in Degrees\r\n */\n\nexport function toRadian(a) {\n return a * degree;\n}\n/**\r\n * Tests whether or not the arguments have approximately the same value, within an absolute\r\n * or relative tolerance of glMatrix.EPSILON (an absolute tolerance is used for values less\r\n * than or equal to 1.0, and a relative tolerance is used for larger values)\r\n *\r\n * @param {Number} a The first number to test.\r\n * @param {Number} b The second number to test.\r\n * @returns {Boolean} True if the numbers are approximately equal, false otherwise.\r\n */\n\nexport function equals(a, b) {\n return Math.abs(a - b) <= EPSILON * Math.max(1.0, Math.abs(a), Math.abs(b));\n}\nif (!Math.hypot) Math.hypot = function () {\n var y = 0,\n i = arguments.length;\n\n while (i--) {\n y += arguments[i] * arguments[i];\n }\n\n return Math.sqrt(y);\n};" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "index": 164, "index2": 152, "size": 19130, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "profile": { "factory": 144, "building": 354, "dependencies": 2 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "profile": { "factory": 307, "building": 24 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "profile": { "factory": 281, "building": 10, "dependencies": 23 } } ], "profile": { "factory": 4, "building": 629, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony side effect evaluation", "userRequest": "./mat3.js", "loc": "2:0-34" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./mat3.js", "loc": "697:13-24" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./mat3.js", "loc": "4:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./mat3.js", "loc": "11:0-76" } ], "usedExports": true, "providedExports": [ "create", "fromMat4", "clone", "copy", "fromValues", "set", "identity", "transpose", "invert", "adjoint", "determinant", "multiply", "translate", "rotate", "scale", "fromTranslation", "fromRotation", "fromScaling", "fromMat2d", "fromQuat", "normalFromMat4", "projection", "str", "frob", "add", "subtract", "multiplyScalar", "multiplyScalarAndAdd", "exactEquals", "equals", "mul", "sub" ], "optimizationBailout": [], "depth": 7, "source": "import * as glMatrix from \"./common.js\";\n/**\r\n * 3x3 Matrix\r\n * @module mat3\r\n */\n\n/**\r\n * Creates a new identity mat3\r\n *\r\n * @returns {mat3} a new 3x3 matrix\r\n */\n\nexport function create() {\n var out = new glMatrix.ARRAY_TYPE(9);\n\n if (glMatrix.ARRAY_TYPE != Float32Array) {\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n }\n\n out[0] = 1;\n out[4] = 1;\n out[8] = 1;\n return out;\n}\n/**\r\n * Copies the upper-left 3x3 values into the given mat3.\r\n *\r\n * @param {mat3} out the receiving 3x3 matrix\r\n * @param {ReadonlyMat4} a the source 4x4 matrix\r\n * @returns {mat3} out\r\n */\n\nexport function fromMat4(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[4];\n out[4] = a[5];\n out[5] = a[6];\n out[6] = a[8];\n out[7] = a[9];\n out[8] = a[10];\n return out;\n}\n/**\r\n * Creates a new mat3 initialized with values from an existing matrix\r\n *\r\n * @param {ReadonlyMat3} a matrix to clone\r\n * @returns {mat3} a new 3x3 matrix\r\n */\n\nexport function clone(a) {\n var out = new glMatrix.ARRAY_TYPE(9);\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[3];\n out[4] = a[4];\n out[5] = a[5];\n out[6] = a[6];\n out[7] = a[7];\n out[8] = a[8];\n return out;\n}\n/**\r\n * Copy the values from one mat3 to another\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the source matrix\r\n * @returns {mat3} out\r\n */\n\nexport function copy(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[3];\n out[4] = a[4];\n out[5] = a[5];\n out[6] = a[6];\n out[7] = a[7];\n out[8] = a[8];\n return out;\n}\n/**\r\n * Create a new mat3 with the given values\r\n *\r\n * @param {Number} m00 Component in column 0, row 0 position (index 0)\r\n * @param {Number} m01 Component in column 0, row 1 position (index 1)\r\n * @param {Number} m02 Component in column 0, row 2 position (index 2)\r\n * @param {Number} m10 Component in column 1, row 0 position (index 3)\r\n * @param {Number} m11 Component in column 1, row 1 position (index 4)\r\n * @param {Number} m12 Component in column 1, row 2 position (index 5)\r\n * @param {Number} m20 Component in column 2, row 0 position (index 6)\r\n * @param {Number} m21 Component in column 2, row 1 position (index 7)\r\n * @param {Number} m22 Component in column 2, row 2 position (index 8)\r\n * @returns {mat3} A new mat3\r\n */\n\nexport function fromValues(m00, m01, m02, m10, m11, m12, m20, m21, m22) {\n var out = new glMatrix.ARRAY_TYPE(9);\n out[0] = m00;\n out[1] = m01;\n out[2] = m02;\n out[3] = m10;\n out[4] = m11;\n out[5] = m12;\n out[6] = m20;\n out[7] = m21;\n out[8] = m22;\n return out;\n}\n/**\r\n * Set the components of a mat3 to the given values\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {Number} m00 Component in column 0, row 0 position (index 0)\r\n * @param {Number} m01 Component in column 0, row 1 position (index 1)\r\n * @param {Number} m02 Component in column 0, row 2 position (index 2)\r\n * @param {Number} m10 Component in column 1, row 0 position (index 3)\r\n * @param {Number} m11 Component in column 1, row 1 position (index 4)\r\n * @param {Number} m12 Component in column 1, row 2 position (index 5)\r\n * @param {Number} m20 Component in column 2, row 0 position (index 6)\r\n * @param {Number} m21 Component in column 2, row 1 position (index 7)\r\n * @param {Number} m22 Component in column 2, row 2 position (index 8)\r\n * @returns {mat3} out\r\n */\n\nexport function set(out, m00, m01, m02, m10, m11, m12, m20, m21, m22) {\n out[0] = m00;\n out[1] = m01;\n out[2] = m02;\n out[3] = m10;\n out[4] = m11;\n out[5] = m12;\n out[6] = m20;\n out[7] = m21;\n out[8] = m22;\n return out;\n}\n/**\r\n * Set a mat3 to the identity matrix\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @returns {mat3} out\r\n */\n\nexport function identity(out) {\n out[0] = 1;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = 1;\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n out[8] = 1;\n return out;\n}\n/**\r\n * Transpose the values of a mat3\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the source matrix\r\n * @returns {mat3} out\r\n */\n\nexport function transpose(out, a) {\n // If we are transposing ourselves we can skip a few steps but have to cache some values\n if (out === a) {\n var a01 = a[1],\n a02 = a[2],\n a12 = a[5];\n out[1] = a[3];\n out[2] = a[6];\n out[3] = a01;\n out[5] = a[7];\n out[6] = a02;\n out[7] = a12;\n } else {\n out[0] = a[0];\n out[1] = a[3];\n out[2] = a[6];\n out[3] = a[1];\n out[4] = a[4];\n out[5] = a[7];\n out[6] = a[2];\n out[7] = a[5];\n out[8] = a[8];\n }\n\n return out;\n}\n/**\r\n * Inverts a mat3\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the source matrix\r\n * @returns {mat3} out\r\n */\n\nexport function invert(out, a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2];\n var a10 = a[3],\n a11 = a[4],\n a12 = a[5];\n var a20 = a[6],\n a21 = a[7],\n a22 = a[8];\n var b01 = a22 * a11 - a12 * a21;\n var b11 = -a22 * a10 + a12 * a20;\n var b21 = a21 * a10 - a11 * a20; // Calculate the determinant\n\n var det = a00 * b01 + a01 * b11 + a02 * b21;\n\n if (!det) {\n return null;\n }\n\n det = 1.0 / det;\n out[0] = b01 * det;\n out[1] = (-a22 * a01 + a02 * a21) * det;\n out[2] = (a12 * a01 - a02 * a11) * det;\n out[3] = b11 * det;\n out[4] = (a22 * a00 - a02 * a20) * det;\n out[5] = (-a12 * a00 + a02 * a10) * det;\n out[6] = b21 * det;\n out[7] = (-a21 * a00 + a01 * a20) * det;\n out[8] = (a11 * a00 - a01 * a10) * det;\n return out;\n}\n/**\r\n * Calculates the adjugate of a mat3\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the source matrix\r\n * @returns {mat3} out\r\n */\n\nexport function adjoint(out, a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2];\n var a10 = a[3],\n a11 = a[4],\n a12 = a[5];\n var a20 = a[6],\n a21 = a[7],\n a22 = a[8];\n out[0] = a11 * a22 - a12 * a21;\n out[1] = a02 * a21 - a01 * a22;\n out[2] = a01 * a12 - a02 * a11;\n out[3] = a12 * a20 - a10 * a22;\n out[4] = a00 * a22 - a02 * a20;\n out[5] = a02 * a10 - a00 * a12;\n out[6] = a10 * a21 - a11 * a20;\n out[7] = a01 * a20 - a00 * a21;\n out[8] = a00 * a11 - a01 * a10;\n return out;\n}\n/**\r\n * Calculates the determinant of a mat3\r\n *\r\n * @param {ReadonlyMat3} a the source matrix\r\n * @returns {Number} determinant of a\r\n */\n\nexport function determinant(a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2];\n var a10 = a[3],\n a11 = a[4],\n a12 = a[5];\n var a20 = a[6],\n a21 = a[7],\n a22 = a[8];\n return a00 * (a22 * a11 - a12 * a21) + a01 * (-a22 * a10 + a12 * a20) + a02 * (a21 * a10 - a11 * a20);\n}\n/**\r\n * Multiplies two mat3's\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the first operand\r\n * @param {ReadonlyMat3} b the second operand\r\n * @returns {mat3} out\r\n */\n\nexport function multiply(out, a, b) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2];\n var a10 = a[3],\n a11 = a[4],\n a12 = a[5];\n var a20 = a[6],\n a21 = a[7],\n a22 = a[8];\n var b00 = b[0],\n b01 = b[1],\n b02 = b[2];\n var b10 = b[3],\n b11 = b[4],\n b12 = b[5];\n var b20 = b[6],\n b21 = b[7],\n b22 = b[8];\n out[0] = b00 * a00 + b01 * a10 + b02 * a20;\n out[1] = b00 * a01 + b01 * a11 + b02 * a21;\n out[2] = b00 * a02 + b01 * a12 + b02 * a22;\n out[3] = b10 * a00 + b11 * a10 + b12 * a20;\n out[4] = b10 * a01 + b11 * a11 + b12 * a21;\n out[5] = b10 * a02 + b11 * a12 + b12 * a22;\n out[6] = b20 * a00 + b21 * a10 + b22 * a20;\n out[7] = b20 * a01 + b21 * a11 + b22 * a21;\n out[8] = b20 * a02 + b21 * a12 + b22 * a22;\n return out;\n}\n/**\r\n * Translate a mat3 by the given vector\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the matrix to translate\r\n * @param {ReadonlyVec2} v vector to translate by\r\n * @returns {mat3} out\r\n */\n\nexport function translate(out, a, v) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2],\n a10 = a[3],\n a11 = a[4],\n a12 = a[5],\n a20 = a[6],\n a21 = a[7],\n a22 = a[8],\n x = v[0],\n y = v[1];\n out[0] = a00;\n out[1] = a01;\n out[2] = a02;\n out[3] = a10;\n out[4] = a11;\n out[5] = a12;\n out[6] = x * a00 + y * a10 + a20;\n out[7] = x * a01 + y * a11 + a21;\n out[8] = x * a02 + y * a12 + a22;\n return out;\n}\n/**\r\n * Rotates a mat3 by the given angle\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the matrix to rotate\r\n * @param {Number} rad the angle to rotate the matrix by\r\n * @returns {mat3} out\r\n */\n\nexport function rotate(out, a, rad) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2],\n a10 = a[3],\n a11 = a[4],\n a12 = a[5],\n a20 = a[6],\n a21 = a[7],\n a22 = a[8],\n s = Math.sin(rad),\n c = Math.cos(rad);\n out[0] = c * a00 + s * a10;\n out[1] = c * a01 + s * a11;\n out[2] = c * a02 + s * a12;\n out[3] = c * a10 - s * a00;\n out[4] = c * a11 - s * a01;\n out[5] = c * a12 - s * a02;\n out[6] = a20;\n out[7] = a21;\n out[8] = a22;\n return out;\n}\n/**\r\n * Scales the mat3 by the dimensions in the given vec2\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the matrix to rotate\r\n * @param {ReadonlyVec2} v the vec2 to scale the matrix by\r\n * @returns {mat3} out\r\n **/\n\nexport function scale(out, a, v) {\n var x = v[0],\n y = v[1];\n out[0] = x * a[0];\n out[1] = x * a[1];\n out[2] = x * a[2];\n out[3] = y * a[3];\n out[4] = y * a[4];\n out[5] = y * a[5];\n out[6] = a[6];\n out[7] = a[7];\n out[8] = a[8];\n return out;\n}\n/**\r\n * Creates a matrix from a vector translation\r\n * This is equivalent to (but much faster than):\r\n *\r\n * mat3.identity(dest);\r\n * mat3.translate(dest, dest, vec);\r\n *\r\n * @param {mat3} out mat3 receiving operation result\r\n * @param {ReadonlyVec2} v Translation vector\r\n * @returns {mat3} out\r\n */\n\nexport function fromTranslation(out, v) {\n out[0] = 1;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = 1;\n out[5] = 0;\n out[6] = v[0];\n out[7] = v[1];\n out[8] = 1;\n return out;\n}\n/**\r\n * Creates a matrix from a given angle\r\n * This is equivalent to (but much faster than):\r\n *\r\n * mat3.identity(dest);\r\n * mat3.rotate(dest, dest, rad);\r\n *\r\n * @param {mat3} out mat3 receiving operation result\r\n * @param {Number} rad the angle to rotate the matrix by\r\n * @returns {mat3} out\r\n */\n\nexport function fromRotation(out, rad) {\n var s = Math.sin(rad),\n c = Math.cos(rad);\n out[0] = c;\n out[1] = s;\n out[2] = 0;\n out[3] = -s;\n out[4] = c;\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n out[8] = 1;\n return out;\n}\n/**\r\n * Creates a matrix from a vector scaling\r\n * This is equivalent to (but much faster than):\r\n *\r\n * mat3.identity(dest);\r\n * mat3.scale(dest, dest, vec);\r\n *\r\n * @param {mat3} out mat3 receiving operation result\r\n * @param {ReadonlyVec2} v Scaling vector\r\n * @returns {mat3} out\r\n */\n\nexport function fromScaling(out, v) {\n out[0] = v[0];\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = v[1];\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n out[8] = 1;\n return out;\n}\n/**\r\n * Copies the values from a mat2d into a mat3\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat2d} a the matrix to copy\r\n * @returns {mat3} out\r\n **/\n\nexport function fromMat2d(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = 0;\n out[3] = a[2];\n out[4] = a[3];\n out[5] = 0;\n out[6] = a[4];\n out[7] = a[5];\n out[8] = 1;\n return out;\n}\n/**\r\n * Calculates a 3x3 matrix from the given quaternion\r\n *\r\n * @param {mat3} out mat3 receiving operation result\r\n * @param {ReadonlyQuat} q Quaternion to create matrix from\r\n *\r\n * @returns {mat3} out\r\n */\n\nexport function fromQuat(out, q) {\n var x = q[0],\n y = q[1],\n z = q[2],\n w = q[3];\n var x2 = x + x;\n var y2 = y + y;\n var z2 = z + z;\n var xx = x * x2;\n var yx = y * x2;\n var yy = y * y2;\n var zx = z * x2;\n var zy = z * y2;\n var zz = z * z2;\n var wx = w * x2;\n var wy = w * y2;\n var wz = w * z2;\n out[0] = 1 - yy - zz;\n out[3] = yx - wz;\n out[6] = zx + wy;\n out[1] = yx + wz;\n out[4] = 1 - xx - zz;\n out[7] = zy - wx;\n out[2] = zx - wy;\n out[5] = zy + wx;\n out[8] = 1 - xx - yy;\n return out;\n}\n/**\r\n * Calculates a 3x3 normal matrix (transpose inverse) from the 4x4 matrix\r\n *\r\n * @param {mat3} out mat3 receiving operation result\r\n * @param {ReadonlyMat4} a Mat4 to derive the normal matrix from\r\n *\r\n * @returns {mat3} out\r\n */\n\nexport function normalFromMat4(out, a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2],\n a03 = a[3];\n var a10 = a[4],\n a11 = a[5],\n a12 = a[6],\n a13 = a[7];\n var a20 = a[8],\n a21 = a[9],\n a22 = a[10],\n a23 = a[11];\n var a30 = a[12],\n a31 = a[13],\n a32 = a[14],\n a33 = a[15];\n var b00 = a00 * a11 - a01 * a10;\n var b01 = a00 * a12 - a02 * a10;\n var b02 = a00 * a13 - a03 * a10;\n var b03 = a01 * a12 - a02 * a11;\n var b04 = a01 * a13 - a03 * a11;\n var b05 = a02 * a13 - a03 * a12;\n var b06 = a20 * a31 - a21 * a30;\n var b07 = a20 * a32 - a22 * a30;\n var b08 = a20 * a33 - a23 * a30;\n var b09 = a21 * a32 - a22 * a31;\n var b10 = a21 * a33 - a23 * a31;\n var b11 = a22 * a33 - a23 * a32; // Calculate the determinant\n\n var det = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06;\n\n if (!det) {\n return null;\n }\n\n det = 1.0 / det;\n out[0] = (a11 * b11 - a12 * b10 + a13 * b09) * det;\n out[1] = (a12 * b08 - a10 * b11 - a13 * b07) * det;\n out[2] = (a10 * b10 - a11 * b08 + a13 * b06) * det;\n out[3] = (a02 * b10 - a01 * b11 - a03 * b09) * det;\n out[4] = (a00 * b11 - a02 * b08 + a03 * b07) * det;\n out[5] = (a01 * b08 - a00 * b10 - a03 * b06) * det;\n out[6] = (a31 * b05 - a32 * b04 + a33 * b03) * det;\n out[7] = (a32 * b02 - a30 * b05 - a33 * b01) * det;\n out[8] = (a30 * b04 - a31 * b02 + a33 * b00) * det;\n return out;\n}\n/**\r\n * Generates a 2D projection matrix with the given bounds\r\n *\r\n * @param {mat3} out mat3 frustum matrix will be written into\r\n * @param {number} width Width of your gl context\r\n * @param {number} height Height of gl context\r\n * @returns {mat3} out\r\n */\n\nexport function projection(out, width, height) {\n out[0] = 2 / width;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = -2 / height;\n out[5] = 0;\n out[6] = -1;\n out[7] = 1;\n out[8] = 1;\n return out;\n}\n/**\r\n * Returns a string representation of a mat3\r\n *\r\n * @param {ReadonlyMat3} a matrix to represent as a string\r\n * @returns {String} string representation of the matrix\r\n */\n\nexport function str(a) {\n return \"mat3(\" + a[0] + \", \" + a[1] + \", \" + a[2] + \", \" + a[3] + \", \" + a[4] + \", \" + a[5] + \", \" + a[6] + \", \" + a[7] + \", \" + a[8] + \")\";\n}\n/**\r\n * Returns Frobenius norm of a mat3\r\n *\r\n * @param {ReadonlyMat3} a the matrix to calculate Frobenius norm of\r\n * @returns {Number} Frobenius norm\r\n */\n\nexport function frob(a) {\n return Math.hypot(a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]);\n}\n/**\r\n * Adds two mat3's\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the first operand\r\n * @param {ReadonlyMat3} b the second operand\r\n * @returns {mat3} out\r\n */\n\nexport function add(out, a, b) {\n out[0] = a[0] + b[0];\n out[1] = a[1] + b[1];\n out[2] = a[2] + b[2];\n out[3] = a[3] + b[3];\n out[4] = a[4] + b[4];\n out[5] = a[5] + b[5];\n out[6] = a[6] + b[6];\n out[7] = a[7] + b[7];\n out[8] = a[8] + b[8];\n return out;\n}\n/**\r\n * Subtracts matrix b from matrix a\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the first operand\r\n * @param {ReadonlyMat3} b the second operand\r\n * @returns {mat3} out\r\n */\n\nexport function subtract(out, a, b) {\n out[0] = a[0] - b[0];\n out[1] = a[1] - b[1];\n out[2] = a[2] - b[2];\n out[3] = a[3] - b[3];\n out[4] = a[4] - b[4];\n out[5] = a[5] - b[5];\n out[6] = a[6] - b[6];\n out[7] = a[7] - b[7];\n out[8] = a[8] - b[8];\n return out;\n}\n/**\r\n * Multiply each element of the matrix by a scalar.\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the matrix to scale\r\n * @param {Number} b amount to scale the matrix's elements by\r\n * @returns {mat3} out\r\n */\n\nexport function multiplyScalar(out, a, b) {\n out[0] = a[0] * b;\n out[1] = a[1] * b;\n out[2] = a[2] * b;\n out[3] = a[3] * b;\n out[4] = a[4] * b;\n out[5] = a[5] * b;\n out[6] = a[6] * b;\n out[7] = a[7] * b;\n out[8] = a[8] * b;\n return out;\n}\n/**\r\n * Adds two mat3's after multiplying each element of the second operand by a scalar value.\r\n *\r\n * @param {mat3} out the receiving vector\r\n * @param {ReadonlyMat3} a the first operand\r\n * @param {ReadonlyMat3} b the second operand\r\n * @param {Number} scale the amount to scale b's elements by before adding\r\n * @returns {mat3} out\r\n */\n\nexport function multiplyScalarAndAdd(out, a, b, scale) {\n out[0] = a[0] + b[0] * scale;\n out[1] = a[1] + b[1] * scale;\n out[2] = a[2] + b[2] * scale;\n out[3] = a[3] + b[3] * scale;\n out[4] = a[4] + b[4] * scale;\n out[5] = a[5] + b[5] * scale;\n out[6] = a[6] + b[6] * scale;\n out[7] = a[7] + b[7] * scale;\n out[8] = a[8] + b[8] * scale;\n return out;\n}\n/**\r\n * Returns whether or not the matrices have exactly the same elements in the same position (when compared with ===)\r\n *\r\n * @param {ReadonlyMat3} a The first matrix.\r\n * @param {ReadonlyMat3} b The second matrix.\r\n * @returns {Boolean} True if the matrices are equal, false otherwise.\r\n */\n\nexport function exactEquals(a, b) {\n return a[0] === b[0] && a[1] === b[1] && a[2] === b[2] && a[3] === b[3] && a[4] === b[4] && a[5] === b[5] && a[6] === b[6] && a[7] === b[7] && a[8] === b[8];\n}\n/**\r\n * Returns whether or not the matrices have approximately the same elements in the same position.\r\n *\r\n * @param {ReadonlyMat3} a The first matrix.\r\n * @param {ReadonlyMat3} b The second matrix.\r\n * @returns {Boolean} True if the matrices are equal, false otherwise.\r\n */\n\nexport function equals(a, b) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2],\n a3 = a[3],\n a4 = a[4],\n a5 = a[5],\n a6 = a[6],\n a7 = a[7],\n a8 = a[8];\n var b0 = b[0],\n b1 = b[1],\n b2 = b[2],\n b3 = b[3],\n b4 = b[4],\n b5 = b[5],\n b6 = b[6],\n b7 = b[7],\n b8 = b[8];\n return Math.abs(a0 - b0) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1)) && Math.abs(a2 - b2) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a2), Math.abs(b2)) && Math.abs(a3 - b3) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a3), Math.abs(b3)) && Math.abs(a4 - b4) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a4), Math.abs(b4)) && Math.abs(a5 - b5) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a5), Math.abs(b5)) && Math.abs(a6 - b6) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a6), Math.abs(b6)) && Math.abs(a7 - b7) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a7), Math.abs(b7)) && Math.abs(a8 - b8) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a8), Math.abs(b8));\n}\n/**\r\n * Alias for {@link mat3.multiply}\r\n * @function\r\n */\n\nexport var mul = multiply;\n/**\r\n * Alias for {@link mat3.subtract}\r\n * @function\r\n */\n\nexport var sub = subtract;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "index": 166, "index2": 153, "size": 14515, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "profile": { "factory": 144, "building": 354, "dependencies": 2 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "profile": { "factory": 307, "building": 24 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "profile": { "factory": 281, "building": 10, "dependencies": 23 } } ], "profile": { "factory": 4, "building": 629, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./vec2.js", "loc": "8:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./vec2.js", "loc": "11:0-76" } ], "usedExports": true, "providedExports": [ "create", "clone", "fromValues", "copy", "set", "add", "subtract", "multiply", "divide", "ceil", "floor", "min", "max", "round", "scale", "scaleAndAdd", "distance", "squaredDistance", "length", "squaredLength", "negate", "inverse", "normalize", "dot", "cross", "lerp", "random", "transformMat2", "transformMat2d", "transformMat3", "transformMat4", "rotate", "angle", "zero", "str", "exactEquals", "equals", "len", "sub", "mul", "div", "dist", "sqrDist", "sqrLen", "forEach" ], "optimizationBailout": [], "depth": 7, "source": "import * as glMatrix from \"./common.js\";\n/**\r\n * 2 Dimensional Vector\r\n * @module vec2\r\n */\n\n/**\r\n * Creates a new, empty vec2\r\n *\r\n * @returns {vec2} a new 2D vector\r\n */\n\nexport function create() {\n var out = new glMatrix.ARRAY_TYPE(2);\n\n if (glMatrix.ARRAY_TYPE != Float32Array) {\n out[0] = 0;\n out[1] = 0;\n }\n\n return out;\n}\n/**\r\n * Creates a new vec2 initialized with values from an existing vector\r\n *\r\n * @param {ReadonlyVec2} a vector to clone\r\n * @returns {vec2} a new 2D vector\r\n */\n\nexport function clone(a) {\n var out = new glMatrix.ARRAY_TYPE(2);\n out[0] = a[0];\n out[1] = a[1];\n return out;\n}\n/**\r\n * Creates a new vec2 initialized with the given values\r\n *\r\n * @param {Number} x X component\r\n * @param {Number} y Y component\r\n * @returns {vec2} a new 2D vector\r\n */\n\nexport function fromValues(x, y) {\n var out = new glMatrix.ARRAY_TYPE(2);\n out[0] = x;\n out[1] = y;\n return out;\n}\n/**\r\n * Copy the values from one vec2 to another\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the source vector\r\n * @returns {vec2} out\r\n */\n\nexport function copy(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n return out;\n}\n/**\r\n * Set the components of a vec2 to the given values\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {Number} x X component\r\n * @param {Number} y Y component\r\n * @returns {vec2} out\r\n */\n\nexport function set(out, x, y) {\n out[0] = x;\n out[1] = y;\n return out;\n}\n/**\r\n * Adds two vec2's\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @returns {vec2} out\r\n */\n\nexport function add(out, a, b) {\n out[0] = a[0] + b[0];\n out[1] = a[1] + b[1];\n return out;\n}\n/**\r\n * Subtracts vector b from vector a\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @returns {vec2} out\r\n */\n\nexport function subtract(out, a, b) {\n out[0] = a[0] - b[0];\n out[1] = a[1] - b[1];\n return out;\n}\n/**\r\n * Multiplies two vec2's\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @returns {vec2} out\r\n */\n\nexport function multiply(out, a, b) {\n out[0] = a[0] * b[0];\n out[1] = a[1] * b[1];\n return out;\n}\n/**\r\n * Divides two vec2's\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @returns {vec2} out\r\n */\n\nexport function divide(out, a, b) {\n out[0] = a[0] / b[0];\n out[1] = a[1] / b[1];\n return out;\n}\n/**\r\n * Math.ceil the components of a vec2\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a vector to ceil\r\n * @returns {vec2} out\r\n */\n\nexport function ceil(out, a) {\n out[0] = Math.ceil(a[0]);\n out[1] = Math.ceil(a[1]);\n return out;\n}\n/**\r\n * Math.floor the components of a vec2\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a vector to floor\r\n * @returns {vec2} out\r\n */\n\nexport function floor(out, a) {\n out[0] = Math.floor(a[0]);\n out[1] = Math.floor(a[1]);\n return out;\n}\n/**\r\n * Returns the minimum of two vec2's\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @returns {vec2} out\r\n */\n\nexport function min(out, a, b) {\n out[0] = Math.min(a[0], b[0]);\n out[1] = Math.min(a[1], b[1]);\n return out;\n}\n/**\r\n * Returns the maximum of two vec2's\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @returns {vec2} out\r\n */\n\nexport function max(out, a, b) {\n out[0] = Math.max(a[0], b[0]);\n out[1] = Math.max(a[1], b[1]);\n return out;\n}\n/**\r\n * Math.round the components of a vec2\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a vector to round\r\n * @returns {vec2} out\r\n */\n\nexport function round(out, a) {\n out[0] = Math.round(a[0]);\n out[1] = Math.round(a[1]);\n return out;\n}\n/**\r\n * Scales a vec2 by a scalar number\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the vector to scale\r\n * @param {Number} b amount to scale the vector by\r\n * @returns {vec2} out\r\n */\n\nexport function scale(out, a, b) {\n out[0] = a[0] * b;\n out[1] = a[1] * b;\n return out;\n}\n/**\r\n * Adds two vec2's after scaling the second operand by a scalar value\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @param {Number} scale the amount to scale b by before adding\r\n * @returns {vec2} out\r\n */\n\nexport function scaleAndAdd(out, a, b, scale) {\n out[0] = a[0] + b[0] * scale;\n out[1] = a[1] + b[1] * scale;\n return out;\n}\n/**\r\n * Calculates the euclidian distance between two vec2's\r\n *\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @returns {Number} distance between a and b\r\n */\n\nexport function distance(a, b) {\n var x = b[0] - a[0],\n y = b[1] - a[1];\n return Math.hypot(x, y);\n}\n/**\r\n * Calculates the squared euclidian distance between two vec2's\r\n *\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @returns {Number} squared distance between a and b\r\n */\n\nexport function squaredDistance(a, b) {\n var x = b[0] - a[0],\n y = b[1] - a[1];\n return x * x + y * y;\n}\n/**\r\n * Calculates the length of a vec2\r\n *\r\n * @param {ReadonlyVec2} a vector to calculate length of\r\n * @returns {Number} length of a\r\n */\n\nexport function length(a) {\n var x = a[0],\n y = a[1];\n return Math.hypot(x, y);\n}\n/**\r\n * Calculates the squared length of a vec2\r\n *\r\n * @param {ReadonlyVec2} a vector to calculate squared length of\r\n * @returns {Number} squared length of a\r\n */\n\nexport function squaredLength(a) {\n var x = a[0],\n y = a[1];\n return x * x + y * y;\n}\n/**\r\n * Negates the components of a vec2\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a vector to negate\r\n * @returns {vec2} out\r\n */\n\nexport function negate(out, a) {\n out[0] = -a[0];\n out[1] = -a[1];\n return out;\n}\n/**\r\n * Returns the inverse of the components of a vec2\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a vector to invert\r\n * @returns {vec2} out\r\n */\n\nexport function inverse(out, a) {\n out[0] = 1.0 / a[0];\n out[1] = 1.0 / a[1];\n return out;\n}\n/**\r\n * Normalize a vec2\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a vector to normalize\r\n * @returns {vec2} out\r\n */\n\nexport function normalize(out, a) {\n var x = a[0],\n y = a[1];\n var len = x * x + y * y;\n\n if (len > 0) {\n //TODO: evaluate use of glm_invsqrt here?\n len = 1 / Math.sqrt(len);\n }\n\n out[0] = a[0] * len;\n out[1] = a[1] * len;\n return out;\n}\n/**\r\n * Calculates the dot product of two vec2's\r\n *\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @returns {Number} dot product of a and b\r\n */\n\nexport function dot(a, b) {\n return a[0] * b[0] + a[1] * b[1];\n}\n/**\r\n * Computes the cross product of two vec2's\r\n * Note that the cross product must by definition produce a 3D vector\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @returns {vec3} out\r\n */\n\nexport function cross(out, a, b) {\n var z = a[0] * b[1] - a[1] * b[0];\n out[0] = out[1] = 0;\n out[2] = z;\n return out;\n}\n/**\r\n * Performs a linear interpolation between two vec2's\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\r\n * @returns {vec2} out\r\n */\n\nexport function lerp(out, a, b, t) {\n var ax = a[0],\n ay = a[1];\n out[0] = ax + t * (b[0] - ax);\n out[1] = ay + t * (b[1] - ay);\n return out;\n}\n/**\r\n * Generates a random vector with the given scale\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {Number} [scale] Length of the resulting vector. If ommitted, a unit vector will be returned\r\n * @returns {vec2} out\r\n */\n\nexport function random(out, scale) {\n scale = scale || 1.0;\n var r = glMatrix.RANDOM() * 2.0 * Math.PI;\n out[0] = Math.cos(r) * scale;\n out[1] = Math.sin(r) * scale;\n return out;\n}\n/**\r\n * Transforms the vec2 with a mat2\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the vector to transform\r\n * @param {ReadonlyMat2} m matrix to transform with\r\n * @returns {vec2} out\r\n */\n\nexport function transformMat2(out, a, m) {\n var x = a[0],\n y = a[1];\n out[0] = m[0] * x + m[2] * y;\n out[1] = m[1] * x + m[3] * y;\n return out;\n}\n/**\r\n * Transforms the vec2 with a mat2d\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the vector to transform\r\n * @param {ReadonlyMat2d} m matrix to transform with\r\n * @returns {vec2} out\r\n */\n\nexport function transformMat2d(out, a, m) {\n var x = a[0],\n y = a[1];\n out[0] = m[0] * x + m[2] * y + m[4];\n out[1] = m[1] * x + m[3] * y + m[5];\n return out;\n}\n/**\r\n * Transforms the vec2 with a mat3\r\n * 3rd vector component is implicitly '1'\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the vector to transform\r\n * @param {ReadonlyMat3} m matrix to transform with\r\n * @returns {vec2} out\r\n */\n\nexport function transformMat3(out, a, m) {\n var x = a[0],\n y = a[1];\n out[0] = m[0] * x + m[3] * y + m[6];\n out[1] = m[1] * x + m[4] * y + m[7];\n return out;\n}\n/**\r\n * Transforms the vec2 with a mat4\r\n * 3rd vector component is implicitly '0'\r\n * 4th vector component is implicitly '1'\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the vector to transform\r\n * @param {ReadonlyMat4} m matrix to transform with\r\n * @returns {vec2} out\r\n */\n\nexport function transformMat4(out, a, m) {\n var x = a[0];\n var y = a[1];\n out[0] = m[0] * x + m[4] * y + m[12];\n out[1] = m[1] * x + m[5] * y + m[13];\n return out;\n}\n/**\r\n * Rotate a 2D vector\r\n * @param {vec2} out The receiving vec2\r\n * @param {ReadonlyVec2} a The vec2 point to rotate\r\n * @param {ReadonlyVec2} b The origin of the rotation\r\n * @param {Number} rad The angle of rotation in radians\r\n * @returns {vec2} out\r\n */\n\nexport function rotate(out, a, b, rad) {\n //Translate point to the origin\n var p0 = a[0] - b[0],\n p1 = a[1] - b[1],\n sinC = Math.sin(rad),\n cosC = Math.cos(rad); //perform rotation and translate to correct position\n\n out[0] = p0 * cosC - p1 * sinC + b[0];\n out[1] = p0 * sinC + p1 * cosC + b[1];\n return out;\n}\n/**\r\n * Get the angle between two 2D vectors\r\n * @param {ReadonlyVec2} a The first operand\r\n * @param {ReadonlyVec2} b The second operand\r\n * @returns {Number} The angle in radians\r\n */\n\nexport function angle(a, b) {\n var x1 = a[0],\n y1 = a[1],\n x2 = b[0],\n y2 = b[1],\n // mag is the product of the magnitudes of a and b\n mag = Math.sqrt(x1 * x1 + y1 * y1) * Math.sqrt(x2 * x2 + y2 * y2),\n // mag &&.. short circuits if mag == 0\n cosine = mag && (x1 * x2 + y1 * y2) / mag; // Math.min(Math.max(cosine, -1), 1) clamps the cosine between -1 and 1\n\n return Math.acos(Math.min(Math.max(cosine, -1), 1));\n}\n/**\r\n * Set the components of a vec2 to zero\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @returns {vec2} out\r\n */\n\nexport function zero(out) {\n out[0] = 0.0;\n out[1] = 0.0;\n return out;\n}\n/**\r\n * Returns a string representation of a vector\r\n *\r\n * @param {ReadonlyVec2} a vector to represent as a string\r\n * @returns {String} string representation of the vector\r\n */\n\nexport function str(a) {\n return \"vec2(\" + a[0] + \", \" + a[1] + \")\";\n}\n/**\r\n * Returns whether or not the vectors exactly have the same elements in the same position (when compared with ===)\r\n *\r\n * @param {ReadonlyVec2} a The first vector.\r\n * @param {ReadonlyVec2} b The second vector.\r\n * @returns {Boolean} True if the vectors are equal, false otherwise.\r\n */\n\nexport function exactEquals(a, b) {\n return a[0] === b[0] && a[1] === b[1];\n}\n/**\r\n * Returns whether or not the vectors have approximately the same elements in the same position.\r\n *\r\n * @param {ReadonlyVec2} a The first vector.\r\n * @param {ReadonlyVec2} b The second vector.\r\n * @returns {Boolean} True if the vectors are equal, false otherwise.\r\n */\n\nexport function equals(a, b) {\n var a0 = a[0],\n a1 = a[1];\n var b0 = b[0],\n b1 = b[1];\n return Math.abs(a0 - b0) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1));\n}\n/**\r\n * Alias for {@link vec2.length}\r\n * @function\r\n */\n\nexport var len = length;\n/**\r\n * Alias for {@link vec2.subtract}\r\n * @function\r\n */\n\nexport var sub = subtract;\n/**\r\n * Alias for {@link vec2.multiply}\r\n * @function\r\n */\n\nexport var mul = multiply;\n/**\r\n * Alias for {@link vec2.divide}\r\n * @function\r\n */\n\nexport var div = divide;\n/**\r\n * Alias for {@link vec2.distance}\r\n * @function\r\n */\n\nexport var dist = distance;\n/**\r\n * Alias for {@link vec2.squaredDistance}\r\n * @function\r\n */\n\nexport var sqrDist = squaredDistance;\n/**\r\n * Alias for {@link vec2.squaredLength}\r\n * @function\r\n */\n\nexport var sqrLen = squaredLength;\n/**\r\n * Perform some operation over an array of vec2s.\r\n *\r\n * @param {Array} a the array of vectors to iterate over\r\n * @param {Number} stride Number of elements between the start of each vec2. If 0 assumes tightly packed\r\n * @param {Number} offset Number of elements to skip at the beginning of the array\r\n * @param {Number} count Number of vec2s to iterate over. If 0 iterates over entire array\r\n * @param {Function} fn Function to call for each vector in the array\r\n * @param {Object} [arg] additional argument to pass to fn\r\n * @returns {Array} a\r\n * @function\r\n */\n\nexport var forEach = function () {\n var vec = create();\n return function (a, stride, offset, count, fn, arg) {\n var i, l;\n\n if (!stride) {\n stride = 2;\n }\n\n if (!offset) {\n offset = 0;\n }\n\n if (count) {\n l = Math.min(count * stride + offset, a.length);\n } else {\n l = a.length;\n }\n\n for (i = offset; i < l; i += stride) {\n vec[0] = a[i];\n vec[1] = a[i + 1];\n fn(vec, vec, arg);\n a[i] = vec[0];\n a[i + 1] = vec[1];\n }\n\n return a;\n };\n}();" } ], "filteredModules": 0 }, { "id": 26, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "name": "./src/behavior/behavior.ts + 1 modules", "index": 2, "index2": 107, "size": 3256, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../../behavior/behavior", "loc": "2:0-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../behavior/behavior", "loc": "32:35-43" }, { "moduleId": 35, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/index.ts", "module": "./src/behavior/index.ts", "moduleName": "./src/behavior/index.ts", "type": "harmony side effect evaluation", "userRequest": "./behavior", "loc": "1:0-34" }, { "moduleId": 35, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/index.ts", "module": "./src/behavior/index.ts", "moduleName": "./src/behavior/index.ts", "type": "harmony import specifier", "userRequest": "./behavior", "loc": "2:15-23" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js because of ./src/index.ts" ], "depth": 2, "modules": [ { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts", "name": "./src/behavior/behavior.ts", "index": 2, "index2": 107, "size": 1485, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/index.ts", "issuerId": 35, "issuerName": "./src/behavior/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 35, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/index.ts", "name": "./src/behavior/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 867, "building": 36, "dependencies": 2149 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../../behavior/behavior", "loc": "2:0-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../behavior/behavior", "loc": "32:35-43" }, { "moduleId": 35, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/index.ts", "module": "./src/behavior/index.ts", "moduleName": "./src/behavior/index.ts", "type": "harmony side effect evaluation", "userRequest": "./behavior", "loc": "1:0-34" }, { "moduleId": 35, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/index.ts", "module": "./src/behavior/index.ts", "moduleName": "./src/behavior/index.ts", "type": "harmony import specifier", "userRequest": "./behavior", "loc": "2:15-23" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 2, "source": "import { clone, each, wrapBehavior } from '@antv/util';\nimport behaviorOption from './behaviorOption';\nvar Behavior = /** @class */ (function () {\n function Behavior() {\n }\n /**\n * 自定义 Behavior\n * @param type Behavior 名称\n * @param behavior Behavior 定义的方法集合\n */\n Behavior.registerBehavior = function (type, behavior) {\n if (!behavior) {\n throw new Error(\"please specify handler for this behavior: \" + type);\n }\n var prototype = clone(behaviorOption);\n Object.assign(prototype, behavior);\n // eslint-disable-next-line func-names\n var base = function (cfg) {\n var _this = this;\n Object.assign(this, this.getDefaultCfg(), cfg);\n var events = this.getEvents();\n this.events = null;\n var eventsToBind = {};\n if (events) {\n each(events, function (handle, event) {\n eventsToBind[event] = wrapBehavior(_this, handle);\n });\n this.events = eventsToBind;\n }\n };\n base.prototype = prototype;\n Behavior.types[type] = base;\n };\n Behavior.hasBehavior = function (type) {\n return !!Behavior.types[type];\n };\n Behavior.getBehavior = function (type) {\n return Behavior.types[type];\n };\n // 所有自定义的 Behavior 的实例\n Behavior.types = {};\n return Behavior;\n}());\nexport default Behavior;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behaviorOption.ts", "name": "./src/behavior/behaviorOption.ts", "index": 109, "index2": 106, "size": 1766, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts", "issuerId": null, "issuerName": "./src/behavior/behavior.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 35, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/index.ts", "name": "./src/behavior/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts", "name": "./src/behavior/behavior.ts", "profile": { "factory": 867, "building": 36, "dependencies": 2149 } } ], "profile": { "factory": 2149, "building": 28, "dependencies": 1191 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts", "module": "./src/behavior/behavior.ts", "moduleName": "./src/behavior/behavior.ts", "type": "harmony side effect evaluation", "userRequest": "./behaviorOption", "loc": "2:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts", "module": "./src/behavior/behavior.ts", "moduleName": "./src/behavior/behavior.ts", "type": "harmony import specifier", "userRequest": "./behaviorOption", "loc": "15:30-44" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import { each } from '@antv/util';\n// 自定义 Behavior 时候共有的方法\nexport default {\n getDefaultCfg: function () {\n return {};\n },\n /**\n * register event handler, behavior will auto bind events\n * for example:\n * return {\n * click: 'onClick'\n * }\n */\n getEvents: function () {\n return {};\n },\n shouldBegin: function () {\n return true;\n },\n shouldUpdate: function () {\n return true;\n },\n shouldEnd: function () {\n return true;\n },\n /**\n * auto bind events when register behavior\n * @param graph Graph instance\n */\n bind: function (graph) {\n var _this = this;\n var events = this.events;\n this.graph = graph;\n if (this.type === 'drag-canvas' ||\n this.type === 'brush-select' ||\n this.type === 'lasso-select') {\n graph.get('canvas').set('draggable', true);\n }\n each(events, function (handler, event) {\n graph.on(event, handler);\n });\n // To avoid the tabs switching makes the keydown related behaviors disable\n document.addEventListener('visibilitychange', function () {\n _this.keydown = false;\n });\n },\n unbind: function (graph) {\n var events = this.events;\n if (this.type === 'drag-canvas' ||\n this.type === 'brush-select' ||\n this.type === 'lasso-select') {\n graph.get('canvas').set('draggable', false);\n }\n each(events, function (handler, event) {\n graph.off(event, handler);\n });\n },\n get: function (val) {\n return this[val];\n },\n set: function (key, val) {\n this[key] = val;\n return this;\n },\n};\n" } ], "filteredModules": 0 }, { "id": 27, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/common.js", "name": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/common.js", "index": 115, "index2": 110, "size": 1378, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js", "issuerId": 11, "issuerName": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec2.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec2.js", "profile": { "factory": 1667, "building": 225, "dependencies": 394 } }, { "id": 11, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js", "name": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js", "profile": { "factory": 452, "building": 557 } } ], "profile": { "factory": 22, "building": 41 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 8, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/mat3.js", "module": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/mat3.js", "moduleName": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/mat3.js", "type": "cjs require", "userRequest": "./common.js", "loc": "38:14-36" }, { "moduleId": 11, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js", "module": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js", "moduleName": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js", "type": "cjs require", "userRequest": "./common.js", "loc": "44:14-36" }, { "moduleId": 48, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec3.js", "module": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec3.js", "moduleName": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec3.js", "type": "cjs require", "userRequest": "./common.js", "loc": "47:14-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.setMatrixArrayType = setMatrixArrayType;\nexports.toRadian = toRadian;\nexports.equals = equals;\n/**\n * Common utilities\n * @module glMatrix\n */\n// Configuration Constants\n\nvar EPSILON = exports.EPSILON = 0.000001;\nvar ARRAY_TYPE = exports.ARRAY_TYPE = typeof Float32Array !== 'undefined' ? Float32Array : Array;\nvar RANDOM = exports.RANDOM = Math.random;\n/**\n * Sets the type of array used when creating new vectors and matrices\n *\n * @param {Type} type Array type, such as Float32Array or Array\n */\n\nfunction setMatrixArrayType(type) {\n exports.ARRAY_TYPE = ARRAY_TYPE = type;\n}\n\nvar degree = Math.PI / 180;\n/**\n * Convert Degree To Radian\n *\n * @param {Number} a Angle in Degrees\n */\n\nfunction toRadian(a) {\n return a * degree;\n}\n/**\n * Tests whether or not the arguments have approximately the same value, within an absolute\n * or relative tolerance of glMatrix.EPSILON (an absolute tolerance is used for values less\n * than or equal to 1.0, and a relative tolerance is used for larger values)\n *\n * @param {Number} a The first number to test.\n * @param {Number} b The second number to test.\n * @returns {Boolean} True if the numbers are approximately equal, false otherwise.\n */\n\n\nfunction equals(a, b) {\n return Math.abs(a - b) <= EPSILON * Math.max(1.0, Math.abs(a), Math.abs(b));\n}" }, { "id": 28, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-nil.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-nil.js", "index": 147, "index2": 138, "size": 264, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "issuerId": 7, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": 7, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } } ], "profile": { "factory": 568, "building": 31, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/is-nil", "loc": "9:0-57" }, { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony export imported specifier", "userRequest": "@antv/util/lib/is-nil", "loc": "9:0-57" }, { "moduleId": 64, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/to-string.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/to-string.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/to-string.js", "type": "cjs require", "userRequest": "./is-nil", "loc": "7:15-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n}); // isFinite,\n\nvar isNil = function isNil(value) {\n /**\n * isNil(null) => true\n * isNil() => true\n */\n return value === null || value === undefined;\n};\n\nexports.default = isNil;" }, { "id": 29, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-type.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-type.js", "index": 149, "index2": 139, "size": 241, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array.js", "issuerId": 15, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "profile": { "factory": 1578, "building": 488, "dependencies": 365 } }, { "id": 15, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array.js", "profile": { "factory": 855, "building": 182, "dependencies": 41 } } ], "profile": { "factory": 44, "building": 331 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 15, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array.js", "type": "cjs require", "userRequest": "./is-type", "loc": "7:16-36" }, { "moduleId": 17, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-string.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-string.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-string.js", "type": "cjs require", "userRequest": "./is-type", "loc": "7:16-36" }, { "moduleId": 38, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-function.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-function.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-function.js", "type": "cjs require", "userRequest": "./is-type", "loc": "12:16-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar toString = {}.toString;\n\nvar isType = function isType(value, type) {\n return toString.call(value) === '[object ' + type + ']';\n};\n\nexports.default = isType;" }, { "id": 30, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-object.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-object.js", "index": 151, "index2": 142, "size": 731, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "issuerId": 18, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "profile": { "factory": 1578, "building": 488, "dependencies": 365 } }, { "id": 18, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "profile": { "factory": 855, "building": 182, "dependencies": 41 } } ], "profile": { "factory": 28, "building": 344 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/is-object", "loc": "12:0-63" }, { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony export imported specifier", "userRequest": "@antv/util/lib/is-object", "loc": "12:0-63" }, { "moduleId": 18, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "type": "cjs require", "userRequest": "./is-object", "loc": "9:18-40" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\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\n return value !== null && type === 'object' || type === 'function';\n};" }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "index": 252, "index2": 251, "size": 303, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./util", "loc": "5:0-26" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony export imported specifier", "userRequest": "./util", "loc": "13:0-124" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./util", "loc": "22:10-14" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 1, "source": "import { __assign } from \"tslib\";\nimport * as MathUtil from './math';\nimport * as GraphicUtil from './graphic';\nimport * as PathUtil from './path';\nimport * as BaseUtil from './base';\nvar Util = __assign(__assign(__assign(__assign({}, BaseUtil), GraphicUtil), PathUtil), MathUtil);\nexport default Util;\n" }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "index": 253, "index2": 252, "size": 6687, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./graph/controller/layout", "loc": "7:0-55" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony export imported specifier", "userRequest": "./graph/controller/layout", "loc": "13:0-124" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./graph/controller/layout", "loc": "29:20-34" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 1, "source": "import { isNaN } from '../../util/base';\nvar LayoutController = /** @class */ (function () {\n function LayoutController(graph) {\n this.graph = graph;\n this.layoutCfg = graph.get('layout') || {};\n this.layoutType = this.layoutCfg.type;\n this.initLayout();\n }\n // eslint-disable-next-line class-methods-use-this\n LayoutController.prototype.initLayout = function () {\n // no data before rendering\n };\n LayoutController.prototype.getLayoutType = function () {\n return this.layoutCfg.type;\n };\n // 绘制\n LayoutController.prototype.refreshLayout = function () {\n var graph = this.graph;\n if (graph.get('animate')) {\n graph.positionsAnimate();\n }\n else {\n graph.refreshPositions();\n }\n };\n // 更换布局\n LayoutController.prototype.changeLayout = function (layoutType) {\n var _a = this, graph = _a.graph, layoutMethod = _a.layoutMethod;\n this.layoutType = layoutType;\n this.layoutCfg = graph.get('layout') || {};\n this.layoutCfg.type = layoutType;\n if (layoutMethod) {\n layoutMethod.destroy();\n }\n this.layout();\n };\n // 更换数据\n LayoutController.prototype.changeData = function () {\n var layoutMethod = this.layoutMethod;\n if (layoutMethod) {\n layoutMethod.destroy();\n }\n this.layout();\n };\n // 销毁布局,不能使用 this.destroy,因为 controller 还需要被使用,只是把布局算法销毁\n LayoutController.prototype.destroyLayout = function () {\n var _a = this, layoutMethod = _a.layoutMethod, graph = _a.graph;\n if (layoutMethod) {\n layoutMethod.destroy();\n }\n graph.set('layout', undefined);\n this.layoutCfg = undefined;\n this.layoutType = undefined;\n this.layoutMethod = undefined;\n };\n // 从 this.graph 获取数据\n LayoutController.prototype.setDataFromGraph = function () {\n var nodes = [];\n var edges = [];\n var combos = [];\n var nodeItems = this.graph.getNodes();\n var edgeItems = this.graph.getEdges();\n var comboItems = this.graph.getCombos();\n var nodeLength = nodeItems.length;\n for (var i = 0; i < nodeLength; i++) {\n var nodeItem = nodeItems[i];\n if (!nodeItem.isVisible())\n continue;\n var model = nodeItem.getModel();\n nodes.push(model);\n }\n var edgeLength = edgeItems.length;\n for (var i = 0; i < edgeLength; i++) {\n var edgeItem = edgeItems[i];\n if (edgeItem.destroyed || !edgeItem.isVisible())\n continue;\n var model = edgeItem.getModel();\n if (!model.isComboEdge)\n edges.push(model);\n }\n var comboLength = comboItems.length;\n for (var i = 0; i < comboLength; i++) {\n var comboItem = comboItems[i];\n if (comboItem.destroyed || !comboItem.isVisible())\n continue;\n var model = comboItem.getModel();\n combos.push(model);\n }\n return { nodes: nodes, edges: edges, combos: combos };\n };\n // 重新布局\n LayoutController.prototype.relayout = function (reloadData) {\n var _a = this, graph = _a.graph, layoutMethod = _a.layoutMethod, layoutCfg = _a.layoutCfg;\n if (reloadData) {\n this.data = this.setDataFromGraph();\n var nodes = this.data.nodes;\n if (!nodes) {\n return false;\n }\n this.initPositions(layoutCfg.center, nodes);\n layoutMethod.init(this.data);\n }\n if (this.layoutType === 'force') {\n layoutMethod.ticking = false;\n layoutMethod.forceSimulation.stop();\n }\n graph.emit('beforelayout');\n layoutMethod.execute(reloadData);\n if (this.layoutType !== 'force' && !layoutMethod.enableTick) {\n graph.emit('afterlayout');\n }\n this.refreshLayout();\n };\n // 控制布局动画\n // eslint-disable-next-line class-methods-use-this\n LayoutController.prototype.layoutAnimate = function () { };\n // 将当前节点的平均中心移动到原点\n LayoutController.prototype.moveToZero = function () {\n var graph = this.graph;\n var data = graph.get('data');\n var nodes = data.nodes;\n if (nodes[0].x === undefined || nodes[0].x === null || isNaN(nodes[0].x)) {\n return;\n }\n var meanCenter = [0, 0];\n var nodeLength = nodes.length;\n for (var i = 0; i < nodeLength; i++) {\n var node = nodes[i];\n meanCenter[0] += node.x;\n meanCenter[1] += node.y;\n }\n meanCenter[0] /= nodes.length;\n meanCenter[1] /= nodes.length;\n for (var i = 0; i < nodeLength; i++) {\n var node = nodes[i];\n node.x -= meanCenter[0];\n node.y -= meanCenter[1];\n }\n };\n // 初始化节点到 center 附近\n LayoutController.prototype.initPositions = function (center, nodes) {\n var graph = this.graph;\n if (!nodes) {\n return false;\n }\n var allHavePos = true;\n var width = graph.get('width') * 0.85;\n var height = graph.get('height') * 0.85;\n var nodeNum = nodes.length;\n var horiNum = Math.ceil(Math.sqrt(nodeNum) * (width / height));\n var vertiNum = Math.ceil(nodeNum / horiNum);\n var horiGap = width / (horiNum - 1);\n var vertiGap = height / (vertiNum - 1);\n if (!isFinite(horiGap) || !horiGap)\n horiGap = 0;\n if (!isFinite(vertiGap) || !horiGap)\n vertiGap = 0;\n var beginX = center[0] - width / 2;\n var beginY = center[1] - height / 2;\n var nodeLength = nodes.length;\n for (var i = 0; i < nodeLength; i++) {\n var node = nodes[i];\n if (isNaN(node.x)) {\n allHavePos = false;\n node.x = (i % horiNum) * horiGap + beginX;\n }\n if (isNaN(node.y)) {\n allHavePos = false;\n node.y = Math.floor(i / horiNum) * vertiGap + beginY;\n }\n }\n return allHavePos;\n };\n LayoutController.prototype.destroy = function () {\n var layoutMethod = this.layoutMethod;\n this.graph = null;\n if (layoutMethod) {\n layoutMethod.destroy();\n layoutMethod.destroyed = true;\n }\n this.destroyed = true;\n };\n return LayoutController;\n}());\nexport default LayoutController;\n" }, { "id": 33, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/event.ts", "name": "./src/graph/controller/event.ts", "index": 254, "index2": 253, "size": 248, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./graph/controller/event", "loc": "8:0-53" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony export imported specifier", "userRequest": "./graph/controller/event", "loc": "13:0-124" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./graph/controller/event", "loc": "30:19-32" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 1, "source": "var EventController = /** @class */ (function () {\n function EventController(graph) {\n this.graph = graph;\n this.destroyed = false;\n this.initEvents();\n }\n return EventController;\n}());\nexport default EventController;\n" }, { "id": 34, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "name": "./src/graph/graph.ts + 22 modules", "index": 110, "index2": 236, "size": 218279, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./graph/graph", "loc": "2:0-42" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony export imported specifier", "userRequest": "./graph/graph", "loc": "13:0-124" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./graph/graph", "loc": "21:19-32" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_algorithm@0.0.4@@antv/algorithm/dist/index.min.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_event-emitter@0.1.2@@antv/event-emitter/esm/index.js because of ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_tslib@2.0.3@tslib/tslib.es6.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/behavior/behavior.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/global.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/shape/shape.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/util/base.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/util/graphic.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/util/math.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/util/path.ts because of ./src/index.ts" ], "depth": 1, "modules": [ { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "index": 110, "index2": 236, "size": 93824, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./graph/graph", "loc": "2:0-42" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony export imported specifier", "userRequest": "./graph/graph", "loc": "13:0-124" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./graph/graph", "loc": "21:19-32" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 1, "source": "import { __assign, __extends, __spreadArrays } from \"tslib\";\nimport EventEmitter from '@antv/event-emitter';\nimport { mat3 } from '@antv/matrix-util';\nimport { clone, deepMix, each, isPlainObject, isString } from '@antv/util';\nimport { getDegree, getAdjMatrix as getAdjacentMatrix, Stack, floydWarshall, } from '@antv/algorithm';\nimport { move } from '../util/math';\nimport Global from '../global';\nimport { ItemController, ModeController, StateController, ViewController } from './controller';\nimport { plainCombosToTrees, traverseTree, reconstructTree, traverseTreeUp } from '../util/graphic';\nimport Hull from '../item/hull';\nvar NODE = 'node';\nvar AbstractGraph = /** @class */ (function (_super) {\n __extends(AbstractGraph, _super);\n function AbstractGraph(cfg) {\n var _this = _super.call(this) || this;\n _this.cfg = deepMix(_this.getDefaultCfg(), cfg);\n _this.init();\n _this.animating = false;\n _this.destroyed = false;\n // 启用 stack 后,实例化 undoStack 和 redoStack\n if (_this.cfg.enabledStack) {\n // 实例化 undo 和 redo 栈\n _this.undoStack = new Stack(_this.cfg.maxStep);\n _this.redoStack = new Stack(_this.cfg.maxStep);\n }\n return _this;\n }\n AbstractGraph.prototype.init = function () {\n debugger;\n this.initCanvas();\n // instance controller\n var viewController = new ViewController(this);\n var modeController = new ModeController(this);\n var itemController = new ItemController(this);\n var stateController = new StateController(this);\n this.set({\n viewController: viewController,\n modeController: modeController,\n itemController: itemController,\n stateController: stateController,\n });\n // 初始化布局机制\n this.initLayoutController();\n // 初始化事件机制\n this.initEventController();\n this.initGroups();\n };\n // 初始化所有 Group\n AbstractGraph.prototype.initGroups = function () {\n var canvas = this.get('canvas');\n var el = this.get('canvas').get('el');\n var id = el.id;\n var group = canvas.addGroup({\n id: id + \"-root\",\n className: Global.rootContainerClassName,\n });\n if (this.get('groupByTypes')) {\n var edgeGroup = group.addGroup({\n id: id + \"-edge\",\n className: Global.edgeContainerClassName,\n });\n var nodeGroup = group.addGroup({\n id: id + \"-node\",\n className: Global.nodeContainerClassName,\n });\n var comboGroup = group.addGroup({\n id: id + \"-combo\",\n className: Global.comboContainerClassName,\n });\n // 用于存储自定义的群组\n comboGroup.toBack();\n this.set({ nodeGroup: nodeGroup, edgeGroup: edgeGroup, comboGroup: comboGroup });\n }\n var delegateGroup = group.addGroup({\n id: id + \"-delegate\",\n className: Global.delegateContainerClassName,\n });\n this.set({ delegateGroup: delegateGroup });\n this.set('group', group);\n };\n // eslint-disable-next-line class-methods-use-this\n AbstractGraph.prototype.getDefaultCfg = function () {\n return {\n /**\n * Container could be dom object or dom id\n */\n container: undefined,\n /**\n * Canvas width\n * unit pixel if undefined force fit width\n */\n width: undefined,\n /**\n * Canvas height\n * unit pixel if undefined force fit height\n */\n height: undefined,\n /**\n * renderer canvas or svg\n * @type {string}\n */\n renderer: 'canvas',\n /**\n * control graph behaviors\n */\n modes: {},\n /**\n * 注册插件\n */\n plugins: [],\n /**\n * source data\n */\n data: {},\n /**\n * Fit view padding (client scale)\n */\n fitViewPadding: 10,\n /**\n * Minimum scale size\n */\n minZoom: 0.2,\n /**\n * Maxmum scale size\n */\n maxZoom: 10,\n /**\n * capture events\n */\n event: true,\n /**\n * group node & edges into different graphic groups\n */\n groupByTypes: true,\n /**\n * determine if it's a directed graph\n */\n directed: false,\n /**\n * when data or shape changed, should canvas draw automatically\n */\n autoPaint: true,\n /**\n * store all the node instances\n */\n nodes: [],\n /**\n * store all the edge instances\n */\n edges: [],\n /**\n * store all the combo instances\n */\n combos: [],\n /**\n * store all the edge instances which are virtual edges related to collapsed combo\n */\n vedges: [],\n /**\n * all the instances indexed by id\n */\n itemMap: {},\n /**\n * 边直接连接到节点的中心,不再考虑锚点\n */\n linkCenter: false,\n /**\n * 默认的节点配置,data 上定义的配置会覆盖这些配置。例如:\n * defaultNode: {\n * type: 'rect',\n * size: [60, 40],\n * style: {\n * //... 样式配置项\n * }\n * }\n * 若数据项为 { id: 'node', x: 100, y: 100 }\n * 实际创建的节点模型是 { id: 'node', x: 100, y: 100, type: 'rect', size: [60, 40] }\n * 若数据项为 { id: 'node', x: 100, y: 100, type: 'circle' }\n * 实际创建的节点模型是 { id: 'node', x: 100, y: 100, type: 'circle', size: [60, 40] }\n */\n defaultNode: {},\n /**\n * 默认边配置,data 上定义的配置会覆盖这些配置。用法同 defaultNode\n */\n defaultEdge: {},\n /**\n * 节点默认样式,也可以添加状态样式\n * 例如:\n * const graph = new G6.Graph({\n * nodeStateStyles: {\n * selected: { fill: '#ccc', stroke: '#666' },\n * active: { lineWidth: 2 }\n * },\n * ...\n * });\n *\n */\n nodeStateStyles: {},\n /**\n * 边默认样式,用法同nodeStateStyle\n */\n edgeStateStyles: {},\n /**\n * graph 状态\n */\n states: {},\n /**\n * 是否启用全局动画\n */\n animate: false,\n /**\n * 动画设置,仅在 animate 为 true 时有效\n */\n animateCfg: {\n /**\n * 帧回调函数,用于自定义节点运动路径,为空时线性运动\n */\n onFrame: undefined,\n /**\n * 动画时长(ms)\n */\n duration: 500,\n /**\n * 指定动画动效\n */\n easing: 'easeLinear',\n },\n callback: undefined,\n // 默认不启用 undo & redo 功能\n enabledStack: false,\n // 只有当 enabledStack 为 true 时才起作用\n maxStep: 10,\n // 存储图上的 tooltip dom,方便销毁\n tooltips: [],\n };\n };\n /**\n * 将值设置到 this.cfg 变量上面\n * @param key 键 或 对象值\n * @param val 值\n */\n AbstractGraph.prototype.set = function (key, val) {\n if (isPlainObject(key)) {\n this.cfg = __assign(__assign({}, this.cfg), key);\n }\n else {\n this.cfg[key] = val;\n }\n return this;\n };\n /**\n * 获取 this.cfg 中的值\n * @param key 键\n */\n AbstractGraph.prototype.get = function (key) {\n return this.cfg[key];\n };\n /**\n * 获取 graph 的根图形分组\n * @return 根 group\n */\n AbstractGraph.prototype.getGroup = function () {\n return this.get('group');\n };\n /**\n * 获取 graph 的 DOM 容器\n * @return DOM 容器\n */\n AbstractGraph.prototype.getContainer = function () {\n return this.get('container');\n };\n /**\n * 获取 graph 的最小缩放比例\n * @return minZoom\n */\n AbstractGraph.prototype.getMinZoom = function () {\n return this.get('minZoom');\n };\n /**\n * 设置 graph 的最小缩放比例\n * @return minZoom\n */\n AbstractGraph.prototype.setMinZoom = function (ratio) {\n return this.set('minZoom', ratio);\n };\n /**\n * 获取 graph 的最大缩放比例\n * @param maxZoom\n */\n AbstractGraph.prototype.getMaxZoom = function () {\n return this.get('maxZoom');\n };\n /**\n * 设置 graph 的最大缩放比例\n * @param maxZoom\n */\n AbstractGraph.prototype.setMaxZoom = function (ratio) {\n return this.set('maxZoom', ratio);\n };\n /**\n * 获取 graph 的宽度\n * @return width\n */\n AbstractGraph.prototype.getWidth = function () {\n return this.get('width');\n };\n /**\n * 获取 graph 的高度\n * @return width\n */\n AbstractGraph.prototype.getHeight = function () {\n return this.get('height');\n };\n /**\n * 清理元素多个状态\n * @param {string|Item} item 元素id或元素实例\n * @param {string[]} states 状态\n */\n AbstractGraph.prototype.clearItemStates = function (item, states) {\n if (isString(item)) {\n item = this.findById(item);\n }\n var itemController = this.get('itemController');\n if (!states) {\n states = item.get('states');\n }\n itemController.clearItemStates(item, states);\n var stateController = this.get('stateController');\n stateController.updateStates(item, states, false);\n };\n /**\n * 设置各个节点样式,以及在各种状态下节点 keyShape 的样式。\n * 若是自定义节点切在各种状态下\n * graph.node(node => {\n * return {\n * type: 'rect',\n * label: node.id,\n * style: { fill: '#666' },\n * stateStyles: {\n * selected: { fill: 'blue' },\n * custom: { fill: 'green' }\n * }\n * }\n * });\n * @param {function} nodeFn 指定每个节点样式\n */\n AbstractGraph.prototype.node = function (nodeFn) {\n if (typeof nodeFn === 'function') {\n this.set('nodeMapper', nodeFn);\n }\n };\n /**\n * 设置各个边样式\n * @param {function} edgeFn 指定每个边的样式,用法同 node\n */\n AbstractGraph.prototype.edge = function (edgeFn) {\n if (typeof edgeFn === 'function') {\n this.set('edgeMapper', edgeFn);\n }\n };\n /**\n * 设置各个 combo 的配置\n * @param comboFn\n */\n AbstractGraph.prototype.combo = function (comboFn) {\n if (typeof comboFn === 'function') {\n this.set('comboMapper', comboFn);\n }\n };\n /**\n * 根据 ID 查询图元素实例\n * @param id 图元素 ID\n */\n AbstractGraph.prototype.findById = function (id) {\n return this.get('itemMap')[id];\n };\n /**\n * 根据对应规则查找单个元素\n * @param {ITEM_TYPE} type 元素类型(node | edge | group)\n * @param {(item: T, index: number) => T} fn 指定规则\n * @return {T} 元素实例\n */\n AbstractGraph.prototype.find = function (type, fn) {\n var result;\n var items = this.get(type + \"s\");\n // eslint-disable-next-line consistent-return\n each(items, function (item, i) {\n if (fn(item, i)) {\n result = item;\n return result;\n }\n });\n return result;\n };\n /**\n * 查找所有满足规则的元素\n * @param {string} type 元素类型(node|edge)\n * @param {string} fn 指定规则\n * @return {array} 元素实例\n */\n AbstractGraph.prototype.findAll = function (type, fn) {\n var result = [];\n each(this.get(type + \"s\"), function (item, i) {\n if (fn(item, i)) {\n result.push(item);\n }\n });\n return result;\n };\n /**\n * 查找所有处于指定状态的元素\n * @param {string} type 元素类型(node|edge)\n * @param {string} state 状态\n * @return {object} 元素实例\n */\n AbstractGraph.prototype.findAllByState = function (type, state) {\n return this.findAll(type, function (item) { return item.hasState(state); });\n };\n /**\n * 平移画布\n * @param dx 水平方向位移\n * @param dy 垂直方向位移\n */\n AbstractGraph.prototype.translate = function (dx, dy) {\n var group = this.get('group');\n var matrix = clone(group.getMatrix());\n if (!matrix) {\n matrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n mat3.translate(matrix, matrix, [dx, dy]);\n group.setMatrix(matrix);\n this.emit('viewportchange', { action: 'translate', matrix: group.getMatrix() });\n this.autoPaint();\n };\n /**\n * 平移画布到某点\n * @param {number} x 水平坐标\n * @param {number} y 垂直坐标\n */\n AbstractGraph.prototype.moveTo = function (x, y) {\n var group = this.get('group');\n move(group, { x: x, y: y });\n this.emit('viewportchange', { action: 'move', matrix: group.getMatrix() });\n };\n /**\n * 调整视口适应视图\n * @param {object} padding 四周围边距\n */\n AbstractGraph.prototype.fitView = function (padding) {\n if (padding) {\n this.set('fitViewPadding', padding);\n }\n var viewController = this.get('viewController');\n viewController.fitView();\n this.autoPaint();\n };\n /**\n * 调整视口适应视图,不缩放,仅将图 bbox 中心对齐到画布中心\n */\n AbstractGraph.prototype.fitCenter = function () {\n var viewController = this.get('viewController');\n viewController.fitCenter();\n this.autoPaint();\n };\n /**\n * 新增行为\n * @param {string | ModeOption | ModeType[]} behaviors 添加的行为\n * @param {string | string[]} modes 添加到对应的模式\n * @return {Graph} Graph\n */\n AbstractGraph.prototype.addBehaviors = function (behaviors, modes) {\n var modeController = this.get('modeController');\n modeController.manipulateBehaviors(behaviors, modes, true);\n return this;\n };\n /**\n * 移除行为\n * @param {string | ModeOption | ModeType[]} behaviors 移除的行为\n * @param {string | string[]} modes 从指定的模式中移除\n * @return {Graph} Graph\n */\n AbstractGraph.prototype.removeBehaviors = function (behaviors, modes) {\n var modeController = this.get('modeController');\n modeController.manipulateBehaviors(behaviors, modes, false);\n return this;\n };\n /**\n * 伸缩窗口\n * @param ratio 伸缩比例\n * @param center 以center的x, y坐标为中心缩放\n */\n AbstractGraph.prototype.zoom = function (ratio, center) {\n var group = this.get('group');\n var matrix = clone(group.getMatrix());\n var minZoom = this.get('minZoom');\n var maxZoom = this.get('maxZoom');\n if (!matrix) {\n matrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n if (center) {\n mat3.translate(matrix, matrix, [-center.x, -center.y]);\n mat3.scale(matrix, matrix, [ratio, ratio]);\n mat3.translate(matrix, matrix, [center.x, center.y]);\n }\n else {\n mat3.scale(matrix, matrix, [ratio, ratio]);\n }\n if ((minZoom && matrix[0] < minZoom) || (maxZoom && matrix[0] > maxZoom)) {\n return;\n }\n group.setMatrix(matrix);\n this.emit('viewportchange', { action: 'zoom', matrix: matrix });\n this.autoPaint();\n };\n /**\n * 伸缩视口到一固定比例\n * @param {number} toRatio 伸缩比例\n * @param {Point} center 以center的x, y坐标为中心缩放\n */\n AbstractGraph.prototype.zoomTo = function (toRatio, center) {\n var ratio = toRatio / this.getZoom();\n this.zoom(ratio, center);\n };\n /**\n * 将元素移动到视口中心\n * @param {Item} item 指定元素\n * @param {boolean} animate 是否带有动画地移动\n * @param {GraphAnimateConfig} animateCfg 若带有动画,动画的配置项\n */\n AbstractGraph.prototype.focusItem = function (item, animate, animateCfg) {\n var viewController = this.get('viewController');\n var isAnimate = false;\n if (animate)\n isAnimate = true;\n else if (animate === undefined)\n isAnimate = this.get('animate');\n var curAniamteCfg = {};\n if (animateCfg)\n curAniamteCfg = animateCfg;\n else if (animateCfg === undefined)\n curAniamteCfg = this.get('animateCfg');\n viewController.focus(item, isAnimate, curAniamteCfg);\n this.autoPaint();\n };\n /**\n * 自动重绘\n * @internal 仅供内部更新机制调用,外部根据需求调用 render 或 paint 接口\n */\n AbstractGraph.prototype.autoPaint = function () {\n if (this.get('autoPaint')) {\n this.paint();\n }\n };\n /**\n * 仅画布重新绘制\n */\n AbstractGraph.prototype.paint = function () {\n this.emit('beforepaint');\n this.get('canvas').draw();\n this.emit('afterpaint');\n };\n /**\n * 将屏幕坐标转换为视口坐标\n * @param {number} clientX 屏幕x坐标\n * @param {number} clientY 屏幕y坐标\n * @return {Point} 视口坐标\n */\n AbstractGraph.prototype.getPointByClient = function (clientX, clientY) {\n var viewController = this.get('viewController');\n return viewController.getPointByClient(clientX, clientY);\n };\n /**\n * 将视口坐标转换为屏幕坐标\n * @param {number} x 视口x坐标\n * @param {number} y 视口y坐标\n * @return {Point} 视口坐标\n */\n AbstractGraph.prototype.getClientByPoint = function (x, y) {\n var viewController = this.get('viewController');\n return viewController.getClientByPoint(x, y);\n };\n /**\n * 将画布坐标转换为视口坐标\n * @param {number} canvasX 画布 x 坐标\n * @param {number} canvasY 画布 y 坐标\n * @return {object} 视口坐标\n */\n AbstractGraph.prototype.getPointByCanvas = function (canvasX, canvasY) {\n var viewController = this.get('viewController');\n return viewController.getPointByCanvas(canvasX, canvasY);\n };\n /**\n * 将视口坐标转换为画布坐标\n * @param {number} x 视口 x 坐标\n * @param {number} y 视口 y 坐标\n * @return {object} 画布坐标\n */\n AbstractGraph.prototype.getCanvasByPoint = function (x, y) {\n var viewController = this.get('viewController');\n return viewController.getCanvasByPoint(x, y);\n };\n /**\n * 显示元素\n * @param {Item} item 指定元素\n * @param {boolean} stack 本次操作是否入栈,默认为 true\n */\n AbstractGraph.prototype.showItem = function (item, stack) {\n if (stack === void 0) { stack = true; }\n var itemController = this.get('itemController');\n var object = itemController.changeItemVisibility(item, true);\n if (stack && this.get('enabledStack')) {\n var id = object.getID();\n var type = object.getType();\n var before = {};\n var after = {};\n switch (type) {\n case 'node':\n before.nodes = [{ id: id, visible: false }];\n after.nodes = [{ id: id, visible: true }];\n break;\n case 'edge':\n before.nodes = [{ id: id, visible: false }];\n after.edges = [{ id: id, visible: true }];\n break;\n case 'combo':\n before.nodes = [{ id: id, visible: false }];\n after.combos = [{ id: id, visible: true }];\n break;\n default:\n break;\n }\n this.pushStack('visible', { before: before, after: after });\n }\n };\n /**\n * 隐藏元素\n * @param {Item} item 指定元素\n * @param {boolean} stack 本次操作是否入栈,默认为 true\n */\n AbstractGraph.prototype.hideItem = function (item, stack) {\n if (stack === void 0) { stack = true; }\n var itemController = this.get('itemController');\n var object = itemController.changeItemVisibility(item, false);\n if (stack && this.get('enabledStack')) {\n var id = object.getID();\n var type = object.getType();\n var before = {};\n var after = {};\n switch (type) {\n case 'node':\n before.nodes = [{ id: id, visible: true }];\n after.nodes = [{ id: id, visible: false }];\n break;\n case 'edge':\n before.nodes = [{ id: id, visible: true }];\n after.edges = [{ id: id, visible: false }];\n break;\n case 'combo':\n before.nodes = [{ id: id, visible: true }];\n after.combos = [{ id: id, visible: false }];\n break;\n default:\n break;\n }\n this.pushStack('visible', { before: before, after: after });\n }\n };\n /**\n * 刷新元素\n * @param {string|object} item 元素id或元素实例\n */\n AbstractGraph.prototype.refreshItem = function (item) {\n var itemController = this.get('itemController');\n itemController.refreshItem(item);\n };\n /**\n * 设置是否在更新/刷新后自动重绘\n * @param {boolean} auto 自动重绘\n */\n AbstractGraph.prototype.setAutoPaint = function (auto) {\n var self = this;\n self.set('autoPaint', auto);\n var canvas = self.get('canvas');\n canvas.set('autoDraw', auto);\n };\n /**\n * 删除元素\n * @param {Item} item 元素id或元素实例\n * @param {boolean} stack 本次操作是否入栈,默认为 true\n */\n AbstractGraph.prototype.remove = function (item, stack) {\n if (stack === void 0) { stack = true; }\n this.removeItem(item, stack);\n };\n /**\n * 删除元素\n * @param {Item} item 元素id或元素实例\n * @param {boolean} stack 本次操作是否入栈,默认为 true\n */\n AbstractGraph.prototype.removeItem = function (item, stack) {\n if (stack === void 0) { stack = true; }\n var nodeItem = item;\n if (isString(item))\n nodeItem = this.findById(item);\n if (!nodeItem && isString(item)) {\n console.warn('The item to be removed does not exist!');\n }\n else if (nodeItem) {\n var type = '';\n if (nodeItem.getType)\n type = nodeItem.getType();\n // 将删除的元素入栈\n if (stack && this.get('enabledStack')) {\n var deletedModel = __assign(__assign({}, nodeItem.getModel()), { itemType: type });\n var before = {};\n switch (type) {\n case 'node': {\n before.nodes = [deletedModel];\n before.edges = [];\n var edges = nodeItem.getEdges();\n for (var i = edges.length - 1; i >= 0; i--) {\n before.edges.push(__assign(__assign({}, edges[i].getModel()), { itemType: 'edge' }));\n }\n break;\n }\n case 'edge':\n before.edges = [deletedModel];\n break;\n case 'combo':\n before.combos = [deletedModel];\n break;\n default:\n break;\n }\n this.pushStack('delete', {\n before: before,\n after: {},\n });\n }\n if (type === 'node') {\n var model = item.getModel();\n // 如果删除的是节点,且该节点存在于某个 Combo 中,则需要先将 node 从 combo 中移除,否则删除节点后,操作 combo 会出错\n if (model.comboId) {\n this.updateComboTree(item);\n }\n }\n var itemController = this.get('itemController');\n itemController.removeItem(item);\n if (type === 'combo') {\n var newComboTrees = reconstructTree(this.get('comboTrees'));\n this.set('comboTrees', newComboTrees);\n }\n }\n };\n /**\n * 新增元素\n * @param {ITEM_TYPE} type 元素类型(node | edge)\n * @param {ModelConfig} model 元素数据模型\n * @param {boolean} stack 本次操作是否入栈,默认为 true\n * @param {boolean} sortCombo 本次操作是否需要更新 combo 层级顺序,内部参数,用户在外部使用 addItem 时始终时需要更新\n * @return {Item} 元素实例\n */\n AbstractGraph.prototype.addItem = function (type, model, stack, sortCombo) {\n if (stack === void 0) { stack = true; }\n if (sortCombo === void 0) { sortCombo = true; }\n var currentComboSorted = this.get('comboSorted');\n this.set('comboSorted', currentComboSorted && !sortCombo);\n var itemController = this.get('itemController');\n if (model.id && this.findById(model.id)) {\n console.warn(\"This item exists already. Be sure the id %c\" + model.id + \"%c is unique.\", 'font-size: 20px; color: red;', '');\n return;\n }\n var item;\n var comboTrees = this.get('comboTrees');\n if (!comboTrees)\n comboTrees = [];\n if (type === 'combo') {\n var itemMap_1 = this.get('itemMap');\n var foundParent_1 = false;\n comboTrees.forEach(function (ctree) {\n if (foundParent_1)\n return; // terminate the forEach after the tree containing the item is done\n traverseTreeUp(ctree, function (child) {\n // find the parent\n if (model.parentId === child.id) {\n foundParent_1 = true;\n var newCombo = __assign({ id: model.id, depth: child.depth + 2 }, model);\n if (child.children)\n child.children.push(newCombo);\n else\n child.children = [newCombo];\n model.depth = newCombo.depth;\n item = itemController.addItem(type, model);\n }\n var childItem = itemMap_1[child.id];\n // after the parent is found, update all the ancestors\n if (foundParent_1 && childItem && childItem.getType && childItem.getType() === 'combo') {\n itemController.updateCombo(childItem, child.children);\n }\n return true;\n });\n });\n // if the parent is not found, add it to the root\n if (!foundParent_1) {\n var newCombo = __assign({ id: model.id, depth: 0 }, model);\n model.depth = newCombo.depth;\n comboTrees.push(newCombo);\n item = itemController.addItem(type, model);\n }\n this.set('comboTrees', comboTrees);\n }\n else if (type === 'node' && isString(model.comboId) && comboTrees) {\n var parentCombo = this.findById(model.comboId);\n if (parentCombo && parentCombo.getType && parentCombo.getType() !== 'combo') {\n console.warn(\"'\" + model.comboId + \"' is a not id of a combo in the graph, the node will be added without combo.\");\n return;\n }\n item = itemController.addItem(type, model);\n var itemMap_2 = this.get('itemMap');\n var foundParent_2 = false, foundNode_1 = false;\n (comboTrees || []).forEach(function (ctree) {\n if (foundNode_1 || foundParent_2)\n return; // terminate the forEach\n traverseTreeUp(ctree, function (child) {\n if (child.id === model.id) {\n // if the item exists in the tree already, terminate\n foundNode_1 = true;\n return false;\n }\n if (model.comboId === child.id && !foundNode_1) {\n // found the parent, add the item to the children of its parent in the tree\n foundParent_2 = true;\n var cloneNode = clone(model);\n cloneNode.itemType = 'node';\n if (child.children)\n child.children.push(cloneNode);\n else\n child.children = [cloneNode];\n model.depth = child.depth + 1;\n }\n // update the size of all the ancestors\n if (foundParent_2 && itemMap_2[child.id].getType && itemMap_2[child.id].getType() === 'combo') {\n itemController.updateCombo(itemMap_2[child.id], child.children);\n }\n return true;\n });\n });\n }\n else {\n item = itemController.addItem(type, model);\n }\n if ((type === 'node' && model.comboId) || (type === 'combo' && model.parentId)) {\n // add the combo to the parent's children array\n var parentCombo = this.findById(model.comboId || model.parentId);\n if (parentCombo)\n parentCombo.addChild(item);\n }\n var combos = this.get('combos');\n if (combos && combos.length > 0) {\n this.sortCombos();\n }\n this.autoPaint();\n if (stack && this.get('enabledStack')) {\n var addedModel = __assign(__assign({}, item.getModel()), { itemType: type });\n var after = {};\n switch (type) {\n case 'node':\n after.nodes = [addedModel];\n break;\n case 'edge':\n after.edges = [addedModel];\n break;\n case 'combo':\n after.combos = [addedModel];\n break;\n default:\n break;\n }\n this.pushStack('add', {\n before: {},\n after: after,\n });\n }\n return item;\n };\n /**\n * 新增元素\n * @param {ITEM_TYPE} type 元素类型(node | edge)\n * @param {ModelConfig} model 元素数据模型\n * @param {boolean} stack 本次操作是否入栈,默认为 true\n * @return {Item} 元素实例\n */\n AbstractGraph.prototype.add = function (type, model, stack, sortCombo) {\n if (stack === void 0) { stack = true; }\n if (sortCombo === void 0) { sortCombo = true; }\n return this.addItem(type, model, stack, sortCombo);\n };\n /**\n * 更新元素\n * @param {Item} item 元素id或元素实例\n * @param {Partial | EdgeConfig} cfg 需要更新的数据\n */\n AbstractGraph.prototype.updateItem = function (item, cfg, stack) {\n var _this = this;\n if (stack === void 0) { stack = true; }\n var itemController = this.get('itemController');\n var currentItem;\n if (isString(item)) {\n currentItem = this.findById(item);\n }\n else {\n currentItem = item;\n }\n var UnupdateModel = clone(currentItem.getModel());\n var type = '';\n if (currentItem.getType)\n type = currentItem.getType();\n var states = __spreadArrays(currentItem.getStates());\n if (type === 'combo') {\n each(states, function (state) { return _this.setItemState(currentItem, state, false); });\n }\n itemController.updateItem(currentItem, cfg);\n if (type === 'combo') {\n each(states, function (state) { return _this.setItemState(currentItem, state, true); });\n }\n if (stack && this.get('enabledStack')) {\n var before = { nodes: [], edges: [], combos: [] };\n var after = { nodes: [], edges: [], combos: [] };\n var afterModel = __assign({ id: UnupdateModel.id }, cfg);\n switch (type) {\n case 'node':\n before.nodes.push(UnupdateModel);\n after.nodes.push(afterModel);\n break;\n case 'edge':\n before.edges.push(UnupdateModel);\n after.edges.push(afterModel);\n break;\n case 'combo':\n before.combos.push(UnupdateModel);\n after.combos.push(afterModel);\n break;\n default:\n break;\n }\n if (type === 'node') {\n before.nodes.push(UnupdateModel);\n }\n this.pushStack('update', { before: before, after: after });\n }\n };\n /**\n * 更新元素\n * @param {Item} item 元素id或元素实例\n * @param {Partial | EdgeConfig} cfg 需要更新的数据\n * @param {boolean} stack 本次操作是否入栈,默认为 true\n */\n AbstractGraph.prototype.update = function (item, cfg, stack) {\n if (stack === void 0) { stack = true; }\n this.updateItem(item, cfg, stack);\n };\n /**\n * 设置元素状态\n * @param {Item} item 元素id或元素实例\n * @param {string} state 状态名称\n * @param {string | boolean} value 是否启用状态 或 状态值\n */\n AbstractGraph.prototype.setItemState = function (item, state, value) {\n if (isString(item)) {\n item = this.findById(item);\n }\n var itemController = this.get('itemController');\n itemController.setItemState(item, state, value);\n var stateController = this.get('stateController');\n if (isString(value)) {\n stateController.updateState(item, state + \":\" + value, true);\n }\n else {\n stateController.updateState(item, state, value);\n }\n };\n /**\n * 将指定状态的优先级提升为最高优先级\n * @param {Item} item 元素id或元素实例\n * @param state 状态名称\n */\n AbstractGraph.prototype.priorityState = function (item, state) {\n var itemController = this.get('itemController');\n itemController.priorityState(item, state);\n };\n /**\n * 设置视图初始化数据\n * @param {GraphData} data 初始化数据\n */\n AbstractGraph.prototype.data = function (data) {\n this.set('data', data);\n };\n /**\n * 根据data接口的数据渲染视图\n */\n AbstractGraph.prototype.render = function () {\n var self = this;\n this.set('comboSorted', false);\n var data = this.get('data');\n if (this.get('enabledStack')) {\n // render 之前清空 redo 和 undo 栈\n this.clearStack();\n }\n if (!data) {\n throw new Error('data must be defined first');\n }\n var _a = data.nodes, nodes = _a === void 0 ? [] : _a, _b = data.edges, edges = _b === void 0 ? [] : _b, _c = data.combos, combos = _c === void 0 ? [] : _c;\n this.clear();\n this.emit('beforerender');\n each(nodes, function (node) {\n self.add('node', node, false, false);\n });\n // process the data to tree structure\n if (combos && combos.length !== 0) {\n var comboTrees = plainCombosToTrees(combos, nodes);\n this.set('comboTrees', comboTrees);\n // add combos\n self.addCombos(combos);\n }\n each(edges, function (edge) {\n self.add('edge', edge, false, false);\n });\n var animate = self.get('animate');\n if (self.get('fitView') || self.get('fitCenter')) {\n self.set('animate', false);\n }\n // layout\n var layoutController = self.get('layoutController');\n if (!layoutController.layout(success)) {\n success();\n }\n function success() {\n if (self.get('fitView')) {\n self.fitView();\n }\n else if (self.get('fitCenter')) {\n self.fitCenter();\n }\n self.autoPaint();\n self.emit('afterrender');\n if (self.get('fitView') || self.get('fitCenter')) {\n self.set('animate', animate);\n }\n }\n if (!this.get('groupByTypes')) {\n if (combos && combos.length !== 0) {\n this.sortCombos();\n }\n else {\n // 为提升性能,选择数量少的进行操作\n if (data.nodes && data.edges && data.nodes.length < data.edges.length) {\n var nodesArr = this.getNodes();\n // 遍历节点实例,将所有节点提前。\n nodesArr.forEach(function (node) {\n node.toFront();\n });\n }\n else {\n var edgesArr = this.getEdges();\n // 遍历节点实例,将所有节点提前。\n edgesArr.forEach(function (edge) {\n edge.toBack();\n });\n }\n }\n }\n if (this.get('enabledStack')) {\n this.pushStack('render');\n }\n };\n /**\n * 接收数据进行渲染\n * @Param {Object} data 初始化数据\n */\n AbstractGraph.prototype.read = function (data) {\n this.data(data);\n this.render();\n };\n // 比较item\n AbstractGraph.prototype.diffItems = function (type, items, models) {\n var self = this;\n var item;\n var itemMap = this.get('itemMap');\n each(models, function (model) {\n item = itemMap[model.id];\n if (item) {\n if (self.get('animate') && type === NODE) {\n var containerMatrix = item.getContainer().getMatrix();\n if (!containerMatrix)\n containerMatrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n item.set('originAttrs', {\n x: containerMatrix[6],\n y: containerMatrix[7],\n });\n }\n self.updateItem(item, model, false);\n }\n else {\n item = self.addItem(type, model, false);\n }\n items[type + \"s\"].push(item);\n });\n };\n /**\n * 更改源数据,根据新数据重新渲染视图\n * @param {GraphData | TreeGraphData} data 源数据\n * @param {boolean} 是否入栈,默认为true\n * @return {object} this\n */\n AbstractGraph.prototype.changeData = function (data, stack) {\n if (stack === void 0) { stack = true; }\n var self = this;\n if (!data) {\n return this;\n }\n if (stack && this.get('enabledStack')) {\n this.pushStack('changedata', {\n before: self.save(),\n after: data,\n });\n }\n this.set('comboSorted', false);\n // 更改数据源后,取消所有状态\n this.getNodes().map(function (node) { return self.clearItemStates(node); });\n this.getEdges().map(function (edge) { return self.clearItemStates(edge); });\n var canvas = this.get('canvas');\n var localRefresh = canvas.get('localRefresh');\n canvas.set('localRefresh', false);\n if (!self.get('data')) {\n self.data(data);\n self.render();\n }\n var itemMap = this.get('itemMap');\n var items = {\n nodes: [],\n edges: [],\n };\n var combosData = data.combos;\n if (combosData) {\n var comboTrees = plainCombosToTrees(combosData, data.nodes);\n this.set('comboTrees', comboTrees);\n }\n this.diffItems('node', items, data.nodes);\n each(itemMap, function (item, id) {\n itemMap[id].getModel().depth = 0;\n if (item.getType && item.getType() === 'edge')\n return;\n if (item.getType && item.getType() === 'combo') {\n delete itemMap[id];\n item.destroy();\n }\n else if (items.nodes.indexOf(item) < 0) {\n delete itemMap[id];\n self.remove(item, false);\n }\n });\n // clear the destroyed combos here to avoid removing sub nodes before removing the parent combo\n var comboItems = this.getCombos();\n var combosLength = comboItems.length;\n for (var i = combosLength - 1; i >= 0; i--) {\n if (comboItems[i].destroyed) {\n comboItems.splice(i, 1);\n }\n }\n // process the data to tree structure\n if (combosData) {\n // add combos\n self.addCombos(combosData);\n if (!this.get('groupByTypes')) {\n this.sortCombos();\n }\n }\n this.diffItems('edge', items, data.edges);\n each(itemMap, function (item, id) {\n if (item.getType && (item.getType() === 'node' || item.getType() === 'combo'))\n return;\n if (items.edges.indexOf(item) < 0) {\n delete itemMap[id];\n self.remove(item, false);\n }\n });\n this.set({ nodes: items.nodes, edges: items.edges });\n var layoutController = this.get('layoutController');\n layoutController.changeData();\n if (self.get('animate') && !layoutController.getLayoutType()) {\n // 如果没有指定布局\n self.positionsAnimate();\n }\n else {\n self.autoPaint();\n }\n setTimeout(function () {\n canvas.set('localRefresh', localRefresh);\n }, 16);\n return this;\n };\n /**\n * 私有方法,在 render 和 changeData 的时候批量添加数据中所有平铺的 combos\n * @param {ComboConfig[]} combos 平铺的 combos 数据\n */\n AbstractGraph.prototype.addCombos = function (combos) {\n var self = this;\n var comboTrees = self.get('comboTrees');\n var itemController = this.get('itemController');\n itemController.addCombos(comboTrees, combos);\n };\n /**\n * 根据已经存在的节点或 combo 创建新的 combo\n * @param combo combo ID 或 Combo 配置\n * @param children 添加到 Combo 中的元素,包括节点和 combo\n */\n AbstractGraph.prototype.createCombo = function (combo, children) {\n var _this = this;\n this.set('comboSorted', false);\n // step 1: 创建新的 Combo\n var comboId = '';\n var comboConfig;\n if (!combo)\n return;\n if (isString(combo)) {\n comboId = combo;\n comboConfig = {\n id: combo,\n };\n }\n else {\n comboId = combo.id;\n if (!comboId) {\n console.warn('Create combo failed. Please assign a unique string id for the adding combo.');\n return;\n }\n comboConfig = combo;\n }\n var trees = children.map(function (elementId) {\n var item = _this.findById(elementId);\n var type = '';\n if (item.getType)\n type = item.getType();\n var cItem = {\n id: item.getID(),\n itemType: type,\n };\n if (type === 'combo') {\n cItem.parentId = comboId;\n }\n else if (type === 'node') {\n cItem.comboId = comboId;\n }\n return cItem;\n });\n comboConfig.children = trees;\n // step 2: 添加 Combo,addItem 时会将子将元素添加到 Combo 中\n this.addItem('combo', comboConfig, false);\n this.set('comboSorted', false);\n // step3: 更新 comboTrees 结构\n var comboTrees = this.get('comboTrees');\n (comboTrees || []).forEach(function (ctree) {\n traverseTreeUp(ctree, function (child) {\n if (child.id === comboId) {\n child.itemType = 'combo';\n child.children = trees;\n return false;\n }\n return true;\n });\n });\n if (comboTrees) {\n this.sortCombos();\n }\n };\n /**\n * 解散 combo\n * @param {String | INode | ICombo} combo 需要被解散的 Combo item 或 id\n */\n AbstractGraph.prototype.uncombo = function (combo) {\n var _this = this;\n var self = this;\n var comboItem = combo;\n if (isString(combo)) {\n comboItem = this.findById(combo);\n }\n if (!comboItem || (comboItem.getType && comboItem.getType() !== 'combo')) {\n console.warn('The item is not a combo!');\n return;\n }\n var parentId = comboItem.getModel().parentId;\n var comboTrees = self.get('comboTrees');\n if (!comboTrees)\n comboTrees = [];\n var itemMap = this.get('itemMap');\n var comboId = comboItem.get('id');\n var treeToBeUncombo;\n var brothers = [];\n var comboItems = this.get('combos');\n var parentItem = this.findById(parentId);\n comboTrees.forEach(function (ctree) {\n if (treeToBeUncombo)\n return; // terminate the forEach\n traverseTreeUp(ctree, function (subtree) {\n // find the combo to be uncomboed, delete the combo from map and cache\n if (subtree.id === comboId) {\n treeToBeUncombo = subtree;\n // delete the related edges\n var edges = comboItem.getEdges();\n edges.forEach(function (edge) {\n _this.removeItem(edge, false);\n });\n var index = comboItems.indexOf(combo);\n comboItems.splice(index, 1);\n delete itemMap[comboId];\n comboItem.destroy();\n }\n // find the parent to remove the combo from the combo's brothers array and add the combo's children to the combo's brothers array in the tree\n if (parentId && treeToBeUncombo && subtree.id === parentId) {\n parentItem.removeCombo(comboItem);\n brothers = subtree.children; // the combo's brothers\n // remove the combo from its brothers array\n var index = brothers.indexOf(treeToBeUncombo);\n if (index !== -1) {\n brothers.splice(index, 1);\n }\n // append the combo's children to the combo's brothers array\n treeToBeUncombo.children.forEach(function (child) {\n var item = _this.findById(child.id);\n var childModel = item.getModel();\n if (item.getType && item.getType() === 'combo') {\n child.parentId = parentId;\n delete child.comboId;\n childModel.parentId = parentId; // update the parentId of the model\n delete childModel.comboId;\n }\n else if (item.getType && item.getType() === 'node') {\n child.comboId = parentId;\n childModel.comboId = parentId; // update the parentId of the model\n }\n parentItem.addChild(item);\n brothers.push(child);\n });\n return false;\n }\n return true;\n });\n });\n // if the parentId is not found, remove the combo from the roots\n if (!parentId && treeToBeUncombo) {\n var index = comboTrees.indexOf(treeToBeUncombo);\n comboTrees.splice(index, 1);\n // modify the parentId of the children\n treeToBeUncombo.children.forEach(function (child) {\n child.parentId = undefined;\n var childModel = _this.findById(child.id).getModel();\n childModel.parentId = undefined; // update the parentId of the model\n if (child.itemType !== 'node')\n comboTrees.push(child);\n });\n }\n };\n /**\n * 根据节点的 bbox 更新所有 combos 的绘制,包括 combos 的位置和范围\n */\n AbstractGraph.prototype.updateCombos = function () {\n var _this = this;\n var self = this;\n var comboTrees = this.get('comboTrees');\n var itemController = self.get('itemController');\n var itemMap = self.get('itemMap');\n (comboTrees || []).forEach(function (ctree) {\n traverseTreeUp(ctree, function (child) {\n if (!child) {\n return true;\n }\n var childItem = itemMap[child.id];\n if (childItem && childItem.getType && childItem.getType() === 'combo') {\n // 更新具体的 Combo 之前先清除所有的已有状态,以免将 state 中的样式更新为 Combo 的样式\n var states = __spreadArrays(childItem.getStates());\n each(states, function (state) { return _this.setItemState(childItem, state, false); });\n // 更新具体的 Combo\n itemController.updateCombo(childItem, child.children);\n // 更新 Combo 后,还原已有的状态\n each(states, function (state) { return _this.setItemState(childItem, state, true); });\n }\n return true;\n });\n });\n self.sortCombos();\n };\n /**\n * 根据节点的 bbox 更新 combo 及其祖先 combos 的绘制,包括 combos 的位置和范围\n * @param {String | ICombo} combo 需要被更新的 Combo 或 id,若指定,则该 Combo 及所有祖先 Combod 都会被更新\n */\n AbstractGraph.prototype.updateCombo = function (combo) {\n var _this = this;\n var self = this;\n var comboItem = combo;\n var comboId;\n if (isString(combo)) {\n comboItem = this.findById(combo);\n }\n if (!comboItem || (comboItem.getType && comboItem.getType() !== 'combo')) {\n console.warn('The item to be updated is not a combo!');\n return;\n }\n comboId = comboItem.get('id');\n var comboTrees = this.get('comboTrees');\n var itemController = self.get('itemController');\n var itemMap = self.get('itemMap');\n (comboTrees || []).forEach(function (ctree) {\n traverseTreeUp(ctree, function (child) {\n if (!child) {\n return true;\n }\n var childItem = itemMap[child.id];\n if (comboId === child.id &&\n childItem &&\n childItem.getType &&\n childItem.getType() === 'combo') {\n // 更新具体的 Combo 之前先清除所有的已有状态,以免将 state 中的样式更新为 Combo 的样式\n var states = __spreadArrays(childItem.getStates());\n // || !item.getStateStyle(stateName)\n each(states, function (state) {\n if (childItem.getStateStyle(state)) {\n _this.setItemState(childItem, state, false);\n }\n });\n // 更新具体的 Combo\n itemController.updateCombo(childItem, child.children);\n // 更新 Combo 后,还原已有的状态\n each(states, function (state) {\n if (childItem.getStateStyle(state)) {\n _this.setItemState(childItem, state, true);\n }\n });\n if (comboId)\n comboId = child.parentId;\n }\n return true;\n });\n });\n };\n /**\n * 更新树结构,例如移动子树等\n * @param {String | INode | ICombo} item 需要被更新的 Combo 或 节点 id\n * @param {string | undefined} parentId 新的父 combo id,undefined 代表没有父 combo\n */\n AbstractGraph.prototype.updateComboTree = function (item, parentId, stack) {\n if (stack === void 0) { stack = true; }\n var self = this;\n this.set('comboSorted', false);\n var uItem;\n if (isString(item)) {\n uItem = self.findById(item);\n }\n else {\n uItem = item;\n }\n var model = uItem.getModel();\n var oldParentId = model.comboId || model.parentId;\n var type = '';\n if (uItem.getType)\n type = uItem.getType();\n // 若 item 是 Combo,且 parentId 是其子孙 combo 的 id,则警告并终止\n if (parentId && type === 'combo') {\n var comboTrees = this.get('comboTrees');\n var valid_1 = true;\n var itemSubTree_1;\n (comboTrees || []).forEach(function (ctree) {\n if (itemSubTree_1)\n return;\n traverseTree(ctree, function (subTree) {\n if (itemSubTree_1)\n return;\n // 找到从 item 开始的子树\n if (subTree.id === uItem.getID()) {\n itemSubTree_1 = subTree;\n }\n return true;\n });\n });\n // 在以 item 为根的子树中寻找与 parentId 相同的后继元素\n traverseTree(itemSubTree_1, function (subTree) {\n if (subTree.id === parentId) {\n valid_1 = false;\n return false;\n }\n return true;\n });\n // parentId 是 item 的一个后继元素,不能进行更新\n if (!valid_1) {\n console.warn('Failed to update the combo tree! The parentId points to a descendant of the combo!');\n return;\n }\n }\n if (stack && this.get('enabledStack')) {\n var beforeData = {}, afterData = {};\n if (type === 'combo') {\n beforeData.combos = [\n {\n id: model.id,\n parentId: model.parentId,\n },\n ];\n afterData.combos = [\n {\n id: model.id,\n parentId: parentId,\n },\n ];\n }\n else if (type === 'node') {\n beforeData.nodes = [\n {\n id: model.id,\n parentId: model.comboId,\n },\n ];\n afterData.nodes = [\n {\n id: model.id,\n parentId: parentId,\n },\n ];\n }\n this.pushStack('updateComboTree', {\n before: beforeData,\n after: afterData,\n });\n }\n // 当 combo 存在 parentId 或 comboId 时,才将其移除\n if (model.parentId || model.comboId) {\n var combo = this.findById((model.parentId || model.comboId));\n if (combo) {\n combo.removeChild(uItem);\n }\n }\n if (type === 'combo') {\n model.parentId = parentId;\n }\n else if (type === 'node') {\n model.comboId = parentId;\n }\n // 只有当移入到指定 combo 时才添加\n if (parentId) {\n var parentCombo = this.findById(parentId);\n if (parentCombo) {\n // 将元素添加到 parentCombo 中\n parentCombo.addChild(uItem);\n }\n }\n // 如果原先有父亲 combo,则从原父 combo 的子元素数组中删除\n if (oldParentId) {\n var parentCombo = this.findById(oldParentId);\n if (parentCombo) {\n // 将元素从 parentCombo 中移除\n parentCombo.removeChild(uItem);\n }\n }\n var newComboTrees = reconstructTree(this.get('comboTrees'), model.id, parentId);\n this.set('comboTrees', newComboTrees);\n this.updateCombos();\n };\n /**\n * 导出图数据\n * @return {object} data\n */\n AbstractGraph.prototype.save = function () {\n var nodes = [];\n var edges = [];\n var combos = [];\n each(this.get('nodes'), function (node) {\n nodes.push(node.getModel());\n });\n each(this.get('edges'), function (edge) {\n edges.push(edge.getModel());\n });\n each(this.get('combos'), function (combo) {\n combos.push(combo.getModel());\n });\n return { nodes: nodes, edges: edges, combos: combos };\n };\n /**\n * 改变画布大小\n * @param {number} width 画布宽度\n * @param {number} height 画布高度\n * @return {object} this\n */\n AbstractGraph.prototype.changeSize = function (width, height) {\n var viewController = this.get('viewController');\n viewController.changeSize(width, height);\n return this;\n };\n /**\n * 当源数据在外部发生变更时,根据新数据刷新视图。但是不刷新节点位置\n */\n AbstractGraph.prototype.refresh = function () {\n var self = this;\n self.emit('beforegraphrefresh');\n if (self.get('animate')) {\n self.positionsAnimate();\n }\n else {\n var nodes = self.get('nodes');\n var edges = self.get('edges');\n var vedges = self.get('edges');\n each(nodes, function (node) {\n node.refresh();\n });\n each(edges, function (edge) {\n edge.refresh();\n });\n each(vedges, function (vedge) {\n vedge.refresh();\n });\n }\n self.emit('aftergraphrefresh');\n self.autoPaint();\n };\n /**\n * 获取当前图中所有节点的item实例\n * @return {INode} item数组\n */\n AbstractGraph.prototype.getNodes = function () {\n return this.get('nodes');\n };\n /**\n * 获取当前图中所有边的item实例\n * @return {IEdge} item数组\n */\n AbstractGraph.prototype.getEdges = function () {\n return this.get('edges');\n };\n /**\n * 获取图中所有的 combo 实例\n */\n AbstractGraph.prototype.getCombos = function () {\n return this.get('combos');\n };\n /**\n * 获取指定 Combo 中所有的节点\n * @param comboId combo ID\n */\n AbstractGraph.prototype.getComboChildren = function (combo) {\n if (isString(combo)) {\n combo = this.findById(combo);\n }\n if (!combo || (combo.getType && combo.getType() !== 'combo')) {\n console.warn('The combo does not exist!');\n return;\n }\n return combo.getChildren();\n };\n /**\n * 根据 graph 上的 animateCfg 进行视图中节点位置动画接口\n */\n AbstractGraph.prototype.positionsAnimate = function () {\n var self = this;\n self.emit('beforeanimate');\n var animateCfg = self.get('animateCfg');\n var onFrame = animateCfg.onFrame;\n var nodes = self.getNodes();\n var toNodes = nodes.map(function (node) {\n var model = node.getModel();\n return {\n id: model.id,\n x: model.x,\n y: model.y,\n };\n });\n if (self.isAnimating()) {\n self.stopAnimate();\n }\n var canvas = self.get('canvas');\n canvas.animate(function (ratio) {\n each(toNodes, function (data) {\n var node = self.findById(data.id);\n if (!node || node.destroyed) {\n return;\n }\n var originAttrs = node.get('originAttrs');\n var model = node.get('model');\n if (!originAttrs) {\n var containerMatrix = node.getContainer().getMatrix();\n if (!containerMatrix)\n containerMatrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n originAttrs = {\n x: containerMatrix[6],\n y: containerMatrix[7],\n };\n node.set('originAttrs', originAttrs);\n }\n if (onFrame) {\n var attrs = onFrame(node, ratio, data, originAttrs);\n node.set('model', Object.assign(model, attrs));\n }\n else {\n model.x = originAttrs.x + (data.x - originAttrs.x) * ratio;\n model.y = originAttrs.y + (data.y - originAttrs.y) * ratio;\n }\n });\n self.refreshPositions();\n }, {\n duration: animateCfg.duration,\n easing: animateCfg.easing,\n callback: function () {\n each(nodes, function (node) {\n node.set('originAttrs', null);\n });\n if (animateCfg.callback) {\n animateCfg.callback();\n }\n self.emit('afteranimate');\n self.animating = false;\n },\n });\n };\n /**\n * 当节点位置在外部发生改变时,刷新所有节点位置,重计算边\n */\n AbstractGraph.prototype.refreshPositions = function () {\n var self = this;\n self.emit('beforegraphrefreshposition');\n var nodes = self.get('nodes');\n var edges = self.get('edges');\n var vedges = self.get('vedges');\n var combos = self.get('combos');\n var model;\n var updatedNodes = {};\n each(nodes, function (node) {\n model = node.getModel();\n var originAttrs = node.get('originAttrs');\n if (originAttrs && model.x === originAttrs.x && model.y === originAttrs.y) {\n return;\n }\n node.updatePosition({ x: model.x, y: model.y });\n updatedNodes[model.id] = true;\n if (model.comboId)\n updatedNodes[model.comboId] = true;\n });\n if (combos && combos.length !== 0) {\n self.updateCombos();\n }\n each(edges, function (edge) {\n var sourceModel = edge.getSource().getModel();\n var targetModel = edge.getTarget().getModel();\n if (updatedNodes[sourceModel.id] ||\n updatedNodes[targetModel.id] ||\n edge.getModel().isComboEdge) {\n edge.refresh();\n }\n });\n each(vedges, function (vedge) {\n vedge.refresh();\n });\n self.emit('aftergraphrefreshposition');\n self.autoPaint();\n };\n AbstractGraph.prototype.stopAnimate = function () {\n this.get('canvas').stopAnimate();\n };\n AbstractGraph.prototype.isAnimating = function () {\n return this.animating;\n };\n /**\n * 获取当前视口伸缩比例\n * @return {number} 比例\n */\n AbstractGraph.prototype.getZoom = function () {\n var matrix = this.get('group').getMatrix();\n return matrix ? matrix[0] : 1;\n };\n /**\n * 获取当前的行为模式\n * @return {string} 当前行为模式\n */\n AbstractGraph.prototype.getCurrentMode = function () {\n var modeController = this.get('modeController');\n return modeController.getMode();\n };\n /**\n * 切换行为模式\n * @param {string} mode 指定模式\n * @return {object} this\n */\n AbstractGraph.prototype.setMode = function (mode) {\n var modeController = this.get('modeController');\n modeController.setMode(mode);\n return this;\n };\n /**\n * 清除画布元素\n * @return {object} this\n */\n AbstractGraph.prototype.clear = function () {\n var canvas = this.get('canvas');\n canvas.clear();\n this.initGroups();\n // 清空画布时同时清除数据\n this.set({ itemMap: {}, nodes: [], edges: [], groups: [], combos: [], comboTrees: [] });\n this.emit('afterrender');\n return this;\n };\n /**\n * 更换布局配置项\n * @param {object} cfg 新布局配置项\n * 若 cfg 含有 type 字段或为 String 类型,且与现有布局方法不同,则更换布局\n * 若 cfg 不包括 type ,则保持原有布局方法,仅更新布局配置项\n */\n AbstractGraph.prototype.updateLayout = function (cfg) {\n var layoutController = this.get('layoutController');\n var newLayoutType;\n if (isString(cfg)) {\n newLayoutType = cfg;\n cfg = {\n type: newLayoutType,\n };\n }\n else {\n newLayoutType = cfg.type;\n }\n var oriLayoutCfg = this.get('layout');\n var oriLayoutType = oriLayoutCfg ? oriLayoutCfg.type : undefined;\n if ((!newLayoutType || oriLayoutType === newLayoutType) &&\n (cfg.gpuEnabled === undefined || cfg.gpuEnabled === oriLayoutCfg.gpuEnabled)) {\n // no type or same type, or switch the gpu and cpu, update layout\n var layoutCfg = {};\n Object.assign(layoutCfg, oriLayoutCfg, cfg);\n layoutCfg.type = oriLayoutType || 'random';\n this.set('layout', layoutCfg);\n layoutController.updateLayoutCfg(layoutCfg);\n }\n else {\n if (!newLayoutType)\n newLayoutType = oriLayoutType;\n // has different type, change layout\n this.set('layout', cfg);\n layoutController.changeLayout(newLayoutType);\n }\n };\n /**\n * 重新以当前示例中配置的属性进行一次布局\n */\n AbstractGraph.prototype.layout = function () {\n var layoutController = this.get('layoutController');\n var layoutCfg = this.get('layout');\n if (!layoutCfg)\n return;\n if (layoutCfg.workerEnabled) {\n // 如果使用web worker布局\n layoutController.layout();\n return;\n }\n if (layoutController.layoutMethod) {\n layoutController.relayout(true);\n }\n else {\n layoutController.layout();\n }\n };\n /**\n * 收起指定的 combo\n * @param {string | ICombo} combo combo ID 或 combo item\n */\n AbstractGraph.prototype.collapseCombo = function (combo) {\n var _this = this;\n if (isString(combo)) {\n combo = this.findById(combo);\n }\n if (!combo) {\n console.warn('The combo to be collapsed does not exist!');\n return;\n }\n var comboModel = combo.getModel();\n var itemController = this.get('itemController');\n itemController.collapseCombo(combo);\n comboModel.collapsed = true;\n // add virtual edges\n var edges = this.getEdges().concat(this.get('vedges'));\n // find all the descendant nodes and combos\n var cnodes = [];\n var ccombos = [];\n var comboTrees = this.get('comboTrees');\n var found = false;\n var brothers = {};\n (comboTrees || []).forEach(function (ctree) {\n brothers[ctree.id] = ctree;\n });\n (comboTrees || []).forEach(function (ctree) {\n if (found)\n return; // if the combo is found, terminate the forEach\n traverseTree(ctree, function (subTree) {\n // if the combo is found and the it is traversing the other brothers, terminate\n if (found && brothers[subTree.id])\n return false;\n if (comboModel.parentId === subTree.id) {\n // if the parent is found, store the brothers\n brothers = {};\n subTree.children.forEach(function (child) {\n brothers[child.id] = child;\n });\n }\n else if (comboModel.id === subTree.id) {\n // if the combo is found\n found = true;\n }\n if (found) {\n // if the combo is found, concat the descendant nodes and combos\n var item = _this.findById(subTree.id);\n if (item && item.getType && item.getType() === 'combo') {\n cnodes = cnodes.concat(item.getNodes());\n ccombos = ccombos.concat(item.getCombos());\n }\n }\n return true;\n });\n });\n var edgeWeightMap = {};\n var addedVEdges = [];\n edges.forEach(function (edge) {\n if (edge.isVisible() && !edge.getModel().isVEdge)\n return;\n var source = edge.getSource();\n var target = edge.getTarget();\n if (((cnodes.includes(source) || ccombos.includes(source)) &&\n !cnodes.includes(target) &&\n !ccombos.includes(target)) ||\n source.getModel().id === comboModel.id) {\n var edgeModel = edge.getModel();\n if (edgeModel.isVEdge) {\n _this.removeItem(edge, false);\n return;\n }\n var targetModel = target.getModel();\n while (!target.isVisible()) {\n target = _this.findById(targetModel.parentId || targetModel.comboId);\n if (!target || (!targetModel.parentId && !targetModel.comboId))\n return; // all the ancestors are hidden, then ignore the edge\n targetModel = target.getModel();\n }\n var targetId = targetModel.id;\n if (edgeWeightMap[comboModel.id + \"-\" + targetId]) {\n edgeWeightMap[comboModel.id + \"-\" + targetId] += edgeModel.size || 1;\n return;\n }\n // the source is in the combo, the target is not\n var vedge = _this.addItem('vedge', {\n source: comboModel.id,\n target: targetId,\n isVEdge: true,\n }, false);\n edgeWeightMap[comboModel.id + \"-\" + targetId] = edgeModel.size || 1;\n addedVEdges.push(vedge);\n }\n else if ((!cnodes.includes(source) &&\n !ccombos.includes(source) &&\n (cnodes.includes(target) || ccombos.includes(target))) ||\n target.getModel().id === comboModel.id) {\n var edgeModel = edge.getModel();\n if (edgeModel.isVEdge) {\n _this.removeItem(edge, false);\n return;\n }\n var sourceModel = source.getModel();\n while (!source.isVisible()) {\n source = _this.findById(sourceModel.parentId || sourceModel.comboId);\n if (!source || (!sourceModel.parentId && !sourceModel.comboId))\n return; // all the ancestors are hidden, then ignore the edge\n sourceModel = source.getModel();\n }\n var sourceId = sourceModel.id;\n if (edgeWeightMap[sourceId + \"-\" + comboModel.id]) {\n edgeWeightMap[sourceId + \"-\" + comboModel.id] += edgeModel.size || 1;\n return;\n }\n // the target is in the combo, the source is not\n var vedge = _this.addItem('vedge', {\n target: comboModel.id,\n source: sourceId,\n isVEdge: true,\n }, false);\n edgeWeightMap[sourceId + \"-\" + comboModel.id] = edgeModel.size || 1;\n addedVEdges.push(vedge);\n }\n });\n // update the width of the virtual edges, which is the sum of merged actual edges\n // be attention that the actual edges with same endpoints but different directions will be represented by two different virtual edges\n addedVEdges.forEach(function (vedge) {\n var vedgeModel = vedge.getModel();\n _this.updateItem(vedge, {\n size: edgeWeightMap[vedgeModel.source + \"-\" + vedgeModel.target],\n }, false);\n });\n };\n /**\n * 展开指定的 combo\n * @param {string | ICombo} combo combo ID 或 combo item\n */\n AbstractGraph.prototype.expandCombo = function (combo) {\n var _this = this;\n if (isString(combo)) {\n combo = this.findById(combo);\n }\n if (!combo || (combo.getType && combo.getType() !== 'combo')) {\n console.warn('The combo to be collapsed does not exist!');\n return;\n }\n var comboModel = combo.getModel();\n var itemController = this.get('itemController');\n itemController.expandCombo(combo);\n comboModel.collapsed = false;\n // add virtual edges\n var edges = this.getEdges().concat(this.get('vedges'));\n // find all the descendant nodes and combos\n var cnodes = [];\n var ccombos = [];\n var comboTrees = this.get('comboTrees');\n var found = false;\n var brothers = {};\n (comboTrees || []).forEach(function (ctree) {\n brothers[ctree.id] = ctree;\n });\n (comboTrees || []).forEach(function (ctree) {\n if (found)\n return; // if the combo is found, terminate\n traverseTree(ctree, function (subTree) {\n if (found && brothers[subTree.id]) {\n return false;\n }\n if (comboModel.parentId === subTree.id) {\n brothers = {};\n subTree.children.forEach(function (child) {\n brothers[child.id] = child;\n });\n }\n else if (comboModel.id === subTree.id) {\n found = true;\n }\n if (found) {\n var item = _this.findById(subTree.id);\n if (item && item.getType && item.getType() === 'combo') {\n cnodes = cnodes.concat(item.getNodes());\n ccombos = ccombos.concat(item.getCombos());\n }\n }\n return true;\n });\n });\n var edgeWeightMap = {};\n var addedVEdges = {};\n edges.forEach(function (edge) {\n if (edge.isVisible() && !edge.getModel().isVEdge)\n return;\n var source = edge.getSource();\n var target = edge.getTarget();\n var sourceId = source.get('id');\n var targetId = target.get('id');\n if (((cnodes.includes(source) || ccombos.includes(source)) &&\n !cnodes.includes(target) &&\n !ccombos.includes(target)) ||\n sourceId === comboModel.id) {\n // the source is in the combo, the target is not\n // ignore the virtual edges\n if (edge.getModel().isVEdge) {\n _this.removeItem(edge, false);\n return;\n }\n var targetModel = target.getModel();\n // find the nearest visible ancestor\n while (!target.isVisible()) {\n target = _this.findById(targetModel.comboId || targetModel.parentId);\n if (!target || (!targetModel.parentId && !targetModel.comboId)) {\n return; // if all the ancestors of the oppsite are all hidden, ignore the edge\n }\n targetModel = target.getModel();\n }\n targetId = targetModel.id;\n var sourceModel = source.getModel();\n // find the nearest visible ancestor\n while (!source.isVisible()) {\n source = _this.findById(sourceModel.comboId || sourceModel.parentId);\n if (!source || (!sourceModel.parentId && !sourceModel.comboId)) {\n return; // if all the ancestors of the oppsite are all hidden, ignore the edge\n }\n if (sourceModel.comboId === comboModel.id || sourceModel.parentId === comboModel.id) {\n break; // if the next ancestor is the combo, break the while\n }\n sourceModel = source.getModel();\n }\n sourceId = sourceModel.id;\n if (targetId) {\n var vedgeId = sourceId + \"-\" + targetId;\n // update the width of the virtual edges, which is the sum of merged actual edges\n // be attention that the actual edges with same endpoints but different directions will be represented by two different virtual edges\n if (edgeWeightMap[vedgeId]) {\n edgeWeightMap[vedgeId] += edge.getModel().size || 1;\n _this.updateItem(addedVEdges[vedgeId], {\n size: edgeWeightMap[vedgeId],\n }, false);\n return;\n }\n var vedge = _this.addItem('vedge', {\n source: sourceId,\n target: targetId,\n isVEdge: true,\n }, false);\n edgeWeightMap[vedgeId] = edge.getModel().size || 1;\n addedVEdges[vedgeId] = vedge;\n }\n }\n else if ((!cnodes.includes(source) &&\n !ccombos.includes(source) &&\n (cnodes.includes(target) || ccombos.includes(target))) ||\n targetId === comboModel.id) {\n // the target is in the combo, the source is not\n // ignore the virtual edges\n if (edge.getModel().isVEdge) {\n _this.removeItem(edge, false);\n return;\n }\n var sourceModel = source.getModel();\n // find the nearest visible ancestor\n while (!source.isVisible()) {\n source = _this.findById(sourceModel.comboId || sourceModel.parentId);\n if (!source || (!sourceModel.parentId && !sourceModel.comboId)) {\n return; // if all the ancestors of the oppsite are all hidden, ignore the edge\n }\n sourceModel = source.getModel();\n }\n sourceId = sourceModel.id;\n var targetModel = target.getModel();\n // find the nearest visible ancestor\n while (!target.isVisible()) {\n target = _this.findById(targetModel.comboId || targetModel.parentId);\n if (!target || (!targetModel.parentId && !targetModel.comboId)) {\n return; // if all the ancestors of the oppsite are all hidden, ignore the edge\n }\n if (targetModel.comboId === comboModel.id || targetModel.parentId === comboModel.id) {\n break; // if the next ancestor is the combo, break the while\n }\n targetModel = target.getModel();\n }\n targetId = targetModel.id;\n if (sourceId) {\n var vedgeId = sourceId + \"-\" + targetId;\n // update the width of the virtual edges, which is the sum of merged actual edges\n // be attention that the actual edges with same endpoints but different directions will be represented by two different virtual edges\n if (edgeWeightMap[vedgeId]) {\n edgeWeightMap[vedgeId] += edge.getModel().size || 1;\n _this.updateItem(addedVEdges[vedgeId], {\n size: edgeWeightMap[vedgeId],\n }, false);\n return;\n }\n var vedge = _this.addItem('vedge', {\n target: targetId,\n source: sourceId,\n isVEdge: true,\n }, false);\n edgeWeightMap[vedgeId] = edge.getModel().size || 1;\n addedVEdges[vedgeId] = vedge;\n }\n }\n else if ((cnodes.includes(source) || ccombos.includes(source)) &&\n (cnodes.includes(target) || ccombos.includes(target))) {\n // both source and target are in the combo, if the target and source are both visible, show the edge\n if (source.isVisible() && target.isVisible()) {\n edge.show();\n }\n }\n });\n };\n AbstractGraph.prototype.collapseExpandCombo = function (combo) {\n if (isString(combo)) {\n combo = this.findById(combo);\n }\n if (combo.getType && combo.getType() !== 'combo')\n return;\n var comboModel = combo.getModel();\n // if one ancestor combo of the combo is collapsed, it should not be collapsed or expanded\n var parentItem = this.findById(comboModel.parentId);\n while (parentItem) {\n var parentModel = parentItem.getModel();\n if (parentModel.collapsed) {\n console.warn(\"Fail to expand the combo since it's ancestor combo is collapsed.\");\n parentItem = undefined;\n return;\n }\n parentItem = this.findById(parentModel.parentId);\n }\n var collapsed = comboModel.collapsed;\n // 该群组已经处于收起状态,需要展开\n if (collapsed) {\n this.expandCombo(combo);\n }\n else {\n this.collapseCombo(combo);\n }\n this.updateCombo(combo);\n };\n /**\n * 根据 comboTree 结构整理 Combo 相关的图形绘制层级,包括 Combo 本身、节点、边\n * @param {GraphData} data 数据\n */\n AbstractGraph.prototype.sortCombos = function () {\n var _this = this;\n var comboSorted = this.get('comboSorted');\n if (comboSorted)\n return;\n this.set('comboSorted', true);\n var depthMap = [];\n var dataDepthMap = {};\n var comboTrees = this.get('comboTrees');\n (comboTrees || []).forEach(function (cTree) {\n traverseTree(cTree, function (child) {\n if (depthMap[child.depth])\n depthMap[child.depth].push(child.id);\n else\n depthMap[child.depth] = [child.id];\n dataDepthMap[child.id] = child.depth;\n return true;\n });\n });\n var edges = this.getEdges().concat(this.get('vedges'));\n (edges || []).forEach(function (edgeItem) {\n var edge = edgeItem.getModel();\n var sourceDepth = dataDepthMap[edge.source] || 0;\n var targetDepth = dataDepthMap[edge.target] || 0;\n var depth = Math.max(sourceDepth, targetDepth);\n if (depthMap[depth])\n depthMap[depth].push(edge.id);\n else\n depthMap[depth] = [edge.id];\n });\n depthMap.forEach(function (array) {\n if (!array || !array.length)\n return;\n for (var i = array.length - 1; i >= 0; i--) {\n var item = _this.findById(array[i]);\n item && item.toFront();\n }\n });\n };\n /**\n * 获取节点所有的邻居节点\n *\n * @param {(string | INode)} node 节点 ID 或实例\n * @returns {INode[]}\n * @memberof IAbstractGraph\n */\n AbstractGraph.prototype.getNeighbors = function (node, type) {\n var item = node;\n if (isString(node)) {\n item = this.findById(node);\n }\n return item.getNeighbors(type);\n };\n /**\n * 获取 node 的度数\n *\n * @param {(string | INode)} node 节点 ID 或实例\n * @param {('in' | 'out' | 'total' | 'all' | undefined)} 度数类型,in 入度,out 出度,total 总度数,all 返回三种类型度数的对象\n * @returns {Number | Object} 该节点的度数\n * @memberof IAbstractGraph\n */\n AbstractGraph.prototype.getNodeDegree = function (node, type) {\n if (type === void 0) { type = undefined; }\n var item = node;\n if (isString(node)) {\n item = this.findById(node);\n }\n var degrees = this.get('degrees');\n if (!degrees) {\n degrees = getDegree(this.get('data'));\n }\n this.set('degees', degrees);\n var nodeDegrees = degrees[item.getID()];\n var res;\n switch (type) {\n case 'in':\n res = nodeDegrees.inDegree;\n break;\n case 'out':\n res = nodeDegrees.outDegree;\n break;\n case 'all':\n res = nodeDegrees;\n break;\n default:\n res = nodeDegrees.degree;\n break;\n }\n return res;\n };\n AbstractGraph.prototype.getUndoStack = function () {\n return this.undoStack;\n };\n AbstractGraph.prototype.getRedoStack = function () {\n return this.redoStack;\n };\n /**\n * 获取 undo 和 redo 栈的数据\n */\n AbstractGraph.prototype.getStackData = function () {\n if (!this.get('enabledStack')) {\n return null;\n }\n return {\n undoStack: this.undoStack.toArray(),\n redoStack: this.redoStack.toArray(),\n };\n };\n /**\n * 清空 undo stack & redo stack\n */\n AbstractGraph.prototype.clearStack = function () {\n if (this.get('enabledStack')) {\n this.undoStack.clear();\n this.redoStack.clear();\n }\n };\n /**\n * 将操作类型和操作数据入栈\n * @param action 操作类型\n * @param data 入栈的数据\n * @param stackType 栈的类型\n */\n AbstractGraph.prototype.pushStack = function (action, data, stackType) {\n if (action === void 0) { action = 'update'; }\n if (stackType === void 0) { stackType = 'undo'; }\n if (!this.get('enabledStack')) {\n console.warn('请先启用 undo & redo 功能,在实例化 Graph 时候配置 enabledStack: true !');\n return;\n }\n var stackData = data\n ? clone(data)\n : {\n before: {},\n after: clone(this.save()),\n };\n if (stackType === 'redo') {\n this.redoStack.push({\n action: action,\n data: stackData,\n });\n }\n else {\n this.undoStack.push({\n action: action,\n data: stackData,\n });\n }\n this.emit('stackchange', {\n undoStack: this.undoStack,\n redoStack: this.redoStack,\n });\n };\n /**\n * 获取邻接矩阵\n *\n * @param {boolean} cache 是否使用缓存的\n * @param {boolean} directed 是否是有向图,默认取 graph.directed\n * @returns {Matrix} 邻接矩阵\n * @memberof IAbstractGraph\n */\n AbstractGraph.prototype.getAdjMatrix = function (cache, directed) {\n if (cache === void 0) { cache = true; }\n if (directed === undefined)\n directed = this.get('directed');\n var currentAdjMatrix = this.get('adjMatrix');\n if (!currentAdjMatrix || !cache) {\n currentAdjMatrix = getAdjacentMatrix(this.save(), directed);\n this.set('adjMatrix', currentAdjMatrix);\n }\n return currentAdjMatrix;\n };\n /**\n * 获取最短路径矩阵\n *\n * @param {boolean} cache 是否使用缓存的\n * @param {boolean} directed 是否是有向图,默认取 graph.directed\n * @returns {Matrix} 最短路径矩阵\n * @memberof IAbstractGraph\n */\n AbstractGraph.prototype.getShortestPathMatrix = function (cache, directed) {\n if (cache === void 0) { cache = true; }\n if (directed === undefined)\n directed = this.get('directed');\n var currentAdjMatrix = this.get('adjMatrix');\n var currentShourtestPathMatrix = this.get('shortestPathMatrix');\n if (!currentAdjMatrix || !cache) {\n currentAdjMatrix = getAdjacentMatrix(this.save(), directed);\n this.set('adjMatrix', currentAdjMatrix);\n }\n if (!currentShourtestPathMatrix || !cache) {\n currentShourtestPathMatrix = floydWarshall(this.save(), directed);\n this.set('shortestPathMatrix', currentShourtestPathMatrix);\n }\n return currentShourtestPathMatrix;\n };\n /**\n * 重新定义监听函数,复写参数类型\n */\n AbstractGraph.prototype.on = function (eventName, callback, once) {\n return _super.prototype.on.call(this, eventName, callback, once);\n };\n /**\n * 销毁画布\n */\n AbstractGraph.prototype.destroy = function () {\n this.clear();\n // 清空栈数据\n this.clearStack();\n this.get('itemController').destroy();\n this.get('modeController').destroy();\n this.get('viewController').destroy();\n this.get('stateController').destroy();\n this.get('canvas').destroy();\n this.cfg = null;\n this.destroyed = true;\n this.redoStack = null;\n this.undoStack = null;\n };\n /**\n * 创建凸包或凹包轮廓\n * @param cfg HullCfg 轮廓配置项\n */\n AbstractGraph.prototype.createHull = function (cfg) {\n var parent = this.get('hullGroup');\n var hullMap = this.get('hullMap');\n if (!hullMap) {\n hullMap = {};\n this.set('hullMap', hullMap);\n }\n if (!parent) {\n parent = this.get('group').addGroup({\n id: 'hullGroup',\n });\n parent.toBack();\n this.set('hullGroup', parent);\n }\n if (hullMap[cfg.id]) {\n console.warn('Existed hull id.');\n return hullMap[cfg.id];\n }\n var group = parent.addGroup({\n id: cfg.id + \"-container\",\n });\n var hull = new Hull(this, __assign(__assign({}, cfg), { group: group }));\n var hullId = hull.id;\n hullMap[hullId] = hull;\n return hull;\n };\n /**\n * 获取当前 graph 中存在的包裹轮廓\n * @return {[key: string]: Hull} hullId 对应的 hull 实例\n */\n AbstractGraph.prototype.getHulls = function () {\n return this.get('hullMap');\n };\n /**\n * 根据 hullId 获取对应的 hull\n * @return Hull\n */\n AbstractGraph.prototype.getHullById = function (hullId) {\n return this.get('hullMap')[hullId];\n };\n AbstractGraph.prototype.removeHull = function (hull) {\n var hullInstance;\n if (isString(hull)) {\n hullInstance = this.getHullById(hull);\n }\n else {\n hullInstance = hull;\n }\n var hullMap = this.get('hullMap');\n delete hullMap[hullInstance.id];\n hullInstance.destroy();\n };\n return AbstractGraph;\n}(EventEmitter));\nexport default AbstractGraph;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "index": 124, "index2": 209, "size": 210, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "issuerId": null, "issuerName": "./src/graph/graph.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "module": "./src/graph/graph.ts", "moduleName": "./src/graph/graph.ts", "type": "harmony side effect evaluation", "userRequest": "./controller", "loc": "8:0-95" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "module": "./src/graph/graph.ts", "moduleName": "./src/graph/graph.ts", "type": "harmony import specifier", "userRequest": "./controller", "loc": "32:33-47" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "module": "./src/graph/graph.ts", "moduleName": "./src/graph/graph.ts", "type": "harmony import specifier", "userRequest": "./controller", "loc": "33:33-47" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "module": "./src/graph/graph.ts", "moduleName": "./src/graph/graph.ts", "type": "harmony import specifier", "userRequest": "./controller", "loc": "34:33-47" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "module": "./src/graph/graph.ts", "moduleName": "./src/graph/graph.ts", "type": "harmony import specifier", "userRequest": "./controller", "loc": "35:34-49" } ], "usedExports": [ "ViewController", "ModeController", "ItemController", "StateController" ], "providedExports": [ "ModeController", "ViewController", "ItemController", "StateController" ], "optimizationBailout": [], "depth": 2, "source": "export { default as ModeController } from './mode';\nexport { default as ViewController } from './view';\nexport { default as ItemController } from './item';\nexport { default as StateController } from './state';\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/hull.ts", "name": "./src/item/hull.ts", "index": 212, "index2": 235, "size": 8796, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "issuerId": null, "issuerName": "./src/graph/graph.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "module": "./src/graph/graph.ts", "moduleName": "./src/graph/graph.ts", "type": "harmony side effect evaluation", "userRequest": "../item/hull", "loc": "10:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "module": "./src/graph/graph.ts", "moduleName": "./src/graph/graph.ts", "type": "harmony import specifier", "userRequest": "../item/hull", "loc": "2451:23-27" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 2, "source": "import { __assign } from \"tslib\";\nimport { deepMix, isString } from '@antv/util';\nimport { parsePathString } from '@antv/path-util';\nimport { pathToPoints, getClosedSpline, roundedHull, paddedHull } from '../util/path';\nimport { isPolygonsIntersect } from '../util/math';\nimport { genConvexHull } from '../shape/hull/convexHull';\nimport { genBubbleSet } from '../shape/hull/bubbleset';\n/**\n * 用于包裹内部的成员的轮廓。\n * convex hull(凸包):http://geomalgorithms.com/a10-_hull-1.html#Monotone%20Chain\n * bubble: 使用 bubbleset算法,refer: http://vialab.science.uoit.ca/wp-content/papercite-data/pdf/col2009c.pdf\n * 通过配置 padding 可以调节包裹轮廓对节点的松紧程度\n */\nvar Hull = /** @class */ (function () {\n function Hull(graph, cfg) {\n this.cfg = deepMix(this.getDefaultCfg(), cfg);\n this.graph = graph;\n this.id = this.cfg.id;\n this.group = this.cfg.group;\n this.members = this.cfg.members.map(function (item) { return (isString(item) ? graph.findById(item) : item); });\n this.nonMembers = this.cfg.nonMembers.map(function (item) {\n return isString(item) ? graph.findById(item) : item;\n });\n this.setPadding();\n this.setType();\n this.path = this.calcPath(this.members, this.nonMembers);\n this.render();\n }\n Hull.prototype.getDefaultCfg = function () {\n return {\n id: 'g6-hull',\n type: 'round-convex',\n members: [],\n nonMembers: [],\n style: {\n fill: 'lightblue',\n stroke: 'blue',\n opacity: 0.2,\n },\n padding: 10,\n };\n };\n Hull.prototype.setPadding = function () {\n var nodeSize = this.members.length && this.members[0].getKeyShape().getCanvasBBox().width / 2;\n this.padding = this.cfg.padding > 0 ? this.cfg.padding + nodeSize : 10 + nodeSize;\n this.cfg.bubbleCfg = {\n nodeR0: this.padding - nodeSize,\n nodeR1: this.padding - nodeSize,\n morphBuffer: this.padding - nodeSize,\n };\n };\n Hull.prototype.setType = function () {\n this.type = this.cfg.type;\n if (this.members.length < 3) {\n this.type = 'round-convex';\n }\n if (this.type !== 'round-convex' && this.type !== 'smooth-convex' && this.type !== 'bubble') {\n console.warn('The hull type should be either round-convex, smooth-convex or bubble, round-convex is used by default.');\n this.type = 'round-convex';\n }\n };\n Hull.prototype.calcPath = function (members, nonMembers) {\n var contour, path, hull;\n switch (this.type) {\n case 'round-convex':\n contour = genConvexHull(members);\n hull = roundedHull(contour.map(function (p) { return [p.x, p.y]; }), this.padding);\n path = parsePathString(hull);\n break;\n case 'smooth-convex':\n contour = genConvexHull(members);\n hull = paddedHull(contour.map(function (p) { return [p.x, p.y]; }), this.padding);\n path = contour.length >= 2 && getClosedSpline(hull);\n break;\n case 'bubble':\n contour = genBubbleSet(members, nonMembers, this.cfg.bubbleCfg);\n path = contour.length >= 2 && getClosedSpline(contour);\n break;\n default:\n }\n return path;\n };\n Hull.prototype.render = function () {\n this.group.addShape('path', {\n attrs: __assign({ path: this.path }, this.cfg.style),\n id: this.id,\n name: this.cfg.id,\n });\n this.group.toBack();\n };\n /**\n * 增加hull的成员,同时如果该成员原先在nonMembers中,则从nonMembers中去掉\n * @param item 节点实例\n * @return boolean 添加成功返回 true,否则返回 false\n */\n Hull.prototype.addMember = function (item) {\n if (!item)\n return;\n if (isString(item))\n item = this.graph.findById(item);\n this.members.push(item);\n var index = this.nonMembers.indexOf(item);\n if (index > -1) {\n this.nonMembers.splice(index, 1);\n }\n this.updateData(this.members, this.nonMembers);\n return true;\n };\n /**\n * 增加hull需要排除的节点,同时如果该成员原先在members中,则从members中去掉\n * @param item 节点实例\n * @return boolean 添加成功返回 true,否则返回 false\n */\n Hull.prototype.addNonMember = function (item) {\n if (!item)\n return;\n if (isString(item))\n item = this.graph.findById(item);\n this.nonMembers.push(item);\n var index = this.members.indexOf(item);\n if (index > -1) {\n this.members.splice(index, 1);\n }\n this.updateData(this.members, this.nonMembers);\n return true;\n };\n /**\n * 移除hull中的成员\n * @param node 节点实例\n * @return boolean 移除成功返回 true,否则返回 false\n */\n Hull.prototype.removeMember = function (item) {\n if (!item)\n return;\n if (isString(item))\n item = this.graph.findById(item);\n var index = this.members.indexOf(item);\n if (index > -1) {\n this.members.splice(index, 1);\n this.updateData(this.members, this.nonMembers);\n return true;\n }\n return false;\n };\n /**\n * @param node 节点实例\n * @return boolean 移除成功返回 true,否则返回 false\n */\n Hull.prototype.removeNonMember = function (item) {\n if (!item)\n return;\n if (isString(item))\n item = this.graph.findById(item);\n var index = this.nonMembers.indexOf(item);\n if (index > -1) {\n this.nonMembers.splice(index, 1);\n this.updateData(this.members, this.nonMembers);\n return true;\n }\n return false;\n };\n Hull.prototype.updateData = function (members, nonMembers) {\n var _this = this;\n this.group.findById(this.id).remove();\n if (members)\n this.members = members.map(function (item) {\n return isString(item) ? _this.graph.findById(item) : item;\n });\n if (nonMembers)\n this.nonMembers = nonMembers.map(function (item) {\n return isString(item) ? _this.graph.findById(item) : item;\n });\n this.path = this.calcPath(this.members, this.nonMembers);\n this.render();\n };\n Hull.prototype.updateStyle = function (cfg) {\n var path = this.group.findById(this.id);\n path.attr(__assign({}, cfg));\n };\n Hull.prototype.updateCfg = function (cfg) {\n var _this = this;\n this.cfg = deepMix(this.cfg, cfg);\n this.id = this.cfg.id;\n this.group = this.cfg.group;\n if (cfg.members) {\n this.members = this.cfg.members.map(function (item) {\n return isString(item) ? _this.graph.findById(item) : item;\n });\n }\n if (cfg.nonMembers) {\n this.nonMembers = this.cfg.nonMembers.map(function (item) {\n return isString(item) ? _this.graph.findById(item) : item;\n });\n }\n this.setPadding();\n this.setType();\n this.path = this.calcPath(this.members, this.nonMembers);\n this.render();\n };\n /**\n * 判断是否在hull内部\n * @param item\n */\n Hull.prototype.contain = function (item) {\n var _this = this;\n var nodeItem;\n if (isString(item)) {\n nodeItem = this.graph.findById(item);\n }\n else {\n nodeItem = item;\n }\n var shapePoints;\n var shape = nodeItem.getKeyShape();\n if (nodeItem.get('type') === 'path') {\n shapePoints = pathToPoints(shape.attr('path'));\n }\n else {\n var shapeBBox = shape.getCanvasBBox();\n shapePoints = [\n [shapeBBox.minX, shapeBBox.minY],\n [shapeBBox.maxX, shapeBBox.minY],\n [shapeBBox.maxX, shapeBBox.maxY],\n [shapeBBox.minX, shapeBBox.maxY],\n ];\n }\n shapePoints = shapePoints.map(function (canvasPoint) {\n var point = _this.graph.getPointByCanvas(canvasPoint[0], canvasPoint[1]);\n return [point.x, point.y];\n });\n return isPolygonsIntersect(shapePoints, pathToPoints(this.path));\n };\n Hull.prototype.destroy = function () {\n this.group.remove();\n this.cfg = null;\n };\n return Hull;\n}());\nexport default Hull;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/mode.ts", "name": "./src/graph/controller/mode.ts", "index": 125, "index2": 122, "size": 4939, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "issuerId": null, "issuerName": "./src/graph/controller/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } } ], "profile": { "factory": 281, "building": 793, "dependencies": 404 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "module": "./src/graph/controller/index.ts", "moduleName": "./src/graph/controller/index.ts", "type": "harmony side effect evaluation", "userRequest": "./mode", "loc": "1:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "module": "./src/graph/controller/index.ts", "moduleName": "./src/graph/controller/index.ts", "type": "harmony export imported specifier", "userRequest": "./mode", "loc": "1:0-51" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import { each, isArray, isString } from '@antv/util';\nimport Behavior from '../../behavior/behavior';\nvar ModeController = /** @class */ (function () {\n function ModeController(graph) {\n this.graph = graph;\n this.destroyed = false;\n this.modes = graph.get('modes') || {\n default: [],\n };\n this.formatModes();\n this.mode = graph.get('defaultMode') || 'default';\n this.currentBehaves = [];\n debugger;\n this.setMode(this.mode);\n }\n ModeController.prototype.formatModes = function () {\n var modes = this.modes;\n each(modes, function (mode) {\n each(mode, function (behavior, i) {\n if (isString(behavior)) {\n mode[i] = { type: behavior };\n }\n });\n });\n };\n ModeController.prototype.setBehaviors = function (mode) {\n var graph = this.graph;\n var behaviors = this.modes[mode];\n var behaves = [];\n var behave;\n each(behaviors || [], function (behavior) {\n var BehaviorInstance = Behavior.getBehavior(behavior.type);\n if (!BehaviorInstance) {\n return;\n }\n behave = new BehaviorInstance(behavior);\n if (behave) {\n behave.bind(graph);\n behaves.push(behave);\n }\n });\n this.currentBehaves = behaves;\n };\n ModeController.mergeBehaviors = function (modeBehaviors, behaviors) {\n each(behaviors, function (behavior) {\n if (modeBehaviors.indexOf(behavior) < 0) {\n if (isString(behavior)) {\n behavior = { type: behavior };\n }\n modeBehaviors.push(behavior);\n }\n });\n return modeBehaviors;\n };\n ModeController.filterBehaviors = function (modeBehaviors, behaviors) {\n var result = [];\n modeBehaviors.forEach(function (behavior) {\n var type = '';\n if (isString(behavior)) {\n type = behavior;\n }\n else {\n // eslint-disable-next-line prefer-destructuring\n type = behavior.type;\n }\n if (behaviors.indexOf(type) < 0) {\n result.push(behavior);\n }\n });\n return result;\n };\n ModeController.prototype.setMode = function (mode) {\n var _a = this, modes = _a.modes, graph = _a.graph;\n var current = mode;\n var behaviors = modes[current];\n if (!behaviors) {\n return;\n }\n graph.emit('beforemodechange', { mode: mode });\n each(this.currentBehaves, function (behave) {\n behave.unbind(graph);\n });\n this.setBehaviors(current);\n graph.emit('aftermodechange', { mode: mode });\n this.mode = mode;\n };\n ModeController.prototype.getMode = function () {\n return this.mode;\n };\n /**\n * 动态增加或删除 Behavior\n *\n * @param {ModeType[]} behaviors\n * @param {(ModeType[] | ModeType)} modes\n * @param {boolean} isAdd\n * @returns {Mode}\n * @memberof Mode\n */\n ModeController.prototype.manipulateBehaviors = function (behaviors, modes, isAdd) {\n var _this = this;\n var behaves;\n if (!isArray(behaviors)) {\n behaves = [behaviors];\n }\n else {\n behaves = behaviors;\n }\n if (isArray(modes)) {\n each(modes, function (mode) {\n if (!_this.modes[mode]) {\n if (isAdd) {\n _this.modes[mode] = behaves;\n }\n }\n else if (isAdd) {\n _this.modes[mode] = ModeController.mergeBehaviors(_this.modes[mode] || [], behaves);\n }\n else {\n _this.modes[mode] = ModeController.filterBehaviors(_this.modes[mode] || [], behaves);\n }\n });\n return this;\n }\n var currentMode = modes;\n if (!modes) {\n currentMode = this.mode; // isString(this.mode) ? this.mode : this.mode.type\n }\n if (!this.modes[currentMode]) {\n if (isAdd) {\n this.modes[currentMode] = behaves;\n }\n }\n if (isAdd) {\n this.modes[currentMode] = ModeController.mergeBehaviors(this.modes[currentMode] || [], behaves);\n }\n else {\n this.modes[currentMode] = ModeController.filterBehaviors(this.modes[currentMode] || [], behaves);\n }\n this.setMode(this.mode);\n return this;\n };\n ModeController.prototype.destroy = function () {\n this.graph = null;\n this.modes = null;\n this.currentBehaves = null;\n this.destroyed = true;\n };\n return ModeController;\n}());\nexport default ModeController;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "index": 126, "index2": 198, "size": 7699, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "issuerId": null, "issuerName": "./src/graph/controller/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } } ], "profile": { "factory": 281, "building": 793, "dependencies": 404 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "module": "./src/graph/controller/index.ts", "moduleName": "./src/graph/controller/index.ts", "type": "harmony side effect evaluation", "userRequest": "./view", "loc": "2:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "module": "./src/graph/controller/index.ts", "moduleName": "./src/graph/controller/index.ts", "type": "harmony export imported specifier", "userRequest": "./view", "loc": "2:0-51" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import { __assign } from \"tslib\";\nimport { isNumber, isString } from '@antv/util';\nimport { modifyCSS } from '@antv/dom-util';\nimport { formatPadding } from '../../util/base';\nimport { applyMatrix, invertMatrix } from '../../util/math';\nvar ViewController = /** @class */ (function () {\n function ViewController(graph) {\n this.destroyed = false;\n this.graph = graph;\n this.destroyed = false;\n }\n // get view center coordinate\n ViewController.prototype.getViewCenter = function () {\n var padding = this.getFormatPadding();\n var graph = this.graph;\n var width = this.graph.get('width');\n var height = graph.get('height');\n return {\n x: (width - padding[1] - padding[3]) / 2 + padding[3],\n y: (height - padding[0] - padding[2]) / 2 + padding[0],\n };\n };\n ViewController.prototype.fitCenter = function () {\n var graph = this.graph;\n var group = graph.get('group');\n group.resetMatrix();\n var bbox = group.getCanvasBBox();\n if (bbox.width === 0 || bbox.height === 0)\n return;\n var viewCenter = this.getViewCenter();\n var groupCenter = {\n x: bbox.x + bbox.width / 2,\n y: bbox.y + bbox.height / 2,\n };\n graph.translate(viewCenter.x - groupCenter.x, viewCenter.y - groupCenter.y);\n };\n // fit view graph\n ViewController.prototype.fitView = function () {\n var graph = this.graph;\n var padding = this.getFormatPadding();\n var width = graph.get('width');\n var height = graph.get('height');\n var group = graph.get('group');\n group.resetMatrix();\n var bbox = group.getCanvasBBox();\n if (bbox.width === 0 || bbox.height === 0)\n return;\n var viewCenter = this.getViewCenter();\n var groupCenter = {\n x: bbox.x + bbox.width / 2,\n y: bbox.y + bbox.height / 2,\n };\n graph.translate(viewCenter.x - groupCenter.x, viewCenter.y - groupCenter.y);\n var w = (width - padding[1] - padding[3]) / bbox.width;\n var h = (height - padding[0] - padding[2]) / bbox.height;\n var ratio = w;\n if (w > h) {\n ratio = h;\n }\n graph.zoom(ratio, viewCenter);\n };\n ViewController.prototype.getFormatPadding = function () {\n var padding = this.graph.get('fitViewPadding');\n return formatPadding(padding);\n };\n ViewController.prototype.focusPoint = function (point, animate, animateCfg) {\n var _this = this;\n var viewCenter = this.getViewCenter();\n var modelCenter = this.getPointByCanvas(viewCenter.x, viewCenter.y);\n var viewportMatrix = this.graph.get('group').getMatrix();\n if (!viewportMatrix)\n viewportMatrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n if (animate) {\n var dx_1 = (modelCenter.x - point.x) * viewportMatrix[0];\n var dy_1 = (modelCenter.y - point.y) * viewportMatrix[4];\n var lastX_1 = 0;\n var lastY_1 = 0;\n var newX_1 = 0;\n var newY_1 = 0;\n // 动画每次平移一点,直到目标位置\n this.graph.get('canvas').animate(function (ratio) {\n newX_1 = dx_1 * ratio;\n newY_1 = dy_1 * ratio;\n _this.graph.translate(newX_1 - lastX_1, newY_1 - lastY_1);\n lastX_1 = newX_1;\n lastY_1 = newY_1;\n }, __assign({}, animateCfg));\n }\n else {\n this.graph.translate((modelCenter.x - point.x) * viewportMatrix[0], (modelCenter.y - point.y) * viewportMatrix[4]);\n }\n };\n /**\n * 将 Canvas 坐标转成视口坐标\n * @param canvasX canvas x 坐标\n * @param canvasY canvas y 坐标\n */\n ViewController.prototype.getPointByCanvas = function (canvasX, canvasY) {\n var viewportMatrix = this.graph.get('group').getMatrix();\n if (!viewportMatrix) {\n viewportMatrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n var point = invertMatrix({ x: canvasX, y: canvasY }, viewportMatrix);\n return point;\n };\n /**\n * 将页面坐标转成视口坐标\n * @param clientX 页面 x 坐标\n * @param clientY 页面 y 坐标\n */\n ViewController.prototype.getPointByClient = function (clientX, clientY) {\n var canvas = this.graph.get('canvas');\n var canvasPoint = canvas.getPointByClient(clientX, clientY);\n return this.getPointByCanvas(canvasPoint.x, canvasPoint.y);\n };\n /**\n * 将视口坐标转成页面坐标\n * @param x 视口 x 坐标\n * @param y 视口 y 坐标\n */\n ViewController.prototype.getClientByPoint = function (x, y) {\n var canvas = this.graph.get('canvas');\n var canvasPoint = this.getCanvasByPoint(x, y);\n var point = canvas.getClientByPoint(canvasPoint.x, canvasPoint.y);\n // return { x: point.clientX, y: point.clientY };\n return { x: point.x, y: point.y };\n };\n /**\n * 将视口坐标转成 Canvas 坐标\n * @param x 视口 x 坐标\n * @param y 视口 y 坐标\n */\n ViewController.prototype.getCanvasByPoint = function (x, y) {\n var viewportMatrix = this.graph.get('group').getMatrix();\n if (!viewportMatrix) {\n viewportMatrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n return applyMatrix({ x: x, y: y }, viewportMatrix);\n };\n /**\n * 将元素移动到画布中心\n * @param item Item 实例或 id\n * @param {boolean} animate 是否带有动画地移动\n * @param {GraphAnimateConfig} animateCfg 若带有动画,动画的配置项\n */\n ViewController.prototype.focus = function (item, animate, animateCfg) {\n if (isString(item)) {\n item = this.graph.findById(item);\n }\n var group = item.get('group');\n var matrix = group.getMatrix();\n if (!matrix)\n matrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n if (item) {\n // 用实际位置而不是model中的x,y,防止由于拖拽等的交互导致model的x,y并不是当前的x,y\n this.focusPoint({\n x: matrix[6],\n y: matrix[7],\n }, animate, animateCfg);\n }\n };\n /**\n * 改变 canvas 画布的宽度和高度\n * @param width canvas 宽度\n * @param height canvas 高度\n */\n ViewController.prototype.changeSize = function (width, height) {\n var graph = this.graph;\n if (!isNumber(width) || !isNumber(height)) {\n throw Error('invalid canvas width & height, please make sure width & height type is number');\n }\n graph.set({ width: width, height: height });\n var canvas = graph.get('canvas');\n canvas.changeSize(width, height);\n // change the size of grid plugin if it exists on graph\n var plugins = graph.get('plugins');\n plugins.forEach(function (plugin) {\n if (plugin.get('gridContainer')) {\n var minZoom = graph.get('minZoom');\n modifyCSS(plugin.get('container'), {\n width: width + \"px\",\n height: height + \"px\",\n });\n modifyCSS(plugin.get('gridContainer'), {\n width: width / minZoom + \"px\",\n height: height / minZoom + \"px\",\n left: 0,\n top: 0,\n });\n }\n });\n };\n ViewController.prototype.destroy = function () {\n this.graph = null;\n this.destroyed = false;\n };\n return ViewController;\n}());\nexport default ViewController;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "name": "./src/graph/controller/item.ts", "index": 202, "index2": 207, "size": 20964, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "issuerId": null, "issuerName": "./src/graph/controller/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } } ], "profile": { "factory": 281, "building": 793, "dependencies": 404 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "module": "./src/graph/controller/index.ts", "moduleName": "./src/graph/controller/index.ts", "type": "harmony side effect evaluation", "userRequest": "./item", "loc": "3:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "module": "./src/graph/controller/index.ts", "moduleName": "./src/graph/controller/index.ts", "type": "harmony export imported specifier", "userRequest": "./item", "loc": "3:0-51" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import { __assign } from \"tslib\";\nimport { clone, deepMix, each, isArray, isObject, isString, upperFirst } from '@antv/util';\nimport Edge from '../../item/edge';\nimport Node from '../../item/node';\nimport Combo from '../../item/combo';\nimport { traverseTreeUp, traverseTree, getComboBBox } from '../../util/graphic';\nvar NODE = 'node';\nvar EDGE = 'edge';\nvar VEDGE = 'vedge';\nvar COMBO = 'combo';\nvar CFG_PREFIX = 'default';\nvar MAPPER_SUFFIX = 'Mapper';\nvar STATE_SUFFIX = 'stateStyles';\nvar hasOwnProperty = Object.hasOwnProperty;\nvar ItemController = /** @class */ (function () {\n function ItemController(graph) {\n this.graph = graph;\n this.destroyed = false;\n }\n /**\n * 增加 Item 实例\n *\n * @param {ITEM_TYPE} type 实例类型,node 或 edge\n * @param {(NodeConfig & EdgeConfig)} model 数据模型\n * @returns {(Item)}\n * @memberof ItemController\n */\n ItemController.prototype.addItem = function (type, model) {\n var _this = this;\n var graph = this.graph;\n var vType = type === VEDGE ? EDGE : type;\n var parent = graph.get(vType + \"Group\") || graph.get('group');\n var upperType = upperFirst(vType);\n var item = null;\n // 获取 this.get('styles') 中的值\n var styles = graph.get(vType + upperFirst(STATE_SUFFIX)) || {};\n var defaultModel = graph.get(CFG_PREFIX + upperType);\n if (model[STATE_SUFFIX]) {\n // 设置 this.get('styles') 中的值\n styles = model[STATE_SUFFIX];\n }\n var mapper = graph.get(vType + MAPPER_SUFFIX);\n if (mapper) {\n var mappedModel = mapper(model);\n if (mappedModel[STATE_SUFFIX]) {\n // 设置 this.get('styles') 中的值\n styles = mappedModel[STATE_SUFFIX];\n delete mappedModel[STATE_SUFFIX];\n }\n // 如果配置了 defaultEdge 或 defaultNode,则将默认配置的数据也合并进去\n model = deepMix({}, defaultModel, model, mappedModel);\n }\n else if (defaultModel) {\n // 很多布局会直接修改原数据模型,所以不能用 merge 的形式,逐个写入原 model 中\n each(defaultModel, function (val, cfg) {\n if (!hasOwnProperty.call(model, cfg)) {\n if (isObject(val)) {\n model[cfg] = clone(val);\n }\n else {\n model[cfg] = defaultModel[cfg];\n }\n }\n });\n }\n graph.emit('beforeadditem', { type: type, model: model });\n if (type === EDGE || type === VEDGE) {\n var source = void 0;\n var target = void 0;\n source = model.source; // eslint-disable-line prefer-destructuring\n target = model.target; // eslint-disable-line prefer-destructuring\n if (source && isString(source)) {\n source = graph.findById(source);\n }\n if (target && isString(target)) {\n target = graph.findById(target);\n }\n if (!source || !target) {\n console.warn(\"The source or target node of edge \" + model.id + \" does not exist!\");\n return;\n }\n if (source.getType && source.getType() === 'combo') {\n model.isComboEdge = true;\n graph.updateCombo(source);\n }\n if (target.getType && target.getType() === 'combo') {\n model.isComboEdge = true;\n graph.updateCombo(target);\n }\n item = new Edge({\n model: model,\n source: source,\n target: target,\n styles: styles,\n linkCenter: graph.get('linkCenter'),\n group: parent.addGroup(),\n });\n }\n else if (type === NODE) {\n item = new Node({\n model: model,\n styles: styles,\n group: parent.addGroup(),\n });\n }\n else if (type === COMBO) {\n var children = model.children;\n var comboBBox = getComboBBox(children, graph);\n model.x = comboBBox.x || model.x || Math.random() * 100;\n model.y = comboBBox.y || model.y || Math.random() * 100;\n var comboGroup = parent.addGroup();\n comboGroup.setZIndex(model.depth);\n item = new Combo({\n model: model,\n styles: styles,\n bbox: comboBBox,\n group: comboGroup,\n });\n var comboModel_1 = item.getModel();\n (children || []).forEach(function (child) {\n var childItem = graph.findById(child.id);\n item.addChild(childItem);\n child.depth = comboModel_1.depth + 2;\n });\n // collapse the combo if the collapsed is true in the model\n if (model.collapsed) {\n setTimeout(function () {\n graph.collapseCombo(item);\n _this.updateCombo(item, []);\n }, 250);\n }\n }\n if (item) {\n graph.get(type + \"s\").push(item);\n graph.get('itemMap')[item.get('id')] = item;\n graph.emit('afteradditem', { item: item, model: model });\n // eslint-disable-next-line consistent-return\n return item;\n }\n };\n /**\n * 更新节点或边\n *\n * @param {Item} item ID 或 实例\n * @param {(EdgeConfig | Partial)} cfg 数据模型\n * @returns\n * @memberof ItemController\n */\n ItemController.prototype.updateItem = function (item, cfg) {\n var graph = this.graph;\n if (isString(item)) {\n item = graph.findById(item);\n }\n if (!item || item.destroyed) {\n return;\n }\n // 更新的 item 的类型\n var type = '';\n if (item.getType)\n type = item.getType();\n var mapper = graph.get(type + MAPPER_SUFFIX);\n var model = item.getModel();\n var isOnlyMove = item.isOnlyMove(cfg);\n if (mapper) {\n var result = deepMix({}, model, cfg);\n var mappedModel = mapper(result);\n // 将 update 时候用户传入的参数与mapperModel做deepMix,以便复用之前设置的参数值\n var newModel = deepMix({}, model, mappedModel, cfg);\n if (mappedModel[STATE_SUFFIX]) {\n item.set('styles', newModel[STATE_SUFFIX]);\n delete newModel[STATE_SUFFIX];\n }\n each(newModel, function (val, key) {\n cfg[key] = val;\n });\n }\n else {\n // merge update传进来的对象参数,model中没有的数据不做处理,对象和字符串值也不做处理,直接替换原来的\n each(cfg, function (val, key) {\n if (model[key]) {\n if (isObject(val) && !isArray(val)) {\n cfg[key] = __assign(__assign({}, model[key]), cfg[key]);\n }\n }\n });\n }\n // emit beforeupdateitem 事件\n graph.emit('beforeupdateitem', { item: item, cfg: cfg });\n if (type === EDGE) {\n // 若是边要更新source || target, 为了不影响示例内部model,并且重新计算startPoint和endPoint,手动设置\n if (cfg.source) {\n var source = cfg.source;\n if (isString(source)) {\n source = graph.findById(source);\n }\n item.setSource(source);\n }\n if (cfg.target) {\n var target = cfg.target;\n if (isString(target)) {\n target = graph.findById(target);\n }\n item.setTarget(target);\n }\n item.update(cfg);\n }\n // item.update(cfg);\n if (type === NODE || type === COMBO) {\n item.update(cfg, isOnlyMove);\n var edges = item.getEdges();\n each(edges, function (edge) {\n edge.refresh();\n });\n }\n graph.emit('afterupdateitem', { item: item, cfg: cfg });\n };\n /**\n * 根据 combo 的子元素更新 combo 的位置及大小\n *\n * @param {ICombo} combo ID 或 实例\n * @returns\n * @memberof ItemController\n */\n ItemController.prototype.updateCombo = function (combo, children) {\n var graph = this.graph;\n if (isString(combo)) {\n combo = graph.findById(combo);\n }\n if (!combo || combo.destroyed) {\n return;\n }\n var comboBBox = getComboBBox(children, graph);\n combo.set('bbox', comboBBox);\n combo.update({\n x: comboBBox.x,\n y: comboBBox.y,\n });\n var combEdges = combo.getEdges() || [];\n var length = combEdges.length;\n for (var i = 0; i < length; i++) {\n var edge = combEdges[i];\n edge.refresh();\n }\n };\n /**\n * 收起 combo,隐藏相关元素\n */\n ItemController.prototype.collapseCombo = function (combo) {\n var graph = this.graph;\n if (isString(combo)) {\n combo = graph.findById(combo);\n }\n var children = combo.getChildren();\n children.nodes.forEach(function (node) {\n graph.hideItem(node);\n });\n children.combos.forEach(function (c) {\n graph.hideItem(c);\n });\n };\n /**\n * 展开 combo,相关元素出现\n * 若子 combo 原先是收起状态,则保持它的收起状态\n */\n ItemController.prototype.expandCombo = function (combo) {\n var graph = this.graph;\n if (isString(combo)) {\n combo = graph.findById(combo);\n }\n var children = combo.getChildren();\n children.nodes.forEach(function (node) {\n graph.showItem(node);\n });\n children.combos.forEach(function (c) {\n if (c.getModel().collapsed) {\n c.show();\n }\n else {\n graph.showItem(c);\n }\n });\n };\n /**\n * 删除指定的节点或边\n *\n * @param {Item} item item ID 或实例\n * @returns {void}\n * @memberof ItemController\n */\n ItemController.prototype.removeItem = function (item) {\n var _this = this;\n var graph = this.graph;\n if (isString(item)) {\n item = graph.findById(item);\n }\n if (!item || item.destroyed) {\n return;\n }\n var itemModel = clone(item.getModel());\n graph.emit('beforeremoveitem', { item: itemModel });\n var type = '';\n if (item.getType)\n type = item.getType();\n var items = graph.get(type + \"s\");\n var index = items.indexOf(item);\n if (index > -1)\n items.splice(index, 1);\n if (type === EDGE) {\n var vitems = graph.get(\"v\" + type + \"s\");\n var vindex = vitems.indexOf(item);\n if (vindex > -1)\n vitems.splice(vindex, 1);\n }\n var itemId = item.get('id');\n var itemMap = graph.get('itemMap');\n delete itemMap[itemId];\n var comboTrees = graph.get('comboTrees');\n var id = item.get('id');\n if (type === NODE) {\n var comboId = item.getModel().comboId;\n if (comboTrees) {\n var brothers_1 = comboTrees;\n var found_1 = false; // the flag to terminate the forEach circulation\n // remove the node from the children array of its parent fromt he tree\n comboTrees.forEach(function (ctree) {\n if (found_1)\n return;\n traverseTree(ctree, function (combo) {\n if (combo.id === id && brothers_1) {\n var bidx = brothers_1.indexOf(combo);\n brothers_1.splice(bidx, 1);\n found_1 = true;\n return false; // terminate the traverse\n }\n brothers_1 = combo.children;\n return true;\n });\n });\n }\n // 若移除的是节点,需要将与之相连的边一同删除\n var edges = item.getEdges();\n for (var i = edges.length - 1; i >= 0; i--) {\n graph.removeItem(edges[i], false);\n }\n if (comboId)\n graph.updateCombo(comboId);\n }\n else if (type === COMBO) {\n var parentId = item.getModel().parentId;\n var comboInTree_1;\n // find the subtree rooted at the item to be removed\n var found_2 = false; // the flag to terminate the forEach circulation\n (comboTrees || []).forEach(function (ctree) {\n if (found_2)\n return;\n traverseTree(ctree, function (combo) {\n if (combo.id === id) {\n comboInTree_1 = combo;\n found_2 = true;\n return false; // terminate the traverse\n }\n return true;\n });\n });\n comboInTree_1.removed = true;\n if (comboInTree_1 && comboInTree_1.children) {\n comboInTree_1.children.forEach(function (child) {\n _this.removeItem(child.id);\n });\n }\n // 若移除的是 combo,需要将与之相连的边一同删除\n var edges = item.getEdges();\n for (var i = edges.length; i >= 0; i--) {\n graph.removeItem(edges[i], false);\n }\n if (parentId)\n graph.updateCombo(parentId);\n }\n item.destroy();\n graph.emit('afterremoveitem', { item: itemModel });\n };\n /**\n * 更新 item 状态\n *\n * @param {Item} item Item 实例\n * @param {string} state 状态名称\n * @param {boolean} value 是否启用状态或状态值\n * @returns {void}\n * @memberof ItemController\n */\n ItemController.prototype.setItemState = function (item, state, value) {\n var graph = this.graph;\n var stateName = state;\n if (isString(value)) {\n stateName = state + \":\" + value;\n }\n // 已经存在要设置的 state,或不存在 state 的样式为 undefined\n if (item.hasState(stateName) === value || (isString(value) && item.hasState(stateName))) {\n return;\n }\n graph.emit('beforeitemstatechange', { item: item, state: stateName, enabled: value });\n item.setState(state, value);\n graph.autoPaint();\n graph.emit('afteritemstatechange', { item: item, state: stateName, enabled: value });\n };\n /**\n * 将指定状态的优先级提升为最高优先级\n * @param {Item} item 元素id或元素实例\n * @param state 状态名称\n */\n ItemController.prototype.priorityState = function (item, state) {\n var graph = this.graph;\n var currentItem = item;\n if (isString(item)) {\n currentItem = graph.findById(item);\n }\n // 先取消已有的 state\n this.setItemState(currentItem, state, false);\n // 再设置state,则此时该优先级为最高\n this.setItemState(currentItem, state, true);\n };\n /**\n * 清除所有指定的状态\n *\n * @param {Item} item Item 实例\n * @param {string[]} states 状态名称集合\n * @memberof ItemController\n */\n ItemController.prototype.clearItemStates = function (item, states) {\n var graph = this.graph;\n if (isString(item)) {\n item = graph.findById(item);\n }\n graph.emit('beforeitemstatesclear', { item: item, states: states });\n item.clearStates(states);\n graph.emit('afteritemstatesclear', { item: item, states: states });\n };\n /**\n * 刷新指定的 Item\n *\n * @param {Item} item Item ID 或 实例\n * @memberof ItemController\n */\n ItemController.prototype.refreshItem = function (item) {\n var graph = this.graph;\n if (isString(item)) {\n item = graph.findById(item);\n }\n graph.emit('beforeitemrefresh', { item: item });\n // 调用 Item 的 refresh 方法,实现刷新功能\n item.refresh();\n graph.emit('afteritemrefresh', { item: item });\n };\n /**\n * 根据 graph 上用 combos 数据生成的 comboTree 来增加所有 combos\n *\n * @param {ComboTree[]} comboTrees graph 上用 combos 数据生成的 comboTree\n * @param {ComboConfig[]} comboModels combos 数据\n * @memberof ItemController\n */\n ItemController.prototype.addCombos = function (comboTrees, comboModels) {\n var _this = this;\n var graph = this.graph;\n (comboTrees || []).forEach(function (ctree) {\n traverseTreeUp(ctree, function (child) {\n var comboModel;\n comboModels.forEach(function (model) {\n if (model.id === child.id) {\n model.children = child.children;\n model.depth = child.depth;\n comboModel = model;\n }\n });\n if (comboModel) {\n _this.addItem('combo', comboModel);\n }\n return true;\n });\n });\n var comboGroup = graph.get('comboGroup');\n if (comboGroup)\n comboGroup.sort();\n };\n /**\n * 改变Item的显示状态\n *\n * @param {Item} item Item ID 或 实例\n * @param {boolean} visible 是否显示\n * @memberof ItemController\n */\n ItemController.prototype.changeItemVisibility = function (item, visible) {\n var _this = this;\n var graph = this.graph;\n if (isString(item)) {\n item = graph.findById(item);\n }\n if (!item) {\n console.warn('The item to be shown or hidden does not exist!');\n return;\n }\n graph.emit('beforeitemvisibilitychange', { item: item, visible: visible });\n item.changeVisibility(visible);\n if (item.getType && item.getType() === NODE) {\n var edges = item.getEdges();\n each(edges, function (edge) {\n // 若隐藏节点,则将与之关联的边也隐藏\n // 若显示节点,则将与之关联的边也显示,但是需要判断边两端的节点都是可见的\n if (visible && !(edge.get('source').isVisible() && edge.get('target').isVisible())) {\n return;\n }\n _this.changeItemVisibility(edge, visible);\n });\n }\n else if (item.getType && item.getType() === COMBO) {\n var comboTrees = graph.get('comboTrees');\n var id_1 = item.get('id');\n var children_1 = [];\n var found_3 = false; // flag the terminate the forEach\n (comboTrees || []).forEach(function (ctree) {\n if (found_3)\n return;\n if (!ctree.children || ctree.children.length === 0)\n return;\n traverseTree(ctree, function (combo) {\n if (combo.id === id_1) {\n children_1 = combo.children;\n found_3 = true;\n return false; // terminate the traverse\n }\n return true;\n });\n });\n children_1.forEach(function (child) {\n var childItem = graph.findById(child.id);\n _this.changeItemVisibility(childItem, visible);\n });\n var edges = item.getEdges();\n each(edges, function (edge) {\n // 若隐藏 combo,则将与 combo 本身关联的边也隐藏\n // 若显示 combo,则将与 combo 本身关联的边也显示,但是需要判断边两端的节点都是可见的\n if (visible && !(edge.get('source').isVisible() && edge.get('target').isVisible())) {\n return;\n }\n _this.changeItemVisibility(edge, visible);\n });\n }\n graph.emit('afteritemvisibilitychange', { item: item, visible: visible });\n return item;\n };\n ItemController.prototype.destroy = function () {\n this.graph = null;\n this.destroyed = true;\n };\n return ItemController;\n}());\nexport default ItemController;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/state.ts", "name": "./src/graph/controller/state.ts", "index": 211, "index2": 208, "size": 4634, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "issuerId": null, "issuerName": "./src/graph/controller/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } } ], "profile": { "factory": 281, "building": 793, "dependencies": 404 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "module": "./src/graph/controller/index.ts", "moduleName": "./src/graph/controller/index.ts", "type": "harmony side effect evaluation", "userRequest": "./state", "loc": "4:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "module": "./src/graph/controller/index.ts", "moduleName": "./src/graph/controller/index.ts", "type": "harmony export imported specifier", "userRequest": "./state", "loc": "4:0-53" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import { each, isString } from '@antv/util';\nvar timer = null;\nvar StateController = /** @class */ (function () {\n function StateController(graph) {\n this.graph = graph;\n /**\n * this.cachedStates = {\n * enabled: {\n * hover: [Node]\n * },\n * disabled: {}\n * }\n */\n this.cachedStates = {\n enabled: {},\n disabled: {},\n };\n this.destroyed = false;\n }\n /**\n * 检查 cache 的可用性\n *\n * @private\n * @param {Item} item\n * @param {string} state\n * @param {object} cache\n * @returns\n * @memberof State\n */\n StateController.checkCache = function (item, state, cache) {\n if (!cache[state]) {\n return;\n }\n var index = cache[state].indexOf(item);\n if (index >= 0) {\n cache[state].splice(index, 1);\n }\n };\n /**\n * 缓存 state\n *\n * @private\n * @param {Item} item Item 实例\n * @param {string} state 状态名称\n * @param {object} states\n * @memberof State\n */\n StateController.cacheState = function (item, state, states) {\n if (!states[state]) {\n states[state] = [];\n }\n states[state].push(item);\n };\n /**\n * 更新 Item 的状态\n *\n * @param {Item} item Item实例\n * @param {string} state 状态名称\n * @param {boolean} enabled 状态是否可用\n * @memberof State\n */\n StateController.prototype.updateState = function (item, state, enabled) {\n var _this = this;\n var checkCache = StateController.checkCache, cacheState = StateController.cacheState;\n if (item.destroyed) {\n return;\n }\n var cachedStates = this.cachedStates;\n var enabledStates = cachedStates.enabled;\n var disabledStates = cachedStates.disabled;\n if (enabled) {\n checkCache(item, state, disabledStates);\n cacheState(item, state, enabledStates);\n }\n else {\n checkCache(item, state, enabledStates);\n cacheState(item, state, disabledStates);\n }\n if (timer) {\n clearTimeout(timer);\n }\n timer = setTimeout(function () {\n timer = null;\n _this.updateGraphStates();\n }, 16);\n };\n /**\n * 批量更新 states,兼容 updateState,支持更新一个 state\n *\n * @param {Item} item\n * @param {(string | string[])} states\n * @param {boolean} enabled\n * @memberof State\n */\n StateController.prototype.updateStates = function (item, states, enabled) {\n var _this = this;\n if (isString(states)) {\n this.updateState(item, states, enabled);\n }\n else {\n states.forEach(function (state) {\n _this.updateState(item, state, enabled);\n });\n }\n };\n /**\n * 更新 states\n *\n * @memberof State\n */\n StateController.prototype.updateGraphStates = function () {\n var states = this.graph.get('states');\n var cachedStates = this.cachedStates;\n each(cachedStates.disabled, function (val, key) {\n if (states[key]) {\n states[key] = states[key].filter(function (item) { return val.indexOf(item) < 0 && !val.destroyed; });\n }\n });\n each(cachedStates.enabled, function (val, key) {\n if (!states[key]) {\n states[key] = val;\n }\n else {\n var map_1 = {};\n states[key].forEach(function (item) {\n if (!item.destroyed) {\n map_1[item.get('id')] = true;\n }\n });\n val.forEach(function (item) {\n if (!item.destroyed) {\n var id = item.get('id');\n if (!map_1[id]) {\n map_1[id] = true;\n states[key].push(item);\n }\n }\n });\n }\n });\n this.graph.emit('graphstatechange', { states: states });\n this.cachedStates = {\n enabled: {},\n disabled: {},\n };\n };\n StateController.prototype.destroy = function () {\n this.graph = null;\n this.cachedStates = null;\n if (timer) {\n clearTimeout(timer);\n }\n timer = null;\n this.destroyed = true;\n };\n return StateController;\n}());\nexport default StateController;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/hull/convexHull.ts", "name": "./src/shape/hull/convexHull.ts", "index": 236, "index2": 233, "size": 1482, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/hull.ts", "issuerId": null, "issuerName": "./src/item/hull.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/hull.ts", "name": "./src/item/hull.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } } ], "profile": { "factory": 1223, "building": 572, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/hull.ts", "module": "./src/item/hull.ts", "moduleName": "./src/item/hull.ts", "type": "harmony side effect evaluation", "userRequest": "../shape/hull/convexHull", "loc": "6:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/hull.ts", "module": "./src/item/hull.ts", "moduleName": "./src/item/hull.ts", "type": "harmony import specifier", "userRequest": "../shape/hull/convexHull", "loc": "66:26-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/hull.ts", "module": "./src/item/hull.ts", "moduleName": "./src/item/hull.ts", "type": "harmony import specifier", "userRequest": "../shape/hull/convexHull", "loc": "71:26-39" } ], "usedExports": ["genConvexHull"], "providedExports": ["cross", "genConvexHull"], "optimizationBailout": [], "depth": 3, "source": "/**\n * Use cross product to judge the direction of the turn.\n * Returns a positive value, if OAB makes a clockwise turn,\n * negative for counter-clockwise turn, and zero if the points are collinear.\n */\nexport var cross = function (a, b, o) {\n return (a.y - o.y) * (b.x - o.x) - (a.x - o.x) * (b.y - o.y);\n};\n/**\n * Generate a convex hull of given points. Andrew's monotone chain algorithm.\n * @param points An array of [x, y] representing the coordinates of points.\n * @return a list of vertices of the convex hull in counter-clockwise order,\n */\nexport var genConvexHull = function (items) {\n var points = items.map(function (item) { return ({ x: item.getModel().x, y: item.getModel().y }); });\n points.sort(function (a, b) {\n return a.x === b.x ? a.y - b.y : a.x - b.x;\n });\n // build the lower hull\n var lower = [];\n for (var i = 0; i < points.length; i++) {\n while (lower.length >= 2 &&\n cross(lower[lower.length - 2], lower[lower.length - 1], points[i]) <= 0) {\n lower.pop();\n }\n lower.push(points[i]);\n }\n // build the upper hull\n var upper = [];\n for (var i = points.length - 1; i >= 0; i--) {\n while (upper.length >= 2 &&\n cross(upper[upper.length - 2], upper[upper.length - 1], points[i]) <= 0) {\n upper.pop();\n }\n upper.push(points[i]);\n }\n upper.pop();\n lower.pop();\n var strictHull = lower.concat(upper);\n return strictHull;\n};\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/hull/bubbleset.ts", "name": "./src/shape/hull/bubbleset.ts", "index": 237, "index2": 234, "size": 23927, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/hull.ts", "issuerId": null, "issuerName": "./src/item/hull.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/hull.ts", "name": "./src/item/hull.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } } ], "profile": { "factory": 1223, "building": 572, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/hull.ts", "module": "./src/item/hull.ts", "moduleName": "./src/item/hull.ts", "type": "harmony side effect evaluation", "userRequest": "../shape/hull/bubbleset", "loc": "7:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/hull.ts", "module": "./src/item/hull.ts", "moduleName": "./src/item/hull.ts", "type": "harmony import specifier", "userRequest": "../shape/hull/bubbleset", "loc": "76:26-38" } ], "usedExports": ["genBubbleSet"], "providedExports": ["genBubbleSet"], "optimizationBailout": [], "depth": 3, "source": "import { squareDist, pointLineSquareDist, itemIntersectByLine, getPointsCenter, fractionToLine, isPointsOverlap, pointRectSquareDist, Line, isPointInPolygon, } from '../../util/math';\nvar defaultOps = {\n maxRoutingIterations: 100,\n maxMarchingIterations: 100,\n pixelGroupSize: 2,\n edgeR0: 10,\n edgeR1: 10,\n nodeR0: 5,\n nodeR1: 10,\n morphBuffer: 5,\n threshold: 0.001,\n skip: 16,\n nodeInfluenceFactor: 1,\n edgeInfluenceFactor: 1,\n negativeNodeInfluenceFactor: -0.5,\n};\n/**\n * Marching square algorithm for traching the contour of a pixel group\n * https://www.emanueleferonato.com/2013/03/01/using-marching-squares-algorithm-to-trace-the-contour-of-an-image/\n * @param potentialArea\n * @param threshold\n */\nfunction MarchingSquares(contour, potentialArea, threshold) {\n var marched = false;\n var getVal = function (x, y) {\n return potentialArea.cells[x + y * potentialArea.width];\n };\n var getState = function (x, y) {\n var squareVal = 0;\n if (getVal(x - 1, y - 1) >= threshold) {\n squareVal += 1;\n }\n if (getVal(x, y - 1) > threshold) {\n squareVal += 2;\n }\n if (getVal(x - 1, y) > threshold) {\n squareVal += 4;\n }\n if (getVal(x, y) > threshold) {\n squareVal += 8;\n }\n return squareVal;\n };\n var doMarch = function (xPos, yPos) {\n var x = xPos;\n var y = yPos;\n var prevX;\n var prevY;\n for (var i = 0; i < potentialArea.width * potentialArea.height; i++) {\n prevX = x;\n prevY = y;\n if (contour.findIndex(function (item) { return item.x === x && item.y === y; }) > -1) {\n if (contour[0].x !== x || contour[0].y !== y) {\n // encountered a loop but haven't returned to start: change direction using conditionals and continue back to start\n }\n else {\n return true;\n }\n }\n else {\n contour.push({ x: x, y: y });\n }\n var state = getState(x, y);\n // assign the move direction according to state of the square\n switch (state) {\n case -1:\n console.warn('Marched out of bounds');\n return true;\n case 0:\n case 3:\n case 2:\n case 7:\n x++; // go right\n break;\n case 12:\n case 14:\n case 4:\n x--; // go left\n break;\n case 6: // go left if come from up else go right\n if (prevX === 0) {\n if (prevY === -1) {\n x -= 1;\n }\n else {\n x += 1;\n }\n }\n break;\n case 1:\n case 13:\n case 5:\n y--; // go up\n break;\n case 9: // go up if come from right else go down\n if (prevX === 1) {\n if (prevY === 0) {\n y -= 1;\n }\n else {\n y += 1;\n }\n }\n break;\n case 10:\n case 8:\n case 11:\n y++; // go down\n break;\n default:\n console.warn(\"Marching squares invalid state: \" + state);\n return true;\n }\n }\n };\n this.march = function () {\n for (var x = 0; x < potentialArea.width && !marched; x += 1) {\n for (var y = 0; y < potentialArea.height && !marched; y += 1) {\n if (getVal(x, y) > threshold && getState(x, y) !== 15) {\n marched = doMarch(x, y);\n }\n }\n }\n return marched;\n };\n}\n/**\n * Space partition & assign value to each cell\n * @param points\n */\nvar initGridCells = function (width, height, pixelGroupSize) {\n var scaleWidth = Math.ceil(width / pixelGroupSize);\n var scaleHeight = Math.ceil(height / pixelGroupSize);\n var gridCells = new Float32Array(Math.max(0, scaleWidth * scaleHeight)).fill(0);\n return {\n cells: gridCells,\n width: scaleWidth,\n height: scaleHeight,\n };\n};\n/**\n * Find the optimal already visited member to item;\n Optimal: minimize cost(j) = distance(i,j) ∗ countObstacles(i,j)\n * @param item\n * @param visited\n */\nvar pickBestNeighbor = function (item, visited, nonMembers) {\n var closestNeighbour = null;\n var minCost = Number.POSITIVE_INFINITY;\n visited.forEach(function (neighbourItem) {\n var itemP = { x: item.getModel().x, y: item.getModel().y };\n var neighbourItemP = { x: neighbourItem.getModel().x, y: neighbourItem.getModel().y };\n var dist = squareDist(itemP, neighbourItemP);\n var directLine = new Line(itemP.x, itemP.y, neighbourItemP.x, neighbourItemP.y);\n var numberObstacles = nonMembers.reduce(function (count, _item) {\n if (fractionToLine(_item, directLine) > 0) {\n return count + 1;\n }\n return count;\n }, 0);\n if (dist * Math.pow((numberObstacles + 1), 2) < minCost) {\n closestNeighbour = neighbourItem;\n minCost = dist * Math.pow((numberObstacles + 1), 2);\n }\n });\n return closestNeighbour;\n};\n/**\n * 返回和线相交的item中,离边的起点最近的item\n * @param items\n * @param line\n */\nvar getIntersectItem = function (items, line) {\n var minDistance = Number.POSITIVE_INFINITY;\n var closestItem = null;\n items.forEach(function (item) {\n var distance = fractionToLine(item, line);\n // find closest intersection\n if (distance >= 0 && distance < minDistance) {\n closestItem = item;\n minDistance = distance;\n }\n });\n return closestItem;\n};\n/**\n * Modify the directLine and Route virtual edges around obstacles\n */\nvar computeRoute = function (directLine, nonMembers, maxRoutingIterations, morphBuffer) {\n var checkedLines = [];\n var linesToCheck = [];\n linesToCheck.push(directLine);\n var hasIntersection = true;\n var iterations = 0;\n var pointExists = function (point, lines) {\n var flag = false;\n lines.forEach(function (line) {\n if (flag)\n return;\n if (isPointsOverlap(point, { x: line.x1, y: line.y1 }) ||\n isPointsOverlap(point, { x: line.x2, y: line.y2 })) {\n flag = true;\n }\n });\n return flag;\n };\n var isPointInNonMembers = function (point, _nonMembers) {\n for (var _i = 0, _nonMembers_1 = _nonMembers; _i < _nonMembers_1.length; _i++) {\n var item = _nonMembers_1[_i];\n var bbox = item.getBBox();\n var itemContour = [\n [bbox.x, bbox.y],\n [bbox.x + bbox.width, bbox.y],\n [bbox.x, bbox.y + bbox.height],\n [bbox.x + bbox.width, bbox.y + bbox.height],\n ];\n if (isPointInPolygon(itemContour, point.x, point.y)) {\n return true;\n }\n }\n return false;\n };\n // outer loop end when no more intersections or out of iterations\n while (hasIntersection && iterations < maxRoutingIterations) {\n hasIntersection = false;\n var _loop_1 = function () {\n var line = linesToCheck.pop();\n var closestItem = getIntersectItem(nonMembers, line);\n if (closestItem) {\n var _a = itemIntersectByLine(closestItem, line), intersections_1 = _a[0], countIntersections = _a[1];\n // if line passes through item\n if (countIntersections === 2) {\n var testReroute = function (isFirst) {\n var tempMorphBuffer = morphBuffer;\n var virtualNode = rerouteLine(closestItem, tempMorphBuffer, intersections_1, isFirst);\n // test the virtualNode already exists\n var exist = pointExists(virtualNode, linesToCheck) || pointExists(virtualNode, checkedLines);\n var pointInside = isPointInNonMembers(virtualNode, nonMembers);\n while (!exist && pointInside && tempMorphBuffer >= 1) {\n // try a smaller buffer\n tempMorphBuffer /= 1.5;\n virtualNode = rerouteLine(closestItem, tempMorphBuffer, intersections_1, isFirst);\n exist =\n pointExists(virtualNode, linesToCheck) || pointExists(virtualNode, checkedLines);\n pointInside = isPointInNonMembers(virtualNode, nonMembers);\n }\n // 第二次route时不要求pointInside\n if (virtualNode && !exist && (!isFirst || !pointInside)) {\n // add 2 rerouted lines to check\n linesToCheck.push(new Line(line.x1, line.y1, virtualNode.x, virtualNode.y));\n linesToCheck.push(new Line(virtualNode.x, virtualNode.y, line.x2, line.y2));\n hasIntersection = true;\n }\n };\n testReroute(true);\n if (!hasIntersection) {\n // if we didn't find a valid point around the first corner, try the second\n testReroute(false);\n }\n }\n }\n // no intersection found, mark this line as completed\n if (!hasIntersection) {\n checkedLines.push(line);\n }\n iterations += 1;\n };\n // inner loop end when out of lines or found an intersection\n while (!hasIntersection && linesToCheck.length) {\n _loop_1();\n }\n }\n // 加入剩余的线\n while (linesToCheck.length) {\n checkedLines.push(linesToCheck.pop());\n }\n return checkedLines;\n};\n/**\n * Connect item with visited members using direct line or virtual edges\n */\nfunction getRoute(item, nonMembers, visited, maxRoutingIterations, morphBuffer) {\n var optimalNeighbor = pickBestNeighbor(item, visited, nonMembers);\n if (optimalNeighbor === null) {\n return [];\n }\n // merge the consecutive lines\n var mergeLines = function (checkedLines) {\n var finalRoute = [];\n while (checkedLines.length > 0) {\n var line1 = checkedLines.pop();\n if (checkedLines.length === 0) {\n finalRoute.push(line1);\n break;\n }\n var line2 = checkedLines.pop();\n var mergeLine = new Line(line1.x1, line1.y1, line2.x2, line2.y2);\n var closestItem = getIntersectItem(nonMembers, mergeLine);\n // merge most recent line and previous line\n if (!closestItem) {\n checkedLines.push(mergeLine);\n }\n else {\n finalRoute.push(line1);\n checkedLines.push(line2);\n }\n }\n return finalRoute;\n };\n var directLine = new Line(item.getModel().x, item.getModel().y, optimalNeighbor.getModel().x, optimalNeighbor.getModel().y);\n var checkedLines = computeRoute(directLine, nonMembers, maxRoutingIterations, morphBuffer);\n var finalRoute = mergeLines(checkedLines);\n return finalRoute;\n}\n/**\n * Calculate the countor that includes the selected items and exclues the non-selected items\n * @param graph\n * @param members\n * @param nonMembers\n * @param options\n */\nexport var genBubbleSet = function (members, nonMembers, ops) {\n // eslint-disable-next-line no-redeclare\n var options = Object.assign(defaultOps, ops);\n var centroid = getPointsCenter(members.map(function (item) { return ({ x: item.getModel().x, y: item.getModel().y }); }));\n // 按照到中心距离远近排序\n members = members.sort(function (a, b) {\n return squareDist({ x: a.getModel().x, y: a.getModel().y }, centroid) -\n squareDist({ x: b.getModel().x, y: b.getModel().y }, centroid);\n });\n var visited = [];\n var virtualEdges = [];\n members.forEach(function (item) {\n var lines = getRoute(item, nonMembers, visited, options.maxRoutingIterations, options.morphBuffer);\n lines.forEach(function (l) {\n virtualEdges.push(l);\n });\n visited.push(item);\n });\n // 由于edge也可以作为member和nonMember传入,暂时不考虑把edges作为参数传入genBubbleSet\n // edges && edges.forEach(e => {\n // virtualEdges.push(new Line(e.getSource().getModel().x, e.getSource().getModel().y, e.getTarget().getModel().x, e.getTarget().getModel().y));\n // });\n var activeRegion = getActiveRregion(members, virtualEdges, options.nodeR0);\n var potentialArea = initGridCells(activeRegion.width, activeRegion.height, options.pixelGroupSize);\n // Use march squares to generate contour\n var contour = [];\n var hull = [];\n for (var iterations = 0; iterations < options.maxMarchingIterations; iterations++) {\n fillPotentialArea(members, nonMembers, virtualEdges, activeRegion, potentialArea, options);\n contour = [];\n hull = [];\n if (!new MarchingSquares(contour, potentialArea, options.threshold).march())\n continue;\n var marchedPath = contour.map(function (point) { return ({\n x: Math.round(point.x * options.pixelGroupSize + activeRegion.minX),\n y: Math.round(point.y * options.pixelGroupSize + activeRegion.minY),\n }); });\n // const marchedPath = marchingSquares(potentialArea, options.threshold).map(point => ({ x: Math.round(point.x * options.pixelGroupSize + activeRegion.minX), y: Math.round(point.y * options.pixelGroupSize + activeRegion.minY) }))\n if (marchedPath) {\n var size = marchedPath.length;\n if (options.skip > 1) {\n size = Math.floor(marchedPath.length / options.skip);\n // if we reduced too much (fewer than three points in reduced surface) reduce skip and try again\n while (size < 3 && options.skip > 1) {\n options.skip -= 1;\n size = Math.floor(marchedPath.length / options.skip);\n }\n }\n // copy hull values\n for (var i = 0, j = 0; j < size; j += 1, i += options.skip) {\n hull.push({ x: marchedPath[i].x, y: marchedPath[i].y });\n }\n }\n var isContourValid = function () {\n for (var _i = 0, members_1 = members; _i < members_1.length; _i++) {\n var item = members_1[_i];\n var hullPoints = hull.map(function (point) { return [point.x, point.y]; });\n if (!isPointInPolygon(hullPoints, item.getBBox().centerX, item.getBBox().centerY))\n return false;\n }\n // 不强制要求所有nonMembers都没有包含在内\n // for (const item of nonMembers) {\n // if (isPointInPolygon({ x: item.getBBox().centerX, y: item.getBBox().centerY }, contour)) return false\n // }\n return true;\n };\n if (hull && isContourValid()) {\n return hull;\n }\n // update parameters for next iteraction\n options.threshold *= 0.9;\n if (iterations <= options.maxMarchingIterations * 0.5) {\n options.memberInfluenceFactor *= 1.2;\n options.edgeInfluenceFactor *= 1.2;\n }\n else if (options.nonMemberInfluenceFactor !== 0 && nonMembers.length > 0) {\n // after half the iterations, start increasing positive energy and lowering the threshold\n options.nonMemberInfluenceFactor *= 0.8;\n }\n else {\n break;\n }\n }\n return hull;\n};\n/**\n * unionboundingbox\n * @param members\n * @param edges\n */\nfunction getActiveRregion(members, edges, offset) {\n var activeRegion = {\n minX: Number.POSITIVE_INFINITY,\n minY: Number.POSITIVE_INFINITY,\n maxX: Number.NEGATIVE_INFINITY,\n maxY: Number.NEGATIVE_INFINITY,\n width: 0,\n height: 0,\n x: 0,\n y: 0,\n };\n var bboxes = [];\n members.forEach(function (item) {\n bboxes.push(item.getBBox());\n });\n edges.forEach(function (l) {\n bboxes.push(l.getBBox());\n });\n for (var _i = 0, bboxes_1 = bboxes; _i < bboxes_1.length; _i++) {\n var bbox = bboxes_1[_i];\n activeRegion.minX = (bbox.minX < activeRegion.minX ? bbox.minX : activeRegion.minX) - offset;\n activeRegion.minY = (bbox.minY < activeRegion.minY ? bbox.minY : activeRegion.minY) - offset;\n activeRegion.maxX = (bbox.maxX > activeRegion.maxX ? bbox.maxX : activeRegion.maxX) + offset;\n activeRegion.maxY = (bbox.maxY > activeRegion.maxY ? bbox.maxY : activeRegion.maxY) + offset;\n }\n activeRegion.width = activeRegion.maxX - activeRegion.minX;\n activeRegion.height = activeRegion.maxY - activeRegion.minY;\n activeRegion.x = activeRegion.minX;\n activeRegion.y = activeRegion.minY;\n return activeRegion;\n}\nfunction fillPotentialArea(members, nonMembers, edges, activeRegion, potentialArea, options) {\n function pos2GridIx(x, offset) {\n var gridIx = Math.floor((x - offset) / options.pixelGroupSize);\n return gridIx < 0 ? 0 : gridIx;\n }\n function gridIx2Pos(x, offset) {\n return x * options.pixelGroupSize + offset;\n }\n // using inverse a for numerical stability\n var nodeInfA = (options.nodeR0 - options.nodeR1) * (options.nodeR0 - options.nodeR1);\n var edgeInfA = (options.edgeR0 - options.edgeR1) * (options.edgeR0 - options.edgeR1);\n var getAffectedRegion = function (bbox, thresholdR) {\n var startX = Math.min(pos2GridIx(bbox.minX, thresholdR + activeRegion.minX), potentialArea.width);\n var startY = Math.min(pos2GridIx(bbox.minY, thresholdR + activeRegion.minY), potentialArea.height);\n var endX = Math.min(pos2GridIx(bbox.maxX, -thresholdR + activeRegion.minX), potentialArea.width);\n var endY = Math.min(pos2GridIx(bbox.maxY, -thresholdR + activeRegion.minY), potentialArea.height);\n return [startX, startY, endX, endY];\n };\n var addItemInfluence = function (item, influenceFactor) {\n var bbox = item.getBBox();\n var _a = getAffectedRegion(bbox, options.nodeR1), startX = _a[0], startY = _a[1], endX = _a[2], endY = _a[3];\n // calculate item influence for each cell\n for (var y = startY; y < endY; y += 1) {\n for (var x = startX; x < endX; x += 1) {\n if (influenceFactor < 0 && potentialArea[x + y * potentialArea.width] <= 0) {\n continue;\n }\n var tempX = gridIx2Pos(x, activeRegion.minX);\n var tempY = gridIx2Pos(y, activeRegion.minY);\n var distanceSq = pointRectSquareDist({ x: tempX, y: tempY }, { x: bbox.minX, y: bbox.minY, width: bbox.width, height: bbox.height });\n if (distanceSq < Math.pow(options.nodeR1, 2)) {\n var dr = Math.sqrt(distanceSq) - options.nodeR1;\n potentialArea.cells[x + y * potentialArea.width] += influenceFactor * dr * dr;\n }\n }\n }\n };\n var addEdgeInfluence = function (line, influenceFactor) {\n var bbox = line.getBBox();\n var _a = getAffectedRegion(bbox, options.edgeR1), startX = _a[0], startY = _a[1], endX = _a[2], endY = _a[3];\n // for every point in active part of potentialArea, calculate distance to nearest point on line and add influence\n for (var y = startY; y < endY; y += 1) {\n for (var x = startX; x < endX; x += 1) {\n if (influenceFactor < 0 && potentialArea.cells[x + y * potentialArea.width] <= 0) {\n continue;\n }\n var tempX = gridIx2Pos(x, activeRegion.minX);\n var tempY = gridIx2Pos(y, activeRegion.minY);\n var minDistanceSq = pointLineSquareDist({ x: tempX, y: tempY }, line);\n // only influence if less than r1\n if (minDistanceSq < Math.pow(options.edgeR1, 2)) {\n var mdr = Math.sqrt(minDistanceSq) - options.edgeR1;\n potentialArea.cells[x + y * potentialArea.width] += influenceFactor * mdr * mdr;\n }\n }\n }\n };\n if (options.nodeInfluenceFactor) {\n members.forEach(function (item) {\n addItemInfluence(item, options.nodeInfluenceFactor / nodeInfA);\n });\n }\n if (options.edgeInfluenceFactor) {\n edges.forEach(function (edge) {\n addEdgeInfluence(edge, options.edgeInfluenceFactor / edgeInfA);\n });\n }\n if (options.negativeNodeInfluenceFactor) {\n nonMembers.forEach(function (item) {\n addItemInfluence(item, options.negativeNodeInfluenceFactor / nodeInfA);\n });\n }\n}\nfunction rerouteLine(item, buffer, intersections, wrapNormal) {\n var bbox = item.getBBox();\n var topIntersect = intersections[0], leftIntersect = intersections[1], bottomIntersect = intersections[2], rightIntersect = intersections[3];\n var cornerPos = {\n topLeft: { x: bbox.minX - buffer, y: bbox.minY - buffer },\n topRight: { x: bbox.maxX + buffer, y: bbox.minY - buffer },\n bottomLeft: { x: bbox.minX - buffer, y: bbox.maxY + buffer },\n bottomRight: { x: bbox.maxX + buffer, y: bbox.maxY + buffer },\n };\n var totalArea = bbox.height * bbox.width;\n function calcHalfArea(intersect1, intersect2) {\n return bbox.width * ((intersect1.y - bbox.minY + (intersect2.y - bbox.minY)) * 0.5);\n }\n // 根据线和boundingbox相交的情况,确定control point的位置\n if (leftIntersect) {\n // 相交区域有三角形\n if (topIntersect)\n return wrapNormal ? cornerPos.topLeft : cornerPos.bottomRight;\n if (bottomIntersect)\n return wrapNormal ? cornerPos.bottomLeft : cornerPos.topRight;\n // 相交区域分成上下两个梯形,比较面积\n var topArea = calcHalfArea(leftIntersect, rightIntersect);\n if (topArea < totalArea * 0.5) {\n if (leftIntersect.y > rightIntersect.y)\n return wrapNormal ? cornerPos.topLeft : cornerPos.bottomRight;\n return wrapNormal ? cornerPos.topRight : cornerPos.bottomLeft;\n }\n if (leftIntersect.y < rightIntersect.y)\n return wrapNormal ? cornerPos.bottomLeft : cornerPos.topRight;\n return wrapNormal ? cornerPos.bottomRight : cornerPos.topLeft;\n }\n if (rightIntersect) {\n if (topIntersect)\n return wrapNormal ? cornerPos.topRight : cornerPos.bottomLeft;\n if (bottomIntersect)\n return wrapNormal ? cornerPos.bottomRight : cornerPos.topLeft;\n }\n // 相交区域分成左右两个梯形\n var leftArea = calcHalfArea(topIntersect, bottomIntersect);\n if (leftArea < totalArea * 0.5) {\n if (topIntersect.x > bottomIntersect.x)\n return wrapNormal ? cornerPos.topLeft : cornerPos.bottomRight;\n return wrapNormal ? cornerPos.bottomLeft : cornerPos.topRight;\n }\n if (topIntersect.x < bottomIntersect.x)\n return wrapNormal ? cornerPos.topRight : cornerPos.bottomLeft;\n return wrapNormal ? cornerPos.bottomRight : cornerPos.topLeft;\n}\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "index": 127, "index2": 132, "size": 512, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "issuerId": null, "issuerName": "./src/graph/controller/view.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } } ], "profile": { "factory": 1601, "building": 800 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "module": "./src/graph/controller/view.ts", "moduleName": "./src/graph/controller/view.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/dom-util", "loc": "3:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "module": "./src/graph/controller/view.ts", "moduleName": "./src/graph/controller/view.ts", "type": "harmony import specifier", "userRequest": "@antv/dom-util", "loc": "180:16-25" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "module": "./src/graph/controller/view.ts", "moduleName": "./src/graph/controller/view.ts", "type": "harmony import specifier", "userRequest": "@antv/dom-util", "loc": "184:16-25" } ], "usedExports": ["modifyCSS"], "providedExports": [ "addEventListener", "createDom", "getHeight", "getOuterHeight", "getOuterWidth", "getRatio", "getStyle", "getWidth", "modifyCSS" ], "optimizationBailout": [], "depth": 4, "source": "// dom\nexport { default as addEventListener } from './add-event-listener';\nexport { default as createDom } from './create-dom';\nexport { default as getHeight } from './get-height';\nexport { default as getOuterHeight } from './get-outer-height';\nexport { default as getOuterWidth } from './get-outer-width';\nexport { default as getRatio } from './get-ratio';\nexport { default as getStyle } from './get-style';\nexport { default as getWidth } from './get-width';\nexport { default as modifyCSS } from './modify-css';" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/edge.ts", "name": "./src/item/edge.ts", "index": 203, "index2": 204, "size": 8268, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "issuerId": null, "issuerName": "./src/graph/controller/item.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "name": "./src/graph/controller/item.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } } ], "profile": { "factory": 114, "building": 512, "dependencies": 768 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "module": "./src/graph/controller/item.ts", "moduleName": "./src/graph/controller/item.ts", "type": "harmony side effect evaluation", "userRequest": "../../item/edge", "loc": "3:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "module": "./src/graph/controller/item.ts", "moduleName": "./src/graph/controller/item.ts", "type": "harmony import specifier", "userRequest": "../../item/edge", "loc": "90:23-27" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import { __extends } from \"tslib\";\nimport { isString, isPlainObject, isNil, mix } from '@antv/util';\nimport Item from './item';\nvar END_MAP = { source: 'start', target: 'end' };\nvar ITEM_NAME_SUFFIX = 'Node'; // 端点的后缀,如 sourceNode, targetNode\nvar POINT_NAME_SUFFIX = 'Point'; // 起点或者结束点的后缀,如 startPoint, endPoint\nvar ANCHOR_NAME_SUFFIX = 'Anchor';\nvar Edge = /** @class */ (function (_super) {\n __extends(Edge, _super);\n function Edge() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Edge.prototype.getDefaultCfg = function () {\n return {\n type: 'edge',\n sourceNode: null,\n targetNode: null,\n startPoint: null,\n endPoint: null,\n linkCenter: false,\n };\n };\n Edge.prototype.setEnd = function (name, value) {\n var pointName = END_MAP[name] + POINT_NAME_SUFFIX;\n var itemName = name + ITEM_NAME_SUFFIX;\n var preItem = this.get(itemName);\n if (preItem && !preItem.destroyed) {\n // 如果之前存在节点,则移除掉边\n preItem.removeEdge(this);\n }\n if (isPlainObject(value)) {\n // 如果设置成具体的点,则清理节点\n this.set(pointName, value);\n this.set(itemName, null);\n }\n else {\n value.addEdge(this);\n this.set(itemName, value);\n this.set(pointName, null);\n }\n };\n /**\n * 获取连接点的坐标\n * @param name source | target\n * @param model 边的数据模型\n * @param controlPoints 控制点\n */\n Edge.prototype.getLinkPoint = function (name, model, controlPoints) {\n var pointName = END_MAP[name] + POINT_NAME_SUFFIX;\n var itemName = name + ITEM_NAME_SUFFIX;\n var point = this.get(pointName);\n if (!point) {\n var item = this.get(itemName);\n var anchorName = name + ANCHOR_NAME_SUFFIX;\n var prePoint = this.getPrePoint(name, controlPoints);\n var anchorIndex = model[anchorName];\n if (!isNil(anchorIndex)) {\n // 如果有锚点,则使用锚点索引获取连接点\n point = item.getLinkPointByAnchor(anchorIndex);\n }\n // 如果锚点没有对应的点或者没有锚点,则直接计算连接点\n point = point || item.getLinkPoint(prePoint);\n if (!isNil(point.index)) {\n this.set(name + \"AnchorIndex\", point.index);\n }\n }\n return point;\n };\n /**\n * 获取同端点进行连接的点,计算交汇点\n * @param name\n * @param controlPoints\n */\n Edge.prototype.getPrePoint = function (name, controlPoints) {\n if (controlPoints && controlPoints.length) {\n var index = name === 'source' ? 0 : controlPoints.length - 1;\n return controlPoints[index];\n }\n var oppositeName = name === 'source' ? 'target' : 'source'; // 取另一个节点的位置\n return this.getEndPoint(oppositeName);\n };\n /**\n * 获取端点的位置\n * @param name\n */\n Edge.prototype.getEndPoint = function (name) {\n var itemName = name + ITEM_NAME_SUFFIX;\n var pointName = END_MAP[name] + POINT_NAME_SUFFIX;\n var item = this.get(itemName);\n // 如果有端点,直接使用 model\n if (item) {\n return item.get('model');\n } // 否则直接使用点\n return this.get(pointName);\n };\n /**\n * 通过端点的中心获取控制点\n * @param model\n */\n Edge.prototype.getControlPointsByCenter = function (model) {\n var sourcePoint = this.getEndPoint('source');\n var targetPoint = this.getEndPoint('target');\n var shapeFactory = this.get('shapeFactory');\n var type = model.type;\n return shapeFactory.getControlPoints(type, {\n startPoint: sourcePoint,\n endPoint: targetPoint,\n });\n };\n Edge.prototype.getEndCenter = function (name) {\n var itemName = name + ITEM_NAME_SUFFIX;\n var pointName = END_MAP[name] + POINT_NAME_SUFFIX;\n var item = this.get(itemName);\n // 如果有端点,直接使用 model\n if (item) {\n var bbox = item.getBBox();\n return {\n x: bbox.centerX,\n y: bbox.centerY,\n };\n } // 否则直接使用点\n return this.get(pointName);\n };\n Edge.prototype.init = function () {\n _super.prototype.init.call(this);\n // 初始化两个端点\n this.setSource(this.get('source'));\n this.setTarget(this.get('target'));\n };\n Edge.prototype.getShapeCfg = function (model) {\n var self = this;\n var linkCenter = self.get('linkCenter'); // 如果连接到中心,忽视锚点、忽视控制点\n var cfg = _super.prototype.getShapeCfg.call(this, model);\n if (linkCenter) {\n cfg.startPoint = self.getEndCenter('source');\n cfg.endPoint = self.getEndCenter('target');\n }\n else {\n var controlPoints = cfg.controlPoints || self.getControlPointsByCenter(cfg);\n cfg.startPoint = self.getLinkPoint('source', model, controlPoints);\n cfg.endPoint = self.getLinkPoint('target', model, controlPoints);\n }\n cfg.sourceNode = self.get('sourceNode');\n cfg.targetNode = self.get('targetNode');\n return cfg;\n };\n /**\n * 获取边的数据模型\n */\n Edge.prototype.getModel = function () {\n var out = this.get('model');\n var sourceItem = this.get(\"source\" + ITEM_NAME_SUFFIX);\n var targetItem = this.get(\"target\" + ITEM_NAME_SUFFIX);\n if (sourceItem) {\n delete out[\"source\" + ITEM_NAME_SUFFIX];\n }\n else {\n out.source = this.get(\"start\" + POINT_NAME_SUFFIX);\n }\n if (targetItem) {\n delete out[\"target\" + ITEM_NAME_SUFFIX];\n }\n else {\n out.target = this.get(\"end\" + POINT_NAME_SUFFIX);\n }\n if (!isString(out.source) && !isPlainObject(out.source)) {\n out.source = out.source.getID();\n }\n if (!isString(out.target) && !isPlainObject(out.target)) {\n out.target = out.target.getID();\n }\n return out;\n };\n Edge.prototype.setSource = function (source) {\n this.setEnd('source', source);\n this.set('source', source);\n };\n Edge.prototype.setTarget = function (target) {\n this.setEnd('target', target);\n this.set('target', target);\n };\n Edge.prototype.getSource = function () {\n return this.get('source');\n };\n Edge.prototype.getTarget = function () {\n return this.get('target');\n };\n Edge.prototype.updatePosition = function () { };\n /**\n * 边不需要重计算容器位置,直接重新计算 path 位置\n * @param {object} cfg 待更新数据\n */\n Edge.prototype.update = function (cfg, onlyMove) {\n if (onlyMove === void 0) { onlyMove = false; }\n var model = this.get('model');\n var oriVisible = model.visible;\n var cfgVisible = cfg.visible;\n if (oriVisible !== cfgVisible && cfgVisible !== undefined)\n this.changeVisibility(cfgVisible);\n var styles = this.get('styles');\n if (cfg.stateStyles) {\n // 更新 item 时更新 this.get('styles') 中的值\n var stateStyles = cfg.stateStyles;\n mix(styles, stateStyles);\n delete cfg.stateStyles;\n }\n Object.assign(model, cfg);\n this.updateShape();\n this.afterUpdate();\n this.clearCache();\n };\n Edge.prototype.destroy = function () {\n var sourceItem = this.get(\"source\" + ITEM_NAME_SUFFIX);\n var targetItem = this.get(\"target\" + ITEM_NAME_SUFFIX);\n if (sourceItem && !sourceItem.destroyed) {\n sourceItem.removeEdge(this);\n }\n if (targetItem && !targetItem.destroyed) {\n targetItem.removeEdge(this);\n }\n _super.prototype.destroy.call(this);\n };\n return Edge;\n}(Item));\nexport default Edge;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/node.ts", "name": "./src/item/node.ts", "index": 209, "index2": 205, "size": 7548, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "issuerId": null, "issuerName": "./src/graph/controller/item.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "name": "./src/graph/controller/item.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } } ], "profile": { "factory": 114, "building": 512, "dependencies": 768 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/combo.ts", "module": "./src/item/combo.ts", "moduleName": "./src/item/combo.ts", "type": "harmony side effect evaluation", "userRequest": "./node", "loc": "2:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "module": "./src/graph/controller/item.ts", "moduleName": "./src/graph/controller/item.ts", "type": "harmony side effect evaluation", "userRequest": "../../item/node", "loc": "4:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "module": "./src/graph/controller/item.ts", "moduleName": "./src/graph/controller/item.ts", "type": "harmony import specifier", "userRequest": "../../item/node", "loc": "100:23-27" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/combo.ts", "module": "./src/item/combo.ts", "moduleName": "./src/item/combo.ts", "type": "harmony import specifier", "userRequest": "./node", "loc": "238:2-6" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import { __extends } from \"tslib\";\nimport { each, isNil, mix } from '@antv/util';\nimport { distance, getCircleIntersectByPoint, getEllipseIntersectByPoint, getRectIntersectByPoint, } from '../util/math';\nimport Item from './item';\nvar CACHE_ANCHOR_POINTS = 'anchorPointsCache';\nvar CACHE_BBOX = 'bboxCache';\nvar Node = /** @class */ (function (_super) {\n __extends(Node, _super);\n function Node() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Node.prototype.getNearestPoint = function (points, curPoint) {\n var index = 0;\n var nearestPoint = points[0];\n var minDistance = distance(points[0], curPoint);\n for (var i = 0; i < points.length; i++) {\n var point = points[i];\n var dis = distance(point, curPoint);\n if (dis < minDistance) {\n nearestPoint = point;\n minDistance = dis;\n index = i;\n }\n }\n nearestPoint.anchorIndex = index;\n return nearestPoint;\n };\n Node.prototype.getDefaultCfg = function () {\n return {\n type: 'node',\n edges: [],\n };\n };\n /**\n * 获取从节点关联的所有边\n */\n Node.prototype.getEdges = function () {\n return this.get('edges');\n };\n /**\n * 获取所有的入边\n */\n Node.prototype.getInEdges = function () {\n var self = this;\n return this.get('edges').filter(function (edge) { return edge.get('target') === self; });\n };\n /**\n * 获取所有的出边\n */\n Node.prototype.getOutEdges = function () {\n var self = this;\n return this.get('edges').filter(function (edge) { return edge.get('source') === self; });\n };\n /**\n * 获取节点的邻居节点\n *\n * @returns {INode[]}\n * @memberof Node\n */\n Node.prototype.getNeighbors = function (type) {\n var _this = this;\n var edges = this.get('edges');\n if (type === 'target') {\n // 当前节点为 source,它所指向的目标节点\n var neighhborsConverter_1 = function (edge) {\n return edge.getSource() === _this;\n };\n return edges.filter(neighhborsConverter_1).map(function (edge) { return edge.getTarget(); });\n }\n if (type === 'source') {\n // 当前节点为 target,它所指向的源节点\n var neighhborsConverter_2 = function (edge) {\n return edge.getTarget() === _this;\n };\n return edges.filter(neighhborsConverter_2).map(function (edge) { return edge.getSource(); });\n }\n // 若未指定 type ,则返回所有邻居\n var neighhborsConverter = function (edge) {\n return edge.getSource() === _this ? edge.getTarget() : edge.getSource();\n };\n return edges.map(neighhborsConverter);\n };\n /**\n * 根据锚点的索引获取连接点\n * @param {Number} index 索引\n */\n Node.prototype.getLinkPointByAnchor = function (index) {\n var anchorPoints = this.getAnchorPoints();\n return anchorPoints[index];\n };\n /**\n * 获取连接点\n * @param point\n */\n Node.prototype.getLinkPoint = function (point) {\n var keyShape = this.get('keyShape');\n var type = keyShape.get('type');\n var itemType = this.get('type');\n var centerX;\n var centerY;\n var bbox = this.getBBox();\n if (itemType === 'combo') {\n centerX = (bbox.maxX + bbox.minX) / 2;\n centerY = (bbox.maxY + bbox.minY) / 2;\n }\n else {\n centerX = bbox.centerX;\n centerY = bbox.centerY;\n }\n var anchorPoints = this.getAnchorPoints();\n var intersectPoint;\n switch (type) {\n case 'circle':\n intersectPoint = getCircleIntersectByPoint({\n x: centerX,\n y: centerY,\n r: bbox.width / 2,\n }, point);\n break;\n case 'ellipse':\n intersectPoint = getEllipseIntersectByPoint({\n x: centerX,\n y: centerY,\n rx: bbox.width / 2,\n ry: bbox.height / 2,\n }, point);\n break;\n default:\n intersectPoint = getRectIntersectByPoint(bbox, point);\n }\n var linkPoint = intersectPoint;\n // 如果存在锚点,则使用交点计算最近的锚点\n if (anchorPoints.length) {\n if (!linkPoint) {\n // 如果计算不出交点\n linkPoint = point;\n }\n linkPoint = this.getNearestPoint(anchorPoints, linkPoint);\n }\n if (!linkPoint) {\n // 如果最终依然没法找到锚点和连接点,直接返回中心点\n linkPoint = { x: centerX, y: centerY };\n }\n return linkPoint;\n };\n /**\n * 获取锚点的定义\n * @return {array} anchorPoints\n */\n Node.prototype.getAnchorPoints = function () {\n var anchorPoints = this.get(CACHE_ANCHOR_POINTS);\n if (!anchorPoints) {\n anchorPoints = [];\n var shapeFactory = this.get('shapeFactory');\n var bbox_1 = this.getBBox();\n var model = this.get('model');\n var shapeCfg = this.getShapeCfg(model);\n var type = model.type;\n var points = shapeFactory.getAnchorPoints(type, shapeCfg) || [];\n each(points, function (pointArr, index) {\n var point = mix({\n x: bbox_1.minX + pointArr[0] * bbox_1.width,\n y: bbox_1.minY + pointArr[1] * bbox_1.height,\n }, pointArr[2], {\n index: index,\n });\n anchorPoints.push(point);\n });\n this.set(CACHE_ANCHOR_POINTS, anchorPoints);\n }\n return anchorPoints;\n };\n /**\n * add edge\n * @param edge Edge instance\n */\n Node.prototype.addEdge = function (edge) {\n this.get('edges').push(edge);\n };\n /**\n * 锁定节点\n */\n Node.prototype.lock = function () {\n this.set('locked', true);\n };\n /**\n * 解锁锁定的节点\n */\n Node.prototype.unlock = function () {\n this.set('locked', false);\n };\n Node.prototype.hasLocked = function () {\n return this.get('locked');\n };\n /**\n * 移除边\n * @param {Edge} edge 边\n */\n Node.prototype.removeEdge = function (edge) {\n var edges = this.getEdges();\n var index = edges.indexOf(edge);\n if (index > -1) {\n edges.splice(index, 1);\n }\n };\n Node.prototype.clearCache = function () {\n this.set(CACHE_BBOX, null); // 清理缓存的 bbox\n this.set(CACHE_ANCHOR_POINTS, null);\n };\n /**\n * 是否仅仅移动节点,其他属性没变化\n * @param cfg 节点数据模型\n */\n Node.prototype.isOnlyMove = function (cfg) {\n if (!cfg) {\n return false;\n }\n var existX = !isNil(cfg.x);\n var existY = !isNil(cfg.y);\n var keys = Object.keys(cfg);\n // 仅有一个字段,包含 x 或者 包含 y\n // 两个字段,同时有 x,同时有 y\n return (keys.length === 1 && (existX || existY)) || (keys.length === 2 && existX && existY);\n };\n return Node;\n}(Item));\nexport default Node;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/combo.ts", "name": "./src/item/combo.ts", "index": 210, "index2": 206, "size": 7858, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "issuerId": null, "issuerName": "./src/graph/controller/item.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "name": "./src/graph/controller/item.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } } ], "profile": { "factory": 114, "building": 512, "dependencies": 768 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "module": "./src/graph/controller/item.ts", "moduleName": "./src/graph/controller/item.ts", "type": "harmony side effect evaluation", "userRequest": "../../item/combo", "loc": "5:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "module": "./src/graph/controller/item.ts", "moduleName": "./src/graph/controller/item.ts", "type": "harmony import specifier", "userRequest": "../../item/combo", "loc": "113:23-28" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import { __assign, __extends } from \"tslib\";\nimport Node from './node';\nimport Global from '../global';\nimport { getBBox } from '../util/graphic';\nimport { isNumber } from '@antv/util';\nvar CACHE_BBOX = 'bboxCache';\nvar CACHE_CANVAS_BBOX = 'bboxCanvasCache';\nvar CACHE_SIZE = 'sizeCache';\nvar CACHE_ANCHOR_POINTS = 'anchorPointsCache';\nvar Combo = /** @class */ (function (_super) {\n __extends(Combo, _super);\n function Combo() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Combo.prototype.getDefaultCfg = function () {\n return {\n type: 'combo',\n nodes: [],\n edges: [],\n combos: [],\n };\n };\n Combo.prototype.getShapeCfg = function (model) {\n var styles = this.get('styles');\n var bbox = this.get('bbox');\n if (styles && bbox) {\n // merge graph的item样式与数据模型中的样式\n var newModel = model;\n var size = {\n r: Math.hypot(bbox.height, bbox.width) / 2 || Global.defaultCombo.size[0] / 2,\n width: bbox.width || Global.defaultCombo.size[0],\n height: bbox.height || Global.defaultCombo.size[1],\n };\n newModel.style = __assign(__assign(__assign({}, styles), model.style), size);\n var padding = model.padding || Global.defaultCombo.padding;\n if (isNumber(padding)) {\n size.r += padding;\n size.width += padding * 2;\n size.height += padding * 2;\n }\n else {\n size.r += padding[0];\n size.width += padding[1] + padding[3] || padding[1] * 2;\n size.height += padding[0] + padding[2] || padding[0] * 2;\n }\n this.set(CACHE_SIZE, size);\n return newModel;\n }\n return model;\n };\n /**\n * 根据 keyshape 计算包围盒\n */\n Combo.prototype.calculateCanvasBBox = function () {\n var keyShape = this.get('keyShape');\n var group = this.get('group');\n // 因为 group 可能会移动,所以必须通过父元素计算才能计算出正确的包围盒\n var bbox = getBBox(keyShape, group);\n bbox.x = bbox.minX;\n bbox.y = bbox.minY;\n bbox.centerX = (bbox.minX + bbox.maxX) / 2;\n bbox.centerY = (bbox.minY + bbox.maxY) / 2;\n var cacheSize = this.get(CACHE_SIZE);\n if (cacheSize) {\n var type = keyShape.get('type');\n if (type === 'circle') {\n bbox.width = cacheSize.r * 2;\n bbox.height = cacheSize.r * 2;\n }\n else {\n bbox.width = cacheSize.width;\n bbox.height = cacheSize.height;\n }\n bbox.minX = bbox.centerX - bbox.width / 2;\n bbox.minY = bbox.centerY - bbox.height / 2;\n bbox.maxX = bbox.centerX + bbox.width / 2;\n bbox.maxY = bbox.centerY + bbox.height / 2;\n }\n else {\n bbox.width = bbox.maxX - bbox.minX;\n bbox.height = bbox.maxY - bbox.minY;\n bbox.centerX = (bbox.minX + bbox.maxX) / 2;\n bbox.centerY = (bbox.minY + bbox.maxY) / 2;\n }\n return bbox;\n };\n /**\n * 获取 Combo 中所有的子元素,包括 Combo、Node 及 Edge\n */\n Combo.prototype.getChildren = function () {\n var self = this;\n return {\n nodes: self.getNodes(),\n combos: self.getCombos(),\n };\n };\n /**\n * 获取 Combo 中所有子节点\n */\n Combo.prototype.getNodes = function () {\n var self = this;\n return self.get('nodes');\n };\n /**\n * 获取 Combo 中所有子 combo\n */\n Combo.prototype.getCombos = function () {\n var self = this;\n return self.get('combos');\n };\n /**\n * 向 Combo 中增加子 combo 或 node\n * @param item Combo 或节点实例\n * @return boolean 添加成功返回 true,否则返回 false\n */\n Combo.prototype.addChild = function (item) {\n var self = this;\n var itemType = item.getType();\n switch (itemType) {\n case 'node':\n self.addNode(item);\n break;\n case 'combo':\n self.addCombo(item);\n break;\n default:\n console.warn('Only node or combo items are allowed to be added into a combo');\n return false;\n }\n return true;\n };\n /**\n * 向 Combo 中增加 combo\n * @param combo Combo 实例\n * @return boolean 添加成功返回 true,否则返回 false\n */\n Combo.prototype.addCombo = function (combo) {\n var self = this;\n self.get('combos').push(combo);\n return true;\n };\n /**\n * 向 Combo 中添加节点\n * @param node 节点实例\n * @return boolean 添加成功返回 true,否则返回 false\n */\n Combo.prototype.addNode = function (node) {\n var self = this;\n self.get('nodes').push(node);\n return true;\n };\n /**\n * 向 Combo 中增加子 combo 或 node\n * @param item Combo 或节点实例\n * @return boolean 添加成功返回 true,否则返回 false\n */\n Combo.prototype.removeChild = function (item) {\n var self = this;\n var itemType = item.getType();\n switch (itemType) {\n case 'node':\n self.removeNode(item);\n break;\n case 'combo':\n self.removeCombo(item);\n break;\n default:\n console.warn('Only node or combo items are allowed to be added into a combo');\n return false;\n }\n return true;\n };\n /**\n * 从 Combo 中移除指定的 combo\n * @param combo Combo 实例\n * @return boolean 移除成功返回 true,否则返回 false\n */\n Combo.prototype.removeCombo = function (combo) {\n if (!combo)\n return;\n var combos = this.getCombos();\n var index = combos.indexOf(combo);\n if (index > -1) {\n combos.splice(index, 1);\n return true;\n }\n return false;\n };\n /**\n * 向 Combo 中移除指定的节点\n * @param node 节点实例\n * @return boolean 移除成功返回 true,否则返回 false\n */\n Combo.prototype.removeNode = function (node) {\n if (!node)\n return;\n var nodes = this.getNodes();\n var index = nodes.indexOf(node);\n if (index > -1) {\n nodes.splice(index, 1);\n return true;\n }\n return false;\n };\n Combo.prototype.isOnlyMove = function (cfg) {\n return false;\n };\n /**\n * 获取 item 的包围盒,这个包围盒是相对于 item 自己,不会将 matrix 计算在内\n * @return {Object} 包含 x,y,width,height, centerX, centerY\n */\n Combo.prototype.getBBox = function () {\n this.set(CACHE_CANVAS_BBOX, null);\n var bbox = this.calculateCanvasBBox();\n return bbox;\n };\n Combo.prototype.clearCache = function () {\n this.set(CACHE_BBOX, null); // 清理缓存的 bbox\n this.set(CACHE_CANVAS_BBOX, null);\n this.set(CACHE_ANCHOR_POINTS, null);\n };\n Combo.prototype.destroy = function () {\n if (!this.destroyed) {\n var animate = this.get('animate');\n var group = this.get('group');\n if (animate) {\n group.stopAnimate();\n }\n this.clearCache();\n this.set(CACHE_SIZE, null);\n this.set('bbox', null);\n group.remove();\n this._cfg = null;\n this.destroyed = true;\n }\n };\n return Combo;\n}(Node));\nexport default Combo;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/add-event-listener.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/add-event-listener.js", "index": 128, "index2": 123, "size": 650, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "profile": { "factory": 1601, "building": 800 } } ], "profile": { "factory": 443, "building": 527, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./add-event-listener", "loc": "2:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./add-event-listener", "loc": "2:0-67" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 5, "source": "export default function addEventListener(target, eventType, callback) {\n if (target) {\n if (typeof target.addEventListener === 'function') {\n target.addEventListener(eventType, callback, false);\n return {\n remove: function remove() {\n target.removeEventListener(eventType, callback, false);\n }\n }; // @ts-ignore\n }\n\n if (typeof target.attachEvent === 'function') {\n // @ts-ignore\n target.attachEvent('on' + eventType, callback);\n return {\n remove: function remove() {\n // @ts-ignore\n target.detachEvent('on' + eventType, callback);\n }\n };\n }\n }\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/create-dom.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/create-dom.js", "index": 129, "index2": 124, "size": 900, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "profile": { "factory": 1601, "building": 800 } } ], "profile": { "factory": 443, "building": 527, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./create-dom", "loc": "3:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./create-dom", "loc": "3:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 5, "source": "/**\n * 创建DOM 节点\n * @param {String} str Dom 字符串\n * @return {HTMLElement} DOM 节点\n */\nvar TABLE;\nvar TABLE_TR;\nvar FRAGMENT_REG;\nvar CONTAINERS;\n\nfunction initConstants() {\n TABLE = document.createElement('table');\n TABLE_TR = document.createElement('tr');\n FRAGMENT_REG = /^\\s*<(\\w+|!)[^>]*>/;\n CONTAINERS = {\n tr: document.createElement('tbody'),\n tbody: TABLE,\n thead: TABLE,\n tfoot: TABLE,\n td: TABLE_TR,\n th: TABLE_TR,\n '*': document.createElement('div')\n };\n}\n\nexport default function createDom(str) {\n if (!TABLE) {\n initConstants();\n }\n\n var name = FRAGMENT_REG.test(str) && RegExp.$1;\n\n if (!name || !(name in CONTAINERS)) {\n name = '*';\n }\n\n var container = CONTAINERS[name];\n str = str.replace(/(^\\s*)|(\\s*$)/g, '');\n container.innerHTML = '' + str;\n var dom = container.childNodes[0];\n container.removeChild(dom);\n return dom;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-style.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-style.js", "index": 131, "index2": 125, "size": 533, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "profile": { "factory": 1601, "building": 800 } } ], "profile": { "factory": 443, "building": 527, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "type": "harmony side effect evaluation", "userRequest": "./get-style", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-width.js", "type": "harmony side effect evaluation", "userRequest": "./get-style", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-height.js", "type": "harmony side effect evaluation", "userRequest": "./get-style", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "type": "harmony side effect evaluation", "userRequest": "./get-style", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-width.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "3:14-22" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-height.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "3:15-23" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "5:24-32" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "5:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "6:24-32" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "6:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "7:26-34" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "7:27-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-style", "loc": "8:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-style", "loc": "8:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "8:26-34" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "8:27-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "9:24-32" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "9:26-34" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "10:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "10:27-35" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 5, "source": "/**\n * 获取样式\n * @param {Object} dom DOM节点\n * @param {String} name 样式名\n * @param {Any} defaultValue 默认值\n * @return {String} 属性值\n */\nexport default function getStyle(dom, name, defaultValue) {\n var v;\n\n try {\n v = window.getComputedStyle ? window.getComputedStyle(dom, null)[name] : dom.style[name]; // 一般不会走到这个逻辑,dom.style 获取的是标签 style 属性,也不准确\n } catch (e) {// do nothing\n } finally {\n v = v === undefined ? defaultValue : v;\n }\n\n return v;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-height.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-height.js", "index": 130, "index2": 126, "size": 236, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "profile": { "factory": 1601, "building": 800 } } ], "profile": { "factory": 443, "building": 527, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "type": "harmony side effect evaluation", "userRequest": "./get-height", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-height", "loc": "4:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-height", "loc": "4:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "type": "harmony import specifier", "userRequest": "./get-height", "loc": "4:15-24" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 5, "source": "import getStyle from './get-style';\nexport default function getHeight(el, defaultValue) {\n var height = getStyle(el, 'height', defaultValue);\n\n if (height === 'auto') {\n height = el.offsetHeight;\n }\n\n return parseFloat(height);\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "index": 132, "index2": 127, "size": 618, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "profile": { "factory": 1601, "building": 800 } } ], "profile": { "factory": 443, "building": 527, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-outer-height", "loc": "5:0-63" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-outer-height", "loc": "5:0-63" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 5, "source": "import getStyle from './get-style';\nimport getHeight from './get-height';\nexport default function getOuterHeight(el, defaultValue) {\n var height = getHeight(el, defaultValue);\n var bTop = parseFloat(getStyle(el, 'borderTopWidth')) || 0;\n var pTop = parseFloat(getStyle(el, 'paddingTop')) || 0;\n var pBottom = parseFloat(getStyle(el, 'paddingBottom')) || 0;\n var bBottom = parseFloat(getStyle(el, 'borderBottomWidth')) || 0;\n var mTop = parseFloat(getStyle(el, 'marginTop')) || 0;\n var mBottom = parseFloat(getStyle(el, 'marginBottom')) || 0;\n return height + bTop + bBottom + pTop + pBottom + mTop + mBottom;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-width.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-width.js", "index": 134, "index2": 128, "size": 230, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "profile": { "factory": 1601, "building": 800 } } ], "profile": { "factory": 443, "building": 527, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "type": "harmony side effect evaluation", "userRequest": "./get-width", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "type": "harmony import specifier", "userRequest": "./get-width", "loc": "4:14-22" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-width", "loc": "9:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-width", "loc": "9:0-50" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 5, "source": "import getStyle from './get-style';\nexport default function getHeight(el, defaultValue) {\n var width = getStyle(el, 'width', defaultValue);\n\n if (width === 'auto') {\n width = el.offsetWidth;\n }\n\n return parseFloat(width);\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "index": 133, "index2": 129, "size": 612, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "profile": { "factory": 1601, "building": 800 } } ], "profile": { "factory": 443, "building": 527, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-outer-width", "loc": "6:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-outer-width", "loc": "6:0-61" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 5, "source": "import getStyle from './get-style';\nimport getWidth from './get-width';\nexport default function getOuterWidth(el, defaultValue) {\n var width = getWidth(el, defaultValue);\n var bLeft = parseFloat(getStyle(el, 'borderLeftWidth')) || 0;\n var pLeft = parseFloat(getStyle(el, 'paddingLeft')) || 0;\n var pRight = parseFloat(getStyle(el, 'paddingRight')) || 0;\n var bRight = parseFloat(getStyle(el, 'borderRightWidth')) || 0;\n var mRight = parseFloat(getStyle(el, 'marginRight')) || 0;\n var mLeft = parseFloat(getStyle(el, 'marginLeft')) || 0;\n return width + bLeft + bRight + pLeft + pRight + mLeft + mRight;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-ratio.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-ratio.js", "index": 135, "index2": 130, "size": 102, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "profile": { "factory": 1601, "building": 800 } } ], "profile": { "factory": 443, "building": 527, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-ratio", "loc": "7:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-ratio", "loc": "7:0-50" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 5, "source": "export default function getRatio() {\n return window.devicePixelRatio ? window.devicePixelRatio : 2;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/modify-css.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/modify-css.js", "index": 136, "index2": 131, "size": 192, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "profile": { "factory": 1601, "building": 800 } } ], "profile": { "factory": 443, "building": 527, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./modify-css", "loc": "10:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./modify-css", "loc": "10:0-52" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 5, "source": "export default function modifyCSS(dom, css) {\n if (dom) {\n for (var key in css) {\n if (css.hasOwnProperty(key)) {\n dom.style[key] = css[key];\n }\n }\n }\n\n return dom;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/item.ts", "name": "./src/item/item.ts", "index": 204, "index2": 203, "size": 23480, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/edge.ts", "issuerId": null, "issuerName": "./src/item/edge.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "name": "./src/graph/controller/item.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/edge.ts", "name": "./src/item/edge.ts", "profile": { "factory": 114, "building": 512, "dependencies": 768 } } ], "profile": { "factory": 817, "building": 222, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/edge.ts", "module": "./src/item/edge.ts", "moduleName": "./src/item/edge.ts", "type": "harmony side effect evaluation", "userRequest": "./item", "loc": "3:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/node.ts", "module": "./src/item/node.ts", "moduleName": "./src/item/node.ts", "type": "harmony side effect evaluation", "userRequest": "./item", "loc": "4:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/edge.ts", "module": "./src/item/edge.ts", "moduleName": "./src/item/edge.ts", "type": "harmony import specifier", "userRequest": "./item", "loc": "224:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/node.ts", "module": "./src/item/node.ts", "moduleName": "./src/item/node.ts", "type": "harmony import specifier", "userRequest": "./item", "loc": "226:2-6" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 5, "source": "import { __assign } from \"tslib\";\nimport { each, isNil, isPlainObject, isString, isBoolean, uniqueId, mix, deepMix, isArray, } from '@antv/util';\nimport Shape from '../shape/shape';\nimport { getBBox } from '../util/graphic';\nimport { translate } from '../util/math';\nimport Global from '../global';\nvar CACHE_BBOX = 'bboxCache';\nvar CACHE_CANVAS_BBOX = 'bboxCanvasCache';\nvar ARROWS = ['startArrow', 'endArrow'];\nvar ItemBase = /** @class */ (function () {\n function ItemBase(cfg) {\n this._cfg = {};\n this.destroyed = false;\n var defaultCfg = {\n /**\n * id\n * @type {string}\n */\n id: undefined,\n /**\n * 类型\n * @type {string}\n */\n type: 'item',\n /**\n * data model\n * @type {object}\n */\n model: {},\n /**\n * g group\n * @type {G.Group}\n */\n group: undefined,\n /**\n * is open animate\n * @type {boolean}\n */\n animate: false,\n /**\n * visible - not group visible\n * @type {boolean}\n */\n visible: true,\n /**\n * locked - lock node\n * @type {boolean}\n */\n locked: false,\n /**\n * capture event\n * @type {boolean}\n */\n event: true,\n /**\n * key shape to calculate item's bbox\n * @type object\n */\n keyShape: undefined,\n /**\n * item's states, such as selected or active\n * @type Array\n */\n states: [],\n };\n this._cfg = Object.assign(defaultCfg, this.getDefaultCfg(), cfg);\n var model = this.get('model');\n var id = model.id;\n var itemType = this.get('type');\n if (!id) {\n id = uniqueId(itemType);\n this.get('model').id = id;\n }\n this.set('id', id);\n var group = cfg.group;\n if (group) {\n group.set('item', this);\n group.set('id', id);\n }\n this.init();\n this.draw();\n var shapeType = model.shape ||\n model.type ||\n (itemType === 'edge' ? 'line' : 'circle');\n var shapeFactory = this.get('shapeFactory');\n if (shapeFactory && shapeFactory[shapeType]) {\n var options = shapeFactory[shapeType].options;\n // merge the stateStyles from item and shape\n if (options && options.stateStyles) {\n var styles = this.get('styles') || model.stateStyles;\n styles = deepMix({}, options.stateStyles, styles);\n this.set('styles', styles);\n }\n }\n }\n /**\n * 根据 keyshape 计算包围盒\n */\n ItemBase.prototype.calculateBBox = function () {\n var keyShape = this.get('keyShape');\n var group = this.get('group');\n // 因为 group 可能会移动,所以必须通过父元素计算才能计算出正确的包围盒\n var bbox = getBBox(keyShape, group);\n bbox.x = bbox.minX;\n bbox.y = bbox.minY;\n bbox.width = bbox.maxX - bbox.minX;\n bbox.height = bbox.maxY - bbox.minY;\n bbox.centerX = (bbox.minX + bbox.maxX) / 2;\n bbox.centerY = (bbox.minY + bbox.maxY) / 2;\n return bbox;\n };\n /**\n * 根据 keyshape 计算包围盒\n */\n ItemBase.prototype.calculateCanvasBBox = function () {\n var keyShape = this.get('keyShape');\n var group = this.get('group');\n // 因为 group 可能会移动,所以必须通过父元素计算才能计算出正确的包围盒\n var bbox = getBBox(keyShape, group);\n bbox.x = bbox.minX;\n bbox.y = bbox.minY;\n bbox.width = bbox.maxX - bbox.minX;\n bbox.height = bbox.maxY - bbox.minY;\n bbox.centerX = (bbox.minX + bbox.maxX) / 2;\n bbox.centerY = (bbox.minY + bbox.maxY) / 2;\n return bbox;\n };\n /**\n * draw shape\n */\n ItemBase.prototype.drawInner = function () {\n var self = this;\n var shapeFactory = self.get('shapeFactory');\n var group = self.get('group');\n var model = self.get('model');\n group.clear();\n var visible = model.visible;\n if (visible !== undefined && !visible)\n self.changeVisibility(visible);\n if (!shapeFactory) {\n return;\n }\n self.updatePosition(model);\n var cfg = self.getShapeCfg(model); // 可能会附加额外信息\n var shapeType = cfg.type;\n var keyShape = shapeFactory.draw(shapeType, cfg, group);\n if (keyShape) {\n self.set('keyShape', keyShape);\n keyShape.set('isKeyShape', true);\n keyShape.set('draggable', true);\n }\n this.setOriginStyle();\n // 防止由于用户外部修改 model 中的 shape 导致 shape 不更新\n this.set('currentShape', shapeType);\n this.restoreStates(shapeFactory, shapeType);\n };\n /**\n * 设置图元素原始样式\n * @param keyShape 图元素 keyShape\n * @param group Group 容器\n */\n ItemBase.prototype.setOriginStyle = function (cfg) {\n var originStyles = {};\n var group = this.get('group');\n var children = group.get('children');\n var keyShape = this.getKeyShape();\n var self = this;\n var keyShapeName = keyShape.get('name');\n if (!this.get('originStyle')) {\n each(children, function (child) {\n var name = child.get('name');\n if (name && name !== keyShapeName) {\n originStyles[name] = self.getShapeStyleByName(name);\n }\n else {\n var keyShapeStyle = self.getShapeStyleByName();\n if (keyShapeStyle.path)\n delete keyShapeStyle.path;\n if (keyShapeStyle.matrix)\n delete keyShapeStyle.matrix;\n if (!keyShapeName) {\n Object.assign(originStyles, keyShapeStyle);\n }\n else {\n originStyles[keyShapeName] = keyShapeStyle;\n }\n }\n });\n }\n var itemType = this.get('type');\n var model = this.getModel();\n var shapeType = model.type;\n if (!shapeType) {\n switch (itemType) {\n case 'edge':\n shapeType = 'line';\n break;\n default:\n shapeType = 'circle';\n break;\n }\n }\n var shapeFactory = Shape.getFactory(itemType)[shapeType];\n if (!shapeFactory)\n shapeFactory = Shape.getFactory(itemType).getShape();\n var shapeOptions = shapeFactory.getOptions ? shapeFactory.getOptions(model) : {};\n var defaultStyle = shapeOptions.style || {};\n var size = shapeOptions.size;\n if (itemType === 'edge') {\n if (!defaultStyle.lineWidth)\n defaultStyle.lineWidth = size || Global.defaultEdge.size;\n }\n else {\n if (!defaultStyle.r)\n defaultStyle.r = size / 2 || Global.defaultNode.size / 2;\n if (!defaultStyle.width)\n defaultStyle.width = (isArray(size) ? size[0] : size) || Global.defaultNode.size / 2;\n if (!defaultStyle.height)\n defaultStyle.height = (isArray(size) ? size[1] : size) || Global.defaultNode.size / 2;\n }\n if (!keyShapeName) {\n Object.assign(originStyles, defaultStyle);\n }\n else {\n var styles_1 = {};\n for (var key in defaultStyle) {\n var style = defaultStyle[key];\n if (!isPlainObject(style) || ARROWS.includes(key))\n styles_1[key] = style;\n }\n if (styles_1.path)\n delete styles_1.path;\n if (styles_1.matrix)\n delete styles_1.matrix;\n if (!originStyles[keyShapeName])\n originStyles[keyShapeName] = styles_1;\n else\n originStyles[keyShapeName] = Object.assign(styles_1, originStyles[keyShapeName]);\n }\n var drawOriginStyle = this.getOriginStyle();\n var styles = {};\n if (cfg) {\n styles = deepMix({}, drawOriginStyle, originStyles, cfg.style, {\n labelCfg: cfg.labelCfg,\n });\n }\n else {\n styles = deepMix({}, drawOriginStyle, originStyles);\n }\n if (styles.path)\n delete styles.path;\n if (styles.matrix)\n delete styles.matrix;\n self.set('originStyle', styles);\n };\n /**\n * restore shape states\n * @param shapeFactory\n * @param shapeType\n */\n ItemBase.prototype.restoreStates = function (shapeFactory, shapeType) {\n var self = this;\n var states = self.get('states');\n each(states, function (state) {\n shapeFactory.setState(shapeType, state, true, self);\n });\n };\n ItemBase.prototype.init = function () {\n var shapeFactory = Shape.getFactory(this.get('type'));\n this.set('shapeFactory', shapeFactory);\n };\n /**\n * 获取属性\n * @internal 仅内部类使用\n * @param {String} key 属性名\n * @return {object | string | number} 属性值\n */\n ItemBase.prototype.get = function (key) {\n return this._cfg[key];\n };\n /**\n * 设置属性\n * @internal 仅内部类使用\n * @param {String|Object} key 属性名,也可以是对象\n * @param {object | string | number} val 属性值\n */\n ItemBase.prototype.set = function (key, val) {\n if (isPlainObject(key)) {\n this._cfg = __assign(__assign({}, this._cfg), key);\n }\n else {\n this._cfg[key] = val;\n }\n };\n ItemBase.prototype.getDefaultCfg = function () {\n return {};\n };\n /**\n * 更新/刷新等操作后,清除 cache\n */\n ItemBase.prototype.clearCache = function () {\n this.set(CACHE_BBOX, null);\n this.set(CACHE_CANVAS_BBOX, null);\n };\n /**\n * 渲染前的逻辑,提供给子类复写\n */\n ItemBase.prototype.beforeDraw = function () { };\n /**\n * 渲染后的逻辑,提供给子类复写\n */\n ItemBase.prototype.afterDraw = function () { };\n /**\n * 更新后做一些工作\n */\n ItemBase.prototype.afterUpdate = function () { };\n /**\n * draw shape\n */\n ItemBase.prototype.draw = function () {\n this.beforeDraw();\n this.drawInner();\n this.afterDraw();\n };\n ItemBase.prototype.getShapeStyleByName = function (name) {\n var group = this.get('group');\n var currentShape = this.getKeyShape();\n if (name) {\n currentShape = group.find(function (element) { return element.get('name') === name; });\n }\n if (currentShape) {\n var styles_2 = {};\n each(currentShape.attr(), function (val, key) {\n // 修改 img 通过 updateItem 实现\n if (key !== 'img') {\n styles_2[key] = val;\n }\n });\n return styles_2;\n }\n return {};\n };\n ItemBase.prototype.getShapeCfg = function (model) {\n var styles = this.get('styles');\n if (styles) {\n // merge graph的item样式与数据模型中的样式\n var newModel = model;\n newModel.style = __assign(__assign({}, styles), model.style);\n return newModel;\n }\n return model;\n };\n /**\n * 获取指定状态的样式,去除了全局样式\n * @param state 状态名称\n */\n ItemBase.prototype.getStateStyle = function (state) {\n var styles = this.get('styles');\n var stateStyle = styles && styles[state];\n return stateStyle;\n };\n /**\n * get keyshape style\n */\n ItemBase.prototype.getOriginStyle = function () {\n return this.get('originStyle');\n };\n ItemBase.prototype.getCurrentStatesStyle = function () {\n var self = this;\n var styles = {};\n var states = self.getStates();\n if (!states || !states.length) {\n return this.getOriginStyle();\n }\n each(self.getStates(), function (state) {\n styles = Object.assign(styles, self.getStateStyle(state));\n });\n return styles;\n };\n /**\n * 更改元素状态, visible 不属于这个范畴\n * @internal 仅提供内部类 graph 使用\n * @param {String} state 状态名\n * @param {Boolean} value 节点状态值\n */\n ItemBase.prototype.setState = function (state, value) {\n var states = this.get('states');\n var shapeFactory = this.get('shapeFactory');\n var stateName = state;\n var filterStateName = state;\n if (isString(value)) {\n stateName = state + \":\" + value;\n filterStateName = state + \":\";\n }\n var newStates = states;\n if (isBoolean(value)) {\n var index = states.indexOf(filterStateName);\n if (value) {\n if (index > -1) {\n return;\n }\n states.push(stateName);\n }\n else if (index > -1) {\n states.splice(index, 1);\n }\n }\n else if (isString(value)) {\n // 过滤掉 states 中 filterStateName 相关的状态\n var filterStates = states.filter(function (name) { return name.includes(filterStateName); });\n if (filterStates.length > 0) {\n this.clearStates(filterStates);\n }\n newStates = newStates.filter(function (name) { return !name.includes(filterStateName); });\n newStates.push(stateName);\n this.set('states', newStates);\n }\n if (shapeFactory) {\n var model = this.get('model');\n var type = model.type;\n // 调用 shape/shape.ts 中的 setState\n shapeFactory.setState(type, state, value, this);\n }\n };\n /**\n * 清除指定的状态,如果参数为空,则不做任务处理\n * @param states 状态名称\n */\n ItemBase.prototype.clearStates = function (states) {\n var self = this;\n var originStates = self.getStates();\n var shapeFactory = self.get('shapeFactory');\n var model = self.get('model');\n var shape = model.type;\n if (!states) {\n states = originStates;\n }\n if (isString(states)) {\n states = [states];\n }\n var newStates = originStates.filter(function (state) { return states.indexOf(state) === -1; });\n self.set('states', newStates);\n states.forEach(function (state) {\n shapeFactory.setState(shape, state, false, self);\n });\n };\n /**\n * 节点的图形容器\n * @return {G.Group} 图形容器\n */\n ItemBase.prototype.getContainer = function () {\n return this.get('group');\n };\n /**\n * 节点的关键形状,用于计算节点大小,连线截距等\n * @return {IShapeBase} 关键形状\n */\n ItemBase.prototype.getKeyShape = function () {\n return this.get('keyShape');\n };\n /**\n * 节点数据模型\n * @return {Object} 数据模型\n */\n ItemBase.prototype.getModel = function () {\n return this.get('model');\n };\n /**\n * 节点类型\n * @return {string} 节点的类型\n */\n ItemBase.prototype.getType = function () {\n return this.get('type');\n };\n /**\n * 获取 Item 的ID\n */\n ItemBase.prototype.getID = function () {\n return this.get('id');\n };\n /**\n * 是否是 Item 对象,悬空边情况下进行判定\n */\n ItemBase.prototype.isItem = function () {\n return true;\n };\n /**\n * 获取当前元素的所有状态\n * @return {Array} 元素的所有状态\n */\n ItemBase.prototype.getStates = function () {\n return this.get('states');\n };\n /**\n * 当前元素是否处于某状态\n * @param {String} state 状态名\n * @return {Boolean} 是否处于某状态\n */\n ItemBase.prototype.hasState = function (state) {\n var states = this.getStates();\n return states.indexOf(state) >= 0;\n };\n /**\n * 刷新一般用于处理几种情况\n * 1. item model 在外部被改变\n * 2. 边的节点位置发生改变,需要重新计算边\n *\n * 因为数据从外部被修改无法判断一些属性是否被修改,直接走位置和 shape 的更新\n */\n ItemBase.prototype.refresh = function () {\n var model = this.get('model');\n // 更新元素位置\n this.updatePosition(model);\n // 更新元素内容,样式\n this.updateShape();\n // 做一些更新之后的操作\n this.afterUpdate();\n // 清除缓存\n this.clearCache();\n };\n ItemBase.prototype.isOnlyMove = function (cfg) {\n return false;\n };\n /**\n * 将更新应用到 model 上,刷新属性\n * @internal 仅提供给 Graph 使用,外部直接调用 graph.update 接口\n * @param {Object} cfg 配置项,可以是增量信息\n */\n ItemBase.prototype.update = function (cfg, onlyMove) {\n if (onlyMove === void 0) { onlyMove = false; }\n var model = this.get('model');\n var oriVisible = model.visible;\n var cfgVisible = cfg.visible;\n if (oriVisible !== cfgVisible && cfgVisible !== undefined)\n this.changeVisibility(cfgVisible);\n var originPosition = { x: model.x, y: model.y };\n cfg.x = isNaN(cfg.x) ? model.x : cfg.x;\n cfg.y = isNaN(cfg.y) ? model.y : cfg.y;\n var styles = this.get('styles');\n if (cfg.stateStyles) {\n // 更新 item 时更新 this.get('styles') 中的值\n var stateStyles = cfg.stateStyles;\n mix(styles, stateStyles);\n delete cfg.stateStyles;\n }\n // 直接将更新合到原数据模型上,可以保证用户在外部修改源数据然后刷新时的样式符合期待。\n Object.assign(model, cfg);\n // isOnlyMove 仅用于node\n // const onlyMove = this.isOnlyMove(cfg);\n // 仅仅移动位置时,既不更新,也不重绘\n if (onlyMove) {\n this.updatePosition(cfg);\n }\n else {\n // 如果 x,y 有变化,先重置位置\n if (originPosition.x !== cfg.x || originPosition.y !== cfg.y) {\n this.updatePosition(cfg);\n }\n this.updateShape();\n }\n this.afterUpdate();\n this.clearCache();\n };\n /**\n * 更新元素内容,样式\n */\n ItemBase.prototype.updateShape = function () {\n var shapeFactory = this.get('shapeFactory');\n var model = this.get('model');\n var shape = model.type;\n // 判定是否允许更新\n // 1. 注册的节点允许更新\n // 2. 更新后的 shape 等于原先的 shape\n if (shapeFactory.shouldUpdate(shape) && shape === this.get('currentShape')) {\n var updateCfg = this.getShapeCfg(model);\n shapeFactory.baseUpdate(shape, updateCfg, this);\n }\n else {\n // 如果不满足上面两种状态,重新绘制\n this.draw();\n }\n // 更新完以后重新设置原始样式\n this.setOriginStyle(model);\n // 更新后重置节点状态\n this.restoreStates(shapeFactory, shape);\n };\n /**\n * 更新位置,避免整体重绘\n * @param {object} cfg 待更新数据\n */\n ItemBase.prototype.updatePosition = function (cfg) {\n var model = this.get('model');\n var x = isNil(cfg.x) ? model.x : cfg.x;\n var y = isNil(cfg.y) ? model.y : cfg.y;\n var group = this.get('group');\n if (isNil(x) || isNil(y)) {\n return;\n }\n group.resetMatrix();\n // G 4.0 element 中移除了矩阵相关方法,详见https://www.yuque.com/antv/blog/kxzk9g#4rMMV\n translate(group, { x: x, y: y });\n model.x = x;\n model.y = y;\n this.clearCache(); // 位置更新后需要清除缓存\n };\n /**\n * 获取 item 的包围盒,这个包围盒是相对于 item 自己,不会将 matrix 计算在内\n * @return {Object} 包含 x,y,width,height, centerX, centerY\n */\n ItemBase.prototype.getBBox = function () {\n // 计算 bbox 开销有些大,缓存\n var bbox = this.get(CACHE_BBOX);\n if (!bbox) {\n bbox = this.calculateBBox();\n this.set(CACHE_BBOX, bbox);\n }\n return bbox;\n };\n /**\n * 获取 item 相对于画布的包围盒,会将从顶层到当前元素的 matrix 都计算在内\n * @return {Object} 包含 x,y,width,height, centerX, centerY\n */\n ItemBase.prototype.getCanvasBBox = function () {\n // 计算 bbox 开销有些大,缓存\n var bbox = this.get(CACHE_CANVAS_BBOX);\n if (!bbox) {\n bbox = this.calculateCanvasBBox();\n this.set(CACHE_CANVAS_BBOX, bbox);\n }\n return bbox;\n };\n /**\n * 将元素放到最前面\n */\n ItemBase.prototype.toFront = function () {\n var group = this.get('group');\n group.toFront();\n };\n /**\n * 将元素放到最后面\n */\n ItemBase.prototype.toBack = function () {\n var group = this.get('group');\n group.toBack();\n };\n /**\n * 显示元素\n */\n ItemBase.prototype.show = function () {\n this.changeVisibility(true);\n };\n /**\n * 隐藏元素\n */\n ItemBase.prototype.hide = function () {\n this.changeVisibility(false);\n };\n /**\n * 更改是否显示\n * @param {Boolean} visible 是否显示\n */\n ItemBase.prototype.changeVisibility = function (visible) {\n var group = this.get('group');\n if (visible) {\n group.show();\n }\n else {\n group.hide();\n }\n this.set('visible', visible);\n };\n /**\n * 元素是否可见\n * @return {Boolean} 返回该元素是否可见\n */\n ItemBase.prototype.isVisible = function () {\n return this.get('visible');\n };\n /**\n * 是否拾取及出发该元素的交互事件\n * @param {Boolean} enable 标识位\n */\n ItemBase.prototype.enableCapture = function (enable) {\n var group = this.get('group');\n if (group) {\n group.set('capture', enable);\n }\n };\n ItemBase.prototype.destroy = function () {\n if (!this.destroyed) {\n var animate = this.get('animate');\n var group = this.get('group');\n if (animate) {\n group.stopAnimate();\n }\n this.clearCache();\n group.remove();\n this._cfg = null;\n this.destroyed = true;\n }\n };\n return ItemBase;\n}());\nexport default ItemBase;\n" } ], "filteredModules": 0 }, { "id": 35, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/index.ts", "name": "./src/behavior/index.ts", "index": 1, "index2": 108, "size": 60, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./behavior", "loc": "1:0-35" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./behavior", "loc": "12:23-32" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./behavior", "loc": "26:22-31" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 1, "source": "import Behavior from \"./behavior\";\nexport default Behavior;\n" }, { "id": 36, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/types.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/types.js", "index": 142, "index2": 135, "size": 0, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerId": 49, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } } ], "profile": { "factory": 1680, "building": 569, "dependencies": 582 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./types", "loc": "10:0-24" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./types", "loc": "10:0-24" } ], "usedExports": false, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "" }, { "id": 37, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/interfaces.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/interfaces.js", "index": 143, "index2": 136, "size": 0, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerId": 49, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } } ], "profile": { "factory": 1680, "building": 569, "dependencies": 582 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./interfaces", "loc": "11:0-29" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./interfaces", "loc": "11:0-29" } ], "usedExports": false, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "" }, { "id": 38, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-function.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-function.js", "index": 148, "index2": 140, "size": 293, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "issuerId": 7, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": 7, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } } ], "profile": { "factory": 568, "building": 31, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/is-function", "loc": "10:0-67" }, { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony export imported specifier", "userRequest": "@antv/util/lib/is-function", "loc": "10:0-67" } ], "usedExports": ["default"], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/**\n * 是否为函数\n * @param {*} fn 对象\n * @return {Boolean} 是否函数\n */\n\nvar is_type_1 = require(\"./is-type\");\n\nexports.default = function (value) {\n return is_type_1.default(value, 'Function');\n};" }, { "id": 39, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/mix.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/mix.js", "index": 153, "index2": 144, "size": 489, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "issuerId": 7, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": 7, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } } ], "profile": { "factory": 568, "building": 31, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/mix", "loc": "14:0-52" }, { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony export imported specifier", "userRequest": "@antv/util/lib/mix", "loc": "14:0-52" } ], "usedExports": ["default"], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n}); // FIXME: Mutable param should be forbidden in static lang.\n\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}\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\nexports.default = mix;" }, { "id": 40, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/upper-first.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/upper-first.js", "index": 155, "index2": 147, "size": 300, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "issuerId": 7, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": 7, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } } ], "profile": { "factory": 568, "building": 31, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/upper-first", "loc": "16:0-67" }, { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony export imported specifier", "userRequest": "@antv/util/lib/upper-first", "loc": "16:0-67" } ], "usedExports": ["default"], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar to_string_1 = require(\"./to-string\");\n\nvar upperFirst = function upperFirst(value) {\n var str = to_string_1.default(value);\n return str.charAt(0).toUpperCase() + str.substring(1);\n};\n\nexports.default = upperFirst;" }, { "id": 41, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "index": 200, "index2": 193, "size": 793, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerId": 49, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } } ], "profile": { "factory": 1680, "building": 569, "dependencies": 582 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./abstract/group", "loc": "15:0-60" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./abstract/group", "loc": "15:0-60" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import { __extends } from \"tslib\";\nimport Container from './container';\n\nvar AbstractGroup =\n/** @class */\nfunction (_super) {\n __extends(AbstractGroup, _super);\n\n function AbstractGroup() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n AbstractGroup.prototype.isGroup = function () {\n return true;\n };\n\n AbstractGroup.prototype.isEntityGroup = function () {\n return false;\n };\n\n AbstractGroup.prototype.clone = function () {\n var clone = _super.prototype.clone.call(this); // 获取构造函数\n\n\n var children = this.getChildren();\n\n for (var i = 0; i < children.length; i++) {\n var child = children[i];\n clone.add(child.clone());\n }\n\n return clone;\n };\n\n return AbstractGroup;\n}(Container);\n\nexport default AbstractGroup;" }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "index": 201, "index2": 194, "size": 5516, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerId": 49, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } } ], "profile": { "factory": 1680, "building": 569, "dependencies": 582 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./abstract/shape", "loc": "16:0-60" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./abstract/shape", "loc": "16:0-60" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import { __extends } from \"tslib\";\nimport Element from './element';\nimport { multiplyVec2 } from '../util/matrix';\n\nvar AbstractShape =\n/** @class */\nfunction (_super) {\n __extends(AbstractShape, _super);\n\n function AbstractShape(cfg) {\n return _super.call(this, cfg) || this;\n } // 是否在包围盒内\n\n\n AbstractShape.prototype._isInBBox = function (refX, refY) {\n var bbox = this.getBBox();\n return bbox.minX <= refX && bbox.maxX >= refX && bbox.minY <= refY && bbox.maxY >= refY;\n };\n /**\n * 属性更改后需要做的事情\n * @protected\n * @param {ShapeAttrs} targetAttrs 渲染的图像属性\n */\n\n\n AbstractShape.prototype.afterAttrsChange = function (targetAttrs) {\n _super.prototype.afterAttrsChange.call(this, targetAttrs);\n\n this.clearCacheBBox();\n }; // 计算包围盒时,需要缓存,这是一个高频的操作\n\n\n AbstractShape.prototype.getBBox = function () {\n var bbox = this.cfg.bbox;\n\n if (!bbox) {\n bbox = this.calculateBBox();\n this.set('bbox', bbox);\n }\n\n return bbox;\n }; // 计算相对于画布的包围盒\n\n\n AbstractShape.prototype.getCanvasBBox = function () {\n var canvasBBox = this.cfg.canvasBBox;\n\n if (!canvasBBox) {\n canvasBBox = this.calculateCanvasBBox();\n this.set('canvasBBox', canvasBBox);\n }\n\n return canvasBBox;\n };\n\n AbstractShape.prototype.applyMatrix = function (matrix) {\n _super.prototype.applyMatrix.call(this, matrix); // 清理掉缓存的包围盒\n\n\n this.set('canvasBBox', null);\n };\n /**\n * 计算相对于画布的包围盒,默认等同于 bbox\n * @return {BBox} 包围盒\n */\n\n\n AbstractShape.prototype.calculateCanvasBBox = function () {\n var bbox = this.getBBox();\n var totalMatrix = this.getTotalMatrix();\n var minX = bbox.minX,\n minY = bbox.minY,\n maxX = bbox.maxX,\n maxY = bbox.maxY;\n\n if (totalMatrix) {\n var topLeft = multiplyVec2(totalMatrix, [bbox.minX, bbox.minY]);\n var topRight = multiplyVec2(totalMatrix, [bbox.maxX, bbox.minY]);\n var bottomLeft = multiplyVec2(totalMatrix, [bbox.minX, bbox.maxY]);\n var bottomRight = multiplyVec2(totalMatrix, [bbox.maxX, bbox.maxY]);\n minX = Math.min(topLeft[0], topRight[0], bottomLeft[0], bottomRight[0]);\n maxX = Math.max(topLeft[0], topRight[0], bottomLeft[0], bottomRight[0]);\n minY = Math.min(topLeft[1], topRight[1], bottomLeft[1], bottomRight[1]);\n maxY = Math.max(topLeft[1], topRight[1], bottomLeft[1], bottomRight[1]);\n }\n\n var attrs = this.attrs; // 如果存在 shadow 则计算 shadow\n\n if (attrs.shadowColor) {\n var _a = attrs.shadowBlur,\n shadowBlur = _a === void 0 ? 0 : _a,\n _b = attrs.shadowOffsetX,\n shadowOffsetX = _b === void 0 ? 0 : _b,\n _c = attrs.shadowOffsetY,\n shadowOffsetY = _c === void 0 ? 0 : _c;\n var shadowLeft = minX - shadowBlur + shadowOffsetX;\n var shadowRight = maxX + shadowBlur + shadowOffsetX;\n var shadowTop = minY - shadowBlur + shadowOffsetY;\n var shadowBottom = maxY + shadowBlur + shadowOffsetY;\n minX = Math.min(minX, shadowLeft);\n maxX = Math.max(maxX, shadowRight);\n minY = Math.min(minY, shadowTop);\n maxY = Math.max(maxY, shadowBottom);\n }\n\n return {\n x: minX,\n y: minY,\n minX: minX,\n minY: minY,\n maxX: maxX,\n maxY: maxY,\n width: maxX - minX,\n height: maxY - minY\n };\n };\n /**\n * @protected\n * 清理缓存的 bbox\n */\n\n\n AbstractShape.prototype.clearCacheBBox = function () {\n this.set('bbox', null);\n this.set('canvasBBox', null);\n }; // 实现接口\n\n\n AbstractShape.prototype.isClipShape = function () {\n return this.get('isClipShape');\n };\n /**\n * @protected\n * 不同的图形自己实现是否在图形内部的逻辑,要判断边和填充区域\n * @param {number} refX 相对于图形的坐标 x\n * @param {number} refY 相对于图形的坐标 Y\n * @return {boolean} 点是否在图形内部\n */\n\n\n AbstractShape.prototype.isInShape = function (refX, refY) {\n return false;\n };\n /**\n * 是否仅仅使用 BBox 检测就可以判定拾取到图形\n * 默认是 false,但是有些图形例如 image、marker 等都可直接使用 BBox 的检测而不需要使用图形拾取\n * @return {Boolean} 仅仅使用 BBox 进行拾取\n */\n\n\n AbstractShape.prototype.isOnlyHitBox = function () {\n return false;\n }; // 不同的 Shape 各自实现\n\n\n AbstractShape.prototype.isHit = function (x, y) {\n var startArrowShape = this.get('startArrowShape');\n var endArrowShape = this.get('endArrowShape');\n var vec = [x, y, 1];\n vec = this.invertFromMatrix(vec);\n var refX = vec[0],\n refY = vec[1];\n\n var inBBox = this._isInBBox(refX, refY); // 跳过图形的拾取,在某些图形中可以省略一倍的检测成本\n\n\n if (this.isOnlyHitBox()) {\n return inBBox;\n } // 被裁减掉的和不在包围盒内的不进行计算\n\n\n if (inBBox && !this.isClipped(refX, refY)) {\n // 对图形进行拾取判断\n if (this.isInShape(refX, refY)) {\n return true;\n } // 对起始箭头进行拾取判断\n\n\n if (startArrowShape && startArrowShape.isHit(refX, refY)) {\n return true;\n } // 对结束箭头进行拾取判断\n\n\n if (endArrowShape && endArrowShape.isHit(refX, refY)) {\n return true;\n }\n }\n\n return false;\n };\n\n return AbstractShape;\n}(Element);\n\nexport default AbstractShape;" }, { "id": 43, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/types/index.ts", "name": "./src/types/index.ts", "index": 255, "index2": 254, "size": 6438, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./types", "loc": "14:0-24" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony export imported specifier", "userRequest": "./types", "loc": "14:0-24" } ], "usedExports": ["G6Event"], "providedExports": ["G6Event"], "optimizationBailout": [], "depth": 1, "source": "// Behavior type file\nexport var G6Event;\n(function (G6Event) {\n // common events\n G6Event[\"CLICK\"] = \"click\";\n G6Event[\"DBLCLICK\"] = \"dblclick\";\n G6Event[\"MOUSEDOWN\"] = \"mousedown\";\n G6Event[\"MOUDEUP\"] = \"mouseup\";\n G6Event[\"CONTEXTMENU\"] = \"contextmenu\";\n G6Event[\"MOUSEENTER\"] = \"mouseenter\";\n G6Event[\"MOUSEOUT\"] = \"mouseout\";\n G6Event[\"MOUSEOVER\"] = \"mouseover\";\n G6Event[\"MOUSEMOVE\"] = \"mousemove\";\n G6Event[\"MOUSELEAVE\"] = \"mouseleave\";\n G6Event[\"DRAGSTART\"] = \"dragstart\";\n G6Event[\"DRAGEND\"] = \"dragend\";\n G6Event[\"DRAG\"] = \"drag\";\n G6Event[\"DRAGENTER\"] = \"dragenter\";\n G6Event[\"DRAGLEAVE\"] = \"dragleave\";\n G6Event[\"DRAGOVER\"] = \"dragover\";\n G6Event[\"DRAGOUT\"] = \"dragout\";\n G6Event[\"DDROP\"] = \"drop\";\n G6Event[\"KEYUP\"] = \"keyup\";\n G6Event[\"KEYDOWN\"] = \"keydown\";\n G6Event[\"WHEEL\"] = \"wheel\";\n G6Event[\"FOCUS\"] = \"focus\";\n G6Event[\"BLUR\"] = \"blur\";\n // touch events\n G6Event[\"TOUCHSTART\"] = \"touchstart\";\n G6Event[\"TOUCHMOVE\"] = \"touchmove\";\n G6Event[\"TOUCHEND\"] = \"touchend\";\n // node events\n G6Event[\"NODE_CONTEXTMENU\"] = \"node:contextmenu\";\n G6Event[\"NODE_CLICK\"] = \"node:click\";\n G6Event[\"NODE_DBLCLICK\"] = \"node:dblclick\";\n G6Event[\"NODE_MOUSEDOWN\"] = \"node:mousedown\";\n G6Event[\"NODE_MOUSEUP\"] = \"node:mouseup\";\n G6Event[\"NODE_MOUSEENTER\"] = \"node:mouseenter\";\n G6Event[\"NODE_MOUSELEAVE\"] = \"node:mouseleave\";\n G6Event[\"NODE_MOUSEMOVE\"] = \"node:mousemove\";\n G6Event[\"NODE_MOUSEOUT\"] = \"node:mouseout\";\n G6Event[\"NODE_MOUSEOVER\"] = \"node:mouseover\";\n G6Event[\"NODE_DROP\"] = \"node:drop\";\n G6Event[\"NODE_DRAGOVER\"] = \"node:dragover\";\n G6Event[\"NODE_DRAGENTER\"] = \"node:dragenter\";\n G6Event[\"NODE_DRAGLEAVE\"] = \"node:dragleave\";\n G6Event[\"NODE_DRAGSTART\"] = \"node:dragstart\";\n G6Event[\"NODE_DRAG\"] = \"node:drag\";\n G6Event[\"NODE_DRAGEND\"] = \"node:dragend\";\n // combo, extends from nodes\n G6Event[\"COMBO_CONTEXTMENU\"] = \"combo:contextmenu\";\n G6Event[\"COMBO_CLICK\"] = \"combo:click\";\n G6Event[\"COMBO_DBLCLICK\"] = \"combo:dblclick\";\n G6Event[\"COMBO_MOUSEDOWN\"] = \"combo:mousedown\";\n G6Event[\"COMBO_MOUSEUP\"] = \"combo:mouseup\";\n G6Event[\"COMBO_MOUSEENTER\"] = \"combo:mouseenter\";\n G6Event[\"COMBO_MOUSELEAVE\"] = \"combo:mouseleave\";\n G6Event[\"COMBO_MOUSEMOVE\"] = \"combo:mousemove\";\n G6Event[\"COMBO_MOUSEOUT\"] = \"combo:mouseout\";\n G6Event[\"COMBO_MOUSEOVER\"] = \"combo:mouseover\";\n G6Event[\"COMBO_DROP\"] = \"combo:drop\";\n G6Event[\"COMBO_DRAGOVER\"] = \"combo:dragover\";\n G6Event[\"COMBO_DRAGENTER\"] = \"combo:dragenter\";\n G6Event[\"COMBO_DRAGLEAVE\"] = \"combo:dragleave\";\n G6Event[\"COMBO_DRAGSTART\"] = \"combo:dragstart\";\n G6Event[\"COMBO_DRAG\"] = \"combo:drag\";\n G6Event[\"COMBO_DRAGEND\"] = \"combo:dragend\";\n // edge events\n G6Event[\"EDGE_CONTEXTMENU\"] = \"edge:contextmenu\";\n G6Event[\"EDGE_CLICK\"] = \"edge:click\";\n G6Event[\"EDGE_DBLCLICK\"] = \"edge:dblclick\";\n G6Event[\"EDGE_MOUSEDOWN\"] = \"edge:mousedown\";\n G6Event[\"EDGE_MOUSEUP\"] = \"edge:mouseup\";\n G6Event[\"EDGE_MOUSEENTER\"] = \"edge:mouseenter\";\n G6Event[\"EDGE_MOUSELEAVE\"] = \"edge:mouseleave\";\n G6Event[\"EDGE_MOUSEMOVE\"] = \"edge:mousemove\";\n G6Event[\"EDGE_MOUSEOUT\"] = \"edge:mouseout\";\n G6Event[\"EDGE_MOUSEOVER\"] = \"edge:mouseover\";\n G6Event[\"EDGE_DROP\"] = \"edge:drop\";\n G6Event[\"EDGE_DRAGOVER\"] = \"edge:dragover\";\n G6Event[\"EDGE_DRAGENTER\"] = \"edge:dragenter\";\n G6Event[\"EDGE_DRAGLEAVE\"] = \"edge:dragleave\";\n // canvas events\n G6Event[\"CANVAS_CONTEXTMENU\"] = \"canvas:contextmenu\";\n G6Event[\"CANVAS_CLICK\"] = \"canvas:click\";\n G6Event[\"CANVAS_DBLCLICK\"] = \"canvas:dblclick\";\n G6Event[\"CANVAS_MOUSEDOWN\"] = \"canvas:mousedown\";\n G6Event[\"CANVAS_MOUSEUP\"] = \"canvas:mouseup\";\n G6Event[\"CANVAS_MOUSEENTER\"] = \"canvas:mouseenter\";\n G6Event[\"CANVAS_MOUSELEAVE\"] = \"canvas:mouseleave\";\n G6Event[\"CANVAS_MOUSEMOVE\"] = \"canvas:mousemove\";\n G6Event[\"CANVAS_MOUSEOUT\"] = \"canvas:mouseout\";\n G6Event[\"CANVAS_MOUSEOVER\"] = \"canvas:mouseover\";\n G6Event[\"CANVAS_DROP\"] = \"canvas:drop\";\n G6Event[\"CANVAS_DRAGENTER\"] = \"canvas:dragenter\";\n G6Event[\"CANVAS_DRAGLEAVE\"] = \"canvas:dragleave\";\n G6Event[\"CANVAS_DRAGSTART\"] = \"canvas:dragstart\";\n G6Event[\"CANVAS_DRAG\"] = \"canvas:drag\";\n G6Event[\"CANVAS_DRAGEND\"] = \"canvas:dragend\";\n // timing events\n G6Event[\"BEFORERENDER\"] = \"beforerender\";\n G6Event[\"AFTERRENDER\"] = \"afterrender\";\n G6Event[\"BEFOREADDITEM\"] = \"beforeadditem\";\n G6Event[\"AFTERADDITEM\"] = \"afteradditem\";\n G6Event[\"BEFOREREMOVEITEM\"] = \"beforeremoveitem\";\n G6Event[\"AFTERREMOVEITEM\"] = \"afterremoveitem\";\n G6Event[\"BEFOREUPDATEITEM\"] = \"beforeupdateitem\";\n G6Event[\"AFTERUPDATEITEM\"] = \"afterupdateitem\";\n G6Event[\"BEFOREITEMVISIBILITYCHANGE\"] = \"beforeitemvisibilitychange\";\n G6Event[\"AFTERITEMVISIBILITYCHANGE\"] = \"afteritemvisibilitychange\";\n G6Event[\"BEFOREITEMSTATECHANGE\"] = \"beforeitemstatechange\";\n G6Event[\"AFTERITEMSTATECHANGE\"] = \"afteritemstatechange\";\n G6Event[\"BEFOREITEMREFRESH\"] = \"beforeitemrefresh\";\n G6Event[\"AFTERITEMREFRESH\"] = \"afteritemrefresh\";\n G6Event[\"BEFOREITEMSTATESCLEAR\"] = \"beforeitemstatesclear\";\n G6Event[\"AFTERITEMSTATESCLEAR\"] = \"afteritemstatesclear\";\n G6Event[\"BEFOREMODECHANGE\"] = \"beforemodechange\";\n G6Event[\"AFTERMODECHANGE\"] = \"aftermodechange\";\n G6Event[\"BEFORELAYOUT\"] = \"beforelayout\";\n G6Event[\"AFTERLAYOUT\"] = \"afterlayout\";\n G6Event[\"BEFORECREATEEDGE\"] = \"beforecreateedge\";\n G6Event[\"AFTERCREATEEDGE\"] = \"aftercreateedge\";\n G6Event[\"BEFOREGRAPHREFRESHPOSITION\"] = \"beforegraphrefreshposition\";\n G6Event[\"AFTERGRAPHREFRESHPOSITION\"] = \"aftergraphrefreshposition\";\n G6Event[\"BEFOREGRAPHREFRESH\"] = \"beforegraphrefresh\";\n G6Event[\"AFTERGRAPHREFRESH\"] = \"aftergraphrefresh\";\n G6Event[\"BEFOREANIMATE\"] = \"beforeanimate\";\n G6Event[\"AFTERANIMATE\"] = \"afteranimate\";\n G6Event[\"BEFOREPAINT\"] = \"beforepaint\";\n G6Event[\"AFTERPAINT\"] = \"afterpaint\";\n G6Event[\"GRAPHSTATECHANGE\"] = \"graphstatechange\";\n G6Event[\"AFTERACTIVATERELATIONS\"] = \"afteractivaterelations\";\n G6Event[\"NODESELECTCHANGE\"] = \"nodeselectchange\";\n G6Event[\"TOOLTIPCHANGE\"] = \"tooltipchange\";\n G6Event[\"WHEELZOOM\"] = \"wheelzoom\";\n G6Event[\"VIEWPORTCHANGE\"] = \"viewportchange\";\n G6Event[\"DRAGNODEEND\"] = \"dragnodeend\";\n G6Event[\"STACKCHANGE\"] = \"stackchange\";\n})(G6Event || (G6Event = {}));\n" }, { "id": 44, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/graph.ts", "name": "./src/interface/graph.ts", "index": 256, "index2": 255, "size": 0, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./interface/graph", "loc": "15:0-34" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony export imported specifier", "userRequest": "./interface/graph", "loc": "15:0-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 1, "source": "" }, { "id": 45, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/item.ts", "name": "./src/interface/item.ts", "index": 257, "index2": 256, "size": 0, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./interface/item", "loc": "16:0-33" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony export imported specifier", "userRequest": "./interface/item", "loc": "16:0-33" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 1, "source": "" }, { "id": 46, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/shape.ts", "name": "./src/interface/shape.ts", "index": 258, "index2": 257, "size": 0, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./interface/shape", "loc": "17:0-34" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony export imported specifier", "userRequest": "./interface/shape", "loc": "17:0-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 1, "source": "" }, { "id": 47, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "index": 158, "index2": 192, "size": 58846, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./abstract/canvas", "loc": "14:0-62" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./abstract/canvas", "loc": "14:0-62" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js because of ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/event/graph-event.js because of ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js because of ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js because of ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_detect-browser@5.2.0@detect-browser/es/index.js (<- Module uses injected variables (process))", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_tslib@2.0.3@tslib/tslib.es6.js because of ./src/index.ts" ], "depth": 3, "modules": [ { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "index": 158, "index2": 192, "size": 5932, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerId": 49, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } } ], "profile": { "factory": 1680, "building": 569, "dependencies": 582 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./abstract/canvas", "loc": "14:0-62" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./abstract/canvas", "loc": "14:0-62" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import { __extends } from \"tslib\";\nimport { detect } from 'detect-browser';\nimport Container from './container';\nimport { isBrowser, isNil, isString } from '../util/util';\nimport Timeline from '../animate/timeline';\nimport EventController from '../event/event-contoller';\nvar PX_SUFFIX = 'px';\nvar browser = detect();\nvar isFirefox = browser && browser.name === 'firefox';\n\nvar Canvas =\n/** @class */\nfunction (_super) {\n __extends(Canvas, _super);\n\n function Canvas(cfg) {\n var _this = _super.call(this, cfg) || this;\n\n _this.initContainer();\n\n _this.initDom();\n\n _this.initEvents();\n\n _this.initTimeline();\n\n return _this;\n }\n\n Canvas.prototype.getDefaultCfg = function () {\n var cfg = _super.prototype.getDefaultCfg.call(this); // set default cursor style for canvas\n\n\n cfg['cursor'] = 'default'; // CSS transform 目前尚未经过长时间验证,为了避免影响上层业务,默认关闭,上层按需开启\n\n cfg['supportCSSTransform'] = false;\n return cfg;\n };\n /**\n * @protected\n * 初始化容器\n */\n\n\n Canvas.prototype.initContainer = function () {\n var container = this.get('container');\n\n if (isString(container)) {\n container = document.getElementById(container);\n this.set('container', container);\n }\n };\n /**\n * @protected\n * 初始化 DOM\n */\n\n\n Canvas.prototype.initDom = function () {\n var el = this.createDom();\n this.set('el', el); // 附加到容器\n\n var container = this.get('container');\n container.appendChild(el); // 设置初始宽度\n\n this.setDOMSize(this.get('width'), this.get('height'));\n };\n /**\n * @protected\n * 初始化绑定的事件\n */\n\n\n Canvas.prototype.initEvents = function () {\n var eventController = new EventController({\n canvas: this\n });\n eventController.init();\n this.set('eventController', eventController);\n };\n /**\n * @protected\n * 初始化时间轴\n */\n\n\n Canvas.prototype.initTimeline = function () {\n var timeline = new Timeline(this);\n this.set('timeline', timeline);\n };\n /**\n * @protected\n * 修改画布对应的 DOM 的大小\n * @param {number} width 宽度\n * @param {number} height 高度\n */\n\n\n Canvas.prototype.setDOMSize = function (width, height) {\n var el = this.get('el');\n\n if (isBrowser) {\n el.style.width = width + PX_SUFFIX;\n el.style.height = height + PX_SUFFIX;\n }\n }; // 实现接口\n\n\n Canvas.prototype.changeSize = function (width, height) {\n this.setDOMSize(width, height);\n this.set('width', width);\n this.set('height', height);\n this.onCanvasChange('changeSize');\n };\n /**\n * 获取当前的渲染引擎\n * @return {Renderer} 返回当前的渲染引擎\n */\n\n\n Canvas.prototype.getRenderer = function () {\n return this.get('renderer');\n };\n /**\n * 获取画布的 cursor 样式\n * @return {Cursor}\n */\n\n\n Canvas.prototype.getCursor = function () {\n return this.get('cursor');\n };\n /**\n * 设置画布的 cursor 样式\n * @param {Cursor} cursor cursor 样式\n */\n\n\n Canvas.prototype.setCursor = function (cursor) {\n this.set('cursor', cursor);\n var el = this.get('el');\n\n if (isBrowser && el) {\n // 直接设置样式,不等待鼠标移动时再设置\n el.style.cursor = cursor;\n }\n }; // 实现接口\n\n\n Canvas.prototype.getPointByEvent = function (ev) {\n var supportCSSTransform = this.get('supportCSSTransform');\n\n if (supportCSSTransform) {\n // For Firefox <= 38\n if (isFirefox && !isNil(ev.layerX) && ev.layerX !== ev.offsetX) {\n return {\n x: ev.layerX,\n y: ev.layerY\n };\n }\n\n if (!isNil(ev.offsetX)) {\n // For IE6+, Firefox >= 39, Chrome, Safari, Opera\n return {\n x: ev.offsetX,\n y: ev.offsetY\n };\n }\n } // should calculate by self for other cases, like Safari in ios\n // TODO: support CSS transform\n\n\n var _a = this.getClientByEvent(ev),\n clientX = _a.x,\n clientY = _a.y;\n\n return this.getPointByClient(clientX, clientY);\n }; // 获取 touch 事件的 clientX 和 clientY 需要单独处理\n\n\n Canvas.prototype.getClientByEvent = function (ev) {\n var clientInfo = ev;\n\n if (ev.touches) {\n if (ev.type === 'touchend') {\n clientInfo = ev.changedTouches[0];\n } else {\n clientInfo = ev.touches[0];\n }\n }\n\n return {\n x: clientInfo.clientX,\n y: clientInfo.clientY\n };\n }; // 实现接口\n\n\n Canvas.prototype.getPointByClient = function (clientX, clientY) {\n var el = this.get('el');\n var bbox = el.getBoundingClientRect();\n return {\n x: clientX - bbox.left,\n y: clientY - bbox.top\n };\n }; // 实现接口\n\n\n Canvas.prototype.getClientByPoint = function (x, y) {\n var el = this.get('el');\n var bbox = el.getBoundingClientRect();\n return {\n x: x + bbox.left,\n y: y + bbox.top\n };\n }; // 实现接口\n\n\n Canvas.prototype.draw = function () {};\n /**\n * @protected\n * 销毁 DOM 容器\n */\n\n\n Canvas.prototype.removeDom = function () {\n var el = this.get('el');\n el.parentNode.removeChild(el);\n };\n /**\n * @protected\n * 清理所有的事件\n */\n\n\n Canvas.prototype.clearEvents = function () {\n var eventController = this.get('eventController');\n eventController.destroy();\n };\n\n Canvas.prototype.isCanvas = function () {\n return true;\n };\n\n Canvas.prototype.getParent = function () {\n return null;\n };\n\n Canvas.prototype.destroy = function () {\n var timeline = this.get('timeline');\n\n if (this.get('destroyed')) {\n return;\n }\n\n this.clear(); // 同初始化时相反顺序调用\n\n if (timeline) {\n // 画布销毁时自动停止动画\n timeline.stop();\n }\n\n this.clearEvents();\n this.removeDom();\n\n _super.prototype.destroy.call(this);\n };\n\n return Canvas;\n}(Container);\n\nexport default Canvas;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "index": 168, "index2": 188, "size": 7530, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "issuerId": null, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } } ], "profile": { "factory": 693, "building": 77, "dependencies": 227 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "type": "harmony side effect evaluation", "userRequest": "../animate/timeline", "loc": "5:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "type": "harmony import specifier", "userRequest": "../animate/timeline", "loc": "88:23-31" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import { isEqual, isNumber, isFunction } from '@antv/util';\nimport * as d3Timer from 'd3-timer';\nimport * as d3Ease from 'd3-ease';\nimport { interpolate, interpolateArray } from 'd3-interpolate'; // 目前整体动画只需要数值和数组的差值计算\n\nimport * as PathUtil from '../util/path';\nimport { isColorProp, isGradientColor } from '../util/color';\nvar IDENTITY_MATRIX = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n/**\n * 使用 ratio 进行插值计算来更新属性\n * @param {IElement} shape 元素\n * @param {Animation} animation 动画\n * @param {number} ratio 比例\n * @return {boolean} 动画是否执行完成\n */\n\nfunction _update(shape, animation, ratio) {\n var cProps = {}; // 此刻属性\n\n var fromAttrs = animation.fromAttrs,\n toAttrs = animation.toAttrs;\n\n if (shape.destroyed) {\n return;\n }\n\n var interf; // 差值函数\n\n for (var k in toAttrs) {\n if (!isEqual(fromAttrs[k], toAttrs[k])) {\n if (k === 'path') {\n var toPath = toAttrs[k];\n var fromPath = fromAttrs[k];\n\n if (toPath.length > fromPath.length) {\n toPath = PathUtil.parsePathString(toAttrs[k]); // 终点状态\n\n fromPath = PathUtil.parsePathString(fromAttrs[k]); // 起始状态\n\n fromPath = PathUtil.fillPathByDiff(fromPath, toPath);\n fromPath = PathUtil.formatPath(fromPath, toPath);\n animation.fromAttrs.path = fromPath;\n animation.toAttrs.path = toPath;\n } else if (!animation.pathFormatted) {\n toPath = PathUtil.parsePathString(toAttrs[k]);\n fromPath = PathUtil.parsePathString(fromAttrs[k]);\n fromPath = PathUtil.formatPath(fromPath, toPath);\n animation.fromAttrs.path = fromPath;\n animation.toAttrs.path = toPath;\n animation.pathFormatted = true;\n }\n\n cProps[k] = [];\n\n for (var i = 0; i < toPath.length; i++) {\n var toPathPoint = toPath[i];\n var fromPathPoint = fromPath[i];\n var cPathPoint = [];\n\n for (var j = 0; j < toPathPoint.length; j++) {\n if (isNumber(toPathPoint[j]) && fromPathPoint && isNumber(fromPathPoint[j])) {\n interf = interpolate(fromPathPoint[j], toPathPoint[j]);\n cPathPoint.push(interf(ratio));\n } else {\n cPathPoint.push(toPathPoint[j]);\n }\n }\n\n cProps[k].push(cPathPoint);\n }\n } else if (k === 'matrix') {\n /*\n 对矩阵进行插值时,需要保证矩阵不为空,为空则使用单位矩阵\n TODO: 二维和三维场景下单位矩阵不同,之后 WebGL 版需要做进一步处理\n */\n var matrixFn = interpolateArray(fromAttrs[k] || IDENTITY_MATRIX, toAttrs[k] || IDENTITY_MATRIX);\n var currentMatrix = matrixFn(ratio);\n cProps[k] = currentMatrix;\n } else if (isColorProp(k) && isGradientColor(toAttrs[k])) {\n cProps[k] = toAttrs[k];\n } else if (!isFunction(toAttrs[k])) {\n // 非函数类型的值才能做插值\n interf = interpolate(fromAttrs[k], toAttrs[k]);\n cProps[k] = interf(ratio);\n }\n }\n }\n\n shape.attr(cProps);\n}\n/**\n * 根据自定义帧动画函数 onFrame 来更新属性\n * @param {IElement} shape 元素\n * @param {Animation} animation 动画\n * @param {number} elapsed 动画执行时间(毫秒)\n * @return {boolean} 动画是否执行完成\n */\n\n\nfunction update(shape, animation, elapsed) {\n var startTime = animation.startTime,\n delay = animation.delay; // 如果还没有开始执行或暂停,先不更新\n\n if (elapsed < startTime + delay || animation._paused) {\n return false;\n }\n\n var ratio;\n var duration = animation.duration;\n var easing = animation.easing; // 已执行时间\n\n elapsed = elapsed - startTime - animation.delay;\n\n if (animation.repeat) {\n // 如果动画重复执行,则 elapsed > duration,计算 ratio 时需取模\n ratio = elapsed % duration / duration;\n ratio = d3Ease[easing](ratio);\n } else {\n ratio = elapsed / duration;\n\n if (ratio < 1) {\n // 动画未执行完\n ratio = d3Ease[easing](ratio);\n } else {\n // 动画已执行完\n if (animation.onFrame) {\n shape.attr(animation.onFrame(1));\n } else {\n shape.attr(animation.toAttrs);\n }\n\n return true;\n }\n }\n\n if (animation.onFrame) {\n var attrs = animation.onFrame(ratio);\n shape.attr(attrs);\n } else {\n _update(shape, animation, ratio);\n }\n\n return false;\n}\n\nvar Timeline =\n/** @class */\nfunction () {\n /**\n * 时间轴构造函数,依赖于画布\n * @param {}\n */\n function Timeline(canvas) {\n /**\n * 执行动画的元素列表\n * @type {IElement[]}\n */\n this.animators = [];\n /**\n * 当前时间\n * @type {number}\n */\n\n this.current = 0;\n /**\n * 定时器\n * @type {d3Timer.Timer}\n */\n\n this.timer = null;\n this.canvas = canvas;\n }\n /**\n * 初始化定时器\n */\n\n\n Timeline.prototype.initTimer = function () {\n var _this = this;\n\n var isFinished = false;\n var shape;\n var animations;\n var animation;\n this.timer = d3Timer.timer(function (elapsed) {\n _this.current = elapsed;\n\n if (_this.animators.length > 0) {\n for (var i = _this.animators.length - 1; i >= 0; i--) {\n shape = _this.animators[i];\n\n if (shape.destroyed) {\n // 如果已经被销毁,直接移出队列\n _this.removeAnimator(i);\n\n continue;\n }\n\n if (!shape.isAnimatePaused()) {\n animations = shape.get('animations');\n\n for (var j = animations.length - 1; j >= 0; j--) {\n animation = animations[j];\n isFinished = update(shape, animation, elapsed);\n\n if (isFinished) {\n animations.splice(j, 1);\n isFinished = false;\n\n if (animation.callback) {\n animation.callback();\n }\n }\n }\n }\n\n if (animations.length === 0) {\n _this.removeAnimator(i);\n }\n }\n\n var autoDraw = _this.canvas.get('autoDraw'); // 非自动渲染模式下,手动调用 canvas.draw() 重新渲染\n\n\n if (!autoDraw) {\n _this.canvas.draw();\n }\n }\n });\n };\n /**\n * 增加动画元素\n */\n\n\n Timeline.prototype.addAnimator = function (shape) {\n this.animators.push(shape);\n };\n /**\n * 移除动画元素\n */\n\n\n Timeline.prototype.removeAnimator = function (index) {\n this.animators.splice(index, 1);\n };\n /**\n * 是否有动画在执行\n */\n\n\n Timeline.prototype.isAnimating = function () {\n return !!this.animators.length;\n };\n /**\n * 停止定时器\n */\n\n\n Timeline.prototype.stop = function () {\n if (this.timer) {\n this.timer.stop();\n }\n };\n /**\n * 停止时间轴上所有元素的动画,并置空动画元素列表\n * @param {boolean} toEnd 是否到动画的最终状态,用来透传给动画元素的 stopAnimate 方法\n */\n\n\n Timeline.prototype.stopAllAnimations = function (toEnd) {\n if (toEnd === void 0) {\n toEnd = true;\n }\n\n this.animators.forEach(function (animator) {\n animator.stopAnimate(toEnd);\n });\n this.animators = [];\n this.canvas.draw();\n };\n /**\n * 获取当前时间\n */\n\n\n Timeline.prototype.getTime = function () {\n return this.current;\n };\n\n return Timeline;\n}();\n\nexport default Timeline;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/event/event-contoller.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/event/event-contoller.js", "index": 197, "index2": 189, "size": 17197, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "issuerId": null, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } } ], "profile": { "factory": 693, "building": 77, "dependencies": 227 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "type": "harmony side effect evaluation", "userRequest": "../event/event-contoller", "loc": "6:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "type": "harmony import specifier", "userRequest": "../event/event-contoller", "loc": "75:30-45" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "/**\n * @fileoverview 事件处理器\n * @author dxq613@gmail.com\n */\nimport GraphEvent from './graph-event';\nimport { each, isParent } from '../util/util';\nvar CLICK_OFFSET = 40;\nvar LEFT_BTN_CODE = 0;\nvar DELEGATION_SPLIT = ':';\nvar EVENTS = ['mousedown', 'mouseup', 'dblclick', 'mouseout', 'mouseover', 'mousemove', 'mouseleave', 'mouseenter', 'touchstart', 'touchmove', 'touchend', 'dragenter', 'dragover', 'dragleave', 'drop', 'contextmenu', 'mousewheel']; // 是否有委托事件监听\n\nfunction hasDelegation(events, type) {\n for (var key in events) {\n if (events.hasOwnProperty(key) && key.indexOf(DELEGATION_SPLIT + type) >= 0) {\n return true;\n }\n }\n\n return false;\n} // 触发目标事件,目标只能是 shape 或 canvas\n\n\nfunction emitTargetEvent(target, type, eventObj) {\n eventObj.name = type;\n eventObj.target = target;\n eventObj.currentTarget = target;\n eventObj.delegateTarget = target;\n target.emit(type, eventObj);\n} // 事件冒泡, enter 和 leave 需要对 fromShape 和 toShape 进行判同\n\n\nfunction bubbleEvent(container, type, eventObj) {\n if (eventObj.bubbles) {\n var relativeShape = void 0;\n var isOverEvent = false;\n\n if (type === 'mouseenter') {\n relativeShape = eventObj.fromShape;\n isOverEvent = true;\n } else if (type === 'mouseleave') {\n isOverEvent = true;\n relativeShape = eventObj.toShape;\n } // canvas 上的 mouseenter, mouseleave 事件,仅当进入或者移出 canvas 时触发\n\n\n if (container.isCanvas() && isOverEvent) {\n return;\n } // 如果相关图形同当前图形在同一个容器内,不触发事件\n\n\n if (relativeShape && isParent(container, relativeShape)) {\n // 阻止继续向上冒泡\n eventObj.bubbles = false;\n return;\n } // 事件名称可能在委托过程中被修改,因此事件冒泡时需要重新设置事件名称\n\n\n eventObj.name = type;\n eventObj.currentTarget = container;\n eventObj.delegateTarget = container;\n container.emit(type, eventObj);\n }\n}\n\nvar EventController =\n/** @class */\nfunction () {\n function EventController(cfg) {\n var _this = this; // 正在被拖拽的图形\n\n\n this.draggingShape = null;\n this.dragging = false; // 当前鼠标/touch所在位置的图形\n\n this.currentShape = null;\n this.mousedownShape = null;\n this.mousedownPoint = null; // 统一处理所有的回调\n\n this._eventCallback = function (ev) {\n var type = ev.type;\n\n _this._triggerEvent(type, ev);\n }; // 在 document 处理拖拽到画布外的事件,处理从图形上移除画布未被捕捉的问题\n\n\n this._onDocumentMove = function (ev) {\n var canvas = _this.canvas;\n var el = canvas.get('el');\n\n if (el !== ev.target) {\n // 不在 canvas 上移动\n if (_this.dragging || _this.currentShape) {\n var pointInfo = _this._getPointInfo(ev); // 还在拖拽过程中\n\n\n if (_this.dragging) {\n _this._emitEvent('drag', ev, pointInfo, _this.draggingShape);\n } // 说明从某个图形直接移动到了画布外面,\n // 修复了 mouseleave 的 bug 后不再出现这种情况\n // if (this.currentShape) {\n // this._emitEvent('mouseleave', ev, pointInfo, this.currentShape, this.currentShape, null);\n // this.currentShape = null;\n // }\n\n }\n }\n }; // 在 document 上处理拖拽到外面,释放鼠标时触发 dragend\n\n\n this._onDocumentMouseUp = function (ev) {\n var canvas = _this.canvas;\n var el = canvas.get('el');\n\n if (el !== ev.target) {\n // 不在 canvas 上移动\n if (_this.dragging) {\n var pointInfo = _this._getPointInfo(ev);\n\n if (_this.draggingShape) {\n // 如果存在拖拽的图形,则也触发 drop 事件\n _this._emitEvent('drop', ev, pointInfo, null);\n }\n\n _this._emitEvent('dragend', ev, pointInfo, _this.draggingShape);\n\n _this._afterDrag(_this.draggingShape, pointInfo, ev);\n }\n }\n };\n\n this.canvas = cfg.canvas;\n }\n\n EventController.prototype.init = function () {\n this._bindEvents();\n }; // 注册事件\n\n\n EventController.prototype._bindEvents = function () {\n var _this = this;\n\n var el = this.canvas.get('el');\n each(EVENTS, function (eventName) {\n el.addEventListener(eventName, _this._eventCallback);\n });\n\n if (document) {\n // 处理移动到外面没有触发 shape mouse leave 的事件\n // 处理拖拽到外部的问题\n document.addEventListener('mousemove', this._onDocumentMove); // 处理拖拽过程中在外部释放鼠标的问题\n\n document.addEventListener('mouseup', this._onDocumentMouseUp);\n }\n }; // 清理事件\n\n\n EventController.prototype._clearEvents = function () {\n var _this = this;\n\n var el = this.canvas.get('el');\n each(EVENTS, function (eventName) {\n el.removeEventListener(eventName, _this._eventCallback);\n });\n\n if (document) {\n document.removeEventListener('mousemove', this._onDocumentMove);\n document.removeEventListener('mouseup', this._onDocumentMouseUp);\n }\n };\n\n EventController.prototype._getEventObj = function (type, event, point, target, fromShape, toShape) {\n var eventObj = new GraphEvent(type, event);\n eventObj.fromShape = fromShape;\n eventObj.toShape = toShape;\n eventObj.x = point.x;\n eventObj.y = point.y;\n eventObj.clientX = point.clientX;\n eventObj.clientY = point.clientY;\n eventObj.propagationPath.push(target); // 事件的x,y应该是基于画布左上角的,与canvas的matrix无关\n\n return eventObj;\n }; // 根据点获取图形,提取成独立方法,便于后续优化\n\n\n EventController.prototype._getShape = function (point, ev) {\n return this.canvas.getShape(point.x, point.y, ev);\n }; // 获取事件的当前点的信息\n\n\n EventController.prototype._getPointInfo = function (ev) {\n var canvas = this.canvas;\n var clientPoint = canvas.getClientByEvent(ev);\n var point = canvas.getPointByEvent(ev);\n return {\n x: point.x,\n y: point.y,\n clientX: clientPoint.x,\n clientY: clientPoint.y\n };\n }; // 触发事件\n\n\n EventController.prototype._triggerEvent = function (type, ev) {\n var pointInfo = this._getPointInfo(ev); // 每次都获取图形有一定成本,后期可以考虑进行缓存策略\n\n\n var shape = this._getShape(pointInfo, ev);\n\n var method = this[\"_on\" + type];\n var leaveCanvas = false;\n\n if (method) {\n method.call(this, pointInfo, shape, ev);\n } else {\n var preShape = this.currentShape; // 如果进入、移出画布时存在图形,则要分别触发事件\n\n if (type === 'mouseenter' || type === 'dragenter' || type === 'mouseover') {\n this._emitEvent(type, ev, pointInfo, null, null, shape); // 先进入画布\n\n\n if (shape) {\n this._emitEvent(type, ev, pointInfo, shape, null, shape); // 再触发图形的事件\n\n }\n\n if (type === 'mouseenter' && this.draggingShape) {\n // 如果正在拖拽图形, 则触发 dragleave\n this._emitEvent('dragenter', ev, pointInfo, null);\n }\n } else if (type === 'mouseleave' || type === 'dragleave' || type === 'mouseout') {\n leaveCanvas = true;\n\n if (preShape) {\n this._emitEvent(type, ev, pointInfo, preShape, preShape, null); // 先触发图形的事件\n\n }\n\n this._emitEvent(type, ev, pointInfo, null, preShape, null); // 再触发离开画布事件\n\n\n if (type === 'mouseleave' && this.draggingShape) {\n this._emitEvent('dragleave', ev, pointInfo, null);\n }\n } else {\n this._emitEvent(type, ev, pointInfo, shape, null, null); // 一般事件中不需要考虑 from, to\n\n }\n }\n\n if (!leaveCanvas) {\n this.currentShape = shape;\n } // 当鼠标从画布移动到 shape 或者从 preShape 移动到 shape 时,应用 shape 上的鼠标样式\n\n\n if (shape && !shape.get('destroyed')) {\n var canvas = this.canvas;\n var el = canvas.get('el');\n el.style.cursor = shape.attr('cursor') || canvas.get('cursor');\n }\n }; // 记录下点击的位置、图形,便于拖拽事件、click 事件的判定\n\n\n EventController.prototype._onmousedown = function (pointInfo, shape, event) {\n // 只有鼠标左键的 mousedown 事件才会设置 mousedownShape 等属性,避免鼠标右键的 mousedown 事件引起其他事件发生\n if (event.button === LEFT_BTN_CODE) {\n this.mousedownShape = shape;\n this.mousedownPoint = pointInfo;\n this.mousedownTimeStamp = event.timeStamp;\n }\n\n this._emitEvent('mousedown', event, pointInfo, shape, null, null); // mousedown 不考虑fromShape, toShape\n\n }; // mouseleave 和 mouseenter 都是成对存在的\n // mouseenter 和 mouseover 同时触发\n\n\n EventController.prototype._emitMouseoverEvents = function (event, pointInfo, fromShape, toShape) {\n var el = this.canvas.get('el');\n\n if (fromShape !== toShape) {\n if (fromShape) {\n this._emitEvent('mouseout', event, pointInfo, fromShape, fromShape, toShape);\n\n this._emitEvent('mouseleave', event, pointInfo, fromShape, fromShape, toShape); // 当鼠标从 fromShape 移动到画布上时,重置鼠标样式\n\n\n if (!toShape || toShape.get('destroyed')) {\n el.style.cursor = this.canvas.get('cursor');\n }\n }\n\n if (toShape) {\n this._emitEvent('mouseover', event, pointInfo, toShape, fromShape, toShape);\n\n this._emitEvent('mouseenter', event, pointInfo, toShape, fromShape, toShape);\n }\n }\n }; // dragover 不等同于 mouseover,而等同于 mousemove\n\n\n EventController.prototype._emitDragoverEvents = function (event, pointInfo, fromShape, toShape, isCanvasEmit) {\n if (toShape) {\n if (toShape !== fromShape) {\n if (fromShape) {\n this._emitEvent('dragleave', event, pointInfo, fromShape, fromShape, toShape);\n }\n\n this._emitEvent('dragenter', event, pointInfo, toShape, fromShape, toShape);\n }\n\n if (!isCanvasEmit) {\n this._emitEvent('dragover', event, pointInfo, toShape);\n }\n } else if (fromShape) {\n // TODO: 此处判断有问题,当 drag 图形时,也会触发一次 dragleave 事件,因为此时 toShape 为 null,这不是所期望的\n // 经过空白区域\n this._emitEvent('dragleave', event, pointInfo, fromShape, fromShape, toShape);\n }\n\n if (isCanvasEmit) {\n this._emitEvent('dragover', event, pointInfo, toShape);\n }\n }; // drag 完成后,需要做一些清理工作\n\n\n EventController.prototype._afterDrag = function (draggingShape, pointInfo, event) {\n if (draggingShape) {\n draggingShape.set('capture', true); // 恢复可以拾取\n\n this.draggingShape = null;\n }\n\n this.dragging = false; // drag 完成后,有可能 draggingShape 已经移动到了当前位置,所以不能直接取当前图形\n\n var shape = this._getShape(pointInfo, event); // 拖拽完成后,进行 enter,leave 的判定\n\n\n if (shape !== draggingShape) {\n this._emitMouseoverEvents(event, pointInfo, draggingShape, shape);\n }\n\n this.currentShape = shape; // 更新当前 shape,如果不处理当前图形的 mouseleave 事件可能会出问题\n }; // 按键抬起时,会终止拖拽、触发点击\n\n\n EventController.prototype._onmouseup = function (pointInfo, shape, event) {\n // eevent.button === 0 表示鼠标左键事件,此处加上判断主要是为了避免右键鼠标会触发 mouseup 和 click 事件\n // ref: https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button\n if (event.button === LEFT_BTN_CODE) {\n var draggingShape = this.draggingShape;\n\n if (this.dragging) {\n // 存在可以拖拽的图形,同时拖拽到其他图形上时触发 drag 事件\n if (draggingShape) {\n this._emitEvent('drop', event, pointInfo, shape);\n }\n\n this._emitEvent('dragend', event, pointInfo, draggingShape);\n\n this._afterDrag(draggingShape, pointInfo, event);\n } else {\n this._emitEvent('mouseup', event, pointInfo, shape); // 先触发 mouseup 再触发 click\n\n\n if (shape === this.mousedownShape) {\n this._emitEvent('click', event, pointInfo, shape);\n }\n\n this.mousedownShape = null;\n this.mousedownPoint = null;\n }\n }\n }; // 当触发浏览器的 dragover 事件时,不会再触发 mousemove ,所以这时候的 dragenter, dragleave 事件需要重新处理\n\n\n EventController.prototype._ondragover = function (pointInfo, shape, event) {\n event.preventDefault(); // 如果不对 dragover 进行 preventDefault,则不会在 canvas 上触发 drop 事件\n\n var preShape = this.currentShape;\n\n this._emitDragoverEvents(event, pointInfo, preShape, shape, true);\n }; // 大量的图形事件,都通过 mousemove 模拟\n\n\n EventController.prototype._onmousemove = function (pointInfo, shape, event) {\n var canvas = this.canvas;\n var preShape = this.currentShape;\n var draggingShape = this.draggingShape; // 正在拖拽时\n\n if (this.dragging) {\n // 正在拖拽中\n if (draggingShape) {\n // 如果拖拽了 shape 会触发 dragenter, dragleave, dragover 和 drag 事件\n this._emitDragoverEvents(event, pointInfo, preShape, shape, false);\n } // 如果存在 draggingShape 则会在 draggingShape 上触发 drag 事件,冒泡到 canvas 上\n // 否则在 canvas 上触发 drag 事件\n\n\n this._emitEvent('drag', event, pointInfo, draggingShape);\n } else {\n var mousedownPoint = this.mousedownPoint;\n\n if (mousedownPoint) {\n // 当鼠标点击下去,同时移动时,进行 drag 判定\n var mousedownShape = this.mousedownShape;\n var now = event.timeStamp;\n var timeWindow = now - this.mousedownTimeStamp;\n var dx = mousedownPoint.clientX - pointInfo.clientX;\n var dy = mousedownPoint.clientY - pointInfo.clientY;\n var dist = dx * dx + dy * dy;\n\n if (timeWindow > 120 || dist > CLICK_OFFSET) {\n if (mousedownShape && mousedownShape.get('draggable')) {\n // 设置了 draggable 的 shape 才能触发 drag 相关的事件\n draggingShape = this.mousedownShape; // 拖动鼠标点下时的 shape\n\n draggingShape.set('capture', false); // 禁止继续拾取,否则无法进行 dragover,dragenter,dragleave,drop的判定\n\n this.draggingShape = draggingShape;\n this.dragging = true;\n\n this._emitEvent('dragstart', event, pointInfo, draggingShape); // 清理按下鼠标时缓存的值\n\n\n this.mousedownShape = null;\n this.mousedownPoint = null;\n } else if (!mousedownShape && canvas.get('draggable')) {\n // 设置了 draggable 的 canvas 才能触发 drag 相关的事件\n this.dragging = true;\n\n this._emitEvent('dragstart', event, pointInfo, null); // 清理按下鼠标时缓存的值\n\n\n this.mousedownShape = null;\n this.mousedownPoint = null;\n } else {\n this._emitMouseoverEvents(event, pointInfo, preShape, shape);\n\n this._emitEvent('mousemove', event, pointInfo, shape);\n }\n } else {\n this._emitMouseoverEvents(event, pointInfo, preShape, shape);\n\n this._emitEvent('mousemove', event, pointInfo, shape);\n }\n } else {\n // 没有按键按下时,则直接触发 mouse over 相关的各种事件\n this._emitMouseoverEvents(event, pointInfo, preShape, shape); // 始终触发移动\n\n\n this._emitEvent('mousemove', event, pointInfo, shape);\n }\n }\n }; // 触发事件\n\n\n EventController.prototype._emitEvent = function (type, event, pointInfo, shape, fromShape, toShape) {\n var eventObj = this._getEventObj(type, event, pointInfo, shape, fromShape, toShape); // 存在 shape 触发,则进行冒泡处理\n\n\n if (shape) {\n eventObj.shape = shape; // 触发 shape 上的事件\n\n emitTargetEvent(shape, type, eventObj);\n var parent_1 = shape.getParent(); // 执行冒泡\n\n while (parent_1) {\n // 委托事件要先触发\n parent_1.emitDelegation(type, eventObj); // 事件冒泡停止,不能妨碍委托事件\n\n if (!eventObj.propagationStopped) {\n bubbleEvent(parent_1, type, eventObj);\n }\n\n eventObj.propagationPath.push(parent_1);\n parent_1 = parent_1.getParent();\n }\n } else {\n // 如果没有 shape 直接在 canvas 上触发\n var canvas = this.canvas; // 直接触发 canvas 上的事件\n\n emitTargetEvent(canvas, type, eventObj);\n }\n };\n\n EventController.prototype.destroy = function () {\n // 清理事件\n this._clearEvents(); // 清理缓存的对象\n\n\n this.canvas = null;\n this.currentShape = null;\n this.draggingShape = null;\n this.mousedownPoint = null;\n this.mousedownShape = null;\n this.mousedownTimeStamp = null;\n };\n\n return EventController;\n}();\n\nexport default EventController;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "index": 184, "index2": 186, "size": 1226, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "issuerId": null, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } } ], "profile": { "factory": 427, "building": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "type": "harmony side effect evaluation", "userRequest": "d3-ease", "loc": "3:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "type": "harmony import specifier", "userRequest": "d3-ease", "loc": "117:12-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "type": "harmony import specifier", "userRequest": "d3-ease", "loc": "123:14-20" } ], "usedExports": true, "providedExports": [ "easeLinear", "easeQuad", "easeQuadIn", "easeQuadOut", "easeQuadInOut", "easeCubic", "easeCubicIn", "easeCubicOut", "easeCubicInOut", "easePoly", "easePolyIn", "easePolyOut", "easePolyInOut", "easeSin", "easeSinIn", "easeSinOut", "easeSinInOut", "easeExp", "easeExpIn", "easeExpOut", "easeExpInOut", "easeCircle", "easeCircleIn", "easeCircleOut", "easeCircleInOut", "easeBounce", "easeBounceIn", "easeBounceOut", "easeBounceInOut", "easeBack", "easeBackIn", "easeBackOut", "easeBackInOut", "easeElastic", "easeElasticIn", "easeElasticOut", "easeElasticInOut" ], "optimizationBailout": [], "depth": 5, "source": "export { linear as easeLinear } from \"./linear.js\";\nexport { quadInOut as easeQuad, quadIn as easeQuadIn, quadOut as easeQuadOut, quadInOut as easeQuadInOut } from \"./quad.js\";\nexport { cubicInOut as easeCubic, cubicIn as easeCubicIn, cubicOut as easeCubicOut, cubicInOut as easeCubicInOut } from \"./cubic.js\";\nexport { polyInOut as easePoly, polyIn as easePolyIn, polyOut as easePolyOut, polyInOut as easePolyInOut } from \"./poly.js\";\nexport { sinInOut as easeSin, sinIn as easeSinIn, sinOut as easeSinOut, sinInOut as easeSinInOut } from \"./sin.js\";\nexport { expInOut as easeExp, expIn as easeExpIn, expOut as easeExpOut, expInOut as easeExpInOut } from \"./exp.js\";\nexport { circleInOut as easeCircle, circleIn as easeCircleIn, circleOut as easeCircleOut, circleInOut as easeCircleInOut } from \"./circle.js\";\nexport { bounceOut as easeBounce, bounceIn as easeBounceIn, bounceOut as easeBounceOut, bounceInOut as easeBounceInOut } from \"./bounce.js\";\nexport { backInOut as easeBack, backIn as easeBackIn, backOut as easeBackOut, backInOut as easeBackInOut } from \"./back.js\";\nexport { elasticOut as easeElastic, elasticIn as easeElasticIn, elasticOut as easeElasticOut, elasticInOut as easeElasticInOut } from \"./elastic.js\";" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/color.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/color.js", "index": 169, "index2": 160, "size": 235, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "issuerId": null, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } } ], "profile": { "factory": 427, "building": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "type": "harmony side effect evaluation", "userRequest": "../util/color", "loc": "7:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "type": "harmony import specifier", "userRequest": "../util/color", "loc": "79:17-28" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "type": "harmony import specifier", "userRequest": "../util/color", "loc": "79:35-50" } ], "usedExports": ["isColorProp", "isGradientColor"], "providedExports": ["isColorProp", "isGradientColor"], "optimizationBailout": [], "depth": 5, "source": "export var isColorProp = function isColorProp(prop) {\n return ['fill', 'stroke', 'fillStyle', 'strokeStyle'].includes(prop);\n};\nexport var isGradientColor = function isGradientColor(val) {\n return /^[r,R,L,l]{1}[\\s]*\\(/.test(val);\n};" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/timer.js", "name": "./node_modules/_d3-timer@1.0.10@d3-timer/src/timer.js", "index": 196, "index2": 187, "size": 3433, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "issuerId": 69, "issuerName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 69, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "name": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 34, "building": 35, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 69, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./timer.js", "loc": "1:0-52" }, { "moduleId": 69, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "type": "harmony export imported specifier", "userRequest": "./timer.js", "loc": "1:0-52" }, { "moduleId": 69, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "type": "harmony export imported specifier", "userRequest": "./timer.js", "loc": "1:0-52" }, { "moduleId": 69, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "type": "harmony export imported specifier", "userRequest": "./timer.js", "loc": "1:0-52" }, { "moduleId": 86, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js", "type": "harmony side effect evaluation", "userRequest": "./timer.js", "loc": "1:0-40" }, { "moduleId": 86, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js", "type": "harmony import specifier", "userRequest": "./timer.js", "loc": "3:14-19" }, { "moduleId": 86, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js", "type": "harmony import specifier", "userRequest": "./timer.js", "loc": "6:40-43" }, { "moduleId": 87, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/timeout.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/timeout.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/timeout.js", "type": "harmony side effect evaluation", "userRequest": "./timer.js", "loc": "1:0-35" }, { "moduleId": 87, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/timeout.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/timeout.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/timeout.js", "type": "harmony import specifier", "userRequest": "./timer.js", "loc": "3:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-timer", "loc": "185:17-30" } ], "usedExports": ["timer"], "providedExports": ["now", "Timer", "timer", "timerFlush"], "optimizationBailout": [], "depth": 6, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar frame = 0,\n // is an animation frame pending?\ntimeout = 0,\n // is a timeout pending?\ninterval = 0,\n // are any timers active?\npokeDelay = 1000,\n // how frequently we check for clock skew\ntaskHead,\n taskTail,\n clockLast = 0,\n clockNow = 0,\n clockSkew = 0,\n clock = (typeof performance === \"undefined\" ? \"undefined\" : _typeof(performance)) === \"object\" && performance.now ? performance : Date,\n setFrame = (typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === \"object\" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function (f) {\n setTimeout(f, 17);\n};\nexport function now() {\n return clockNow || (setFrame(clearNow), clockNow = clock.now() + clockSkew);\n}\n\nfunction clearNow() {\n clockNow = 0;\n}\n\nexport function Timer() {\n this._call = this._time = this._next = null;\n}\nTimer.prototype = timer.prototype = {\n constructor: Timer,\n restart: function restart(callback, delay, time) {\n if (typeof callback !== \"function\") throw new TypeError(\"callback is not a function\");\n time = (time == null ? now() : +time) + (delay == null ? 0 : +delay);\n\n if (!this._next && taskTail !== this) {\n if (taskTail) taskTail._next = this;else taskHead = this;\n taskTail = this;\n }\n\n this._call = callback;\n this._time = time;\n sleep();\n },\n stop: function stop() {\n if (this._call) {\n this._call = null;\n this._time = Infinity;\n sleep();\n }\n }\n};\nexport function timer(callback, delay, time) {\n var t = new Timer();\n t.restart(callback, delay, time);\n return t;\n}\nexport function timerFlush() {\n now(); // Get the current time, if not already set.\n\n ++frame; // Pretend we’ve set an alarm, if we haven’t already.\n\n var t = taskHead,\n e;\n\n while (t) {\n if ((e = clockNow - t._time) >= 0) t._call.call(null, e);\n t = t._next;\n }\n\n --frame;\n}\n\nfunction wake() {\n clockNow = (clockLast = clock.now()) + clockSkew;\n frame = timeout = 0;\n\n try {\n timerFlush();\n } finally {\n frame = 0;\n nap();\n clockNow = 0;\n }\n}\n\nfunction poke() {\n var now = clock.now(),\n delay = now - clockLast;\n if (delay > pokeDelay) clockSkew -= delay, clockLast = now;\n}\n\nfunction nap() {\n var t0,\n t1 = taskHead,\n t2,\n time = Infinity;\n\n while (t1) {\n if (t1._call) {\n if (time > t1._time) time = t1._time;\n t0 = t1, t1 = t1._next;\n } else {\n t2 = t1._next, t1._next = null;\n t1 = t0 ? t0._next = t2 : taskHead = t2;\n }\n }\n\n taskTail = t0;\n sleep(time);\n}\n\nfunction sleep(time) {\n if (frame) return; // Soonest alarm already set, or will be.\n\n if (timeout) timeout = clearTimeout(timeout);\n var delay = time - clockNow; // Strictly less than if we recomputed clockNow.\n\n if (delay > 24) {\n if (time < Infinity) timeout = setTimeout(wake, time - clock.now() - clockSkew);\n if (interval) interval = clearInterval(interval);\n } else {\n if (!interval) clockLast = clock.now(), interval = setInterval(poke, pokeDelay);\n frame = 1, setFrame(wake);\n }\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/linear.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/linear.js", "index": 185, "index2": 175, "size": 42, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 30, "building": 84, "dependencies": 154 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./linear.js", "loc": "1:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./linear.js", "loc": "1:0-51" } ], "usedExports": ["linear"], "providedExports": ["linear"], "optimizationBailout": [], "depth": 6, "source": "export function linear(t) {\n return +t;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/quad.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/quad.js", "index": 186, "index2": 176, "size": 189, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 30, "building": 84, "dependencies": 154 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./quad.js", "loc": "2:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quad.js", "loc": "2:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quad.js", "loc": "2:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quad.js", "loc": "2:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quad.js", "loc": "2:0-124" } ], "usedExports": ["quadInOut", "quadIn", "quadOut"], "providedExports": ["quadIn", "quadOut", "quadInOut"], "optimizationBailout": [], "depth": 6, "source": "export function quadIn(t) {\n return t * t;\n}\nexport function quadOut(t) {\n return t * (2 - t);\n}\nexport function quadInOut(t) {\n return ((t *= 2) <= 1 ? t * t : --t * (2 - t) + 1) / 2;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/cubic.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/cubic.js", "index": 187, "index2": 177, "size": 207, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 30, "building": 84, "dependencies": 154 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./cubic.js", "loc": "3:0-133" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubic.js", "loc": "3:0-133" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubic.js", "loc": "3:0-133" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubic.js", "loc": "3:0-133" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubic.js", "loc": "3:0-133" } ], "usedExports": ["cubicInOut", "cubicIn", "cubicOut"], "providedExports": ["cubicIn", "cubicOut", "cubicInOut"], "optimizationBailout": [], "depth": 6, "source": "export function cubicIn(t) {\n return t * t * t;\n}\nexport function cubicOut(t) {\n return --t * t * t + 1;\n}\nexport function cubicInOut(t) {\n return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/poly.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/poly.js", "index": 188, "index2": 178, "size": 583, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 30, "building": 84, "dependencies": 154 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./poly.js", "loc": "4:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./poly.js", "loc": "4:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./poly.js", "loc": "4:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./poly.js", "loc": "4:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./poly.js", "loc": "4:0-124" } ], "usedExports": ["polyInOut", "polyIn", "polyOut"], "providedExports": ["polyIn", "polyOut", "polyInOut"], "optimizationBailout": [], "depth": 6, "source": "var exponent = 3;\nexport var polyIn = function custom(e) {\n e = +e;\n\n function polyIn(t) {\n return Math.pow(t, e);\n }\n\n polyIn.exponent = custom;\n return polyIn;\n}(exponent);\nexport var polyOut = function custom(e) {\n e = +e;\n\n function polyOut(t) {\n return 1 - Math.pow(1 - t, e);\n }\n\n polyOut.exponent = custom;\n return polyOut;\n}(exponent);\nexport var polyInOut = function custom(e) {\n e = +e;\n\n function polyInOut(t) {\n return ((t *= 2) <= 1 ? Math.pow(t, e) : 2 - Math.pow(2 - t, e)) / 2;\n }\n\n polyInOut.exponent = custom;\n return polyInOut;\n}(exponent);" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/sin.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/sin.js", "index": 189, "index2": 179, "size": 247, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 30, "building": 84, "dependencies": 154 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sin.js", "loc": "5:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sin.js", "loc": "5:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sin.js", "loc": "5:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sin.js", "loc": "5:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sin.js", "loc": "5:0-115" } ], "usedExports": ["sinInOut", "sinIn", "sinOut"], "providedExports": ["sinIn", "sinOut", "sinInOut"], "optimizationBailout": [], "depth": 6, "source": "var pi = Math.PI,\n halfPi = pi / 2;\nexport function sinIn(t) {\n return +t === 1 ? 1 : 1 - Math.cos(t * halfPi);\n}\nexport function sinOut(t) {\n return Math.sin(t * halfPi);\n}\nexport function sinInOut(t) {\n return (1 - Math.cos(pi * t)) / 2;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "index": 190, "index2": 181, "size": 231, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 30, "building": 84, "dependencies": 154 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./exp.js", "loc": "6:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./exp.js", "loc": "6:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./exp.js", "loc": "6:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./exp.js", "loc": "6:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./exp.js", "loc": "6:0-115" } ], "usedExports": ["expInOut", "expIn", "expOut"], "providedExports": ["expIn", "expOut", "expInOut"], "optimizationBailout": [], "depth": 6, "source": "import { tpmt } from \"./math.js\";\nexport function expIn(t) {\n return tpmt(1 - +t);\n}\nexport function expOut(t) {\n return 1 - tpmt(t);\n}\nexport function expInOut(t) {\n return ((t *= 2) <= 1 ? tpmt(1 - t) : 2 - tpmt(t - 1)) / 2;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/circle.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/circle.js", "index": 192, "index2": 182, "size": 258, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 30, "building": 84, "dependencies": 154 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./circle.js", "loc": "7:0-142" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./circle.js", "loc": "7:0-142" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./circle.js", "loc": "7:0-142" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./circle.js", "loc": "7:0-142" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./circle.js", "loc": "7:0-142" } ], "usedExports": ["circleInOut", "circleIn", "circleOut"], "providedExports": ["circleIn", "circleOut", "circleInOut"], "optimizationBailout": [], "depth": 6, "source": "export function circleIn(t) {\n return 1 - Math.sqrt(1 - t * t);\n}\nexport function circleOut(t) {\n return Math.sqrt(1 - --t * t);\n}\nexport function circleInOut(t) {\n return ((t *= 2) <= 1 ? 1 - Math.sqrt(1 - t * t) : Math.sqrt(1 - (t -= 2) * t) + 1) / 2;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/bounce.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/bounce.js", "index": 193, "index2": 183, "size": 517, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 30, "building": 84, "dependencies": 154 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./bounce.js", "loc": "8:0-140" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bounce.js", "loc": "8:0-140" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bounce.js", "loc": "8:0-140" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bounce.js", "loc": "8:0-140" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bounce.js", "loc": "8:0-140" } ], "usedExports": ["bounceOut", "bounceIn", "bounceInOut"], "providedExports": ["bounceIn", "bounceOut", "bounceInOut"], "optimizationBailout": [], "depth": 6, "source": "var b1 = 4 / 11,\n b2 = 6 / 11,\n b3 = 8 / 11,\n b4 = 3 / 4,\n b5 = 9 / 11,\n b6 = 10 / 11,\n b7 = 15 / 16,\n b8 = 21 / 22,\n b9 = 63 / 64,\n b0 = 1 / b1 / b1;\nexport function bounceIn(t) {\n return 1 - bounceOut(1 - t);\n}\nexport function bounceOut(t) {\n return (t = +t) < b1 ? b0 * t * t : t < b3 ? b0 * (t -= b2) * t + b4 : t < b6 ? b0 * (t -= b5) * t + b7 : b0 * (t -= b8) * t + b9;\n}\nexport function bounceInOut(t) {\n return ((t *= 2) <= 1 ? 1 - bounceOut(1 - t) : bounceOut(t - 1) + 1) / 2;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/back.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/back.js", "index": 194, "index2": 184, "size": 647, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 30, "building": 84, "dependencies": 154 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./back.js", "loc": "9:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./back.js", "loc": "9:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./back.js", "loc": "9:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./back.js", "loc": "9:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./back.js", "loc": "9:0-124" } ], "usedExports": ["backInOut", "backIn", "backOut"], "providedExports": ["backIn", "backOut", "backInOut"], "optimizationBailout": [], "depth": 6, "source": "var overshoot = 1.70158;\nexport var backIn = function custom(s) {\n s = +s;\n\n function backIn(t) {\n return (t = +t) * t * (s * (t - 1) + t);\n }\n\n backIn.overshoot = custom;\n return backIn;\n}(overshoot);\nexport var backOut = function custom(s) {\n s = +s;\n\n function backOut(t) {\n return --t * t * ((t + 1) * s + t) + 1;\n }\n\n backOut.overshoot = custom;\n return backOut;\n}(overshoot);\nexport var backInOut = function custom(s) {\n s = +s;\n\n function backInOut(t) {\n return ((t *= 2) < 1 ? t * t * ((s + 1) * t - s) : (t -= 2) * t * ((s + 1) * t + s) + 2) / 2;\n }\n\n backInOut.overshoot = custom;\n return backInOut;\n}(overshoot);" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "index": 195, "index2": 185, "size": 1313, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 30, "building": 84, "dependencies": 154 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./elastic.js", "loc": "10:0-149" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./elastic.js", "loc": "10:0-149" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./elastic.js", "loc": "10:0-149" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./elastic.js", "loc": "10:0-149" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./elastic.js", "loc": "10:0-149" } ], "usedExports": ["elasticOut", "elasticIn", "elasticInOut"], "providedExports": ["elasticIn", "elasticOut", "elasticInOut"], "optimizationBailout": [], "depth": 6, "source": "import { tpmt } from \"./math.js\";\nvar tau = 2 * Math.PI,\n amplitude = 1,\n period = 0.3;\nexport var elasticIn = function custom(a, p) {\n var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);\n\n function elasticIn(t) {\n return a * tpmt(- --t) * Math.sin((s - t) / p);\n }\n\n elasticIn.amplitude = function (a) {\n return custom(a, p * tau);\n };\n\n elasticIn.period = function (p) {\n return custom(a, p);\n };\n\n return elasticIn;\n}(amplitude, period);\nexport var elasticOut = function custom(a, p) {\n var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);\n\n function elasticOut(t) {\n return 1 - a * tpmt(t = +t) * Math.sin((t + s) / p);\n }\n\n elasticOut.amplitude = function (a) {\n return custom(a, p * tau);\n };\n\n elasticOut.period = function (p) {\n return custom(a, p);\n };\n\n return elasticOut;\n}(amplitude, period);\nexport var elasticInOut = function custom(a, p) {\n var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);\n\n function elasticInOut(t) {\n return ((t = t * 2 - 1) < 0 ? a * tpmt(-t) * Math.sin((s - t) / p) : 2 - a * tpmt(t) * Math.sin((s + t) / p)) / 2;\n }\n\n elasticInOut.amplitude = function (a) {\n return custom(a, p * tau);\n };\n\n elasticInOut.period = function (p) {\n return custom(a, p);\n };\n\n return elasticInOut;\n}(amplitude, period);" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/basis.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/basis.js", "index": 177, "index2": 166, "size": 586, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./basis.js", "loc": "3:0-57" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./basis.js", "loc": "3:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/basisClosed.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/basisClosed.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/basisClosed.js", "type": "harmony side effect evaluation", "userRequest": "./basis.js", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "type": "harmony side effect evaluation", "userRequest": "./basis.js", "loc": "2:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/basisClosed.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/basisClosed.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/basisClosed.js", "type": "harmony import specifier", "userRequest": "./basis.js", "loc": "10:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "type": "harmony import specifier", "userRequest": "./basis.js", "loc": "55:32-37" } ], "usedExports": ["default", "basis"], "providedExports": ["basis", "default"], "optimizationBailout": [], "depth": 6, "source": "export function basis(t1, v0, v1, v2, v3) {\n var t2 = t1 * t1,\n t3 = t2 * t1;\n return ((1 - 3 * t1 + 3 * t2 - t3) * v0 + (4 - 6 * t2 + 3 * t3) * v1 + (1 + 3 * t1 + 3 * t2 - 3 * t3) * v2 + t3 * v3) / 6;\n}\nexport default function (values) {\n var n = values.length - 1;\n return function (t) {\n var i = t <= 0 ? t = 0 : t >= 1 ? (t = 1, n - 1) : Math.floor(t * n),\n v1 = values[i],\n v2 = values[i + 1],\n v0 = i > 0 ? values[i - 1] : 2 * v1 - v2,\n v3 = i < n - 1 ? values[i + 2] : 2 * v2 - v1;\n return basis((t - i / n) * n, v0, v1, v2, v3);\n };\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/basisClosed.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/basisClosed.js", "index": 178, "index2": 167, "size": 365, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./basisClosed.js", "loc": "4:0-69" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./basisClosed.js", "loc": "4:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "type": "harmony side effect evaluation", "userRequest": "./basisClosed.js", "loc": "3:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "type": "harmony import specifier", "userRequest": "./basisClosed.js", "loc": "56:38-49" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 6, "source": "import { basis } from \"./basis.js\";\nexport default function (values) {\n var n = values.length;\n return function (t) {\n var i = Math.floor(((t %= 1) < 0 ? ++t : t) * n),\n v0 = values[(i + n - 1) % n],\n v1 = values[i % n],\n v2 = values[(i + 1) % n],\n v3 = values[(i + 2) % n];\n return basis((t - i / n) * n, v0, v1, v2, v3);\n };\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "index": 175, "index2": 168, "size": 1311, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./rgb.js", "loc": "15:0-131" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./rgb.js", "loc": "15:0-131" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./rgb.js", "loc": "15:0-131" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./rgb.js", "loc": "15:0-131" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./rgb.js", "loc": "4:0-27" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./rgb.js", "loc": "16:123-126" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./rgb.js", "loc": "16:160-163" } ], "usedExports": ["default"], "providedExports": ["default", "rgbBasis", "rgbBasisClosed"], "optimizationBailout": [], "depth": 6, "source": "import { rgb as colorRgb } from \"d3-color\";\nimport basis from \"./basis.js\";\nimport basisClosed from \"./basisClosed.js\";\nimport nogamma, { gamma } from \"./color.js\";\nexport default (function rgbGamma(y) {\n var color = gamma(y);\n\n function rgb(start, end) {\n var r = color((start = colorRgb(start)).r, (end = colorRgb(end)).r),\n g = color(start.g, end.g),\n b = color(start.b, end.b),\n opacity = nogamma(start.opacity, end.opacity);\n return function (t) {\n start.r = r(t);\n start.g = g(t);\n start.b = b(t);\n start.opacity = opacity(t);\n return start + \"\";\n };\n }\n\n rgb.gamma = rgbGamma;\n return rgb;\n})(1);\n\nfunction rgbSpline(spline) {\n return function (colors) {\n var n = colors.length,\n r = new Array(n),\n g = new Array(n),\n b = new Array(n),\n i,\n color;\n\n for (i = 0; i < n; ++i) {\n color = colorRgb(colors[i]);\n r[i] = color.r || 0;\n g[i] = color.g || 0;\n b[i] = color.b || 0;\n }\n\n r = spline(r);\n g = spline(g);\n b = spline(b);\n color.opacity = 1;\n return function (t) {\n color.r = r(t);\n color.g = g(t);\n color.b = b(t);\n return color + \"\";\n };\n };\n}\n\nexport var rgbBasis = rgbSpline(basis);\nexport var rgbBasisClosed = rgbSpline(basisClosed);" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/numberArray.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/numberArray.js", "index": 181, "index2": 171, "size": 347, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./numberArray.js", "loc": "9:0-69" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./numberArray.js", "loc": "9:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "type": "harmony side effect evaluation", "userRequest": "./numberArray.js", "loc": "2:0-62" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "type": "harmony import specifier", "userRequest": "./numberArray.js", "loc": "4:10-23" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "type": "harmony import specifier", "userRequest": "./numberArray.js", "loc": "4:29-40" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./numberArray.js", "loc": "11:0-62" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./numberArray.js", "loc": "16:193-206" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./numberArray.js", "loc": "16:212-223" } ], "usedExports": ["isNumberArray", "default"], "providedExports": ["default", "isNumberArray"], "optimizationBailout": [], "depth": 6, "source": "export default function (a, b) {\n if (!b) b = [];\n var n = a ? Math.min(b.length, a.length) : 0,\n c = b.slice(),\n i;\n return function (t) {\n for (i = 0; i < n; ++i) {\n c[i] = a[i] * (1 - t) + b[i] * t;\n }\n\n return c;\n };\n}\nexport function isNumberArray(x) {\n return ArrayBuffer.isView(x) && !(x instanceof DataView);\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "index": 182, "index2": 172, "size": 577, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./array.js", "loc": "2:0-57" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./array.js", "loc": "2:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./array.js", "loc": "5:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./array.js", "loc": "16:245-257" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "76:23-39" } ], "usedExports": ["default", "genericArray"], "providedExports": ["default", "genericArray"], "optimizationBailout": [], "depth": 6, "source": "import value from \"./value.js\";\nimport numberArray, { isNumberArray } from \"./numberArray.js\";\nexport default function (a, b) {\n return (isNumberArray(b) ? numberArray : genericArray)(a, b);\n}\nexport function genericArray(a, b) {\n var nb = b ? b.length : 0,\n na = a ? Math.min(nb, a.length) : 0,\n x = new Array(na),\n c = new Array(nb),\n i;\n\n for (i = 0; i < na; ++i) {\n x[i] = value(a[i], b[i]);\n }\n\n for (; i < nb; ++i) {\n c[i] = b[i];\n }\n\n return function (t) {\n for (i = 0; i < na; ++i) {\n c[i] = x[i](t);\n }\n\n return c;\n };\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/date.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/date.js", "index": 180, "index2": 170, "size": 147, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./date.js", "loc": "5:0-55" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./date.js", "loc": "5:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./date.js", "loc": "6:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./date.js", "loc": "16:186-190" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 6, "source": "export default function (a, b) {\n var d = new Date();\n return a = +a, b = +b, function (t) {\n return d.setTime(a * (1 - t) + b * t), d;\n };\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/number.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/number.js", "index": 172, "index2": 162, "size": 111, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./number.js", "loc": "8:0-59" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./number.js", "loc": "8:0-59" }, { "moduleId": 83, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "type": "harmony side effect evaluation", "userRequest": "../number.js", "loc": "1:0-34" }, { "moduleId": 83, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "14:11-17" }, { "moduleId": 83, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "17:11-17" }, { "moduleId": 83, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "30:11-17" }, { "moduleId": 83, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "41:11-17" }, { "moduleId": 83, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "53:11-17" }, { "moduleId": 83, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "56:11-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/string.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/string.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/string.js", "type": "harmony side effect evaluation", "userRequest": "./number.js", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./number.js", "loc": "7:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./number.js", "loc": "16:72-78" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./number.js", "loc": "16:351-357" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/string.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/string.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/string.js", "type": "harmony import specifier", "userRequest": "./number.js", "loc": "52:11-17" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 6, "source": "export default function (a, b) {\n return a = +a, b = +b, function (t) {\n return a * (1 - t) + b * t;\n };\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/object.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/object.js", "index": 183, "index2": 173, "size": 791, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./object.js", "loc": "10:0-59" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./object.js", "loc": "10:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./object.js", "loc": "8:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./object.js", "loc": "16:342-348" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 6, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport value from \"./value.js\";\nexport default function (a, b) {\n var i = {},\n c = {},\n k;\n if (a === null || _typeof(a) !== \"object\") a = {};\n if (b === null || _typeof(b) !== \"object\") b = {};\n\n for (k in b) {\n if (k in a) {\n i[k] = value(a[k], b[k]);\n } else {\n c[k] = b[k];\n }\n }\n\n return function (t) {\n for (k in i) {\n c[k] = i[k](t);\n }\n\n return c;\n };\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/string.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/string.js", "index": 179, "index2": 169, "size": 1786, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./string.js", "loc": "12:0-59" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./string.js", "loc": "12:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./string.js", "loc": "9:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./string.js", "loc": "16:130-136" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 6, "source": "import number from \"./number.js\";\nvar reA = /[-+]?(?:\\d+\\.?\\d*|\\.?\\d+)(?:[eE][-+]?\\d+)?/g,\n reB = new RegExp(reA.source, \"g\");\n\nfunction zero(b) {\n return function () {\n return b;\n };\n}\n\nfunction one(b) {\n return function (t) {\n return b(t) + \"\";\n };\n}\n\nexport default function (a, b) {\n var bi = reA.lastIndex = reB.lastIndex = 0,\n // scan index for next number in b\n am,\n // current match in a\n bm,\n // current match in b\n bs,\n // string preceding current number in b, if any\n i = -1,\n // index in s\n s = [],\n // string constants and placeholders\n q = []; // number interpolators\n // Coerce inputs to strings.\n\n a = a + \"\", b = b + \"\"; // Interpolate pairs of numbers in a & b.\n\n while ((am = reA.exec(a)) && (bm = reB.exec(b))) {\n if ((bs = bm.index) > bi) {\n // a string precedes the next number in b\n bs = b.slice(bi, bs);\n if (s[i]) s[i] += bs; // coalesce with previous string\n else s[++i] = bs;\n }\n\n if ((am = am[0]) === (bm = bm[0])) {\n // numbers in a & b match\n if (s[i]) s[i] += bm; // coalesce with previous string\n else s[++i] = bm;\n } else {\n // interpolate non-matching numbers\n s[++i] = null;\n q.push({\n i: i,\n x: number(am, bm)\n });\n }\n\n bi = reB.lastIndex;\n } // Add remains of b.\n\n\n if (bi < b.length) {\n bs = b.slice(bi);\n if (s[i]) s[i] += bs; // coalesce with previous string\n else s[++i] = bs;\n } // Special optimization for only a single match.\n // Otherwise, interpolate each of the numbers and rejoin the string.\n\n\n return s.length < 2 ? q[0] ? one(q[0].x) : zero(b) : (b = q.length, function (t) {\n for (var i = 0, o; i < b; ++i) {\n s[(o = q[i]).i] = o.x(t);\n }\n\n return s.join(\"\");\n });\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "index": 170, "index2": 174, "size": 1150, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./value.js", "loc": "1:0-52" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./value.js", "loc": "1:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "type": "harmony side effect evaluation", "userRequest": "./value.js", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/object.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/object.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/object.js", "type": "harmony side effect evaluation", "userRequest": "./value.js", "loc": "3:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/object.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/object.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/object.js", "type": "harmony import specifier", "userRequest": "./value.js", "loc": "13:13-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "type": "harmony import specifier", "userRequest": "./value.js", "loc": "14:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "62:23-34" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "83:17-28" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 6, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { color } from \"d3-color\";\nimport rgb from \"./rgb.js\";\nimport { genericArray } from \"./array.js\";\nimport date from \"./date.js\";\nimport number from \"./number.js\";\nimport object from \"./object.js\";\nimport string from \"./string.js\";\nimport constant from \"./constant.js\";\nimport numberArray, { isNumberArray } from \"./numberArray.js\";\nexport default function (a, b) {\n var t = _typeof(b),\n c;\n\n return b == null || t === \"boolean\" ? constant(b) : (t === \"number\" ? number : t === \"string\" ? (c = color(b)) ? (b = c, rgb) : string : b instanceof color ? rgb : b instanceof Date ? date : isNumberArray(b) ? numberArray : Array.isArray(b) ? genericArray : typeof b.valueOf !== \"function\" && typeof b.toString !== \"function\" || isNaN(b) ? object : number)(a, b);\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/math.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/math.js", "index": 191, "index2": 180, "size": 151, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "profile": { "factory": 30, "building": 84, "dependencies": 154 } } ], "profile": { "factory": 162, "building": 27 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "3:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "6:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "9:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "9:26-30" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "9:44-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "26:19-23" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "43:38-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "43:81-85" } ], "usedExports": ["tpmt"], "providedExports": ["tpmt"], "optimizationBailout": [], "depth": 7, "source": "// tpmt is two power minus ten times t scaled to [0,1]\nexport function tpmt(x) {\n return (Math.pow(2, -10 * x) - 0.0009765625) * 1.0009775171065494;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/constant.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/constant.js", "index": 171, "index2": 161, "size": 73, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "issuerId": null, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "profile": { "factory": 23, "building": 208, "dependencies": 122 } } ], "profile": { "factory": 151, "building": 80 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "10:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "16:40-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "17:82-90" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "21:42-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "26:28-36" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 7, "source": "export default function (x) {\n return function () {\n return x;\n };\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "index": 176, "index2": 165, "size": 700, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "issuerId": 77, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } }, { "id": 77, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "profile": { "factory": 23, "building": 208, "dependencies": 122 } } ], "profile": { "factory": 110, "building": 34, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 73, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-40" }, { "moduleId": 73, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "10:14-19" }, { "moduleId": 73, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "11:14-19" }, { "moduleId": 73, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "12:20-25" }, { "moduleId": 73, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "27:25-28" }, { "moduleId": 73, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "28:37-42" }, { "moduleId": 75, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-40" }, { "moduleId": 75, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "7:12-17" }, { "moduleId": 75, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "8:12-17" }, { "moduleId": 75, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "9:18-23" }, { "moduleId": 75, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "20:19-22" }, { "moduleId": 75, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "21:25-30" }, { "moduleId": 76, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-40" }, { "moduleId": 76, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "7:12-17" }, { "moduleId": 76, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "8:12-17" }, { "moduleId": 76, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "9:18-23" }, { "moduleId": 76, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "20:19-22" }, { "moduleId": 76, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "21:25-30" }, { "moduleId": 77, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "1:0-33" }, { "moduleId": 77, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "3:10-13" }, { "moduleId": 78, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-31" }, { "moduleId": 78, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "4:10-15" }, { "moduleId": 78, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "5:10-15" }, { "moduleId": 78, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "6:10-15" }, { "moduleId": 78, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "7:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "4:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "6:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "12:18-25" } ], "usedExports": ["gamma", "default"], "providedExports": ["hue", "gamma", "default"], "optimizationBailout": [], "depth": 7, "source": "import constant from \"./constant.js\";\n\nfunction linear(a, d) {\n return function (t) {\n return a + t * d;\n };\n}\n\nfunction exponential(a, b, y) {\n return a = Math.pow(a, y), b = Math.pow(b, y) - a, y = 1 / y, function (t) {\n return Math.pow(a + t * b, y);\n };\n}\n\nexport function hue(a, b) {\n var d = b - a;\n return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : constant(isNaN(a) ? b : a);\n}\nexport function gamma(y) {\n return (y = +y) === 1 ? nogamma : function (a, b) {\n return b - a ? exponential(a, b, y) : constant(isNaN(a) ? b : a);\n };\n}\nexport default function nogamma(a, b) {\n var d = b - a;\n return d ? linear(a, d) : constant(isNaN(a) ? b : a);\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/color.js", "name": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "index": 173, "index2": 164, "size": 10578, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "issuerId": 54, "issuerName": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "profile": { "factory": 23, "building": 208, "dependencies": 122 } }, { "id": 54, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "name": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "profile": { "factory": 151, "building": 80 } } ], "profile": { "factory": 377, "building": 249, "dependencies": 42 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 54, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "1:0-56" }, { "moduleId": 54, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./color.js", "loc": "1:0-56" }, { "moduleId": 54, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./color.js", "loc": "1:0-56" }, { "moduleId": 54, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./color.js", "loc": "1:0-56" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-94" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "15:21-24" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "15:31-41" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "37:36-41" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "39:20-29" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "39:41-50" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "43:20-27" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "43:39-46" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "52:15-18" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-52" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "17:21-24" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "17:31-41" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "43:24-29" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "57:15-18" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "104:24-29" }, { "moduleId": 76, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "6:25-33" }, { "moduleId": 76, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "6:52-60" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "9:27-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "9:54-62" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "16:103-108" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "16:152-157" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "36:14-22" } ], "usedExports": ["default", "rgb"], "providedExports": [ "Color", "darker", "brighter", "default", "rgbConvert", "rgb", "Rgb", "hslConvert", "hsl" ], "optimizationBailout": [], "depth": 8, "source": "import define, { extend } from \"./define.js\";\nexport function Color() {}\nvar _darker = 0.7;\nexport { _darker as darker };\n\nvar _brighter = 1 / _darker;\n\nexport { _brighter as brighter };\nvar reI = \"\\\\s*([+-]?\\\\d+)\\\\s*\",\n reN = \"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)\\\\s*\",\n reP = \"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)%\\\\s*\",\n reHex = /^#([0-9a-f]{3,8})$/,\n reRgbInteger = new RegExp(\"^rgb\\\\(\" + [reI, reI, reI] + \"\\\\)$\"),\n reRgbPercent = new RegExp(\"^rgb\\\\(\" + [reP, reP, reP] + \"\\\\)$\"),\n reRgbaInteger = new RegExp(\"^rgba\\\\(\" + [reI, reI, reI, reN] + \"\\\\)$\"),\n reRgbaPercent = new RegExp(\"^rgba\\\\(\" + [reP, reP, reP, reN] + \"\\\\)$\"),\n reHslPercent = new RegExp(\"^hsl\\\\(\" + [reN, reP, reP] + \"\\\\)$\"),\n reHslaPercent = new RegExp(\"^hsla\\\\(\" + [reN, reP, reP, reN] + \"\\\\)$\");\nvar named = {\n aliceblue: 0xf0f8ff,\n antiquewhite: 0xfaebd7,\n aqua: 0x00ffff,\n aquamarine: 0x7fffd4,\n azure: 0xf0ffff,\n beige: 0xf5f5dc,\n bisque: 0xffe4c4,\n black: 0x000000,\n blanchedalmond: 0xffebcd,\n blue: 0x0000ff,\n blueviolet: 0x8a2be2,\n brown: 0xa52a2a,\n burlywood: 0xdeb887,\n cadetblue: 0x5f9ea0,\n chartreuse: 0x7fff00,\n chocolate: 0xd2691e,\n coral: 0xff7f50,\n cornflowerblue: 0x6495ed,\n cornsilk: 0xfff8dc,\n crimson: 0xdc143c,\n cyan: 0x00ffff,\n darkblue: 0x00008b,\n darkcyan: 0x008b8b,\n darkgoldenrod: 0xb8860b,\n darkgray: 0xa9a9a9,\n darkgreen: 0x006400,\n darkgrey: 0xa9a9a9,\n darkkhaki: 0xbdb76b,\n darkmagenta: 0x8b008b,\n darkolivegreen: 0x556b2f,\n darkorange: 0xff8c00,\n darkorchid: 0x9932cc,\n darkred: 0x8b0000,\n darksalmon: 0xe9967a,\n darkseagreen: 0x8fbc8f,\n darkslateblue: 0x483d8b,\n darkslategray: 0x2f4f4f,\n darkslategrey: 0x2f4f4f,\n darkturquoise: 0x00ced1,\n darkviolet: 0x9400d3,\n deeppink: 0xff1493,\n deepskyblue: 0x00bfff,\n dimgray: 0x696969,\n dimgrey: 0x696969,\n dodgerblue: 0x1e90ff,\n firebrick: 0xb22222,\n floralwhite: 0xfffaf0,\n forestgreen: 0x228b22,\n fuchsia: 0xff00ff,\n gainsboro: 0xdcdcdc,\n ghostwhite: 0xf8f8ff,\n gold: 0xffd700,\n goldenrod: 0xdaa520,\n gray: 0x808080,\n green: 0x008000,\n greenyellow: 0xadff2f,\n grey: 0x808080,\n honeydew: 0xf0fff0,\n hotpink: 0xff69b4,\n indianred: 0xcd5c5c,\n indigo: 0x4b0082,\n ivory: 0xfffff0,\n khaki: 0xf0e68c,\n lavender: 0xe6e6fa,\n lavenderblush: 0xfff0f5,\n lawngreen: 0x7cfc00,\n lemonchiffon: 0xfffacd,\n lightblue: 0xadd8e6,\n lightcoral: 0xf08080,\n lightcyan: 0xe0ffff,\n lightgoldenrodyellow: 0xfafad2,\n lightgray: 0xd3d3d3,\n lightgreen: 0x90ee90,\n lightgrey: 0xd3d3d3,\n lightpink: 0xffb6c1,\n lightsalmon: 0xffa07a,\n lightseagreen: 0x20b2aa,\n lightskyblue: 0x87cefa,\n lightslategray: 0x778899,\n lightslategrey: 0x778899,\n lightsteelblue: 0xb0c4de,\n lightyellow: 0xffffe0,\n lime: 0x00ff00,\n limegreen: 0x32cd32,\n linen: 0xfaf0e6,\n magenta: 0xff00ff,\n maroon: 0x800000,\n mediumaquamarine: 0x66cdaa,\n mediumblue: 0x0000cd,\n mediumorchid: 0xba55d3,\n mediumpurple: 0x9370db,\n mediumseagreen: 0x3cb371,\n mediumslateblue: 0x7b68ee,\n mediumspringgreen: 0x00fa9a,\n mediumturquoise: 0x48d1cc,\n mediumvioletred: 0xc71585,\n midnightblue: 0x191970,\n mintcream: 0xf5fffa,\n mistyrose: 0xffe4e1,\n moccasin: 0xffe4b5,\n navajowhite: 0xffdead,\n navy: 0x000080,\n oldlace: 0xfdf5e6,\n olive: 0x808000,\n olivedrab: 0x6b8e23,\n orange: 0xffa500,\n orangered: 0xff4500,\n orchid: 0xda70d6,\n palegoldenrod: 0xeee8aa,\n palegreen: 0x98fb98,\n paleturquoise: 0xafeeee,\n palevioletred: 0xdb7093,\n papayawhip: 0xffefd5,\n peachpuff: 0xffdab9,\n peru: 0xcd853f,\n pink: 0xffc0cb,\n plum: 0xdda0dd,\n powderblue: 0xb0e0e6,\n purple: 0x800080,\n rebeccapurple: 0x663399,\n red: 0xff0000,\n rosybrown: 0xbc8f8f,\n royalblue: 0x4169e1,\n saddlebrown: 0x8b4513,\n salmon: 0xfa8072,\n sandybrown: 0xf4a460,\n seagreen: 0x2e8b57,\n seashell: 0xfff5ee,\n sienna: 0xa0522d,\n silver: 0xc0c0c0,\n skyblue: 0x87ceeb,\n slateblue: 0x6a5acd,\n slategray: 0x708090,\n slategrey: 0x708090,\n snow: 0xfffafa,\n springgreen: 0x00ff7f,\n steelblue: 0x4682b4,\n tan: 0xd2b48c,\n teal: 0x008080,\n thistle: 0xd8bfd8,\n tomato: 0xff6347,\n turquoise: 0x40e0d0,\n violet: 0xee82ee,\n wheat: 0xf5deb3,\n white: 0xffffff,\n whitesmoke: 0xf5f5f5,\n yellow: 0xffff00,\n yellowgreen: 0x9acd32\n};\ndefine(Color, color, {\n copy: function copy(channels) {\n return Object.assign(new this.constructor(), this, channels);\n },\n displayable: function displayable() {\n return this.rgb().displayable();\n },\n hex: color_formatHex,\n // Deprecated! Use color.formatHex.\n formatHex: color_formatHex,\n formatHsl: color_formatHsl,\n formatRgb: color_formatRgb,\n toString: color_formatRgb\n});\n\nfunction color_formatHex() {\n return this.rgb().formatHex();\n}\n\nfunction color_formatHsl() {\n return hslConvert(this).formatHsl();\n}\n\nfunction color_formatRgb() {\n return this.rgb().formatRgb();\n}\n\nexport default function color(format) {\n var m, l;\n format = (format + \"\").trim().toLowerCase();\n return (m = reHex.exec(format)) ? (l = m[1].length, m = parseInt(m[1], 16), l === 6 ? rgbn(m) // #ff0000\n : l === 3 ? new Rgb(m >> 8 & 0xf | m >> 4 & 0xf0, m >> 4 & 0xf | m & 0xf0, (m & 0xf) << 4 | m & 0xf, 1) // #f00\n : l === 8 ? rgba(m >> 24 & 0xff, m >> 16 & 0xff, m >> 8 & 0xff, (m & 0xff) / 0xff) // #ff000000\n : l === 4 ? rgba(m >> 12 & 0xf | m >> 8 & 0xf0, m >> 8 & 0xf | m >> 4 & 0xf0, m >> 4 & 0xf | m & 0xf0, ((m & 0xf) << 4 | m & 0xf) / 0xff) // #f000\n : null // invalid hex\n ) : (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) // rgb(255, 0, 0)\n : (m = reRgbPercent.exec(format)) ? new Rgb(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) // rgb(100%, 0%, 0%)\n : (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) // rgba(255, 0, 0, 1)\n : (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) // rgb(100%, 0%, 0%, 1)\n : (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) // hsl(120, 50%, 50%)\n : (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) // hsla(120, 50%, 50%, 1)\n : named.hasOwnProperty(format) ? rgbn(named[format]) // eslint-disable-line no-prototype-builtins\n : format === \"transparent\" ? new Rgb(NaN, NaN, NaN, 0) : null;\n}\n\nfunction rgbn(n) {\n return new Rgb(n >> 16 & 0xff, n >> 8 & 0xff, n & 0xff, 1);\n}\n\nfunction rgba(r, g, b, a) {\n if (a <= 0) r = g = b = NaN;\n return new Rgb(r, g, b, a);\n}\n\nexport function rgbConvert(o) {\n if (!(o instanceof Color)) o = color(o);\n if (!o) return new Rgb();\n o = o.rgb();\n return new Rgb(o.r, o.g, o.b, o.opacity);\n}\nexport function rgb(r, g, b, opacity) {\n return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity);\n}\nexport function Rgb(r, g, b, opacity) {\n this.r = +r;\n this.g = +g;\n this.b = +b;\n this.opacity = +opacity;\n}\ndefine(Rgb, rgb, extend(Color, {\n brighter: function brighter(k) {\n k = k == null ? _brighter : Math.pow(_brighter, k);\n return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);\n },\n darker: function darker(k) {\n k = k == null ? _darker : Math.pow(_darker, k);\n return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);\n },\n rgb: function rgb() {\n return this;\n },\n displayable: function displayable() {\n return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;\n },\n hex: rgb_formatHex,\n // Deprecated! Use color.formatHex.\n formatHex: rgb_formatHex,\n formatRgb: rgb_formatRgb,\n toString: rgb_formatRgb\n}));\n\nfunction rgb_formatHex() {\n return \"#\" + hex(this.r) + hex(this.g) + hex(this.b);\n}\n\nfunction rgb_formatRgb() {\n var a = this.opacity;\n a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));\n return (a === 1 ? \"rgb(\" : \"rgba(\") + Math.max(0, Math.min(255, Math.round(this.r) || 0)) + \", \" + Math.max(0, Math.min(255, Math.round(this.g) || 0)) + \", \" + Math.max(0, Math.min(255, Math.round(this.b) || 0)) + (a === 1 ? \")\" : \", \" + a + \")\");\n}\n\nfunction hex(value) {\n value = Math.max(0, Math.min(255, Math.round(value) || 0));\n return (value < 16 ? \"0\" : \"\") + value.toString(16);\n}\n\nfunction hsla(h, s, l, a) {\n if (a <= 0) h = s = l = NaN;else if (l <= 0 || l >= 1) h = s = NaN;else if (s <= 0) h = NaN;\n return new Hsl(h, s, l, a);\n}\n\nexport function hslConvert(o) {\n if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity);\n if (!(o instanceof Color)) o = color(o);\n if (!o) return new Hsl();\n if (o instanceof Hsl) return o;\n o = o.rgb();\n var r = o.r / 255,\n g = o.g / 255,\n b = o.b / 255,\n min = Math.min(r, g, b),\n max = Math.max(r, g, b),\n h = NaN,\n s = max - min,\n l = (max + min) / 2;\n\n if (s) {\n if (r === max) h = (g - b) / s + (g < b) * 6;else if (g === max) h = (b - r) / s + 2;else h = (r - g) / s + 4;\n s /= l < 0.5 ? max + min : 2 - max - min;\n h *= 60;\n } else {\n s = l > 0 && l < 1 ? 0 : h;\n }\n\n return new Hsl(h, s, l, o.opacity);\n}\nexport function hsl(h, s, l, opacity) {\n return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity);\n}\n\nfunction Hsl(h, s, l, opacity) {\n this.h = +h;\n this.s = +s;\n this.l = +l;\n this.opacity = +opacity;\n}\n\ndefine(Hsl, hsl, extend(Color, {\n brighter: function brighter(k) {\n k = k == null ? _brighter : Math.pow(_brighter, k);\n return new Hsl(this.h, this.s, this.l * k, this.opacity);\n },\n darker: function darker(k) {\n k = k == null ? _darker : Math.pow(_darker, k);\n return new Hsl(this.h, this.s, this.l * k, this.opacity);\n },\n rgb: function rgb() {\n var h = this.h % 360 + (this.h < 0) * 360,\n s = isNaN(h) || isNaN(this.s) ? 0 : this.s,\n l = this.l,\n m2 = l + (l < 0.5 ? l : 1 - l) * s,\n m1 = 2 * l - m2;\n return new Rgb(hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2), hsl2rgb(h, m1, m2), hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2), this.opacity);\n },\n displayable: function displayable() {\n return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;\n },\n formatHsl: function formatHsl() {\n var a = this.opacity;\n a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));\n return (a === 1 ? \"hsl(\" : \"hsla(\") + (this.h || 0) + \", \" + (this.s || 0) * 100 + \"%, \" + (this.l || 0) * 100 + \"%\" + (a === 1 ? \")\" : \", \" + a + \")\");\n }\n}));\n/* From FvD 13.37, CSS Color Module Level 3 */\n\nfunction hsl2rgb(h, m1, m2) {\n return (h < 60 ? m1 + (m2 - m1) * h / 60 : h < 180 ? m2 : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60 : m1) * 255;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/define.js", "name": "./node_modules/_d3-color@1.4.1@d3-color/src/define.js", "index": 174, "index2": 163, "size": 351, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "issuerId": 70, "issuerName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "profile": { "factory": 23, "building": 208, "dependencies": 122 } }, { "id": 54, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "name": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "profile": { "factory": 151, "building": 80 } }, { "id": 70, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "name": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "profile": { "factory": 377, "building": 249, "dependencies": 42 } } ], "profile": { "factory": 60, "building": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "./define.js", "loc": "1:0-45" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "37:0-6" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "37:29-35" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony side effect evaluation", "userRequest": "./define.js", "loc": "1:0-45" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "43:0-6" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "43:17-23" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "104:0-6" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "104:17-23" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/color.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "type": "harmony side effect evaluation", "userRequest": "./define.js", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/color.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "169:0-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/color.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "238:0-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/color.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "238:17-23" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/color.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "316:0-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/color.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "316:17-23" } ], "usedExports": ["default", "extend"], "providedExports": ["default", "extend"], "optimizationBailout": [], "depth": 9, "source": "export default function (constructor, factory, prototype) {\n constructor.prototype = factory.prototype = prototype;\n prototype.constructor = constructor;\n}\nexport function extend(parent, definition) {\n var prototype = Object.create(parent.prototype);\n\n for (var key in definition) {\n prototype[key] = definition[key];\n }\n\n return prototype;\n}" } ], "filteredModules": 0 }, { "id": 48, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec3.js", "name": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec3.js", "index": 119, "index2": 115, "size": 19963, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec3.js", "issuerId": null, "issuerName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec3.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec3.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec3.js", "profile": { "factory": 1667, "building": 225, "dependencies": 394 } } ], "profile": { "factory": 463, "building": 574, "dependencies": 5 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec3", "loc": "1:0-59" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec3", "loc": "2:15-19" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.forEach = exports.sqrLen = exports.len = exports.sqrDist = exports.dist = exports.div = exports.mul = exports.sub = undefined;\nexports.create = create;\nexports.clone = clone;\nexports.length = length;\nexports.fromValues = fromValues;\nexports.copy = copy;\nexports.set = set;\nexports.add = add;\nexports.subtract = subtract;\nexports.multiply = multiply;\nexports.divide = divide;\nexports.ceil = ceil;\nexports.floor = floor;\nexports.min = min;\nexports.max = max;\nexports.round = round;\nexports.scale = scale;\nexports.scaleAndAdd = scaleAndAdd;\nexports.distance = distance;\nexports.squaredDistance = squaredDistance;\nexports.squaredLength = squaredLength;\nexports.negate = negate;\nexports.inverse = inverse;\nexports.normalize = normalize;\nexports.dot = dot;\nexports.cross = cross;\nexports.lerp = lerp;\nexports.hermite = hermite;\nexports.bezier = bezier;\nexports.random = random;\nexports.transformMat4 = transformMat4;\nexports.transformMat3 = transformMat3;\nexports.transformQuat = transformQuat;\nexports.rotateX = rotateX;\nexports.rotateY = rotateY;\nexports.rotateZ = rotateZ;\nexports.angle = angle;\nexports.str = str;\nexports.exactEquals = exactEquals;\nexports.equals = equals;\n\nvar _common = require('./common.js');\n\nvar glMatrix = _interopRequireWildcard(_common);\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n\n newObj.default = obj;\n return newObj;\n }\n}\n/**\n * 3 Dimensional Vector\n * @module vec3\n */\n\n/**\n * Creates a new, empty vec3\n *\n * @returns {vec3} a new 3D vector\n */\n\n\nfunction create() {\n var out = new glMatrix.ARRAY_TYPE(3);\n\n if (glMatrix.ARRAY_TYPE != Float32Array) {\n out[0] = 0;\n out[1] = 0;\n out[2] = 0;\n }\n\n return out;\n}\n/**\n * Creates a new vec3 initialized with values from an existing vector\n *\n * @param {vec3} a vector to clone\n * @returns {vec3} a new 3D vector\n */\n\n\nfunction clone(a) {\n var out = new glMatrix.ARRAY_TYPE(3);\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n return out;\n}\n/**\n * Calculates the length of a vec3\n *\n * @param {vec3} a vector to calculate length of\n * @returns {Number} length of a\n */\n\n\nfunction length(a) {\n var x = a[0];\n var y = a[1];\n var z = a[2];\n return Math.sqrt(x * x + y * y + z * z);\n}\n/**\n * Creates a new vec3 initialized with the given values\n *\n * @param {Number} x X component\n * @param {Number} y Y component\n * @param {Number} z Z component\n * @returns {vec3} a new 3D vector\n */\n\n\nfunction fromValues(x, y, z) {\n var out = new glMatrix.ARRAY_TYPE(3);\n out[0] = x;\n out[1] = y;\n out[2] = z;\n return out;\n}\n/**\n * Copy the values from one vec3 to another\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the source vector\n * @returns {vec3} out\n */\n\n\nfunction copy(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n return out;\n}\n/**\n * Set the components of a vec3 to the given values\n *\n * @param {vec3} out the receiving vector\n * @param {Number} x X component\n * @param {Number} y Y component\n * @param {Number} z Z component\n * @returns {vec3} out\n */\n\n\nfunction set(out, x, y, z) {\n out[0] = x;\n out[1] = y;\n out[2] = z;\n return out;\n}\n/**\n * Adds two vec3's\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction add(out, a, b) {\n out[0] = a[0] + b[0];\n out[1] = a[1] + b[1];\n out[2] = a[2] + b[2];\n return out;\n}\n/**\n * Subtracts vector b from vector a\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction subtract(out, a, b) {\n out[0] = a[0] - b[0];\n out[1] = a[1] - b[1];\n out[2] = a[2] - b[2];\n return out;\n}\n/**\n * Multiplies two vec3's\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction multiply(out, a, b) {\n out[0] = a[0] * b[0];\n out[1] = a[1] * b[1];\n out[2] = a[2] * b[2];\n return out;\n}\n/**\n * Divides two vec3's\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction divide(out, a, b) {\n out[0] = a[0] / b[0];\n out[1] = a[1] / b[1];\n out[2] = a[2] / b[2];\n return out;\n}\n/**\n * Math.ceil the components of a vec3\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a vector to ceil\n * @returns {vec3} out\n */\n\n\nfunction ceil(out, a) {\n out[0] = Math.ceil(a[0]);\n out[1] = Math.ceil(a[1]);\n out[2] = Math.ceil(a[2]);\n return out;\n}\n/**\n * Math.floor the components of a vec3\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a vector to floor\n * @returns {vec3} out\n */\n\n\nfunction floor(out, a) {\n out[0] = Math.floor(a[0]);\n out[1] = Math.floor(a[1]);\n out[2] = Math.floor(a[2]);\n return out;\n}\n/**\n * Returns the minimum of two vec3's\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction min(out, a, b) {\n out[0] = Math.min(a[0], b[0]);\n out[1] = Math.min(a[1], b[1]);\n out[2] = Math.min(a[2], b[2]);\n return out;\n}\n/**\n * Returns the maximum of two vec3's\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction max(out, a, b) {\n out[0] = Math.max(a[0], b[0]);\n out[1] = Math.max(a[1], b[1]);\n out[2] = Math.max(a[2], b[2]);\n return out;\n}\n/**\n * Math.round the components of a vec3\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a vector to round\n * @returns {vec3} out\n */\n\n\nfunction round(out, a) {\n out[0] = Math.round(a[0]);\n out[1] = Math.round(a[1]);\n out[2] = Math.round(a[2]);\n return out;\n}\n/**\n * Scales a vec3 by a scalar number\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the vector to scale\n * @param {Number} b amount to scale the vector by\n * @returns {vec3} out\n */\n\n\nfunction scale(out, a, b) {\n out[0] = a[0] * b;\n out[1] = a[1] * b;\n out[2] = a[2] * b;\n return out;\n}\n/**\n * Adds two vec3's after scaling the second operand by a scalar value\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @param {Number} scale the amount to scale b by before adding\n * @returns {vec3} out\n */\n\n\nfunction scaleAndAdd(out, a, b, scale) {\n out[0] = a[0] + b[0] * scale;\n out[1] = a[1] + b[1] * scale;\n out[2] = a[2] + b[2] * scale;\n return out;\n}\n/**\n * Calculates the euclidian distance between two vec3's\n *\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {Number} distance between a and b\n */\n\n\nfunction distance(a, b) {\n var x = b[0] - a[0];\n var y = b[1] - a[1];\n var z = b[2] - a[2];\n return Math.sqrt(x * x + y * y + z * z);\n}\n/**\n * Calculates the squared euclidian distance between two vec3's\n *\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {Number} squared distance between a and b\n */\n\n\nfunction squaredDistance(a, b) {\n var x = b[0] - a[0];\n var y = b[1] - a[1];\n var z = b[2] - a[2];\n return x * x + y * y + z * z;\n}\n/**\n * Calculates the squared length of a vec3\n *\n * @param {vec3} a vector to calculate squared length of\n * @returns {Number} squared length of a\n */\n\n\nfunction squaredLength(a) {\n var x = a[0];\n var y = a[1];\n var z = a[2];\n return x * x + y * y + z * z;\n}\n/**\n * Negates the components of a vec3\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a vector to negate\n * @returns {vec3} out\n */\n\n\nfunction negate(out, a) {\n out[0] = -a[0];\n out[1] = -a[1];\n out[2] = -a[2];\n return out;\n}\n/**\n * Returns the inverse of the components of a vec3\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a vector to invert\n * @returns {vec3} out\n */\n\n\nfunction inverse(out, a) {\n out[0] = 1.0 / a[0];\n out[1] = 1.0 / a[1];\n out[2] = 1.0 / a[2];\n return out;\n}\n/**\n * Normalize a vec3\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a vector to normalize\n * @returns {vec3} out\n */\n\n\nfunction normalize(out, a) {\n var x = a[0];\n var y = a[1];\n var z = a[2];\n var len = x * x + y * y + z * z;\n\n if (len > 0) {\n //TODO: evaluate use of glm_invsqrt here?\n len = 1 / Math.sqrt(len);\n out[0] = a[0] * len;\n out[1] = a[1] * len;\n out[2] = a[2] * len;\n }\n\n return out;\n}\n/**\n * Calculates the dot product of two vec3's\n *\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {Number} dot product of a and b\n */\n\n\nfunction dot(a, b) {\n return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];\n}\n/**\n * Computes the cross product of two vec3's\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction cross(out, a, b) {\n var ax = a[0],\n ay = a[1],\n az = a[2];\n var bx = b[0],\n by = b[1],\n bz = b[2];\n out[0] = ay * bz - az * by;\n out[1] = az * bx - ax * bz;\n out[2] = ax * by - ay * bx;\n return out;\n}\n/**\n * Performs a linear interpolation between two vec3's\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\n * @returns {vec3} out\n */\n\n\nfunction lerp(out, a, b, t) {\n var ax = a[0];\n var ay = a[1];\n var az = a[2];\n out[0] = ax + t * (b[0] - ax);\n out[1] = ay + t * (b[1] - ay);\n out[2] = az + t * (b[2] - az);\n return out;\n}\n/**\n * Performs a hermite interpolation with two control points\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @param {vec3} c the third operand\n * @param {vec3} d the fourth operand\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\n * @returns {vec3} out\n */\n\n\nfunction hermite(out, a, b, c, d, t) {\n var factorTimes2 = t * t;\n var factor1 = factorTimes2 * (2 * t - 3) + 1;\n var factor2 = factorTimes2 * (t - 2) + t;\n var factor3 = factorTimes2 * (t - 1);\n var factor4 = factorTimes2 * (3 - 2 * t);\n out[0] = a[0] * factor1 + b[0] * factor2 + c[0] * factor3 + d[0] * factor4;\n out[1] = a[1] * factor1 + b[1] * factor2 + c[1] * factor3 + d[1] * factor4;\n out[2] = a[2] * factor1 + b[2] * factor2 + c[2] * factor3 + d[2] * factor4;\n return out;\n}\n/**\n * Performs a bezier interpolation with two control points\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @param {vec3} c the third operand\n * @param {vec3} d the fourth operand\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\n * @returns {vec3} out\n */\n\n\nfunction bezier(out, a, b, c, d, t) {\n var inverseFactor = 1 - t;\n var inverseFactorTimesTwo = inverseFactor * inverseFactor;\n var factorTimes2 = t * t;\n var factor1 = inverseFactorTimesTwo * inverseFactor;\n var factor2 = 3 * t * inverseFactorTimesTwo;\n var factor3 = 3 * factorTimes2 * inverseFactor;\n var factor4 = factorTimes2 * t;\n out[0] = a[0] * factor1 + b[0] * factor2 + c[0] * factor3 + d[0] * factor4;\n out[1] = a[1] * factor1 + b[1] * factor2 + c[1] * factor3 + d[1] * factor4;\n out[2] = a[2] * factor1 + b[2] * factor2 + c[2] * factor3 + d[2] * factor4;\n return out;\n}\n/**\n * Generates a random vector with the given scale\n *\n * @param {vec3} out the receiving vector\n * @param {Number} [scale] Length of the resulting vector. If ommitted, a unit vector will be returned\n * @returns {vec3} out\n */\n\n\nfunction random(out, scale) {\n scale = scale || 1.0;\n var r = glMatrix.RANDOM() * 2.0 * Math.PI;\n var z = glMatrix.RANDOM() * 2.0 - 1.0;\n var zScale = Math.sqrt(1.0 - z * z) * scale;\n out[0] = Math.cos(r) * zScale;\n out[1] = Math.sin(r) * zScale;\n out[2] = z * scale;\n return out;\n}\n/**\n * Transforms the vec3 with a mat4.\n * 4th vector component is implicitly '1'\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the vector to transform\n * @param {mat4} m matrix to transform with\n * @returns {vec3} out\n */\n\n\nfunction transformMat4(out, a, m) {\n var x = a[0],\n y = a[1],\n z = a[2];\n var w = m[3] * x + m[7] * y + m[11] * z + m[15];\n w = w || 1.0;\n out[0] = (m[0] * x + m[4] * y + m[8] * z + m[12]) / w;\n out[1] = (m[1] * x + m[5] * y + m[9] * z + m[13]) / w;\n out[2] = (m[2] * x + m[6] * y + m[10] * z + m[14]) / w;\n return out;\n}\n/**\n * Transforms the vec3 with a mat3.\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the vector to transform\n * @param {mat3} m the 3x3 matrix to transform with\n * @returns {vec3} out\n */\n\n\nfunction transformMat3(out, a, m) {\n var x = a[0],\n y = a[1],\n z = a[2];\n out[0] = x * m[0] + y * m[3] + z * m[6];\n out[1] = x * m[1] + y * m[4] + z * m[7];\n out[2] = x * m[2] + y * m[5] + z * m[8];\n return out;\n}\n/**\n * Transforms the vec3 with a quat\n * Can also be used for dual quaternions. (Multiply it with the real part)\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the vector to transform\n * @param {quat} q quaternion to transform with\n * @returns {vec3} out\n */\n\n\nfunction transformQuat(out, a, q) {\n // benchmarks: https://jsperf.com/quaternion-transform-vec3-implementations-fixed\n var qx = q[0],\n qy = q[1],\n qz = q[2],\n qw = q[3];\n var x = a[0],\n y = a[1],\n z = a[2]; // var qvec = [qx, qy, qz];\n // var uv = vec3.cross([], qvec, a);\n\n var uvx = qy * z - qz * y,\n uvy = qz * x - qx * z,\n uvz = qx * y - qy * x; // var uuv = vec3.cross([], qvec, uv);\n\n var uuvx = qy * uvz - qz * uvy,\n uuvy = qz * uvx - qx * uvz,\n uuvz = qx * uvy - qy * uvx; // vec3.scale(uv, uv, 2 * w);\n\n var w2 = qw * 2;\n uvx *= w2;\n uvy *= w2;\n uvz *= w2; // vec3.scale(uuv, uuv, 2);\n\n uuvx *= 2;\n uuvy *= 2;\n uuvz *= 2; // return vec3.add(out, a, vec3.add(out, uv, uuv));\n\n out[0] = x + uvx + uuvx;\n out[1] = y + uvy + uuvy;\n out[2] = z + uvz + uuvz;\n return out;\n}\n/**\n * Rotate a 3D vector around the x-axis\n * @param {vec3} out The receiving vec3\n * @param {vec3} a The vec3 point to rotate\n * @param {vec3} b The origin of the rotation\n * @param {Number} c The angle of rotation\n * @returns {vec3} out\n */\n\n\nfunction rotateX(out, a, b, c) {\n var p = [],\n r = []; //Translate point to the origin\n\n p[0] = a[0] - b[0];\n p[1] = a[1] - b[1];\n p[2] = a[2] - b[2]; //perform rotation\n\n r[0] = p[0];\n r[1] = p[1] * Math.cos(c) - p[2] * Math.sin(c);\n r[2] = p[1] * Math.sin(c) + p[2] * Math.cos(c); //translate to correct position\n\n out[0] = r[0] + b[0];\n out[1] = r[1] + b[1];\n out[2] = r[2] + b[2];\n return out;\n}\n/**\n * Rotate a 3D vector around the y-axis\n * @param {vec3} out The receiving vec3\n * @param {vec3} a The vec3 point to rotate\n * @param {vec3} b The origin of the rotation\n * @param {Number} c The angle of rotation\n * @returns {vec3} out\n */\n\n\nfunction rotateY(out, a, b, c) {\n var p = [],\n r = []; //Translate point to the origin\n\n p[0] = a[0] - b[0];\n p[1] = a[1] - b[1];\n p[2] = a[2] - b[2]; //perform rotation\n\n r[0] = p[2] * Math.sin(c) + p[0] * Math.cos(c);\n r[1] = p[1];\n r[2] = p[2] * Math.cos(c) - p[0] * Math.sin(c); //translate to correct position\n\n out[0] = r[0] + b[0];\n out[1] = r[1] + b[1];\n out[2] = r[2] + b[2];\n return out;\n}\n/**\n * Rotate a 3D vector around the z-axis\n * @param {vec3} out The receiving vec3\n * @param {vec3} a The vec3 point to rotate\n * @param {vec3} b The origin of the rotation\n * @param {Number} c The angle of rotation\n * @returns {vec3} out\n */\n\n\nfunction rotateZ(out, a, b, c) {\n var p = [],\n r = []; //Translate point to the origin\n\n p[0] = a[0] - b[0];\n p[1] = a[1] - b[1];\n p[2] = a[2] - b[2]; //perform rotation\n\n r[0] = p[0] * Math.cos(c) - p[1] * Math.sin(c);\n r[1] = p[0] * Math.sin(c) + p[1] * Math.cos(c);\n r[2] = p[2]; //translate to correct position\n\n out[0] = r[0] + b[0];\n out[1] = r[1] + b[1];\n out[2] = r[2] + b[2];\n return out;\n}\n/**\n * Get the angle between two 3D vectors\n * @param {vec3} a The first operand\n * @param {vec3} b The second operand\n * @returns {Number} The angle in radians\n */\n\n\nfunction angle(a, b) {\n var tempA = fromValues(a[0], a[1], a[2]);\n var tempB = fromValues(b[0], b[1], b[2]);\n normalize(tempA, tempA);\n normalize(tempB, tempB);\n var cosine = dot(tempA, tempB);\n\n if (cosine > 1.0) {\n return 0;\n } else if (cosine < -1.0) {\n return Math.PI;\n } else {\n return Math.acos(cosine);\n }\n}\n/**\n * Returns a string representation of a vector\n *\n * @param {vec3} a vector to represent as a string\n * @returns {String} string representation of the vector\n */\n\n\nfunction str(a) {\n return 'vec3(' + a[0] + ', ' + a[1] + ', ' + a[2] + ')';\n}\n/**\n * Returns whether or not the vectors have exactly the same elements in the same position (when compared with ===)\n *\n * @param {vec3} a The first vector.\n * @param {vec3} b The second vector.\n * @returns {Boolean} True if the vectors are equal, false otherwise.\n */\n\n\nfunction exactEquals(a, b) {\n return a[0] === b[0] && a[1] === b[1] && a[2] === b[2];\n}\n/**\n * Returns whether or not the vectors have approximately the same elements in the same position.\n *\n * @param {vec3} a The first vector.\n * @param {vec3} b The second vector.\n * @returns {Boolean} True if the vectors are equal, false otherwise.\n */\n\n\nfunction equals(a, b) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2];\n var b0 = b[0],\n b1 = b[1],\n b2 = b[2];\n return Math.abs(a0 - b0) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1)) && Math.abs(a2 - b2) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a2), Math.abs(b2));\n}\n/**\n * Alias for {@link vec3.subtract}\n * @function\n */\n\n\nvar sub = exports.sub = subtract;\n/**\n * Alias for {@link vec3.multiply}\n * @function\n */\n\nvar mul = exports.mul = multiply;\n/**\n * Alias for {@link vec3.divide}\n * @function\n */\n\nvar div = exports.div = divide;\n/**\n * Alias for {@link vec3.distance}\n * @function\n */\n\nvar dist = exports.dist = distance;\n/**\n * Alias for {@link vec3.squaredDistance}\n * @function\n */\n\nvar sqrDist = exports.sqrDist = squaredDistance;\n/**\n * Alias for {@link vec3.length}\n * @function\n */\n\nvar len = exports.len = length;\n/**\n * Alias for {@link vec3.squaredLength}\n * @function\n */\n\nvar sqrLen = exports.sqrLen = squaredLength;\n/**\n * Perform some operation over an array of vec3s.\n *\n * @param {Array} a the array of vectors to iterate over\n * @param {Number} stride Number of elements between the start of each vec3. If 0 assumes tightly packed\n * @param {Number} offset Number of elements to skip at the beginning of the array\n * @param {Number} count Number of vec3s to iterate over. If 0 iterates over entire array\n * @param {Function} fn Function to call for each vector in the array\n * @param {Object} [arg] additional argument to pass to fn\n * @returns {Array} a\n * @function\n */\n\nvar forEach = exports.forEach = function () {\n var vec = create();\n return function (a, stride, offset, count, fn, arg) {\n var i = void 0,\n l = void 0;\n\n if (!stride) {\n stride = 3;\n }\n\n if (!offset) {\n offset = 0;\n }\n\n if (count) {\n l = Math.min(count * stride + offset, a.length);\n } else {\n l = a.length;\n }\n\n for (i = offset; i < l; i += stride) {\n vec[0] = a[i];\n vec[1] = a[i + 1];\n vec[2] = a[i + 2];\n fn(vec, vec, arg);\n a[i] = vec[0];\n a[i + 1] = vec[1];\n a[i + 2] = vec[2];\n }\n\n return a;\n };\n}();" }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "index": 139, "index2": 195, "size": 580, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "issuerId": 19, "issuerName": "./src/interface/behavior.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 3116, "building": 1096 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 19, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "module": "./src/interface/behavior.ts", "moduleName": "./src/interface/behavior.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/g-base", "loc": "2:0-51" }, { "moduleId": 19, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "module": "./src/interface/behavior.ts", "moduleName": "./src/interface/behavior.ts", "type": "harmony import specifier", "userRequest": "@antv/g-base", "loc": "15:2-12" } ], "usedExports": ["Event"], "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module exports are unknown"], "depth": 2, "source": "/**\n * @fileoverview G 的基础接口定义和所有的抽象类\n * @author dxq613@gmail.com\n */\nimport * as PathUtil from './util/path';\n\nvar pkg = require('../package.json');\n\nexport var version = pkg.version;\nexport * from './types';\nexport * from './interfaces';\nexport { default as Event } from './event/graph-event';\nexport { default as Base } from './abstract/base';\nexport { default as AbstractCanvas } from './abstract/canvas';\nexport { default as AbstractGroup } from './abstract/group';\nexport { default as AbstractShape } from './abstract/shape';\nexport { PathUtil };" }, { "id": 50, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_detect-browser@5.2.0@detect-browser/es/index.js", "name": "./node_modules/_detect-browser@5.2.0@detect-browser/es/index.js", "index": 198, "index2": 191, "size": 6685, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "issuerId": null, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } } ], "profile": { "factory": 693, "building": 77, "dependencies": 227 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "detect-browser", "loc": "2:0-40" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "detect-browser", "loc": "8:14-20" } ], "usedExports": ["detect"], "providedExports": [ "BrowserInfo", "NodeInfo", "SearchBotDeviceInfo", "BotInfo", "ReactNativeInfo", "detect", "browserName", "parseUserAgent", "detectOS", "getNodeVersion" ], "optimizationBailout": [ "ModuleConcatenation bailout: Module uses injected variables (process)" ], "depth": 4, "source": "var __spreadArrays = this && this.__spreadArrays || function () {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) {\n s += arguments[i].length;\n }\n\n for (var r = Array(s), k = 0, i = 0; i < il; i++) {\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {\n r[k] = a[j];\n }\n }\n\n return r;\n};\n\nvar BrowserInfo =\n/** @class */\nfunction () {\n function BrowserInfo(name, version, os) {\n this.name = name;\n this.version = version;\n this.os = os;\n this.type = 'browser';\n }\n\n return BrowserInfo;\n}();\n\nexport { BrowserInfo };\n\nvar NodeInfo =\n/** @class */\nfunction () {\n function NodeInfo(version) {\n this.version = version;\n this.type = 'node';\n this.name = 'node';\n this.os = process.platform;\n }\n\n return NodeInfo;\n}();\n\nexport { NodeInfo };\n\nvar SearchBotDeviceInfo =\n/** @class */\nfunction () {\n function SearchBotDeviceInfo(name, version, os, bot) {\n this.name = name;\n this.version = version;\n this.os = os;\n this.bot = bot;\n this.type = 'bot-device';\n }\n\n return SearchBotDeviceInfo;\n}();\n\nexport { SearchBotDeviceInfo };\n\nvar BotInfo =\n/** @class */\nfunction () {\n function BotInfo() {\n this.type = 'bot';\n this.bot = true; // NOTE: deprecated test name instead\n\n this.name = 'bot';\n this.version = null;\n this.os = null;\n }\n\n return BotInfo;\n}();\n\nexport { BotInfo };\n\nvar ReactNativeInfo =\n/** @class */\nfunction () {\n function ReactNativeInfo() {\n this.type = 'react-native';\n this.name = 'react-native';\n this.version = null;\n this.os = null;\n }\n\n return ReactNativeInfo;\n}();\n\nexport { ReactNativeInfo }; // tslint:disable-next-line:max-line-length\n\nvar SEARCHBOX_UA_REGEX = /alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/;\nvar SEARCHBOT_OS_REGEX = /(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\\ Jeeves\\/Teoma|ia_archiver)/;\nvar REQUIRED_VERSION_PARTS = 3;\nvar userAgentRules = [['aol', /AOLShield\\/([0-9\\._]+)/], ['edge', /Edge\\/([0-9\\._]+)/], ['edge-ios', /EdgiOS\\/([0-9\\._]+)/], ['yandexbrowser', /YaBrowser\\/([0-9\\._]+)/], ['kakaotalk', /KAKAOTALK\\s([0-9\\.]+)/], ['samsung', /SamsungBrowser\\/([0-9\\.]+)/], ['silk', /\\bSilk\\/([0-9._-]+)\\b/], ['miui', /MiuiBrowser\\/([0-9\\.]+)$/], ['beaker', /BeakerBrowser\\/([0-9\\.]+)/], ['edge-chromium', /EdgA?\\/([0-9\\.]+)/], ['chromium-webview', /(?!Chrom.*OPR)wv\\).*Chrom(?:e|ium)\\/([0-9\\.]+)(:?\\s|$)/], ['chrome', /(?!Chrom.*OPR)Chrom(?:e|ium)\\/([0-9\\.]+)(:?\\s|$)/], ['phantomjs', /PhantomJS\\/([0-9\\.]+)(:?\\s|$)/], ['crios', /CriOS\\/([0-9\\.]+)(:?\\s|$)/], ['firefox', /Firefox\\/([0-9\\.]+)(?:\\s|$)/], ['fxios', /FxiOS\\/([0-9\\.]+)/], ['opera-mini', /Opera Mini.*Version\\/([0-9\\.]+)/], ['opera', /Opera\\/([0-9\\.]+)(?:\\s|$)/], ['opera', /OPR\\/([0-9\\.]+)(:?\\s|$)/], ['ie', /Trident\\/7\\.0.*rv\\:([0-9\\.]+).*\\).*Gecko$/], ['ie', /MSIE\\s([0-9\\.]+);.*Trident\\/[4-7].0/], ['ie', /MSIE\\s(7\\.0)/], ['bb10', /BB10;\\sTouch.*Version\\/([0-9\\.]+)/], ['android', /Android\\s([0-9\\.]+)/], ['ios', /Version\\/([0-9\\._]+).*Mobile.*Safari.*/], ['safari', /Version\\/([0-9\\._]+).*Safari/], ['facebook', /FBAV\\/([0-9\\.]+)/], ['instagram', /Instagram\\s([0-9\\.]+)/], ['ios-webview', /AppleWebKit\\/([0-9\\.]+).*Mobile/], ['ios-webview', /AppleWebKit\\/([0-9\\.]+).*Gecko\\)$/], ['searchbot', SEARCHBOX_UA_REGEX]];\nvar operatingSystemRules = [['iOS', /iP(hone|od|ad)/], ['Android OS', /Android/], ['BlackBerry OS', /BlackBerry|BB10/], ['Windows Mobile', /IEMobile/], ['Amazon OS', /Kindle/], ['Windows 3.11', /Win16/], ['Windows 95', /(Windows 95)|(Win95)|(Windows_95)/], ['Windows 98', /(Windows 98)|(Win98)/], ['Windows 2000', /(Windows NT 5.0)|(Windows 2000)/], ['Windows XP', /(Windows NT 5.1)|(Windows XP)/], ['Windows Server 2003', /(Windows NT 5.2)/], ['Windows Vista', /(Windows NT 6.0)/], ['Windows 7', /(Windows NT 6.1)/], ['Windows 8', /(Windows NT 6.2)/], ['Windows 8.1', /(Windows NT 6.3)/], ['Windows 10', /(Windows NT 10.0)/], ['Windows ME', /Windows ME/], ['Open BSD', /OpenBSD/], ['Sun OS', /SunOS/], ['Chrome OS', /CrOS/], ['Linux', /(Linux)|(X11)/], ['Mac OS', /(Mac_PowerPC)|(Macintosh)/], ['QNX', /QNX/], ['BeOS', /BeOS/], ['OS/2', /OS\\/2/]];\nexport function detect(userAgent) {\n if (!!userAgent) {\n return parseUserAgent(userAgent);\n }\n\n if (typeof document === 'undefined' && typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {\n return new ReactNativeInfo();\n }\n\n if (typeof navigator !== 'undefined') {\n return parseUserAgent(navigator.userAgent);\n }\n\n return getNodeVersion();\n}\n\nfunction matchUserAgent(ua) {\n // opted for using reduce here rather than Array#first with a regex.test call\n // this is primarily because using the reduce we only perform the regex\n // execution once rather than once for the test and for the exec again below\n // probably something that needs to be benchmarked though\n return ua !== '' && userAgentRules.reduce(function (matched, _a) {\n var browser = _a[0],\n regex = _a[1];\n\n if (matched) {\n return matched;\n }\n\n var uaMatch = regex.exec(ua);\n return !!uaMatch && [browser, uaMatch];\n }, false);\n}\n\nexport function browserName(ua) {\n var data = matchUserAgent(ua);\n return data ? data[0] : null;\n}\nexport function parseUserAgent(ua) {\n var matchedRule = matchUserAgent(ua);\n\n if (!matchedRule) {\n return null;\n }\n\n var name = matchedRule[0],\n match = matchedRule[1];\n\n if (name === 'searchbot') {\n return new BotInfo();\n }\n\n var versionParts = match[1] && match[1].split(/[._]/).slice(0, 3);\n\n if (versionParts) {\n if (versionParts.length < REQUIRED_VERSION_PARTS) {\n versionParts = __spreadArrays(versionParts, createVersionParts(REQUIRED_VERSION_PARTS - versionParts.length));\n }\n } else {\n versionParts = [];\n }\n\n var version = versionParts.join('.');\n var os = detectOS(ua);\n var searchBotMatch = SEARCHBOT_OS_REGEX.exec(ua);\n\n if (searchBotMatch && searchBotMatch[1]) {\n return new SearchBotDeviceInfo(name, version, os, searchBotMatch[1]);\n }\n\n return new BrowserInfo(name, version, os);\n}\nexport function detectOS(ua) {\n for (var ii = 0, count = operatingSystemRules.length; ii < count; ii++) {\n var _a = operatingSystemRules[ii],\n os = _a[0],\n regex = _a[1];\n var match = regex.exec(ua);\n\n if (match) {\n return os;\n }\n }\n\n return null;\n}\nexport function getNodeVersion() {\n var isNode = typeof process !== 'undefined' && process.version;\n return isNode ? new NodeInfo(process.version.slice(1)) : null;\n}\n\nfunction createVersionParts(count) {\n var output = [];\n\n for (var ii = 0; ii < count; ii++) {\n output.push('0');\n }\n\n return output;\n}" }, { "id": 51, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "index": 218, "index2": 215, "size": 1261, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path-by-diff.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path-by-diff.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path-by-diff.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path-by-diff.js", "profile": { "factory": 1578, "building": 488, "dependencies": 365 } } ], "profile": { "factory": 516, "building": 47, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/is-equal", "loc": "1:0-46" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util/lib/is-equal", "loc": "59:10-17" } ], "usedExports": ["default"], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar is_object_like_1 = require(\"./is-object-like\");\n\nvar is_array_like_1 = require(\"./is-array-like\");\n\nvar is_string_1 = require(\"./is-string\");\n\nvar isEqual = function isEqual(value, other) {\n if (value === other) {\n return true;\n }\n\n if (!value || !other) {\n return false;\n }\n\n if (is_string_1.default(value) || is_string_1.default(other)) {\n return false;\n }\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\n var rst = true;\n\n for (var i = 0; i < value.length; i++) {\n rst = isEqual(value[i], other[i]);\n\n if (!rst) {\n break;\n }\n }\n\n return rst;\n }\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\n if (valueKeys.length !== otherKeys.length) {\n return false;\n }\n\n var rst = true;\n\n for (var i = 0; i < valueKeys.length; i++) {\n rst = isEqual(value[valueKeys[i]], other[valueKeys[i]]);\n\n if (!rst) {\n break;\n }\n }\n\n return rst;\n }\n\n return false;\n};\n\nexports.default = isEqual;" }, { "id": 52, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/mod.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/mod.js", "index": 229, "index2": 224, "size": 164, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-arc-params.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-arc-params.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-arc-params.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-arc-params.js", "profile": { "factory": 1578, "building": 488, "dependencies": 365 } } ], "profile": { "factory": 603, "building": 132 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/mod", "loc": "1:0-37" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util/lib/mod", "loc": "32:18-21" } ], "usedExports": ["default"], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar mod = function mod(n, m) {\n return (n % m + m) % m;\n};\n\nexports.default = mod;" }, { "id": 53, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/to-radian.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/to-radian.js", "index": 230, "index2": 225, "size": 209, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-arc-params.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-arc-params.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-arc-params.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-arc-params.js", "profile": { "factory": 1578, "building": 488, "dependencies": 365 } } ], "profile": { "factory": 603, "building": 132 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/to-radian", "loc": "2:0-48" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util/lib/to-radian", "loc": "32:22-30" } ], "usedExports": ["default"], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar RADIAN = Math.PI / 180;\n\nvar toRadian = function toRadian(degree) {\n return RADIAN * degree;\n};\n\nexports.default = toRadian;" }, { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "index": 0, "index2": 258, "size": 1204, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "profile": { "factory": 43, "building": 386 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": null, "module": null, "moduleName": null, "type": "single entry", "userRequest": "./src/index.ts", "loc": "g6-core" } ], "usedExports": true, "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module exports are unknown"], "depth": 0, "source": "import Behaviors from './behavior';\nimport AbstractGraph from './graph/graph';\nimport Shape, { Arrow, Marker } from './shape';\nimport Global from './global';\nimport Util from './util';\n// 用于 PC 和 Mobile 端分别实现 layout 和 updateLayoutCfg 方法\nimport AbstractLayout from './graph/controller/layout';\nimport AbstractEvent from './graph/controller/event';\nvar registerNode = Shape.registerNode;\nvar registerEdge = Shape.registerEdge;\nvar registerCombo = Shape.registerCombo;\nvar registerBehavior = Behaviors.registerBehavior;\nexport { registerNode, registerCombo, AbstractGraph, Util, registerEdge, registerBehavior, AbstractLayout, AbstractEvent, };\nexport * from './types';\nexport * from './interface/graph';\nexport * from './interface/item';\nexport * from './interface/shape';\nexport * from './interface/behavior';\nexport default {\n version: Global.version,\n AbstractGraph: AbstractGraph,\n Util: Util,\n registerNode: Shape.registerNode,\n registerEdge: Shape.registerEdge,\n registerCombo: Shape.registerCombo,\n registerBehavior: Behaviors.registerBehavior,\n Arrow: Arrow,\n Marker: Marker,\n AbstractLayout: AbstractLayout,\n AbstractEvent: AbstractEvent,\n};\n" }, { "id": 63, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/package.json", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/package.json", "index": 141, "index2": 134, "size": 2249, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerId": 49, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } } ], "profile": { "factory": 1680, "building": 569, "dependencies": 582 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "cjs require", "userRequest": "../package.json", "loc": "7:10-36" } ], "usedExports": true, "providedExports": [ "name", "version", "description", "main", "module", "types", "files", "scripts", "repository", "keywords", "publishConfig", "author", "license", "bugs", "devDependencies", "homepage", "dependencies", "__npminstall_done", "gitHead", "_from", "_resolved", "default" ], "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "{\n \"name\": \"@antv/g-base\",\n \"version\": \"0.5.1\",\n \"description\": \"A common util collection for antv projects\",\n \"main\": \"lib/index.js\",\n \"module\": \"esm/index.js\",\n \"types\": \"lib/index.d.ts\",\n \"files\": [\n \"package.json\",\n \"esm\",\n \"lib\",\n \"LICENSE\",\n \"README.md\"\n ],\n \"scripts\": {\n \"build\": \"npm run clean && run-p build:*\",\n \"build:esm\": \"tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm\",\n \"build:cjs\": \"tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib\",\n \"clean\": \"rm -rf esm lib\",\n \"watch:cjs\": \"tsc-watch -p tsconfig.json --target ES5 --module commonjs --outDir lib --compiler typescript/bin/tsc\",\n \"coverage\": \"npm run coverage-generator && npm run coverage-viewer\",\n \"coverage-generator\": \"torch --coverage --compile --source-pattern src/*.js,src/**/*.js --opts tests/mocha.opts\",\n \"coverage-viewer\": \"torch-coverage\",\n \"test\": \"torch --renderer --compile --opts tests/mocha.opts\",\n \"test-live\": \"torch --compile --interactive tests/unit\",\n \"tsc\": \"tsc --noEmit\",\n \"typecheck\": \"tsc --noEmit\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/antvis/util.git\"\n },\n \"keywords\": [\n \"util\",\n \"antv\",\n \"g\"\n ],\n \"publishConfig\": {\n \"access\": \"public\"\n },\n \"author\": \"https://github.com/orgs/antvis/people\",\n \"license\": \"ISC\",\n \"bugs\": {\n \"url\": \"https://github.com/antvis/util/issues\"\n },\n \"devDependencies\": {\n \"@antv/torch\": \"^1.0.0\",\n \"gl-matrix\": \"^3.0.0\",\n \"less\": \"^3.9.0\",\n \"npm-run-all\": \"^4.1.5\",\n \"tsc-watch\": \"^4.0.0\"\n },\n \"homepage\": \"https://github.com/antvis/util#readme\",\n \"dependencies\": {\n \"@antv/event-emitter\": \"^0.1.1\",\n \"@antv/g-math\": \"^0.1.5\",\n \"@antv/matrix-util\": \"^3.1.0-beta.1\",\n \"@antv/path-util\": \"~2.0.5\",\n \"@antv/util\": \"~2.0.0\",\n \"@types/d3-timer\": \"^1.0.9\",\n \"d3-ease\": \"^1.0.5\",\n \"d3-interpolate\": \"^1.3.2\",\n \"d3-timer\": \"^1.0.9\",\n \"detect-browser\": \"^5.1.0\"\n },\n \"__npminstall_done\": \"Mon Dec 14 2020 11:11:47 GMT+0800 (GMT+08:00)\",\n \"gitHead\": \"ba7ecf8b8deac37682414ac0b7fc2c3e903398bd\",\n \"_from\": \"@antv/g-base@0.5.1\",\n \"_resolved\": \"https://registry.npm.alibaba-inc.com/@antv/g-base/download/@antv/g-base-0.5.1.tgz\"\n}" }, { "id": 64, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/to-string.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/to-string.js", "index": 156, "index2": 146, "size": 226, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/upper-first.js", "issuerId": 40, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/upper-first.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": 7, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 40, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/upper-first.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/upper-first.js", "profile": { "factory": 568, "building": 31, "dependencies": 0 } } ], "profile": { "factory": 48, "building": 7, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 40, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/upper-first.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/upper-first.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/upper-first.js", "type": "cjs require", "userRequest": "./to-string", "loc": "7:18-40" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar is_nil_1 = require(\"./is-nil\");\n\nexports.default = function (value) {\n if (is_nil_1.default(value)) return '';\n return value.toString();\n};" }, { "id": 65, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_process@0.11.10@process/browser.js", "name": "./node_modules/_process@0.11.10@process/browser.js", "index": 199, "index2": 190, "size": 5081, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_detect-browser@5.2.0@detect-browser/es/index.js", "issuerId": 50, "issuerName": "./node_modules/_detect-browser@5.2.0@detect-browser/es/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": 50, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_detect-browser@5.2.0@detect-browser/es/index.js", "name": "./node_modules/_detect-browser@5.2.0@detect-browser/es/index.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } } ], "profile": { "factory": 5, "building": 45 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 50, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_detect-browser@5.2.0@detect-browser/es/index.js", "module": "./node_modules/_detect-browser@5.2.0@detect-browser/es/index.js", "moduleName": "./node_modules/_detect-browser@5.2.0@detect-browser/es/index.js", "type": "cjs require", "userRequest": "process", "loc": "1:0-54" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "// shim for using process in browser\nvar process = module.exports = {}; // cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\n\nfunction defaultClearTimeout() {\n throw new Error('clearTimeout has not been defined');\n}\n\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n})();\n\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n } // if setTimeout wasn't available but was latter defined\n\n\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n}\n\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n } // if clearTimeout wasn't available but was latter defined\n\n\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n}\n\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n\n draining = false;\n\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n var len = queue.length;\n\n while (len) {\n currentQueue = queue;\n queue = [];\n\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n\n queueIndex = -1;\n len = queue.length;\n }\n\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n\n queue.push(new Item(fun, args));\n\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n}; // v8 likes predictible objects\n\n\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\n\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\n\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\n\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) {\n return [];\n};\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () {\n return '/';\n};\n\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\n\nprocess.umask = function () {\n return 0;\n};" }, { "id": 66, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-object-like.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-object-like.js", "index": 219, "index2": 213, "size": 751, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "issuerId": 51, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path-by-diff.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path-by-diff.js", "profile": { "factory": 1578, "building": 488, "dependencies": 365 } }, { "id": 51, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "profile": { "factory": 516, "building": 47, "dependencies": 1 } } ], "profile": { "factory": 529, "building": 15 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 51, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "type": "cjs require", "userRequest": "./is-object-like", "loc": "7:23-50" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar isObjectLike = function isObjectLike(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\nexports.default = isObjectLike;" }, { "id": 67, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array-like.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array-like.js", "index": 220, "index2": 214, "size": 410, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "issuerId": 51, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path-by-diff.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path-by-diff.js", "profile": { "factory": 1578, "building": 488, "dependencies": 365 } }, { "id": 51, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "profile": { "factory": 516, "building": 47, "dependencies": 1 } } ], "profile": { "factory": 529, "building": 15 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 51, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "type": "cjs require", "userRequest": "./is-array-like", "loc": "9:22-48" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar isArrayLike = function isArrayLike(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\nexports.default = isArrayLike;" } ], "filteredModules": 0, "origins": [ { "module": "", "moduleIdentifier": "", "moduleName": "", "loc": "g6-core", "request": "./src/index.ts", "reasons": [] } ] } ], "modules": [ { "id": 0, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js 6981ebac5d0580c491a6aae987f86e75", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js + 105 modules", "index": 3, "index2": 105, "size": 43680, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-41" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-35" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "5:19-24" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "6:2-6" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "6:19-24" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-43" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "342:9-16" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "345:8-15" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "436:4-8" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "506:4-8" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "515:4-8" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "527:4-8" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "6:0-45" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "398:17-22" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "435:12-20" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-40" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "6:0-33" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "8:21-31" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "163:22-25" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-64" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "13:8-16" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "16:13-21" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "20:13-20" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "22:17-22" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "23:18-23" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "24:16-21" }, { "moduleId": 13, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-43" }, { "moduleId": 13, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "11:6-13" }, { "moduleId": 13, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "823:7-14" }, { "moduleId": 13, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1187:2-6" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-49" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-57" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-51" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-37" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "4:0-59" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "4:0-81" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "7:0-74" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "31:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "35:13-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "43:19-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "45:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "45:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "48:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "49:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "49:13-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "50:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "52:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "52:19-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "56:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "59:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "59:13-21" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "59:15-22" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "63:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "66:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "73:8-12" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "75:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "77:23-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "89:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "90:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "102:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "102:21-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "109:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "115:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "119:13-21" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "120:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "123:13-21" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "127:28-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "128:20-27" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "144:20-27" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "145:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "147:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "148:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "148:16-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "150:23-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "150:25-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "168:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "175:23-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "178:25-30" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "201:25-30" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "219:25-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "223:16-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "247:33-36" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "263:31-38" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "287:23-30" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "313:23-30" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "329:24-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "338:21-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "346:20-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "366:36-41" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "370:32-35" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "370:53-58" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "372:35-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "377:20-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "380:16-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "380:47-52" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "381:24-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "414:16-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "423:21-34" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "426:24-27" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "431:24-27" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "437:16-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "439:16-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "440:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "445:20-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "462:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "464:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "490:19-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "492:15-18" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "496:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "517:12-20" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-37" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "3:0-34" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "44:2-6" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "87:2-6" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "99:2-6" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "113:2-6" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "187:7-14" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-117" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "20:8-15" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "44:2-6" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "45:45-52" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "61:2-6" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "64:6-10" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "93:4-7" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "176:8-16" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "424:22-32" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "459:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "460:10-17" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "471:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "540:35-39" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "549:8-18" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "552:15-23" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "559:8-16" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "566:40-44" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "567:50-54" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "568:52-56" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "571:10-18" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "577:10-20" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "597:10-18" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "630:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "657:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "684:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "731:12-19" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "732:10-14" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-34" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-55" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "15:24-29" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "25:16-20" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "26:42-54" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "39:8-12" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "54:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-44" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-53" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-65" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-48" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-91" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-46" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-111" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "4:0-75" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "5:0-38" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "16:19-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "16:20-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "18:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "19:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "20:20-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "20:70-78" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "22:19-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "31:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "31:12-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "33:24-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "36:16-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "36:39-49" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "45:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "47:20-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "51:20-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "55:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "57:17-22" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "57:24-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "58:37-42" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "59:16-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "63:17-22" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "71:17-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "72:26-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "75:26-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "80:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "91:25-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "97:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "99:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "102:13-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "108:12-19" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "109:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "114:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "117:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "119:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "135:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "147:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "151:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "152:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "160:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "161:28-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "165:25-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "166:13-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "166:38-51" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "167:23-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "168:27-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "169:13-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "169:13-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "169:33-41" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "169:38-51" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "170:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "171:23-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "173:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "179:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "181:24-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "181:42-49" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "182:19-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "187:23-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "192:23-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "193:20-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "200:20-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "204:12-15" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "207:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "211:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "217:38-45" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "218:22-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "219:22-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "219:39-46" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "226:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "228:21-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "243:12-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "243:21-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "248:21-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "250:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "264:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "267:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "288:12-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "293:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "299:24-29" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "320:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "333:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "375:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "387:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "391:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "394:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "396:12-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "398:51-59" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "403:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "408:17-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "414:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "426:21-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "431:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "438:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "446:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "494:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "494:21-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "505:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "538:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "543:12-15" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "593:16-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "594:16-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "596:12-17" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "596:24-29" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "703:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "705:25-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "812:36-44" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "833:40-45" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "908:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "914:28-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "920:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "924:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "969:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "975:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1015:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1025:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1089:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1149:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1179:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1225:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1284:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1381:20-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1385:20-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1401:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1425:20-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1433:20-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1455:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1574:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1577:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1580:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1609:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1612:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1615:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1647:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1678:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1709:16-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1732:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1746:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1755:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1815:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1869:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2003:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2176:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2255:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2271:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2338:14-19" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2341:23-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2472:12-20" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-59" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "30:9-16" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "61:16-24" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "61:61-69" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "81:18-28" } ], "usedExports": [ "clamp", "clone", "deepMix", "each", "get", "isArray", "isBoolean", "isEqual", "isFunction", "isNil", "isNumber", "isObject", "isPlainObject", "isString", "mix", "noop", "uniqueId", "upperFirst", "wrapBehavior" ], "providedExports": [ "contains", "includes", "difference", "find", "findIndex", "firstValue", "flatten", "flattenDeep", "getRange", "pull", "pullAt", "reduce", "remove", "sortBy", "union", "uniq", "valuesOfKey", "head", "last", "startsWith", "endsWith", "filter", "every", "some", "group", "groupBy", "groupToMap", "getWrapBehavior", "wrapBehavior", "number2color", "parseRadius", "clamp", "fixedBase", "isDecimal", "isEven", "isInteger", "isNegative", "isNumberEqual", "isOdd", "isPositive", "maxBy", "minBy", "mod", "toDegree", "toInteger", "toRadian", "forIn", "has", "hasKey", "hasValue", "keys", "isMatch", "values", "lowerCase", "lowerFirst", "substitute", "upperCase", "upperFirst", "getType", "isArguments", "isArray", "isArrayLike", "isBoolean", "isDate", "isError", "isFunction", "isFinite", "isNil", "isNull", "isNumber", "isObject", "isObjectLike", "isPlainObject", "isPrototype", "isRegExp", "isString", "isType", "isUndefined", "isElement", "requestAnimationFrame", "clearAnimationFrame", "augment", "clone", "debounce", "memoize", "deepMix", "each", "extend", "indexOf", "isEmpty", "isEqual", "isEqualWith", "map", "mapValues", "mix", "assign", "get", "set", "pick", "throttle", "toArray", "toString", "uniqueId", "noop", "identity", "size", "Cache" ], "optimizationBailout": [], "depth": 2, "modules": [ { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "index": 3, "index2": 105, "size": 5452, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "issuerId": 12, "issuerName": "./src/util/base.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } } ], "profile": { "factory": 2847, "building": 662 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-41" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-35" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "5:19-24" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "6:2-6" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "6:19-24" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-43" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "342:9-16" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "345:8-15" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "436:4-8" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "506:4-8" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "515:4-8" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "527:4-8" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "6:0-45" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "398:17-22" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "435:12-20" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-40" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "6:0-33" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "8:21-31" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "163:22-25" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-64" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "13:8-16" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "16:13-21" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "20:13-20" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "22:17-22" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "23:18-23" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "24:16-21" }, { "moduleId": 13, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-43" }, { "moduleId": 13, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "11:6-13" }, { "moduleId": 13, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "823:7-14" }, { "moduleId": 13, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1187:2-6" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-49" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-57" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-51" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-37" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "4:0-59" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "4:0-81" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "7:0-74" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "31:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "35:13-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "43:19-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "45:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "45:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "48:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "49:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "49:13-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "50:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "52:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "52:19-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "56:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "59:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "59:13-21" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "59:15-22" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "63:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "66:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "73:8-12" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "75:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "77:23-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "89:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "90:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "102:12-17" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "102:21-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "109:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "115:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "119:13-21" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "120:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "123:13-21" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "127:28-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "128:20-27" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "144:20-27" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "145:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "147:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "148:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "148:16-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "150:23-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "150:25-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "168:20-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "175:23-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "178:25-30" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "201:25-30" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "219:25-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "223:16-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "247:33-36" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "263:31-38" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "287:23-30" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "313:23-30" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "329:24-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "338:21-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "346:20-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "366:36-41" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "370:32-35" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "370:53-58" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "372:35-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "377:20-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "380:16-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "380:47-52" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "381:24-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "414:16-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "423:21-34" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "426:24-27" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "431:24-27" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "437:16-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "439:16-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "440:12-19" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "445:20-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "462:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "464:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "490:19-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "492:15-18" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "496:12-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "517:12-20" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-37" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "3:0-34" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "44:2-6" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "87:2-6" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "99:2-6" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "113:2-6" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "187:7-14" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-117" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "20:8-15" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "44:2-6" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "45:45-52" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "61:2-6" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "64:6-10" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "93:4-7" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "176:8-16" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "424:22-32" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "459:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "460:10-17" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "471:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "540:35-39" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "549:8-18" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "552:15-23" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "559:8-16" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "566:40-44" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "567:50-54" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "568:52-56" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "571:10-18" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "577:10-20" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "597:10-18" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "630:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "657:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "684:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "731:12-19" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "732:10-14" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-34" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-55" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "15:24-29" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "25:16-20" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "26:42-54" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "39:8-12" }, { "moduleId": 26, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "module": "./src/behavior/behavior.ts + 1 modules", "moduleName": "./src/behavior/behavior.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "54:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-53" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-44" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-48" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-91" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-111" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-65" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "2:0-46" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "4:0-75" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "5:0-38" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "16:19-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "16:20-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "18:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "19:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "20:20-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "20:70-78" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "22:19-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "31:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "31:12-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "33:24-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "36:16-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "36:39-49" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "45:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "47:20-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "51:20-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "55:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "57:17-22" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "57:24-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "58:37-42" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "59:16-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "63:17-22" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "71:17-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "72:26-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "75:26-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "80:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "91:25-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "97:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "99:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "102:13-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "108:12-19" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "109:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "114:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "117:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "119:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "135:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "147:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "151:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "152:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "160:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "161:28-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "165:25-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "166:13-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "166:38-51" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "167:23-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "168:27-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "169:13-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "169:13-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "169:33-41" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "169:38-51" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "170:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "171:23-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "173:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "179:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "181:24-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "181:42-49" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "182:19-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "187:23-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "192:23-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "193:20-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "200:20-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "204:12-15" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "207:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "211:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "217:38-45" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "218:22-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "219:22-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "219:39-46" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "226:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "228:21-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "243:12-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "243:21-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "248:21-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "250:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "264:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "267:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "288:12-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "293:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "299:24-29" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "320:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "333:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "375:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "387:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "391:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "394:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "396:12-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "398:51-59" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "403:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "408:17-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "414:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "426:21-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "431:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "438:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "446:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "494:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "494:21-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "505:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "538:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "543:12-15" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "593:16-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "594:16-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "596:12-17" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "596:24-29" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "703:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "705:25-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "812:36-44" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "833:40-45" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "908:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "914:28-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "920:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "924:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "969:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "975:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1015:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1025:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1089:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1149:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1179:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1225:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1284:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1381:20-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1385:20-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1401:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1425:20-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1433:20-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1455:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1574:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1577:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1580:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1609:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1612:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1615:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1647:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1678:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1709:16-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1732:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1746:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1755:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1815:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "1869:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2003:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2176:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2255:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2271:12-20" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2338:14-19" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2341:23-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "2472:12-20" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util", "loc": "1:0-59" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "30:9-16" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "61:16-24" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "61:61-69" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "@antv/util", "loc": "81:18-28" } ], "usedExports": [ "clamp", "clone", "deepMix", "each", "get", "isArray", "isBoolean", "isEqual", "isFunction", "isNil", "isNumber", "isObject", "isPlainObject", "isString", "mix", "noop", "uniqueId", "upperFirst", "wrapBehavior" ], "providedExports": [ "contains", "includes", "difference", "find", "findIndex", "firstValue", "flatten", "flattenDeep", "getRange", "pull", "pullAt", "reduce", "remove", "sortBy", "union", "uniq", "valuesOfKey", "head", "last", "startsWith", "endsWith", "filter", "every", "some", "group", "groupBy", "groupToMap", "getWrapBehavior", "wrapBehavior", "number2color", "parseRadius", "clamp", "fixedBase", "isDecimal", "isEven", "isInteger", "isNegative", "isNumberEqual", "isOdd", "isPositive", "maxBy", "minBy", "mod", "toDegree", "toInteger", "toRadian", "forIn", "has", "hasKey", "hasValue", "keys", "isMatch", "values", "lowerCase", "lowerFirst", "substitute", "upperCase", "upperFirst", "getType", "isArguments", "isArray", "isArrayLike", "isBoolean", "isDate", "isError", "isFunction", "isFinite", "isNil", "isNull", "isNumber", "isObject", "isObjectLike", "isPlainObject", "isPrototype", "isRegExp", "isString", "isType", "isUndefined", "isElement", "requestAnimationFrame", "clearAnimationFrame", "augment", "clone", "debounce", "memoize", "deepMix", "each", "extend", "indexOf", "isEmpty", "isEqual", "isEqualWith", "map", "mapValues", "mix", "assign", "get", "set", "pick", "throttle", "toArray", "toString", "uniqueId", "noop", "identity", "size", "Cache" ], "optimizationBailout": [], "depth": 2, "source": "// array\nexport { default as contains, default as includes } from './contains';\nexport { default as difference } from './difference';\nexport { default as find } from './find';\nexport { default as findIndex } from './find-index';\nexport { default as firstValue } from './first-value';\nexport { default as flatten } from './flatten';\nexport { default as flattenDeep } from './flatten-deep';\nexport { default as getRange } from './get-range';\nexport { default as pull } from './pull';\nexport { default as pullAt } from './pull-at';\nexport { default as reduce } from './reduce';\nexport { default as remove } from './remove';\nexport { default as sortBy } from './sort-by';\nexport { default as union } from './union';\nexport { default as uniq } from './uniq';\nexport { default as valuesOfKey } from './values-of-key';\nexport { default as head } from './head';\nexport { default as last } from './last';\nexport { default as startsWith } from './starts-with';\nexport { default as endsWith } from './ends-with';\nexport { default as filter } from './filter';\nexport { default as every } from './every';\nexport { default as some } from './some';\nexport { default as group } from './group';\nexport { default as groupBy } from './group-by';\nexport { default as groupToMap } from './group-to-map'; // event\n\nexport { default as getWrapBehavior } from './get-wrap-behavior';\nexport { default as wrapBehavior } from './wrap-behavior'; // format\n\nexport { default as number2color } from './number2color';\nexport { default as parseRadius } from './parse-radius'; // math\n\nexport { default as clamp } from './clamp';\nexport { default as fixedBase } from './fixed-base';\nexport { default as isDecimal } from './is-decimal';\nexport { default as isEven } from './is-even';\nexport { default as isInteger } from './is-integer';\nexport { default as isNegative } from './is-negative';\nexport { default as isNumberEqual } from './is-number-equal';\nexport { default as isOdd } from './is-odd';\nexport { default as isPositive } from './is-positive';\nexport { default as maxBy } from './max-by';\nexport { default as minBy } from './min-by';\nexport { default as mod } from './mod';\nexport { default as toDegree } from './to-degree';\nexport { default as toInteger } from './to-integer';\nexport { default as toRadian } from './to-radian'; // object\n\nexport { default as forIn } from './for-in';\nexport { default as has } from './has';\nexport { default as hasKey } from './has-key';\nexport { default as hasValue } from './has-value';\nexport { default as keys } from './keys';\nexport { default as isMatch } from './is-match';\nexport { default as values } from './values'; // string\n\nexport { default as lowerCase } from './lower-case';\nexport { default as lowerFirst } from './lower-first';\nexport { default as substitute } from './substitute';\nexport { default as upperCase } from './upper-case';\nexport { default as upperFirst } from './upper-first'; // type\n\nexport { default as getType } from './get-type';\nexport { default as isArguments } from './is-arguments';\nexport { default as isArray } from './is-array';\nexport { default as isArrayLike } from './is-array-like';\nexport { default as isBoolean } from './is-boolean';\nexport { default as isDate } from './is-date';\nexport { default as isError } from './is-error';\nexport { default as isFunction } from './is-function';\nexport { default as isFinite } from './is-finite';\nexport { default as isNil } from './is-nil';\nexport { default as isNull } from './is-null';\nexport { default as isNumber } from './is-number';\nexport { default as isObject } from './is-object';\nexport { default as isObjectLike } from './is-object-like';\nexport { default as isPlainObject } from './is-plain-object';\nexport { default as isPrototype } from './is-prototype';\nexport { default as isRegExp } from './is-reg-exp';\nexport { default as isString } from './is-string';\nexport { default as isType } from './is-type';\nexport { default as isUndefined } from './is-undefined';\nexport { default as isElement } from './is-element';\nexport { default as requestAnimationFrame } from './request-animation-frame';\nexport { default as clearAnimationFrame } from './clear-animation-frame'; // other\n\nexport { default as augment } from './augment';\nexport { default as clone } from './clone';\nexport { default as debounce } from './debounce';\nexport { default as memoize } from './memoize';\nexport { default as deepMix } from './deep-mix';\nexport { default as each } from './each';\nexport { default as extend } from './extend';\nexport { default as indexOf } from './index-of';\nexport { default as isEmpty } from './is-empty';\nexport { default as isEqual } from './is-equal';\nexport { default as isEqualWith } from './is-equal-with';\nexport { default as map } from './map';\nexport { default as mapValues } from './map-values';\nexport { default as mix, default as assign } from './mix';\nexport { default as get } from './get';\nexport { default as set } from './set';\nexport { default as pick } from './pick';\nexport { default as throttle } from './throttle';\nexport { default as toArray } from './to-array';\nexport { default as toString } from './to-string';\nexport { default as uniqueId } from './unique-id';\nexport { default as noop } from './noop';\nexport { default as identity } from './identity';\nexport { default as size } from './size'; // 不知道为什么,需要把这个 export,不然 ts 会报类型错误\n\nexport { default as Cache } from './cache';" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-array-like.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-array-like.js", "index": 5, "index2": 0, "size": 326, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/filter.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/filter.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/filter.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/last.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/last.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/last.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index-of.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index-of.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index-of.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/head.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/head.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/head.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/contains.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/contains.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/contains.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/map.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/to-array.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-array.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-array.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/pull-at.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pull-at.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pull-at.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "2:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "2:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "2:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/last.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/last.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/last.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "3:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/head.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/head.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/head.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "3:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/to-array.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-array.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-array.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "3:9-20" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/map.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "4:7-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index-of.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index-of.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index-of.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "4:7-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/contains.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/contains.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/contains.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "4:7-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/filter.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/filter.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/filter.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "4:7-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/pull-at.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pull-at.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pull-at.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "5:7-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "8:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "13:7-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "18:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "18:28-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "type": "harmony import specifier", "userRequest": "./is-array-like", "loc": "21:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-array-like", "loc": "68:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-array-like", "loc": "68:0-57" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var isArrayLike = function isArrayLike(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\nexport default isArrayLike;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/contains.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/contains.js", "index": 4, "index2": 1, "size": 203, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "type": "harmony side effect evaluation", "userRequest": "./contains", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "type": "harmony side effect evaluation", "userRequest": "./contains", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./contains", "loc": "2:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./contains", "loc": "2:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./contains", "loc": "2:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "type": "harmony side effect evaluation", "userRequest": "./contains", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "type": "harmony import specifier", "userRequest": "./contains", "loc": "4:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "type": "harmony import specifier", "userRequest": "./contains", "loc": "7:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "type": "harmony import specifier", "userRequest": "./contains", "loc": "19:12-20" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArrayLike from './is-array-like';\n\nvar contains = function contains(arr, value) {\n if (!isArrayLike(arr)) {\n return false;\n }\n\n return arr.indexOf(value) > -1;\n};\n\nexport default contains;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/filter.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/filter.js", "index": 7, "index2": 2, "size": 346, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "type": "harmony side effect evaluation", "userRequest": "./filter", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "type": "harmony import specifier", "userRequest": "./filter", "loc": "18:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./filter", "loc": "22:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./filter", "loc": "22:0-45" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArrayLike from './is-array-like';\n\nvar filter = function filter(arr, func) {\n if (!isArrayLike(arr)) {\n return arr;\n }\n\n var result = [];\n\n for (var index = 0; index < arr.length; index++) {\n var value = arr[index];\n\n if (func(value, index)) {\n result.push(value);\n }\n }\n\n return result;\n};\n\nexport default filter;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/difference.js", "index": 6, "index2": 3, "size": 540, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./difference", "loc": "3:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./difference", "loc": "3:0-53" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import filter from './filter';\nimport contains from './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 */\n\nvar difference = function difference(arr, values) {\n if (values === void 0) {\n values = [];\n }\n\n return filter(arr, function (value) {\n return !contains(values, value);\n });\n};\n\nexport default difference;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-type.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-type.js", "index": 10, "index2": 4, "size": 158, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-reg-exp.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-reg-exp.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-reg-exp.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-array.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-array.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-array.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-date.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-date.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-date.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-string.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-string.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-string.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "2:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-string.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-string.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-string.js", "type": "harmony import specifier", "userRequest": "./is-type", "loc": "3:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-array.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-array.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-array.js", "type": "harmony import specifier", "userRequest": "./is-type", "loc": "3:48-54" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-reg-exp.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-reg-exp.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-reg-exp.js", "type": "harmony import specifier", "userRequest": "./is-type", "loc": "4:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-date.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-date.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-date.js", "type": "harmony import specifier", "userRequest": "./is-type", "loc": "4:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-number.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-number.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-number.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "5:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-function.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-function.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-function.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "6:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-arguments.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-arguments.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-arguments.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "7:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-boolean.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-boolean.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-boolean.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "7:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-error.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-error.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-error.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "7:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-number.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-number.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-number.js", "type": "harmony import specifier", "userRequest": "./is-type", "loc": "8:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-function.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-function.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-function.js", "type": "harmony import specifier", "userRequest": "./is-type", "loc": "8:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-boolean.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-boolean.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-boolean.js", "type": "harmony import specifier", "userRequest": "./is-type", "loc": "10:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-arguments.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-arguments.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-arguments.js", "type": "harmony import specifier", "userRequest": "./is-type", "loc": "10:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-error.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-error.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-error.js", "type": "harmony import specifier", "userRequest": "./is-type", "loc": "10:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "type": "harmony import specifier", "userRequest": "./is-type", "loc": "11:31-37" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-type", "loc": "83:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-type", "loc": "83:0-46" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var toString = {}.toString;\n\nvar isType = function isType(value, type) {\n return toString.call(value) === '[object ' + type + ']';\n};\n\nexport default isType;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-function.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-function.js", "index": 9, "index2": 5, "size": 193, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/memoize.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/memoize.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/memoize.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "2:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "2:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "2:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "2:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "2:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "2:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "3:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "3:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "3:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "6:7-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "8:6-16" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "8:10-20" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "9:10-20" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/memoize.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/memoize.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/memoize.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "10:7-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "11:6-16" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "12:7-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "12:18-28" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "16:8-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "27:6-16" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "27:6-16" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "27:7-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "35:8-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "type": "harmony import specifier", "userRequest": "./is-function", "loc": "35:8-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-function", "loc": "72:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-function", "loc": "72:0-54" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\n * 是否为函数\n * @param {*} fn 对象\n * @return {Boolean} 是否函数\n */\nimport isType from './is-type';\nexport default (function (value) {\n return isType(value, 'Function');\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-nil.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-nil.js", "index": 12, "index2": 6, "size": 180, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "type": "harmony side effect evaluation", "userRequest": "./is-nil", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "type": "harmony side effect evaluation", "userRequest": "./is-nil", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "type": "harmony side effect evaluation", "userRequest": "./is-nil", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "type": "harmony side effect evaluation", "userRequest": "./is-nil", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "type": "harmony side effect evaluation", "userRequest": "./is-nil", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/to-string.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-string.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-string.js", "type": "harmony side effect evaluation", "userRequest": "./is-nil", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "type": "harmony side effect evaluation", "userRequest": "./is-nil", "loc": "2:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/to-string.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-string.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-string.js", "type": "harmony import specifier", "userRequest": "./is-nil", "loc": "3:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "type": "harmony import specifier", "userRequest": "./is-nil", "loc": "4:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "type": "harmony import specifier", "userRequest": "./is-nil", "loc": "8:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "type": "harmony import specifier", "userRequest": "./is-nil", "loc": "11:9-14" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "type": "harmony import specifier", "userRequest": "./is-nil", "loc": "11:9-14" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "type": "harmony import specifier", "userRequest": "./is-nil", "loc": "15:27-32" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "type": "harmony import specifier", "userRequest": "./is-nil", "loc": "17:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-nil", "loc": "74:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-nil", "loc": "74:0-44" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "// isFinite,\nvar isNil = function isNil(value) {\n /**\n * isNil(null) => true\n * isNil() => true\n */\n return value === null || value === undefined;\n};\n\nexport default isNil;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-array.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-array.js", "index": 15, "index2": 7, "size": 142, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/get-range.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get-range.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get-range.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten-deep.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten-deep.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten-deep.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/parse-radius.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/parse-radius.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/parse-radius.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/clone.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/clone.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/clone.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "5:9-16" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "5:9-16" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "6:7-14" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "6:21-28" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "7:7-14" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/parse-radius.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/parse-radius.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/parse-radius.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "9:6-13" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "11:6-13" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/clone.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/clone.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/clone.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "12:6-13" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "12:10-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "13:7-14" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "13:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "13:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/get-range.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get-range.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get-range.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "17:6-13" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "17:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten-deep.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten-deep.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten-deep.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "18:7-14" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "20:7-14" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "20:7-14" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "type": "harmony import specifier", "userRequest": "./is-array", "loc": "23:17-24" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-array", "loc": "67:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-array", "loc": "67:0-48" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isType from './is-type';\nexport default (function (value) {\n return Array.isArray ? Array.isArray(value) : isType(value, 'Array');\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-object.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-object.js", "index": 16, "index2": 8, "size": 649, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "type": "harmony side effect evaluation", "userRequest": "./is-object", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "type": "harmony side effect evaluation", "userRequest": "./is-object", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "type": "harmony side effect evaluation", "userRequest": "./is-object", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "type": "harmony import specifier", "userRequest": "./is-object", "loc": "15:6-14" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "type": "harmony import specifier", "userRequest": "./is-object", "loc": "17:11-19" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "type": "harmony import specifier", "userRequest": "./is-object", "loc": "19:13-21" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-object", "loc": "77:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-object", "loc": "77:0-50" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nexport 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\n return value !== null && type === 'object' || type === 'function';\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/each.js", "index": 14, "index2": 9, "size": 567, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "type": "harmony side effect evaluation", "userRequest": "./each", "loc": "1:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "type": "harmony side effect evaluation", "userRequest": "./each", "loc": "1:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/for-in.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/for-in.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/for-in.js", "type": "harmony side effect evaluation", "userRequest": "./each", "loc": "1:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "type": "harmony side effect evaluation", "userRequest": "./each", "loc": "1:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "type": "harmony side effect evaluation", "userRequest": "./each", "loc": "1:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "type": "harmony side effect evaluation", "userRequest": "./each", "loc": "1:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "type": "harmony side effect evaluation", "userRequest": "./each", "loc": "1:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "type": "harmony side effect evaluation", "userRequest": "./each", "loc": "2:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/for-in.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/for-in.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/for-in.js", "type": "harmony import specifier", "userRequest": "./each", "loc": "2:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "type": "harmony import specifier", "userRequest": "./each", "loc": "6:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "type": "harmony import specifier", "userRequest": "./each", "loc": "7:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "type": "harmony import specifier", "userRequest": "./each", "loc": "8:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "type": "harmony import specifier", "userRequest": "./each", "loc": "10:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "type": "harmony import specifier", "userRequest": "./each", "loc": "11:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "type": "harmony import specifier", "userRequest": "./each", "loc": "34:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "type": "harmony import specifier", "userRequest": "./each", "loc": "34:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./each", "loc": "94:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./each", "loc": "94:0-41" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './is-array';\nimport isObject from './is-object';\n\nfunction each(elements, func) {\n if (!elements) {\n return;\n }\n\n var rst;\n\n if (isArray(elements)) {\n for (var i = 0, len = elements.length; i < len; i++) {\n rst = func(elements[i], i);\n\n if (rst === false) {\n break;\n }\n }\n } else if (isObject(elements)) {\n for (var k in elements) {\n if (elements.hasOwnProperty(k)) {\n rst = func(elements[k], k);\n\n if (rst === false) {\n break;\n }\n }\n }\n }\n}\n\nexport default each;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/keys.js", "index": 13, "index2": 10, "size": 341, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "type": "harmony side effect evaluation", "userRequest": "./keys", "loc": "2:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "type": "harmony import specifier", "userRequest": "./keys", "loc": "5:14-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./keys", "loc": "55:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./keys", "loc": "55:0-41" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import each from './each';\nimport isFunction from './is-function';\nvar keys = Object.keys ? function (obj) {\n return Object.keys(obj);\n} : function (obj) {\n var result = [];\n each(obj, function (value, key) {\n if (!(isFunction(obj) && key === 'prototype')) {\n result.push(key);\n }\n });\n return result;\n};\nexport default keys;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-match.js", "index": 11, "index2": 11, "size": 370, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "type": "harmony side effect evaluation", "userRequest": "./is-match", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "type": "harmony import specifier", "userRequest": "./is-match", "loc": "17:13-20" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-match", "loc": "56:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-match", "loc": "56:0-48" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNil from './is-nil';\nimport keys from './keys';\n\nfunction isMatch(obj, attrs) {\n var _keys = keys(attrs);\n\n var length = _keys.length;\n if (isNil(obj)) return !length;\n\n for (var i = 0; i < length; i += 1) {\n var key = _keys[i];\n\n if (attrs[key] !== obj[key] || !(key in obj)) {\n return false;\n }\n }\n\n return true;\n}\n\nexport default isMatch;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-object-like.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-object-like.js", "index": 18, "index2": 12, "size": 667, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "type": "harmony side effect evaluation", "userRequest": "./is-object-like", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "type": "harmony side effect evaluation", "userRequest": "./is-object-like", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "type": "harmony import specifier", "userRequest": "./is-object-like", "loc": "11:7-19" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "type": "harmony import specifier", "userRequest": "./is-object-like", "loc": "36:6-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "type": "harmony import specifier", "userRequest": "./is-object-like", "loc": "36:29-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-object-like", "loc": "78:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-object-like", "loc": "78:0-59" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar isObjectLike = function isObjectLike(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\nexport default isObjectLike;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-plain-object.js", "index": 17, "index2": 13, "size": 656, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "type": "harmony side effect evaluation", "userRequest": "./is-plain-object", "loc": "2:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "type": "harmony side effect evaluation", "userRequest": "./is-plain-object", "loc": "2:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "type": "harmony side effect evaluation", "userRequest": "./is-plain-object", "loc": "3:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "type": "harmony side effect evaluation", "userRequest": "./is-plain-object", "loc": "4:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "type": "harmony import specifier", "userRequest": "./is-plain-object", "loc": "5:26-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "type": "harmony import specifier", "userRequest": "./is-plain-object", "loc": "6:24-37" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "type": "harmony import specifier", "userRequest": "./is-plain-object", "loc": "13:28-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "type": "harmony import specifier", "userRequest": "./is-plain-object", "loc": "14:13-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "type": "harmony import specifier", "userRequest": "./is-plain-object", "loc": "15:6-19" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-plain-object", "loc": "79:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-plain-object", "loc": "79:0-61" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isObjectLike from './is-object-like';\nimport isType from './is-type';\n\nvar isPlainObject = function isPlainObject(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 (!isObjectLike(value) || !isType(value, 'Object')) {\n return false;\n }\n\n if (Object.getPrototypeOf(value) === null) {\n return true;\n }\n\n var proto = value;\n\n while (Object.getPrototypeOf(proto) !== null) {\n proto = Object.getPrototypeOf(proto);\n }\n\n return Object.getPrototypeOf(value) === proto;\n};\n\nexport default isPlainObject;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find.js", "index": 8, "index2": 14, "size": 608, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./find", "loc": "4:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./find", "loc": "4:0-41" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isFunction from './is-function';\nimport isMatch from './is-match';\nimport isArray from './is-array';\nimport isPlainObject from './is-plain-object';\n\nfunction find(arr, predicate) {\n if (!isArray(arr)) return null;\n\n var _predicate;\n\n if (isFunction(predicate)) {\n _predicate = predicate;\n }\n\n if (isPlainObject(predicate)) {\n _predicate = function _predicate(a) {\n return isMatch(a, predicate);\n };\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\n return null;\n}\n\nexport default find;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/find-index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/find-index.js", "index": 19, "index2": 15, "size": 279, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./find-index", "loc": "5:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./find-index", "loc": "5:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "function findIndex(arr, predicate, fromIndex) {\n if (fromIndex === void 0) {\n fromIndex = 0;\n }\n\n for (var i = fromIndex; i < arr.length; i++) {\n if (predicate(arr[i], i)) {\n // 找到终止循环\n return i;\n }\n }\n\n return -1;\n}\n\nexport default findIndex;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/first-value.js", "index": 20, "index2": 16, "size": 485, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./first-value", "loc": "6:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./first-value", "loc": "6:0-54" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNil from './is-nil';\nimport isArray from './is-array';\n\nvar firstValue = function firstValue(data, name) {\n var rst = null;\n\n for (var i = 0; i < data.length; i++) {\n var obj = data[i];\n var value = obj[name];\n\n if (!isNil(value)) {\n if (isArray(value)) {\n rst = value[0]; // todo 这里是否应该使用递归,调用 firstValue @绝云\n } else {\n rst = value;\n }\n\n break;\n }\n }\n\n return rst;\n};\n\nexport default firstValue;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten.js", "index": 21, "index2": 17, "size": 475, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./flatten", "loc": "7:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./flatten", "loc": "7:0-47" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './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 */\n\nvar flatten = function flatten(arr) {\n if (!isArray(arr)) {\n return [];\n }\n\n var rst = [];\n\n for (var i = 0; i < arr.length; i++) {\n rst = rst.concat(arr[i]);\n }\n\n return rst;\n};\n\nexport default flatten;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten-deep.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/flatten-deep.js", "index": 22, "index2": 18, "size": 605, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./flatten-deep", "loc": "8:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./flatten-deep", "loc": "8:0-56" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './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 */\n\nvar flattenDeep = function flattenDeep(arr, result) {\n if (result === void 0) {\n result = [];\n }\n\n if (!isArray(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\n return result;\n};\n\nexport default flattenDeep;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/get-range.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get-range.js", "index": 23, "index2": 19, "size": 661, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-range", "loc": "9:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-range", "loc": "9:0-50" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './is-array';\n\nvar getRange = function getRange(values) {\n // 存在 NaN 时,min,max 判定会出问题\n var filterValues = values.filter(function (v) {\n return !isNaN(v);\n });\n\n if (!filterValues.length) {\n // 如果没有数值则直接返回0\n return {\n min: 0,\n max: 0\n };\n }\n\n if (isArray(values[0])) {\n var tmp = [];\n\n for (var i = 0; i < values.length; i++) {\n tmp = tmp.concat(values[i]);\n }\n\n filterValues = tmp;\n }\n\n var max = Math.max.apply(null, filterValues);\n var min = Math.min.apply(null, filterValues);\n return {\n min: min,\n max: max\n };\n};\n\nexport default getRange;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/pull.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pull.js", "index": 24, "index2": 20, "size": 491, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./pull", "loc": "10:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./pull", "loc": "10:0-41" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var arrPrototype = Array.prototype;\nvar splice = arrPrototype.splice;\nvar indexOf = arrPrototype.indexOf;\n\nvar pull = function pull(arr) {\n var values = [];\n\n for (var _i = 1; _i < arguments.length; _i++) {\n values[_i - 1] = arguments[_i];\n }\n\n for (var i = 0; i < values.length; i++) {\n var value = values[i];\n var fromIndex = -1;\n\n while ((fromIndex = indexOf.call(arr, value)) > -1) {\n splice.call(arr, fromIndex, 1);\n }\n }\n\n return arr;\n};\n\nexport default pull;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/pull-at.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pull-at.js", "index": 25, "index2": 21, "size": 480, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "type": "harmony side effect evaluation", "userRequest": "./pull-at", "loc": "2:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./pull-at", "loc": "11:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./pull-at", "loc": "11:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "type": "harmony import specifier", "userRequest": "./pull-at", "loc": "30:2-8" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArrayLike from './is-array-like';\nvar splice = Array.prototype.splice;\n\nvar pullAt = function pullAt(arr, indexes) {\n if (!isArrayLike(arr)) {\n return [];\n }\n\n var length = arr ? indexes.length : 0;\n var last = length - 1;\n\n while (length--) {\n var previous = void 0;\n var index = indexes[length];\n\n if (length === last || index !== previous) {\n previous = index;\n splice.call(arr, index, 1);\n }\n }\n\n return arr;\n};\n\nexport default pullAt;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/reduce.js", "index": 26, "index2": 22, "size": 359, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./reduce", "loc": "12:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./reduce", "loc": "12:0-45" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import each from './each';\nimport isArray from './is-array';\nimport isPlainObject from './is-plain-object';\n\nvar reduce = function reduce(arr, fn, init) {\n if (!isArray(arr) && !isPlainObject(arr)) {\n return arr;\n }\n\n var result = init;\n each(arr, function (data, i) {\n result = fn(result, data, i);\n });\n return result;\n};\n\nexport default reduce;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/remove.js", "index": 27, "index2": 23, "size": 631, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./remove", "loc": "13:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./remove", "loc": "13:0-45" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArrayLike from './is-array-like';\nimport pullAt from './pull-at';\n\nvar remove = function remove(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\n if (!isArrayLike(arr)) {\n return result;\n }\n\n var i = -1;\n var indexes = [];\n var length = arr.length;\n\n while (++i < length) {\n var value = arr[i];\n\n if (predicate(value, i, arr)) {\n result.push(value);\n indexes.push(i);\n }\n }\n\n pullAt(arr, indexes);\n return result;\n};\n\nexport default remove;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-string.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-string.js", "index": 29, "index2": 24, "size": 100, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/get.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get.js", "type": "harmony side effect evaluation", "userRequest": "./is-string", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "type": "harmony side effect evaluation", "userRequest": "./is-string", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "type": "harmony side effect evaluation", "userRequest": "./is-string", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "type": "harmony side effect evaluation", "userRequest": "./is-string", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "type": "harmony side effect evaluation", "userRequest": "./is-string", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "type": "harmony side effect evaluation", "userRequest": "./is-string", "loc": "3:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "type": "harmony import specifier", "userRequest": "./is-string", "loc": "5:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "type": "harmony import specifier", "userRequest": "./is-string", "loc": "5:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/get.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get.js", "type": "harmony import specifier", "userRequest": "./is-string", "loc": "11:15-23" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "type": "harmony import specifier", "userRequest": "./is-string", "loc": "13:15-23" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "type": "harmony import specifier", "userRequest": "./is-string", "loc": "14:6-14" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "type": "harmony import specifier", "userRequest": "./is-string", "loc": "14:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "type": "harmony import specifier", "userRequest": "./is-string", "loc": "15:8-16" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-string", "loc": "82:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-string", "loc": "82:0-50" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isType from './is-type';\nexport default (function (str) {\n return isType(str, 'String');\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/sort-by.js", "index": 28, "index2": 25, "size": 748, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./sort-by", "loc": "14:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./sort-by", "loc": "14:0-46" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './is-array';\nimport isString from './is-string';\nimport isFunction from './is-function';\n\nfunction sortBy(arr, key) {\n var comparer;\n\n if (isFunction(key)) {\n comparer = function comparer(a, b) {\n return key(a) - key(b);\n };\n } else {\n var keys_1 = [];\n\n if (isString(key)) {\n keys_1.push(key);\n } else if (isArray(key)) {\n keys_1 = key;\n }\n\n comparer = function comparer(a, b) {\n for (var i = 0; i < keys_1.length; i += 1) {\n var prop = keys_1[i];\n\n if (a[prop] > b[prop]) {\n return 1;\n }\n\n if (a[prop] < b[prop]) {\n return -1;\n }\n }\n\n return 0;\n };\n }\n\n arr.sort(comparer);\n return arr;\n}\n\nexport default sortBy;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/uniq.js", "index": 31, "index2": 26, "size": 269, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/union.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/union.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/union.js", "type": "harmony side effect evaluation", "userRequest": "./uniq", "loc": "1:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/union.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/union.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/union.js", "type": "harmony import specifier", "userRequest": "./uniq", "loc": "10:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./uniq", "loc": "16:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./uniq", "loc": "16:0-41" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import contains from './contains';\nimport each from './each';\n\nvar uniq = function uniq(arr) {\n var resultArr = [];\n each(arr, function (item) {\n if (!contains(resultArr, item)) {\n resultArr.push(item);\n }\n });\n return resultArr;\n};\n\nexport default uniq;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/union.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/union.js", "index": 30, "index2": 27, "size": 238, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./union", "loc": "15:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./union", "loc": "15:0-43" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import uniq from './uniq';\n\nvar union = function union() {\n var sources = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n sources[_i] = arguments[_i];\n }\n\n return uniq([].concat.apply([], sources));\n};\n\nexport default union;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values-of-key.js", "index": 32, "index2": 28, "size": 553, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./values-of-key", "loc": "17:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./values-of-key", "loc": "17:0-57" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './is-array';\nimport isNil from './is-nil';\nexport default (function (data, name) {\n var rst = [];\n var tmpMap = {};\n\n for (var i = 0; i < data.length; i++) {\n var obj = data[i];\n var value = obj[name];\n\n if (!isNil(value)) {\n // flatten\n if (!isArray(value)) {\n value = [value];\n }\n\n for (var j = 0; j < value.length; j++) {\n var val = value[j]; // unique\n\n if (!tmpMap[val]) {\n rst.push(val);\n tmpMap[val] = true;\n }\n }\n }\n }\n\n return rst;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/head.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/head.js", "index": 33, "index2": 29, "size": 144, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./head", "loc": "18:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./head", "loc": "18:0-41" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArrayLike from './is-array-like';\nexport default function head(o) {\n if (isArrayLike(o)) {\n return o[0];\n }\n\n return undefined;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/last.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/last.js", "index": 34, "index2": 30, "size": 176, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./last", "loc": "19:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./last", "loc": "19:0-41" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArrayLike from './is-array-like';\nexport default function last(o) {\n if (isArrayLike(o)) {\n var arr = o;\n return arr[arr.length - 1];\n }\n\n return undefined;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/starts-with.js", "index": 35, "index2": 31, "size": 193, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./starts-with", "loc": "20:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./starts-with", "loc": "20:0-54" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './is-array';\nimport isString from './is-string';\n\nfunction startsWith(arr, e) {\n return isArray(arr) || isString(arr) ? arr[0] === e : false;\n}\n\nexport default startsWith;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/ends-with.js", "index": 36, "index2": 32, "size": 202, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./ends-with", "loc": "21:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./ends-with", "loc": "21:0-50" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './is-array';\nimport isString from './is-string';\n\nfunction endsWith(arr, e) {\n return isArray(arr) || isString(arr) ? arr[arr.length - 1] === e : false;\n}\n\nexport default endsWith;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/every.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/every.js", "index": 37, "index2": 33, "size": 252, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./every", "loc": "23:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./every", "loc": "23:0-43" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\n * 只要有一个不满足条件就返回 false\n * @param arr\n * @param func\n */\nvar every = function every(arr, func) {\n for (var i = 0; i < arr.length; i++) {\n if (!func(arr[i], i)) return false;\n }\n\n return true;\n};\n\nexport default every;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/some.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/some.js", "index": 38, "index2": 34, "size": 244, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./some", "loc": "24:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./some", "loc": "24:0-41" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\n * 只要有一个满足条件就返回 true\n * @param arr\n * @param func\n */\nvar some = function some(arr, func) {\n for (var i = 0; i < arr.length; i++) {\n if (func(arr[i], i)) return true;\n }\n\n return false;\n};\n\nexport default some;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-by.js", "index": 41, "index2": 35, "size": 661, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "type": "harmony side effect evaluation", "userRequest": "./group-by", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./group-by", "loc": "26:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./group-by", "loc": "26:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "type": "harmony import specifier", "userRequest": "./group-by", "loc": "26:15-22" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './is-array';\nimport isFunction from './is-function';\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nfunction groupBy(data, condition) {\n if (!condition || !isArray(data)) {\n return {};\n }\n\n var result = {}; // 兼容方法和 字符串的写法\n\n var predicate = isFunction(condition) ? condition : function (item) {\n return item[condition];\n };\n var key;\n\n for (var i = 0; i < data.length; i++) {\n var item = data[i];\n key = predicate(item);\n\n if (hasOwnProperty.call(result, key)) {\n result[key].push(item);\n } else {\n result[key] = [item];\n }\n }\n\n return result;\n}\n\nexport default groupBy;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group-to-map.js", "index": 40, "index2": 36, "size": 781, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group.js", "type": "harmony side effect evaluation", "userRequest": "./group-to-map", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group.js", "type": "harmony import specifier", "userRequest": "./group-to-map", "loc": "8:15-25" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./group-to-map", "loc": "27:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./group-to-map", "loc": "27:0-55" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './is-array';\nimport isFunction from './is-function';\nimport groupBy from './group-by';\n\nvar groupToMap = function groupToMap(data, condition) {\n if (!condition) {\n return {\n 0: data\n };\n }\n\n if (!isFunction(condition)) {\n var paramsCondition_1 = isArray(condition) ? condition : condition.replace(/\\s+/g, '').split('*');\n\n condition = function condition(row) {\n var unique = '_'; // 避免出现数字作为Key的情况,会进行按照数字的排序\n\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\n return unique;\n };\n }\n\n var groups = groupBy(data, condition);\n return groups;\n};\n\nexport default groupToMap;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/group.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/group.js", "index": 39, "index2": 37, "size": 314, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./group", "loc": "25:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./group", "loc": "25:0-43" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import groupToMap from './group-to-map';\nexport default (function (data, condition) {\n if (!condition) {\n // 没有条件,则自身改成数组\n return [data];\n }\n\n var groups = groupToMap(data, condition);\n var array = [];\n\n for (var i in groups) {\n array.push(groups[i]);\n }\n\n return array;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/get-wrap-behavior.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get-wrap-behavior.js", "index": 42, "index2": 38, "size": 281, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-wrap-behavior", "loc": "29:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-wrap-behavior", "loc": "29:0-65" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\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\nexport default getWrapBehavior;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/wrap-behavior.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/wrap-behavior.js", "index": 43, "index2": 39, "size": 478, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./wrap-behavior", "loc": "30:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./wrap-behavior", "loc": "30:0-58" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\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\n var method = function method(e) {\n obj[action](e);\n };\n\n obj['_wrap_' + action] = method;\n return method;\n}\n\nexport default wrapBehavior;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/number2color.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/number2color.js", "index": 44, "index2": 40, "size": 338, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./number2color", "loc": "32:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./number2color", "loc": "32:0-57" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var numColorCache = {};\n\nfunction numberToColor(num) {\n // 增加缓存\n var color = numColorCache[num];\n\n if (!color) {\n var str = num.toString(16);\n\n for (var i = str.length; i < 6; i++) {\n str = '0' + str;\n }\n\n color = '#' + str;\n numColorCache[num] = color;\n }\n\n return color;\n}\n\nexport default numberToColor;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/parse-radius.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/parse-radius.js", "index": 45, "index2": 41, "size": 665, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./parse-radius", "loc": "33:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./parse-radius", "loc": "33:0-56" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './is-array';\n\nfunction parseRadius(radius) {\n var r1 = 0,\n r2 = 0,\n r3 = 0,\n r4 = 0;\n\n if (isArray(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\n return {\n r1: r1,\n r2: r2,\n r3: r3,\n r4: r4\n };\n}\n\nexport default parseRadius;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/clamp.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/clamp.js", "index": 46, "index2": 42, "size": 157, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./clamp", "loc": "35:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./clamp", "loc": "35:0-43" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var clamp = function clamp(a, min, max) {\n if (a < min) {\n return min;\n } else if (a > max) {\n return max;\n }\n\n return a;\n};\n\nexport default clamp;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/fixed-base.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/fixed-base.js", "index": 47, "index2": 43, "size": 319, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./fixed-base", "loc": "36:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./fixed-base", "loc": "36:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var fixedBase = function fixedBase(v, base) {\n var str = base.toString();\n var index = str.indexOf('.');\n\n if (index === -1) {\n return Math.round(v);\n }\n\n var length = str.substr(index + 1).length;\n\n if (length > 20) {\n length = 20;\n }\n\n return parseFloat(v.toFixed(length));\n};\n\nexport default fixedBase;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-number.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-number.js", "index": 49, "index2": 44, "size": 201, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-negative.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-negative.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-negative.js", "type": "harmony side effect evaluation", "userRequest": "./is-number", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-even.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-even.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-even.js", "type": "harmony side effect evaluation", "userRequest": "./is-number", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-decimal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-decimal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-decimal.js", "type": "harmony side effect evaluation", "userRequest": "./is-number", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-odd.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-odd.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-odd.js", "type": "harmony side effect evaluation", "userRequest": "./is-number", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-positive.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-positive.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-positive.js", "type": "harmony side effect evaluation", "userRequest": "./is-number", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-integer.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-integer.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-integer.js", "type": "harmony side effect evaluation", "userRequest": "./is-number", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "type": "harmony side effect evaluation", "userRequest": "./is-number", "loc": "3:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-integer.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-integer.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-integer.js", "type": "harmony import specifier", "userRequest": "./is-number", "loc": "3:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-negative.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-negative.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-negative.js", "type": "harmony import specifier", "userRequest": "./is-number", "loc": "4:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-even.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-even.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-even.js", "type": "harmony import specifier", "userRequest": "./is-number", "loc": "4:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-odd.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-odd.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-odd.js", "type": "harmony import specifier", "userRequest": "./is-number", "loc": "4:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-decimal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-decimal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-decimal.js", "type": "harmony import specifier", "userRequest": "./is-number", "loc": "4:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-positive.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-positive.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-positive.js", "type": "harmony import specifier", "userRequest": "./is-number", "loc": "4:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-finite.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-finite.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-finite.js", "type": "harmony side effect evaluation", "userRequest": "./is-number", "loc": "5:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-finite.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-finite.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-finite.js", "type": "harmony import specifier", "userRequest": "./is-number", "loc": "7:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "type": "harmony import specifier", "userRequest": "./is-number", "loc": "18:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-number", "loc": "76:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-number", "loc": "76:0-50" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\n * 判断是否数字\n * @return {Boolean} 是否数字\n */\nimport isType from './is-type';\n\nvar isNumber = function isNumber(value) {\n return isType(value, 'Number');\n};\n\nexport default isNumber;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-decimal.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-decimal.js", "index": 48, "index2": 45, "size": 149, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-decimal", "loc": "37:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-decimal", "loc": "37:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNumber from './is-number';\n\nvar isDecimal = function isDecimal(num) {\n return isNumber(num) && num % 1 !== 0;\n};\n\nexport default isDecimal;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-even.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-even.js", "index": 50, "index2": 46, "size": 140, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-even", "loc": "38:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-even", "loc": "38:0-46" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNumber from './is-number';\n\nvar isEven = function isEven(num) {\n return isNumber(num) && num % 2 === 0;\n};\n\nexport default isEven;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-integer.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-integer.js", "index": 51, "index2": 47, "size": 176, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-integer", "loc": "39:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-integer", "loc": "39:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNumber from './is-number';\nvar isInteger = Number.isInteger ? Number.isInteger : function (num) {\n return isNumber(num) && num % 1 === 0;\n};\nexport default isInteger;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-negative.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-negative.js", "index": 52, "index2": 48, "size": 146, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-negative", "loc": "40:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-negative", "loc": "40:0-54" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNumber from './is-number';\n\nvar isNegative = function isNegative(num) {\n return isNumber(num) && num < 0;\n};\n\nexport default isNegative;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-number-equal.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-number-equal.js", "index": 53, "index2": 49, "size": 231, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-number-equal", "loc": "41:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-number-equal", "loc": "41:0-61" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var PRECISION = 0.00001; // numbers less than this is considered as 0\n\nexport default function isNumberEqual(a, b, precision) {\n if (precision === void 0) {\n precision = PRECISION;\n }\n\n return Math.abs(a - b) < precision;\n}\n;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-odd.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-odd.js", "index": 54, "index2": 50, "size": 137, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-odd", "loc": "42:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-odd", "loc": "42:0-44" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNumber from './is-number';\n\nvar isOdd = function isOdd(num) {\n return isNumber(num) && num % 2 !== 0;\n};\n\nexport default isOdd;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-positive.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-positive.js", "index": 55, "index2": 51, "size": 146, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-positive", "loc": "43:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-positive", "loc": "43:0-54" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNumber from './is-number';\n\nvar isPositive = function isPositive(num) {\n return isNumber(num) && num > 0;\n};\n\nexport default isPositive;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/max-by.js", "index": 56, "index2": 52, "size": 877, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./max-by", "loc": "44:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./max-by", "loc": "44:0-44" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import each from './each';\nimport isArray from './is-array';\nimport isFunction from './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 */\n\nexport default (function (arr, fn) {\n if (!isArray(arr)) {\n return undefined;\n }\n\n var max = arr[0];\n var maxData;\n\n if (isFunction(fn)) {\n maxData = fn(arr[0]);\n } else {\n maxData = arr[0][fn];\n }\n\n var data;\n each(arr, function (val) {\n if (isFunction(fn)) {\n data = fn(val);\n } else {\n data = val[fn];\n }\n\n if (data > maxData) {\n max = val;\n maxData = data;\n }\n });\n return max;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/min-by.js", "index": 57, "index2": 53, "size": 877, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./min-by", "loc": "45:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./min-by", "loc": "45:0-44" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import each from './each';\nimport isArray from './is-array';\nimport isFunction from './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 */\n\nexport default (function (arr, fn) {\n if (!isArray(arr)) {\n return undefined;\n }\n\n var min = arr[0];\n var minData;\n\n if (isFunction(fn)) {\n minData = fn(arr[0]);\n } else {\n minData = arr[0][fn];\n }\n\n var data;\n each(arr, function (val) {\n if (isFunction(fn)) {\n data = fn(val);\n } else {\n data = val[fn];\n }\n\n if (data < minData) {\n min = val;\n minData = data;\n }\n });\n return min;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/mod.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/mod.js", "index": 58, "index2": 54, "size": 80, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./mod", "loc": "46:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./mod", "loc": "46:0-39" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var mod = function mod(n, m) {\n return (n % m + m) % m;\n};\n\nexport default mod;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/to-degree.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-degree.js", "index": 59, "index2": 55, "size": 126, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./to-degree", "loc": "47:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./to-degree", "loc": "47:0-50" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var DEGREE = 180 / Math.PI;\n\nvar toDegree = function toDegree(radian) {\n return DEGREE * radian;\n};\n\nexport default toDegree;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/to-integer.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-integer.js", "index": 60, "index2": 56, "size": 24, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./to-integer", "loc": "48:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./to-integer", "loc": "48:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "export default parseInt;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/to-radian.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-radian.js", "index": 61, "index2": 57, "size": 126, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./to-radian", "loc": "49:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./to-radian", "loc": "49:0-50" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var RADIAN = Math.PI / 180;\n\nvar toRadian = function toRadian(degree) {\n return RADIAN * degree;\n};\n\nexport default toRadian;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/for-in.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/for-in.js", "index": 62, "index2": 58, "size": 47, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./for-in", "loc": "51:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./for-in", "loc": "51:0-44" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import each from './each';\nexport default each;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/has.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has.js", "index": 63, "index2": 59, "size": 75, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/has-key.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-key.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-key.js", "type": "harmony side effect evaluation", "userRequest": "./has", "loc": "1:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/has-key.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-key.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-key.js", "type": "harmony import specifier", "userRequest": "./has", "loc": "2:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./has", "loc": "52:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./has", "loc": "52:0-39" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "export default (function (obj, key) {\n return obj.hasOwnProperty(key);\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/has-key.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-key.js", "index": 64, "index2": 60, "size": 44, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./has-key", "loc": "53:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./has-key", "loc": "53:0-46" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import has from './has';\nexport default has;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/values.js", "index": 66, "index2": 61, "size": 366, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "type": "harmony side effect evaluation", "userRequest": "./values", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "type": "harmony import specifier", "userRequest": "./values", "loc": "4:18-24" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./values", "loc": "57:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./values", "loc": "57:0-45" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import each from './each';\nimport isFunction from './is-function'; // @ts-ignore\n\nvar values = Object.values ? function (obj) {\n return Object.values(obj);\n} : function (obj) {\n var result = [];\n each(obj, function (value, key) {\n if (!(isFunction(obj) && key === 'prototype')) {\n result.push(value);\n }\n });\n return result;\n};\nexport default values;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/has-value.js", "index": 65, "index2": 62, "size": 148, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./has-value", "loc": "54:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./has-value", "loc": "54:0-50" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import contains from './contains';\nimport values from './values';\nexport default (function (obj, value) {\n return contains(values(obj), value);\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/to-string.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-string.js", "index": 68, "index2": 63, "size": 126, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-first.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-first.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-first.js", "type": "harmony side effect evaluation", "userRequest": "./to-string", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-case.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-case.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-case.js", "type": "harmony side effect evaluation", "userRequest": "./to-string", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-first.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-first.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-first.js", "type": "harmony side effect evaluation", "userRequest": "./to-string", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-case.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-case.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-case.js", "type": "harmony side effect evaluation", "userRequest": "./to-string", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-case.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-case.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-case.js", "type": "harmony import specifier", "userRequest": "./to-string", "loc": "4:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-case.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-case.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-case.js", "type": "harmony import specifier", "userRequest": "./to-string", "loc": "4:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-first.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-first.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-first.js", "type": "harmony import specifier", "userRequest": "./to-string", "loc": "4:12-20" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-first.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-first.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-first.js", "type": "harmony import specifier", "userRequest": "./to-string", "loc": "4:12-20" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./to-string", "loc": "108:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./to-string", "loc": "108:0-50" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNil from './is-nil';\nexport default (function (value) {\n if (isNil(value)) return '';\n return value.toString();\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-case.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-case.js", "index": 67, "index2": 64, "size": 146, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./lower-case", "loc": "59:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./lower-case", "loc": "59:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import toString from './to-string';\n\nvar lowerCase = function lowerCase(str) {\n return toString(str).toLowerCase();\n};\n\nexport default lowerCase;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-first.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/lower-first.js", "index": 69, "index2": 65, "size": 199, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./lower-first", "loc": "60:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./lower-first", "loc": "60:0-54" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import toString from './to-string';\n\nvar lowerFirst = function lowerFirst(value) {\n var str = toString(value);\n return str.charAt(0).toLowerCase() + str.substring(1);\n};\n\nexport default lowerFirst;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/substitute.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/substitute.js", "index": 70, "index2": 66, "size": 293, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./substitute", "loc": "61:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./substitute", "loc": "61:0-53" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "function substitute(str, o) {\n if (!str || !o) {\n return str;\n }\n\n return str.replace(/\\\\?\\{([^{}]+)\\}/g, function (match, name) {\n if (match.charAt(0) === '\\\\') {\n return match.slice(1);\n }\n\n return o[name] === undefined ? '' : o[name];\n });\n}\n\nexport default substitute;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-case.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-case.js", "index": 71, "index2": 67, "size": 146, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./upper-case", "loc": "62:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./upper-case", "loc": "62:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import toString from './to-string';\n\nvar upperCase = function upperCase(str) {\n return toString(str).toUpperCase();\n};\n\nexport default upperCase;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-first.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/upper-first.js", "index": 72, "index2": 68, "size": 199, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./upper-first", "loc": "63:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./upper-first", "loc": "63:0-54" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import toString from './to-string';\n\nvar upperFirst = function upperFirst(value) {\n var str = toString(value);\n return str.charAt(0).toUpperCase() + str.substring(1);\n};\n\nexport default upperFirst;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/get-type.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get-type.js", "index": 73, "index2": 69, "size": 171, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "type": "harmony side effect evaluation", "userRequest": "./get-type", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "type": "harmony import specifier", "userRequest": "./get-type", "loc": "25:13-20" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-type", "loc": "65:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-type", "loc": "65:0-48" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var toString = {}.toString;\n\nvar getType = function getType(value) {\n return toString.call(value).replace(/^\\[object /, '').replace(/]$/, '');\n};\n\nexport default getType;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-arguments.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-arguments.js", "index": 74, "index2": 70, "size": 244, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-arguments", "loc": "66:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-arguments", "loc": "66:0-56" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\n * 是否是参数类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\nimport isType from './is-type';\n\nvar isArguments = function isArguments(value) {\n return isType(value, 'Arguments');\n};\n\nexport default isArguments;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-boolean.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-boolean.js", "index": 75, "index2": 71, "size": 236, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-boolean", "loc": "69:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-boolean", "loc": "69:0-52" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\n * 是否是布尔类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\nimport isType from './is-type';\n\nvar isBoolean = function isBoolean(value) {\n return isType(value, 'Boolean');\n};\n\nexport default isBoolean;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-date.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-date.js", "index": 76, "index2": 72, "size": 129, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-date", "loc": "70:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-date", "loc": "70:0-46" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isType from './is-type';\n\nvar isDate = function isDate(value) {\n return isType(value, 'Date');\n};\n\nexport default isDate;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-error.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-error.js", "index": 77, "index2": 73, "size": 228, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-error", "loc": "71:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-error", "loc": "71:0-48" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\n * 是否是参数类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\nimport isType from './is-type';\n\nvar isError = function isError(value) {\n return isType(value, 'Error');\n};\n\nexport default isError;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-finite.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-finite.js", "index": 78, "index2": 74, "size": 173, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-finite", "loc": "73:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-finite", "loc": "73:0-50" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\n * 判断是否为有限数\n * @return {Boolean}\n */\nimport isNumber from './is-number';\nexport default function (value) {\n return isNumber(value) && isFinite(value);\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-null.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-null.js", "index": 79, "index2": 75, "size": 89, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-null", "loc": "75:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-null", "loc": "75:0-46" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var isNull = function isNull(value) {\n return value === null;\n};\n\nexport default isNull;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-prototype.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-prototype.js", "index": 80, "index2": 76, "size": 258, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "type": "harmony side effect evaluation", "userRequest": "./is-prototype", "loc": "4:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "type": "harmony import specifier", "userRequest": "./is-prototype", "loc": "31:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-prototype", "loc": "80:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-prototype", "loc": "80:0-56" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var objectProto = Object.prototype;\n\nvar isPrototype = function isPrototype(value) {\n var Ctor = value && value.constructor;\n var proto = typeof Ctor === 'function' && Ctor.prototype || objectProto;\n return value === proto;\n};\n\nexport default isPrototype;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-reg-exp.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-reg-exp.js", "index": 81, "index2": 77, "size": 133, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-reg-exp", "loc": "81:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-reg-exp", "loc": "81:0-51" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isType from './is-type';\n\nvar isRegExp = function isRegExp(str) {\n return isType(str, 'RegExp');\n};\n\nexport default isRegExp;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-undefined.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-undefined.js", "index": 82, "index2": 78, "size": 109, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-undefined", "loc": "84:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-undefined", "loc": "84:0-56" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var isUndefined = function isUndefined(value) {\n return value === undefined;\n};\n\nexport default isUndefined;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-element.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-element.js", "index": 83, "index2": 79, "size": 201, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-element", "loc": "85:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-element", "loc": "85:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\n * 判断是否HTML元素\n * @return {Boolean} 是否HTML元素\n */\nvar isElement = function isElement(o) {\n return o instanceof Element || o instanceof HTMLDocument;\n};\n\nexport default isElement;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/request-animation-frame.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/request-animation-frame.js", "index": 84, "index2": 80, "size": 313, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./request-animation-frame", "loc": "86:0-77" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./request-animation-frame", "loc": "86:0-77" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "export default function requestAnimationFrame(fn) {\n var method = window.requestAnimationFrame || window.webkitRequestAnimationFrame || // @ts-ignore\n window.mozRequestAnimationFrame || // @ts-ignore\n window.msRequestAnimationFrame || function (f) {\n return setTimeout(f, 16);\n };\n\n return method(fn);\n}\n;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/clear-animation-frame.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/clear-animation-frame.js", "index": 85, "index2": 81, "size": 274, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./clear-animation-frame", "loc": "87:0-73" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./clear-animation-frame", "loc": "87:0-73" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "export default function cancelAnimationFrame(handler) {\n var method = window.cancelAnimationFrame || window.webkitCancelAnimationFrame || // @ts-ignore\n window.mozCancelAnimationFrame || // @ts-ignore\n window.msCancelAnimationFrame || clearTimeout;\n method(handler);\n}\n;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/mix.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/mix.js", "index": 87, "index2": 82, "size": 399, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "type": "harmony side effect evaluation", "userRequest": "./mix", "loc": "1:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "type": "harmony side effect evaluation", "userRequest": "./mix", "loc": "1:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "type": "harmony import specifier", "userRequest": "./mix", "loc": "20:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "type": "harmony import specifier", "userRequest": "./mix", "loc": "29:23-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "type": "harmony import specifier", "userRequest": "./mix", "loc": "32:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "type": "harmony import specifier", "userRequest": "./mix", "loc": "33:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./mix", "loc": "102:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./mix", "loc": "102:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./mix", "loc": "102:0-58" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "// 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}\n\nexport default function 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}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/augment.js", "index": 86, "index2": 83, "size": 409, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./augment", "loc": "89:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./augment", "loc": "89:0-47" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import mix from './mix';\nimport isFunction from './is-function';\n\nvar augment = function augment() {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n var c = args[0];\n\n for (var i = 1; i < args.length; i++) {\n var obj = args[i];\n\n if (isFunction(obj)) {\n obj = obj.prototype;\n }\n\n mix(c.prototype, obj);\n }\n};\n\nexport default augment;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/clone.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/clone.js", "index": 88, "index2": 84, "size": 1007, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./clone", "loc": "90:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./clone", "loc": "90:0-43" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport isArray from './is-array';\n\nvar clone = function clone(obj) {\n if (_typeof(obj) !== 'object' || obj === null) {\n return obj;\n }\n\n var rst;\n\n if (isArray(obj)) {\n rst = [];\n\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\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\n return rst;\n};\n\nexport default clone;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/debounce.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/debounce.js", "index": 89, "index2": 85, "size": 463, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./debounce", "loc": "91:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./debounce", "loc": "91:0-49" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "function debounce(func, wait, immediate) {\n var timeout;\n return function () {\n var context = this,\n args = arguments;\n\n var later = function later() {\n timeout = null;\n\n if (!immediate) {\n func.apply(context, args);\n }\n };\n\n var callNow = immediate && !timeout;\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n\n if (callNow) {\n func.apply(context, args);\n }\n };\n}\n\nexport default debounce;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/memoize.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/memoize.js", "index": 90, "index2": 86, "size": 830, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./memoize", "loc": "92:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./memoize", "loc": "92:0-47" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isFunction from './is-function';\n/**\n * _.memoize(calColor);\n * _.memoize(calColor, (...args) => args[0]);\n * @param f\n * @param resolver\n */\n\nexport default (function (f, resolver) {\n if (!isFunction(f)) {\n throw new TypeError('Expected a function');\n }\n\n var memoized = function memoized() {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n } // 使用方法构造 key,如果不存在 resolver,则直接取第一个参数作为 key\n\n\n var key = resolver ? resolver.apply(this, args) : args[0];\n var cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n\n var result = f.apply(this, args); // 缓存起来\n\n cache.set(key, result);\n return result;\n };\n\n memoized.cache = new Map();\n return memoized;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/deep-mix.js", "index": 91, "index2": 87, "size": 1057, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./deep-mix", "loc": "93:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./deep-mix", "loc": "93:0-48" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArray from './is-array';\nimport isPlainObject from './is-plain-object';\nvar MAX_MIX_LEVEL = 5;\n\nfunction _deepMix(dist, src, level, maxLevel) {\n level = level || 0;\n maxLevel = maxLevel || MAX_MIX_LEVEL;\n\n for (var key in src) {\n if (src.hasOwnProperty(key)) {\n var value = src[key];\n\n if (value !== null && isPlainObject(value)) {\n if (!isPlainObject(dist[key])) {\n dist[key] = {};\n }\n\n if (level < maxLevel) {\n _deepMix(dist[key], value, level + 1, maxLevel);\n } else {\n dist[key] = src[key];\n }\n } else if (isArray(value)) {\n dist[key] = [];\n dist[key] = dist[key].concat(value);\n } else if (value !== undefined) {\n dist[key] = value;\n }\n }\n }\n} // todo 重写\n\n\nvar deepMix = function deepMix(rst) {\n var args = [];\n\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n\n for (var i = 0; i < args.length; i += 1) {\n _deepMix(rst, args[i]);\n }\n\n return rst;\n};\n\nexport default deepMix;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/extend.js", "index": 92, "index2": 88, "size": 1019, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./extend", "loc": "95:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./extend", "loc": "95:0-45" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import mix from './mix';\nimport isFunction from './is-function';\n\nvar extend = function extend(subclass, superclass, overrides, staticOverrides) {\n // 如果只提供父类构造函数,则自动生成子类构造函数\n if (!isFunction(superclass)) {\n overrides = superclass;\n superclass = subclass;\n\n subclass = function subclass() {};\n }\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\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\n subclass.prototype = mix(superObj, subclass.prototype); // 指定子类的prototype\n\n subclass.superclass = create(superclass.prototype, superclass);\n mix(superObj, overrides);\n mix(subclass, staticOverrides);\n return subclass;\n};\n\nexport default extend;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index-of.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index-of.js", "index": 93, "index2": 89, "size": 385, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./index-of", "loc": "96:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./index-of", "loc": "96:0-48" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArrayLike from './is-array-like';\n\nvar indexOf = function indexOf(arr, obj) {\n if (!isArrayLike(arr)) {\n return -1;\n }\n\n var m = Array.prototype.indexOf;\n\n if (m) {\n return m.call(arr, obj);\n }\n\n var index = -1;\n\n for (var i = 0; i < arr.length; i++) {\n if (arr[i] === obj) {\n index = i;\n break;\n }\n }\n\n return index;\n};\n\nexport default indexOf;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-empty.js", "index": 94, "index2": 90, "size": 855, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-empty", "loc": "97:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-empty", "loc": "97:0-48" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNil from './is-nil';\nimport isArrayLike from './is-array-like';\nimport getType from './get-type';\nimport isPrototype from './is-prototype';\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\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 (isNil(value)) {\n return true;\n }\n\n if (isArrayLike(value)) {\n return !value.length;\n }\n\n var type = getType(value);\n\n if (type === 'Map' || type === 'Set') {\n return !value.size;\n }\n\n if (isPrototype(value)) {\n return !Object.keys(value).length;\n }\n\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n\n return true;\n}\n\nexport default isEmpty;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal.js", "index": 95, "index2": 91, "size": 1085, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "type": "harmony side effect evaluation", "userRequest": "./is-equal", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "type": "harmony import specifier", "userRequest": "./is-equal", "loc": "28:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-equal", "loc": "98:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-equal", "loc": "98:0-48" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isObjectLike from './is-object-like';\nimport isArrayLike from './is-array-like';\nimport isString from './is-string';\n\nvar isEqual = function isEqual(value, other) {\n if (value === other) {\n return true;\n }\n\n if (!value || !other) {\n return false;\n }\n\n if (isString(value) || isString(other)) {\n return false;\n }\n\n if (isArrayLike(value) || isArrayLike(other)) {\n if (value.length !== other.length) {\n return false;\n }\n\n var rst = true;\n\n for (var i = 0; i < value.length; i++) {\n rst = isEqual(value[i], other[i]);\n\n if (!rst) {\n break;\n }\n }\n\n return rst;\n }\n\n if (isObjectLike(value) || isObjectLike(other)) {\n var valueKeys = Object.keys(value);\n var otherKeys = Object.keys(other);\n\n if (valueKeys.length !== otherKeys.length) {\n return false;\n }\n\n var rst = true;\n\n for (var i = 0; i < valueKeys.length; i++) {\n rst = isEqual(value[valueKeys[i]], other[valueKeys[i]]);\n\n if (!rst) {\n break;\n }\n }\n\n return rst;\n }\n\n return false;\n};\n\nexport default isEqual;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/is-equal-with.js", "index": 96, "index2": 92, "size": 822, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-equal-with", "loc": "99:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-equal-with", "loc": "99:0-57" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isFunction from './is-function';\nimport isEqual from './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 */\n\nexport default (function (value, other, fn) {\n if (!isFunction(fn)) {\n return isEqual(value, other);\n }\n\n return !!fn(value, other);\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/map.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map.js", "index": 97, "index2": 93, "size": 329, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./map", "loc": "100:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./map", "loc": "100:0-39" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArrayLike from './is-array-like';\n\nvar map = function map(arr, func) {\n if (!isArrayLike(arr)) {\n // @ts-ignore\n return arr;\n }\n\n var result = [];\n\n for (var index = 0; index < arr.length; index++) {\n var value = arr[index];\n result.push(func(value, index));\n }\n\n return result;\n};\n\nexport default map;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/map-values.js", "index": 98, "index2": 94, "size": 409, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./map-values", "loc": "101:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./map-values", "loc": "101:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNil from './is-nil';\nimport isObject from './is-object';\n\nvar identity = function identity(v) {\n return v;\n};\n\nexport default (function (object, func) {\n if (func === void 0) {\n func = identity;\n }\n\n var r = {};\n\n if (isObject(object) && !isNil(object)) {\n Object.keys(object).forEach(function (key) {\n // @ts-ignore\n r[key] = func(object[key], key);\n });\n }\n\n return r;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/get.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/get.js", "index": 99, "index2": 95, "size": 415, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get", "loc": "103:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get", "loc": "103:0-39" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isString from './is-string';\n/**\n * https://github.com/developit/dlv/blob/master/index.js\n * @param obj\n * @param key\n * @param defaultValue\n */\n\nexport default (function (obj, key, defaultValue) {\n var p = 0;\n var keyArr = isString(key) ? key.split('.') : key;\n\n while (obj && p < keyArr.length) {\n obj = obj[keyArr[p++]];\n }\n\n return obj === undefined || p < keyArr.length ? defaultValue : obj;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/set.js", "index": 100, "index2": 96, "size": 612, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./set", "loc": "104:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./set", "loc": "104:0-39" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isObject from './is-object';\nimport isString from './is-string';\nimport isNumber from './is-number';\n/**\n * https://github.com/developit/dlv/blob/master/index.js\n * @param obj\n * @param path\n * @param value\n */\n\nexport default (function (obj, path, value) {\n var o = obj;\n var keyArr = isString(path) ? path.split('.') : path;\n keyArr.forEach(function (key, idx) {\n // 不是最后一个\n if (idx < keyArr.length - 1) {\n if (!isObject(o[key])) {\n o[key] = isNumber(keyArr[idx + 1]) ? [] : {};\n }\n\n o = o[key];\n } else {\n o[key] = value;\n }\n });\n return obj;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/pick.js", "index": 101, "index2": 97, "size": 399, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./pick", "loc": "105:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./pick", "loc": "105:0-41" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import each from './each';\nimport isPlainObject from './is-plain-object';\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nexport default (function (object, keys) {\n if (object === null || !isPlainObject(object)) {\n return {};\n }\n\n var result = {};\n each(keys, function (key) {\n if (hasOwnProperty.call(object, key)) {\n result[key] = object[key];\n }\n });\n return result;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/throttle.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/throttle.js", "index": 102, "index2": 98, "size": 1075, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./throttle", "loc": "106:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./throttle", "loc": "106:0-49" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "export default (function (func, wait, options) {\n var timeout, context, args, result;\n var previous = 0;\n if (!options) options = {};\n\n var later = function later() {\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\n var throttled = function throttled() {\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\n if (remaining <= 0 || remaining > wait) {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n }\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\n return result;\n };\n\n throttled.cancel = function () {\n clearTimeout(timeout);\n previous = 0;\n timeout = context = args = null;\n };\n\n return throttled;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/to-array.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/to-array.js", "index": 103, "index2": 99, "size": 151, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./to-array", "loc": "107:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./to-array", "loc": "107:0-48" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isArrayLike from './is-array-like';\nexport default (function (value) {\n return isArrayLike(value) ? Array.prototype.slice.call(value) : [];\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/unique-id.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/unique-id.js", "index": 104, "index2": 100, "size": 192, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./unique-id", "loc": "109:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./unique-id", "loc": "109:0-50" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var map = {};\nexport default (function (prefix) {\n prefix = prefix || 'g';\n\n if (!map[prefix]) {\n map[prefix] = 1;\n } else {\n map[prefix] += 1;\n }\n\n return prefix + map[prefix];\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/noop.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/noop.js", "index": 105, "index2": 101, "size": 32, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./noop", "loc": "110:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./noop", "loc": "110:0-41" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "export default (function () {});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/identity.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/identity.js", "index": 106, "index2": 102, "size": 46, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./identity", "loc": "111:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./identity", "loc": "111:0-49" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "export default (function (v) {\n return v;\n});" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/size.js", "index": 107, "index2": 103, "size": 227, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./size", "loc": "112:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./size", "loc": "112:0-41" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import isNil from './is-nil';\nimport isArraylike from './is-array-like';\nexport default function size(o) {\n if (isNil(o)) {\n return 0;\n }\n\n if (isArraylike(o)) {\n return o.length;\n }\n\n return Object.keys(o).length;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/cache.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/cache.js", "index": 108, "index2": 104, "size": 702, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "profile": { "factory": 157, "building": 209, "dependencies": 1 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "profile": { "factory": 2847, "building": 662 } } ], "profile": { "factory": 1711, "building": 312, "dependencies": 585 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./cache", "loc": "114:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./cache", "loc": "114:0-43" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "/**\n * k-v 存储\n */\nvar default_1 =\n/** @class */\nfunction () {\n function default_1() {\n this.map = {};\n }\n\n default_1.prototype.has = function (key) {\n return this.map[key] !== undefined;\n };\n\n default_1.prototype.get = function (key, def) {\n var v = this.map[key];\n return v === undefined ? def : v;\n };\n\n default_1.prototype.set = function (key, value) {\n this.map[key] = value;\n };\n\n default_1.prototype.clear = function () {\n this.map = {};\n };\n\n default_1.prototype.delete = function (key) {\n delete this.map[key];\n };\n\n default_1.prototype.size = function () {\n return Object.keys(this.map).length;\n };\n\n return default_1;\n}();\n\nexport default default_1;" } ], "filteredModules": 0 }, { "id": 1, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_tslib@2.0.3@tslib/tslib.es6.js", "name": "./node_modules/_tslib@2.0.3@tslib/tslib.es6.js", "index": 157, "index2": 149, "size": 11807, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "issuerId": 19, "issuerName": "./src/interface/behavior.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 3116, "building": 1096 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "244:15-23" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "5:0-41" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "155:27-35" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "155:36-44" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "169:23-31" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "169:32-40" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "174:23-31" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "174:32-40" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "174:41-49" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "178:23-31" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "178:32-40" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "188:23-31" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "188:32-40" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "197:23-31" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "197:32-40" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "202:24-32" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "202:33-41" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "217:20-28" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "217:29-37" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "220:20-28" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "220:29-37" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "254:29-37" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "287:22-30" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "291:21-29" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "316:19-27" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "316:28-36" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "412:147-153" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "414:60-68" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "467:49-57" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "467:58-66" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-41" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-41" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "6:0-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "25:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "26:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "34:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "44:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "46:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "61:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "63:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "63:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "64:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "68:174-180" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "74:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "75:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "75:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "77:174-180" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "82:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "83:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "83:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "84:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "84:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "92:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "92:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "92:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "93:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "93:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "99:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "101:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "101:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "102:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "102:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "110:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "110:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "111:16-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "111:25-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "111:34-42" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "113:20-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "124:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "131:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "131:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "136:26-34" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "142:21-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "142:30-38" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "172:30-38" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "172:39-47" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "177:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "177:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "187:27-35" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "187:36-44" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "188:26-34" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "191:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "191:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "196:25-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "196:34-42" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "196:43-51" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "200:20-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "200:29-37" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "201:25-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "201:34-42" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "205:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "205:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "216:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "216:41-49" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "221:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "221:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "230:22-30" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "249:31-39" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "249:40-48" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "260:23-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "260:32-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "270:33-41" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "270:42-50" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "270:51-59" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "272:20-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "272:29-37" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "283:31-39" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "283:40-48" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "299:39-47" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "299:48-56" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "324:20-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "324:29-37" }, { "moduleId": 19, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "module": "./src/interface/behavior.ts", "moduleName": "./src/interface/behavior.ts", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-34" }, { "moduleId": 19, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "module": "./src/interface/behavior.ts", "moduleName": "./src/interface/behavior.ts", "type": "harmony import specifier", "userRequest": "tslib", "loc": "4:4-13" }, { "moduleId": 21, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-34" }, { "moduleId": 21, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "type": "harmony import specifier", "userRequest": "tslib", "loc": "8:2-11" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-34" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "tslib", "loc": "77:2-11" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-34" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "78:2-11" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony import specifier", "userRequest": "tslib", "loc": "6:11-19" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony import specifier", "userRequest": "tslib", "loc": "6:20-28" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony import specifier", "userRequest": "tslib", "loc": "6:29-37" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony import specifier", "userRequest": "tslib", "loc": "6:38-46" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-44" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-60" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "8:4-13" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "9:4-13" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "11:4-13" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "13:4-13" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "34:29-37" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "34:38-46" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "34:47-55" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "85:19-27" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "87:15-23" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "178:18-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "182:35-43" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "182:44-52" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "244:23-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "244:32-40" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "289:24-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "289:33-41" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "348:29-37" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "348:38-46" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "714:35-43" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "714:44-52" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "722:46-54" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "722:55-63" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "787:39-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "805:31-39" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "864:29-37" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "864:38-46" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "918:21-35" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "929:29-37" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "1380:33-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "1423:33-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "2451:34-42" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "2451:43-51" }, { "moduleId": 41, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-34" }, { "moduleId": 41, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "type": "harmony import specifier", "userRequest": "tslib", "loc": "7:2-11" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-34" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony import specifier", "userRequest": "tslib", "loc": "8:2-11" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-34" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "tslib", "loc": "14:2-11" } ], "usedExports": ["__assign", "__extends", "__rest", "__spreadArrays"], "providedExports": [ "__extends", "__assign", "__rest", "__decorate", "__param", "__metadata", "__awaiter", "__generator", "__createBinding", "__exportStar", "__values", "__read", "__spread", "__spreadArrays", "__await", "__asyncGenerator", "__asyncDelegator", "__asyncValues", "__makeTemplateObject", "__importStar", "__importDefault", "__classPrivateFieldGet", "__classPrivateFieldSet" ], "optimizationBailout": [], "depth": 2, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\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\n/* global Reflect, Promise */\nvar _extendStatics = function extendStatics(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) {\n if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];\n }\n };\n\n return _extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n _extendStatics(d, b);\n\n function __() {\n this.constructor = d;\n }\n\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nvar _assign = function __assign() {\n _assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n }\n\n return t;\n };\n\n return _assign.apply(this, arguments);\n};\n\nexport { _assign as __assign };\nexport function __rest(s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\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}\nexport function __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 === \"undefined\" ? \"undefined\" : _typeof(Reflect)) === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {\n if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n }\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\nexport function __param(paramIndex, decorator) {\n return function (target, key) {\n decorator(target, key, paramIndex);\n };\n}\nexport function __metadata(metadataKey, metadataValue) {\n if ((typeof Reflect === \"undefined\" ? \"undefined\" : _typeof(Reflect)) === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\nexport function __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\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\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nexport function __generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function sent() {\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\n function verb(n) {\n return function (v) {\n return step([n, v]);\n };\n }\n\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n\n while (_) {\n 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\n switch (op[0]) {\n case 0:\n case 1:\n t = op;\n break;\n\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n\n case 5:\n _.label++;\n y = op[1];\n op = [0];\n continue;\n\n case 7:\n op = _.ops.pop();\n\n _.trys.pop();\n\n continue;\n\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\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n\n if (t && _.label < t[2]) {\n _.label = t[2];\n\n _.ops.push(op);\n\n break;\n }\n\n if (t[2]) _.ops.pop();\n\n _.trys.pop();\n\n continue;\n }\n\n op = body.call(thisArg, _);\n } catch (e) {\n op = [6, e];\n y = 0;\n } finally {\n f = t = 0;\n }\n }\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}\nexport var __createBinding = Object.create ? function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function get() {\n return m[k];\n }\n });\n} : function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n};\nexport function __exportStar(m, o) {\n for (var p in m) {\n if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n }\n}\nexport function __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 next() {\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}\nexport function __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\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {\n ar.push(r.value);\n }\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\n return ar;\n}\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++) {\n ar = ar.concat(__read(arguments[i]));\n }\n\n return ar;\n}\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) {\n s += arguments[i].length;\n }\n\n for (var r = Array(s), k = 0, i = 0; i < il; i++) {\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {\n r[k] = a[j];\n }\n }\n\n return r;\n}\n;\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\nexport function __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\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\n function resume(n, v) {\n try {\n step(g[n](v));\n } catch (e) {\n settle(q[0][3], e);\n }\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\n function fulfill(value) {\n resume(\"next\", value);\n }\n\n function reject(value) {\n resume(\"throw\", value);\n }\n\n function settle(f, v) {\n if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);\n }\n}\nexport function __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\n function verb(n, f) {\n i[n] = o[n] ? function (v) {\n return (p = !p) ? {\n value: __await(o[n](v)),\n done: n === \"return\"\n } : f ? f(v) : v;\n } : f;\n }\n}\nexport function __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\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\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}\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) {\n Object.defineProperty(cooked, \"raw\", {\n value: raw\n });\n } else {\n cooked.raw = raw;\n }\n\n return cooked;\n}\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};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) {\n if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n }\n\n __setModuleDefault(result, mod);\n\n return result;\n}\nexport function __importDefault(mod) {\n return mod && mod.__esModule ? mod : {\n default: mod\n };\n}\nexport function __classPrivateFieldGet(receiver, privateMap) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to get private field on non-instance\");\n }\n\n return privateMap.get(receiver);\n}\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to set private field on non-instance\");\n }\n\n privateMap.set(receiver, value);\n return value;\n}" }, { "id": 2, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/global.ts", "name": "./src/global.ts", "index": 123, "index2": 121, "size": 7776, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "../global", "loc": "3:0-31" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "59:39-45" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../global", "loc": "2:0-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../../global", "loc": "2:0-34" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../../global", "loc": "3:0-34" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../../global", "loc": "3:0-34" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../global", "loc": "3:0-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../../global", "loc": "3:0-34" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../global", "loc": "4:0-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "9:14-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "9:15-21" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "9:44-50" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "10:17-23" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../global", "loc": "11:0-31" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "11:20-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "12:18-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "13:20-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "13:20-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "13:20-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "13:23-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "14:18-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "14:18-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "14:18-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "15:23-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "15:23-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "15:23-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "18:22-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "19:22-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "19:22-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "19:26-32" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "20:10-16" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "20:22-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "20:26-32" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "20:26-32" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "21:10-16" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "21:12-18" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "21:26-32" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "24:20-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "25:18-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "25:34-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "26:23-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "26:34-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "29:18-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "29:59-65" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "30:18-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "30:22-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "30:23-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "31:18-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "31:23-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "31:26-32" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "32:18-24" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "32:20-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "33:20-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "34:34-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "43:58-64" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "44:34-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "46:34-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "50:14-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "54:20-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "55:29-35" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "59:22-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "60:26-32" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "60:31-37" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "63:34-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "90:31-37" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "102:29-35" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "103:20-26" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "120:31-37" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../../global", "loc": "124:32-38" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "195:27-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "195:46-52" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../global", "loc": "3:0-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../global", "loc": "6:0-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../global", "loc": "7:0-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "30:62-68" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "31:37-43" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "32:39-45" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "35:43-49" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "55:23-29" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "60:27-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "64:27-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "68:27-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "76:23-29" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "211:49-55" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "215:45-51" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "217:73-79" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../global", "loc": "219:74-80" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./global", "loc": "4:0-30" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./global", "loc": "20:13-19" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 1, "source": "var subjectColor = 'rgb(95, 149, 255)';\nvar backColor = 'rgb(255, 255, 255)';\nvar textColor = 'rgb(0, 0, 0)';\n// const colorSet = {\n// // for nodes\n// mainStroke: subjectColor,\n// mainFill: subjectColor01,\n// activeStroke: subjectColor,\n// activeFill: subjectColor005,\n// inactiveStroke: subjectColor04,\n// inactiveFill: subjectColor005,\n// selectedStroke: subjectColor,\n// selectedFill: backColor,\n// highlightStroke: deeperSubject,\n// highlightFill: subjectColor02,\n// disableStroke: disableColor03,\n// disableFill: disableColor005,\n// // for edges\n// edgeMainStroke: disableColor03,\n// edgeActiveStroke: subjectColor,\n// edgeInactiveStroke: disableColor02,\n// edgeSelectedStroke: subjectColor,\n// edgeHighlightStroke: subjectColor,\n// edgeDisableStroke: disableColor01,\n// // for combos\n// comboMainStroke: disableColor03,\n// comboMainFill: disableColor002,\n// comboActiveStroke: subjectColor,\n// comboActiveFill: subjectColor005,\n// comboInactiveStroke: disableColor03,\n// comboInactiveFill: disableColor002,\n// comboSelectedStroke: subjectColor,\n// comboSelectedFill: disableColor002,\n// comboHighlightStroke: deeperSubject, // 'rgb(53, 119, 222)', // TODO: how to generate it ???\n// comboHighlightFill: disableColor002,\n// comboDisableStroke: disableColor02,\n// comboDisableFill: disableColor005,\n// }\nvar colorSet = {\n // for nodes\n mainStroke: subjectColor,\n mainFill: backColor,\n activeStroke: subjectColor,\n activeFill: backColor,\n inactiveStroke: backColor,\n inactiveFill: backColor,\n selectedStroke: subjectColor,\n selectedFill: backColor,\n highlightStroke: backColor,\n highlightFill: backColor,\n disableStroke: backColor,\n disableFill: backColor,\n // for edges\n edgeMainStroke: backColor,\n edgeActiveStroke: subjectColor,\n edgeInactiveStroke: backColor,\n edgeSelectedStroke: subjectColor,\n edgeHighlightStroke: subjectColor,\n edgeDisableStroke: backColor,\n // for combos\n comboMainStroke: backColor,\n comboMainFill: backColor,\n comboActiveStroke: subjectColor,\n comboActiveFill: backColor,\n comboInactiveStroke: backColor,\n comboInactiveFill: backColor,\n comboSelectedStroke: subjectColor,\n comboSelectedFill: backColor,\n comboHighlightStroke: backColor,\n comboHighlightFill: backColor,\n comboDisableStroke: backColor,\n comboDisableFill: backColor,\n};\nexport default {\n version: '4.0.3',\n rootContainerClassName: 'root-container',\n nodeContainerClassName: 'node-container',\n edgeContainerClassName: 'edge-container',\n comboContainerClassName: 'combo-container',\n delegateContainerClassName: 'delegate-container',\n defaultLoopPosition: 'top',\n nodeLabel: {\n style: {\n fill: '#000',\n fontSize: 12,\n textAlign: 'center',\n textBaseline: 'middle',\n },\n offset: 4,\n },\n defaultNode: {\n type: 'circle',\n style: {\n lineWidth: 1,\n stroke: colorSet.mainStroke,\n fill: colorSet.mainFill,\n },\n size: 20,\n color: colorSet.mainStroke,\n linkPoints: {\n size: 8,\n lineWidth: 1,\n fill: colorSet.activeFill,\n stroke: colorSet.activeStroke,\n },\n },\n // 节点应用状态后的样式,默认仅提供 active、selected、highlight、inactive、disable,用户可以自己扩展\n nodeStateStyles: {\n active: {\n fill: colorSet.activeFill,\n stroke: colorSet.activeStroke,\n lineWidth: 2,\n shadowColor: colorSet.mainStroke,\n shadowBlur: 10,\n },\n selected: {\n fill: colorSet.selectedFill,\n stroke: colorSet.selectedStroke,\n lineWidth: 4,\n shadowColor: colorSet.selectedStroke,\n shadowBlur: 10,\n 'text-shape': {\n fontWeight: 500,\n },\n },\n highlight: {\n fill: colorSet.highlightFill,\n stroke: colorSet.highlightStroke,\n lineWidth: 2,\n 'text-shape': {\n fontWeight: 500,\n },\n },\n inactive: {\n fill: colorSet.inactiveFill,\n stroke: colorSet.inactiveStroke,\n lineWidth: 1,\n },\n disable: {\n fill: colorSet.disableFill,\n stroke: colorSet.disableStroke,\n lineWidth: 1,\n },\n },\n edgeLabel: {\n style: {\n fill: textColor,\n textAlign: 'center',\n textBaseline: 'middle',\n fontSize: 12,\n },\n },\n defaultEdge: {\n type: 'line',\n size: 1,\n style: {\n stroke: colorSet.edgeMainStroke,\n lineAppendWidth: 2,\n },\n color: colorSet.edgeMainStroke,\n },\n // 边应用状态后的样式,默认仅提供 active、selected、highlight、inactive、disable,用户可以自己扩展\n edgeStateStyles: {\n active: {\n stroke: colorSet.edgeActiveStroke,\n lineWidth: 1,\n },\n selected: {\n stroke: colorSet.edgeSelectedStroke,\n lineWidth: 2,\n shadowColor: colorSet.edgeSelectedStroke,\n shadowBlur: 10,\n 'text-shape': {\n fontWeight: 500,\n },\n },\n highlight: {\n stroke: colorSet.edgeHighlightStroke,\n lineWidth: 2,\n 'text-shape': {\n fontWeight: 500,\n },\n },\n inactive: {\n stroke: colorSet.edgeInactiveStroke,\n lineWidth: 1,\n },\n disable: {\n stroke: colorSet.edgeDisableStroke,\n lineWidth: 1,\n },\n },\n comboLabel: {\n style: {\n fill: textColor,\n // textAlign: 'center',\n textBaseline: 'middle',\n fontSize: 12,\n },\n refY: 10,\n refX: 10,\n },\n defaultCombo: {\n type: 'circle',\n style: {\n fill: colorSet.comboMainFill,\n lineWidth: 1,\n stroke: colorSet.comboMainStroke,\n r: 5,\n width: 20,\n height: 10,\n },\n size: [20, 5],\n color: colorSet.comboMainStroke,\n padding: [25, 20, 15, 20],\n },\n // combo 应用状态后的样式,默认仅提供 active、selected、highlight、inactive、disable,用户可以自己扩展\n comboStateStyles: {\n active: {\n stroke: colorSet.comboActiveStroke,\n lineWidth: 1,\n fill: colorSet.comboActiveFill,\n },\n selected: {\n stroke: colorSet.comboSelectedStroke,\n lineWidth: 2,\n fill: colorSet.comboSelectedFill,\n shadowColor: colorSet.comboSelectedStroke,\n shadowBlur: 10,\n 'text-shape': {\n fontWeight: 500,\n },\n },\n highlight: {\n stroke: colorSet.comboHighlightStroke,\n lineWidth: 2,\n fill: colorSet.comboHighlightFill,\n 'text-shape': {\n fontWeight: 500,\n },\n },\n inactive: {\n stroke: colorSet.comboInactiveStroke,\n fill: colorSet.comboInactiveFill,\n lineWidth: 1,\n },\n disable: {\n stroke: colorSet.comboDisableStroke,\n fill: colorSet.comboDisableFill,\n lineWidth: 1,\n },\n },\n delegateStyle: {\n fill: '#F3F9FF',\n fillOpacity: 0.5,\n stroke: '#1890FF',\n strokeOpacity: 0.9,\n lineDash: [5, 5],\n },\n};\n" }, { "id": 3, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "index": 112, "index2": 118, "size": 2996, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "1:0-58" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "165:4-8" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "183:25-29" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "188:4-8" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "328:22-31" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "348:13-22" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "361:13-22" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "2:0-41" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "171:25-29" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "174:23-27" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "1:0-41" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "57:4-8" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "147:11-15" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "147:26-30" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "176:27-31" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "177:30-34" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "178:17-21" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "179:17-21" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "180:17-21" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "181:17-21" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "202:21-25" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "203:34-38" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "203:60-64" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "238:25-29" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "238:49-53" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "239:25-29" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "241:38-42" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "242:30-34" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "243:23-27" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "244:23-27" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "245:23-27" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "262:15-19" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "268:27-31" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "268:46-50" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "268:85-89" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "269:26-30" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "269:56-60" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "3:0-46" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "127:38-47" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "134:38-47" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "141:38-47" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "148:38-47" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "157:30-39" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "277:35-44" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "3:0-41" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "430:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "501:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "502:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "503:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "506:12-16" } ], "usedExports": ["mat3", "transform", "vec2", "vec3"], "providedExports": ["mat3", "vec2", "vec3", "transform"], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/mat3.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js because of ./src/index.ts" ], "depth": 2, "modules": [ { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "index": 112, "index2": 118, "size": 187, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "issuerId": null, "issuerName": "./src/graph/graph.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "1:0-58" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "165:4-8" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "183:25-29" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "188:4-8" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "328:22-31" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "348:13-22" }, { "moduleId": 4, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "module": "./src/util/math.ts", "moduleName": "./src/util/math.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "361:13-22" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "2:0-41" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "171:25-29" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "174:23-27" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "1:0-41" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "57:4-8" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "147:11-15" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "147:26-30" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "176:27-31" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "177:30-34" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "178:17-21" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "179:17-21" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "180:17-21" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "181:17-21" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "202:21-25" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "203:34-38" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "203:60-64" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "238:25-29" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "238:49-53" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "239:25-29" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "241:38-42" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "242:30-34" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "243:23-27" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "244:23-27" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "245:23-27" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "262:15-19" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "268:27-31" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "268:46-50" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "268:85-89" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "269:26-30" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "269:56-60" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "3:0-46" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "127:38-47" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "134:38-47" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "141:38-47" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "148:38-47" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "157:30-39" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "277:35-44" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "3:0-41" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "430:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "501:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "502:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "503:12-16" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "506:12-16" } ], "usedExports": ["mat3", "transform", "vec2", "vec3"], "providedExports": ["mat3", "vec2", "vec3", "transform"], "optimizationBailout": [], "depth": 2, "source": "// matrix\nexport { default as mat3 } from './mat3';\nexport { default as vec2 } from './vec2';\nexport { default as vec3 } from './vec3';\nexport { default as transform } from './transform';" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/mat3.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/mat3.js", "index": 113, "index2": 112, "size": 1024, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } } ], "profile": { "factory": 1667, "building": 225, "dependencies": 394 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./mat3", "loc": "2:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./mat3", "loc": "2:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "type": "harmony side effect evaluation", "userRequest": "./mat3", "loc": "2:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "type": "harmony import specifier", "userRequest": "./mat3", "loc": "9:8-12" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "type": "harmony import specifier", "userRequest": "./mat3", "loc": "13:8-12" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "type": "harmony import specifier", "userRequest": "./mat3", "loc": "17:8-12" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "type": "harmony import specifier", "userRequest": "./mat3", "loc": "21:8-12" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import * as mat3 from '@antv/gl-matrix/lib/gl-matrix/mat3';\n\nmat3.translate = function (out, a, v) {\n var transMat = new Array(9);\n mat3.fromTranslation(transMat, v);\n return mat3.multiply(out, transMat, a);\n};\n\nmat3.rotate = function (out, a, rad) {\n var rotateMat = new Array(9);\n mat3.fromRotation(rotateMat, rad);\n return mat3.multiply(out, rotateMat, a);\n};\n\nmat3.scale = function (out, a, v) {\n var scaleMat = new Array(9);\n mat3.fromScaling(scaleMat, v);\n return mat3.multiply(out, scaleMat, a);\n};\n\nmat3.transform = function (m, actions) {\n var out = [].concat(m);\n\n for (var i = 0, len = actions.length; i < len; i++) {\n var action = actions[i];\n\n switch (action[0]) {\n case 't':\n mat3.translate(out, out, [action[1], action[2]]);\n break;\n\n case 's':\n mat3.scale(out, out, [action[1], action[2]]);\n break;\n\n case 'r':\n mat3.rotate(out, out, action[1]);\n break;\n\n default:\n break;\n }\n }\n\n return out;\n};\n\nexport default mat3;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec2.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec2.js", "index": 116, "index2": 114, "size": 1005, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } } ], "profile": { "factory": 1667, "building": 225, "dependencies": 394 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./vec2", "loc": "3:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./vec2", "loc": "3:0-41" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import * as vec2 from '@antv/gl-matrix/lib/gl-matrix/vec2';\nimport { clamp } from '@antv/util';\n\nvec2.angle = function (v1, v2) {\n var theta = vec2.dot(v1, v2) / (vec2.length(v1) * vec2.length(v2));\n return Math.acos(clamp(theta, -1, 1));\n};\n/**\n * 向量 v1 到 向量 v2 夹角的方向\n * @param {Array} v1 向量\n * @param {Array} v2 向量\n * @return {Boolean} >= 0 顺时针 < 0 逆时针\n */\n\n\nvec2.direction = function (v1, v2) {\n return v1[0] * v2[1] - v2[0] * v1[1];\n};\n\nvec2.angleTo = function (v1, v2, direct) {\n var angle = vec2.angle(v1, v2);\n var angleLargeThanPI = vec2.direction(v1, v2) >= 0;\n\n if (direct) {\n if (angleLargeThanPI) {\n return Math.PI * 2 - angle;\n }\n\n return angle;\n }\n\n if (angleLargeThanPI) {\n return angle;\n }\n\n return Math.PI * 2 - angle;\n};\n\nvec2.vertical = function (out, v, flag) {\n if (flag) {\n out[0] = v[1];\n out[1] = -1 * v[0];\n } else {\n out[0] = -1 * v[1];\n out[1] = v[0];\n }\n\n return out;\n};\n\nexport default vec2;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec3.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec3.js", "index": 118, "index2": 116, "size": 80, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } } ], "profile": { "factory": 1667, "building": 225, "dependencies": 394 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./vec3", "loc": "4:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./vec3", "loc": "4:0-41" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import * as vec3 from '@antv/gl-matrix/lib/gl-matrix/vec3';\nexport default vec3;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/transform.js", "index": 120, "index2": 117, "size": 680, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } } ], "profile": { "factory": 1667, "building": 225, "dependencies": 394 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./transform", "loc": "5:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./transform", "loc": "5:0-51" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import { each, clone } from '@antv/util';\nimport mat3 from './mat3';\nexport default (function (m, ts) {\n // 上层使用时会传入为 null 的 matrix,此时按照单位矩阵处理\n var matrix = m ? clone(m) : [1, 0, 0, 0, 1, 0, 0, 0, 1];\n each(ts, function (t) {\n switch (t[0]) {\n case 't':\n mat3.translate(matrix, matrix, [t[1], t[2]]);\n break;\n\n case 's':\n mat3.scale(matrix, matrix, [t[1], t[2]]);\n break;\n\n case 'r':\n mat3.rotate(matrix, matrix, t[1]);\n break;\n\n case 'm':\n mat3.multiply(matrix, matrix, t[1]);\n break;\n\n default:\n return false;\n }\n });\n return matrix;\n});" } ], "filteredModules": 0 }, { "id": 4, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/math.ts", "name": "./src/util/math.ts", "index": 122, "index2": 120, "size": 20648, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "issuerId": 31, "issuerName": "./src/util/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 3034, "building": 905, "dependencies": 1815 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "./math", "loc": "4:0-37" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "./math", "loc": "27:18-29" }, { "moduleId": 5, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "module": "./src/util/graphic.ts + 1 modules", "moduleName": "./src/util/graphic.ts + 1 modules", "type": "harmony import specifier", "userRequest": "./math", "loc": "28:22-33" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../util/math", "loc": "9:0-65" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "354:21-44" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "398:21-44" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "400:21-29" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony side effect evaluation", "userRequest": "./math", "loc": "2:0-35" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony import specifier", "userRequest": "./math", "loc": "6:87-95" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../../util/math", "loc": "1:0-183" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/math", "loc": "3:0-121" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/math", "loc": "5:0-51" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/math", "loc": "5:0-41" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../../util/math", "loc": "5:0-60" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/math", "loc": "6:0-36" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "15:26-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "18:22-30" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "103:20-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "114:33-58" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "121:33-59" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "129:33-56" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "138:15-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "153:19-29" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "154:29-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "156:16-30" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "177:23-37" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "200:16-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "201:16-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "217:16-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "230:25-44" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "231:15-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "250:50-54" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "251:50-54" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "297:32-36" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "310:25-29" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "325:19-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "328:15-25" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "329:12-22" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "379:21-37" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "442:8-12" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "472:33-52" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/math", "loc": "491:36-55" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/math", "loc": "601:8-17" } ], "usedExports": true, "providedExports": [ "compare", "getLineIntersect", "getRectIntersectByPoint", "getCircleIntersectByPoint", "getEllipseIntersectByPoint", "applyMatrix", "invertMatrix", "getCircleCenterByPoints", "distance", "scaleMatrix", "floydWarshall", "getAdjMatrix", "translate", "move", "scale", "rotate", "getDegree", "isPointInPolygon", "intersectBBox", "isPolygonsIntersect", "Line", "getBBoxBoundLine", "itemIntersectByLine", "fractionToLine", "getPointsCenter", "squareDist", "pointLineSquareDist", "isPointsOverlap", "pointRectSquareDist" ], "optimizationBailout": [], "depth": 2, "source": "import { mat3, transform, vec3 } from '@antv/matrix-util';\nimport { isArray, each } from '@antv/util';\n/**\n * 对比对象,用于对象数组排序\n * @param {string} attributeName 排序依据的字段名称\n * @param {number} min 最小值\n * @param {number} max 最大值\n * @return {boolean} bool 布尔\n */\nexport var compare = function (attributeName) {\n return function (m, n) {\n return m[attributeName] - n[attributeName];\n };\n};\n/**\n * 是否在区间内\n * @param {number} value 值\n * @param {number} min 最小值\n * @param {number} max 最大值\n * @return {boolean} bool 布尔\n */\nvar isBetween = function (value, min, max) { return value >= min && value <= max; };\n/**\n * 获取两条线段的交点\n * @param {Point} p0 第一条线段起点\n * @param {Point} p1 第一条线段终点\n * @param {Point} p2 第二条线段起点\n * @param {Point} p3 第二条线段终点\n * @return {Point} 交点\n */\nexport var getLineIntersect = function (p0, p1, p2, p3) {\n var tolerance = 0.001;\n var E = {\n x: p2.x - p0.x,\n y: p2.y - p0.y,\n };\n var D0 = {\n x: p1.x - p0.x,\n y: p1.y - p0.y,\n };\n var D1 = {\n x: p3.x - p2.x,\n y: p3.y - p2.y,\n };\n var kross = D0.x * D1.y - D0.y * D1.x;\n var sqrKross = kross * kross;\n var sqrLen0 = D0.x * D0.x + D0.y * D0.y;\n var sqrLen1 = D1.x * D1.x + D1.y * D1.y;\n var point = null;\n if (sqrKross > tolerance * sqrLen0 * sqrLen1) {\n var s = (E.x * D1.y - E.y * D1.x) / kross;\n var t = (E.x * D0.y - E.y * D0.x) / kross;\n if (isBetween(s, 0, 1) && isBetween(t, 0, 1)) {\n point = {\n x: p0.x + s * D0.x,\n y: p0.y + s * D0.y,\n };\n }\n }\n return point;\n};\n/**\n * point and rectangular intersection point\n * @param {IRect} rect rect\n * @param {Point} point point\n * @return {PointPoint} rst;\n */\nexport var getRectIntersectByPoint = function (rect, point) {\n var x = rect.x, y = rect.y, width = rect.width, height = rect.height;\n var cx = x + width / 2;\n var cy = y + height / 2;\n var points = [];\n var center = {\n x: cx,\n y: cy,\n };\n points.push({\n x: x,\n y: y,\n });\n points.push({\n x: x + width,\n y: y,\n });\n points.push({\n x: x + width,\n y: y + height,\n });\n points.push({\n x: x,\n y: y + height,\n });\n points.push({\n x: x,\n y: y,\n });\n var rst = null;\n for (var i = 1; i < points.length; i++) {\n rst = getLineIntersect(points[i - 1], points[i], center, point);\n if (rst) {\n break;\n }\n }\n return rst;\n};\n/**\n * get point and circle inIntersect\n * @param {ICircle} circle 圆点,x,y,r\n * @param {Point} point 点 x,y\n * @return {Point} applied point\n */\nexport var getCircleIntersectByPoint = function (circle, point) {\n var cx = circle.x, cy = circle.y, r = circle.r;\n var x = point.x, y = point.y;\n var dx = x - cx;\n var dy = y - cy;\n var d = Math.sqrt(dx * dx + dy * dy);\n if (d < r) {\n return null;\n }\n var signX = Math.sign(dx);\n var signY = Math.sign(dy);\n var angle = Math.atan(dy / dx);\n return {\n x: cx + Math.abs(r * Math.cos(angle)) * signX,\n y: cy + Math.abs(r * Math.sin(angle)) * signY,\n };\n};\n/**\n * get point and ellipse inIntersect\n * @param {Object} ellipse 椭圆 x,y,rx,ry\n * @param {Object} point 点 x,y\n * @return {object} applied point\n */\nexport var getEllipseIntersectByPoint = function (ellipse, point) {\n var a = ellipse.rx;\n var b = ellipse.ry;\n var cx = ellipse.x;\n var cy = ellipse.y;\n var dx = point.x - cx;\n var dy = point.y - cy;\n // 直接通过 x,y 求夹角,求出来的范围是 -PI, PI\n var angle = Math.atan2(dy / b, dx / a);\n if (angle < 0) {\n angle += 2 * Math.PI; // 转换到 0,2PI\n }\n return {\n x: cx + a * Math.cos(angle),\n y: cy + b * Math.sin(angle),\n };\n};\n/**\n * coordinate matrix transformation\n * @param {number} point coordinate\n * @param {Matrix} matrix matrix\n * @param {number} tag could be 0 or 1\n * @return {Point} transformed point\n */\nexport var applyMatrix = function (point, matrix, tag) {\n if (tag === void 0) { tag = 1; }\n var vector = [point.x, point.y, tag];\n if (!matrix || isNaN(matrix[0])) {\n matrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n vec3.transformMat3(vector, vector, matrix);\n return {\n x: vector[0],\n y: vector[1],\n };\n};\n/**\n * coordinate matrix invert transformation\n * @param {number} point coordinate\n * @param {number} matrix matrix\n * @param {number} tag could be 0 or 1\n * @return {object} transformed point\n */\nexport var invertMatrix = function (point, matrix, tag) {\n if (tag === void 0) { tag = 1; }\n if (!matrix || isNaN(matrix[0])) {\n matrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n var inversedMatrix = mat3.invert([], matrix);\n if (!inversedMatrix) {\n inversedMatrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n var vector = [point.x, point.y, tag];\n vec3.transformMat3(vector, vector, inversedMatrix);\n return {\n x: vector[0],\n y: vector[1],\n };\n};\n/**\n *\n * @param p1 First coordinate\n * @param p2 second coordinate\n * @param p3 three coordinate\n */\nexport var getCircleCenterByPoints = function (p1, p2, p3) {\n var a = p1.x - p2.x;\n var b = p1.y - p2.y;\n var c = p1.x - p3.x;\n var d = p1.y - p3.y;\n var e = (p1.x * p1.x - p2.x * p2.x - p2.y * p2.y + p1.y * p1.y) / 2;\n var f = (p1.x * p1.x - p3.x * p3.x - p3.y * p3.y + p1.y * p1.y) / 2;\n var denominator = b * c - a * d;\n return {\n x: -(d * e - b * f) / denominator,\n y: -(a * f - c * e) / denominator,\n };\n};\n/**\n * get distance by two points\n * @param p1 first point\n * @param p2 second point\n */\nexport var distance = function (p1, p2) {\n var vx = p1.x - p2.x;\n var vy = p1.y - p2.y;\n return Math.sqrt(vx * vx + vy * vy);\n};\n/**\n * scale matrix\n * @param matrix [ [], [], [] ]\n * @param ratio\n */\nexport var scaleMatrix = function (matrix, ratio) {\n var result = [];\n matrix.forEach(function (row) {\n var newRow = [];\n row.forEach(function (v) {\n newRow.push(v * ratio);\n });\n result.push(newRow);\n });\n return result;\n};\n/**\n * Floyd Warshall algorithm for shortest path distances matrix\n * @param {array} adjMatrix adjacency matrix\n * @return {array} distances shortest path distances matrix\n */\nexport var floydWarshall = function (adjMatrix) {\n // initialize\n var dist = [];\n var size = adjMatrix.length;\n for (var i = 0; i < size; i += 1) {\n dist[i] = [];\n for (var j = 0; j < size; j += 1) {\n if (i === j) {\n dist[i][j] = 0;\n }\n else if (adjMatrix[i][j] === 0 || !adjMatrix[i][j]) {\n dist[i][j] = Infinity;\n }\n else {\n dist[i][j] = adjMatrix[i][j];\n }\n }\n }\n // floyd\n for (var k = 0; k < size; k += 1) {\n for (var i = 0; i < size; i += 1) {\n for (var j = 0; j < size; j += 1) {\n if (dist[i][j] > dist[i][k] + dist[k][j]) {\n dist[i][j] = dist[i][k] + dist[k][j];\n }\n }\n }\n }\n return dist;\n};\n/**\n * get adjacency matrix\n * @param data graph data\n * @param directed whether it's a directed graph\n */\nexport var getAdjMatrix = function (data, directed) {\n var nodes = data.nodes, edges = data.edges;\n var matrix = [];\n // map node with index in data.nodes\n var nodeMap = {};\n if (!nodes) {\n throw new Error('invalid nodes data!');\n }\n if (nodes) {\n nodes.forEach(function (node, i) {\n nodeMap[node.id] = i;\n var row = [];\n matrix.push(row);\n });\n }\n if (edges) {\n edges.forEach(function (e) {\n var source = e.source, target = e.target;\n var sIndex = nodeMap[source];\n var tIndex = nodeMap[target];\n matrix[sIndex][tIndex] = 1;\n if (!directed) {\n matrix[tIndex][sIndex] = 1;\n }\n });\n }\n return matrix;\n};\n/**\n * 平移group\n * @param group Group 实例\n * @param vec 移动向量\n */\nexport var translate = function (group, vec) {\n group.translate(vec.x, vec.y);\n};\n/**\n * 移动到指定坐标点\n * @param group Group 实例\n * @param point 移动到的坐标点\n */\nexport var move = function (group, point) {\n var matrix = group.getMatrix();\n if (!matrix) {\n matrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n var bbox = group.getCanvasBBox();\n var vx = point.x - bbox.minX;\n var vy = point.y - bbox.minY;\n var movedMatrix = transform(matrix, [['t', vx, vy]]);\n group.setMatrix(movedMatrix);\n};\n/**\n * 缩放 group\n * @param group Group 实例\n * @param point 在x 和 y 方向上的缩放比例\n */\nexport var scale = function (group, ratio) {\n var matrix = group.getMatrix();\n if (!matrix) {\n matrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n var scaleXY = ratio;\n if (!isArray(ratio)) {\n scaleXY = [ratio, ratio];\n }\n if (isArray(ratio) && ratio.length === 1) {\n scaleXY = [ratio[0], ratio[0]];\n }\n matrix = transform(matrix, [['s', scaleXY[0], scaleXY[1]]]);\n group.setMatrix(matrix);\n};\n/**\n *\n * @param group Group 实例\n * @param ratio 选择角度\n */\nexport var rotate = function (group, angle) {\n var matrix = group.getMatrix();\n if (!matrix) {\n matrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n matrix = transform(matrix, [['r', angle]]);\n group.setMatrix(matrix);\n};\nexport var getDegree = function (n, nodeIdxMap, edges) {\n var degrees = [];\n for (var i = 0; i < n; i++) {\n degrees[i] = 0;\n }\n edges.forEach(function (e) {\n if (e.source) {\n degrees[nodeIdxMap[e.source]] += 1;\n }\n if (e.target) {\n degrees[nodeIdxMap[e.target]] += 1;\n }\n });\n return degrees;\n};\n// 判断点Q是否在p1和p2的线段上\nfunction onSegment(p1, p2, q) {\n if ((q[0] - p1[0]) * (p2[1] - p1[1]) === (p2[0] - p1[0]) * (q[1] - p1[1]) &&\n Math.min(p1[0], p2[0]) <= q[0] &&\n q[0] <= Math.max(p1[0], p2[0]) &&\n Math.min(p1[1], p2[1]) <= q[1] &&\n q[1] <= Math.max(p1[1], p2[1])) {\n return true;\n }\n return false;\n}\n/**\n * 判断点P在多边形内-射线法. Borrow from https://github.com/antvis/util/blob/master/packages/path-util/src/point-in-polygon.ts\n * @param points\n * @param x\n * @param y\n */\nexport var isPointInPolygon = function (points, x, y) {\n var isHit = false;\n var n = points.length;\n // 判断两个double在eps精度下的大小关系\n var tolerance = 1e-6;\n function dcmp(xValue) {\n if (Math.abs(xValue) < tolerance) {\n return 0;\n }\n return xValue < 0 ? -1 : 1;\n }\n if (n <= 2) {\n // svg 中点小于 3 个时,不显示,也无法被拾取\n return false;\n }\n for (var i = 0; i < n; i++) {\n var p1 = points[i];\n var p2 = points[(i + 1) % n];\n if (onSegment(p1, p2, [x, y])) {\n // 点在多边形一条边上\n return true;\n }\n // 前一个判断min(p1[1],p2[1]) 0 !== dcmp(p2[1] - y) > 0 &&\n dcmp(x - ((y - p1[1]) * (p1[0] - p2[0])) / (p1[1] - p2[1]) - p1[0]) < 0) {\n isHit = !isHit;\n }\n }\n return isHit;\n};\n// 判断两个BBox是否相交\nexport var intersectBBox = function (box1, box2) {\n return !(box2.minX > box1.maxX ||\n box2.maxX < box1.minX ||\n box2.minY > box1.maxY ||\n box2.maxY < box1.minY);\n};\nvar lineIntersectPolygon = function (lines, line) {\n var isIntersect = false;\n each(lines, function (l) {\n if (getLineIntersect(l.from, l.to, line.from, line.to)) {\n isIntersect = true;\n return false;\n }\n });\n return isIntersect;\n};\n/**\n * 判断两个polygon是否相交。\n * borrow from @antv/path-util\n * @param points1 polygon1的顶点数组\n * @param points2 polygon2的顶点数组\n */\nexport var isPolygonsIntersect = function (points1, points2) {\n var getBBox = function (points) {\n var xArr = points.map(function (p) { return p[0]; });\n var yArr = points.map(function (p) { return p[1]; });\n return {\n minX: Math.min.apply(null, xArr),\n maxX: Math.max.apply(null, xArr),\n minY: Math.min.apply(null, yArr),\n maxY: Math.max.apply(null, yArr),\n };\n };\n var parseToLines = function (points) {\n var lines = [];\n var count = points.length;\n for (var i = 0; i < count - 1; i++) {\n var point = points[i];\n var next = points[i + 1];\n lines.push({\n from: {\n x: point[0],\n y: point[1],\n },\n to: {\n x: next[0],\n y: next[1],\n },\n });\n }\n if (lines.length > 1) {\n var first = points[0];\n var last = points[count - 1];\n lines.push({\n from: {\n x: last[0],\n y: last[1],\n },\n to: {\n x: first[0],\n y: first[1],\n },\n });\n }\n return lines;\n };\n // 空数组,或者一个点返回 false\n if (points1.length < 2 || points2.length < 2) {\n return false;\n }\n var bbox1 = getBBox(points1);\n var bbox2 = getBBox(points2);\n // 判定包围盒是否相交,比判定点是否在多边形内要快的多,可以筛选掉大多数情况\n if (!intersectBBox(bbox1, bbox2)) {\n return false;\n }\n var isIn = false;\n // 判定点是否在多边形内部,一旦有一个点在另一个多边形内,则返回\n each(points2, function (point) {\n if (isPointInPolygon(points1, point[0], point[1])) {\n isIn = true;\n return false;\n }\n });\n if (isIn) {\n return true;\n }\n each(points1, function (point) {\n if (isPointInPolygon(points2, point[0], point[1])) {\n isIn = true;\n return false;\n }\n });\n if (isIn) {\n return true;\n }\n var lines1 = parseToLines(points1);\n var lines2 = parseToLines(points2);\n var isIntersect = false;\n each(lines2, function (line) {\n if (lineIntersectPolygon(lines1, line)) {\n isIntersect = true;\n return false;\n }\n });\n return isIntersect;\n};\nvar Line = /** @class */ (function () {\n function Line(x1, y1, x2, y2) {\n this.x1 = x1;\n this.y1 = y1;\n this.x2 = x2;\n this.y2 = y2;\n }\n Line.prototype.getBBox = function () {\n var minX = Math.min(this.x1, this.x2);\n var minY = Math.min(this.y1, this.y2);\n var maxX = Math.max(this.x1, this.x2);\n var maxY = Math.max(this.y1, this.y2);\n var res = {\n x: minX,\n y: minY,\n minX: minX,\n minY: minY,\n maxX: maxX,\n maxY: maxY,\n width: maxX - minX,\n height: maxY - minY,\n };\n return res;\n };\n return Line;\n}());\nexport { Line };\nexport var getBBoxBoundLine = function (bbox, direction) {\n var bounds = {\n top: [bbox.minX, bbox.minY, bbox.maxX, bbox.minY],\n left: [bbox.minX, bbox.minY, bbox.minX, bbox.maxY],\n bottom: [bbox.minX, bbox.maxY, bbox.maxX, bbox.maxY],\n right: [bbox.maxX, bbox.minY, bbox.maxX, bbox.maxY],\n };\n return bounds[direction];\n};\n/**\n * 计算两条线段相交时,相交点对第一条线段上的分割比例\n */\nvar fractionAlongLineA = function (la, lb) {\n var uaT = (lb.x2 - lb.x1) * (la.y1 - lb.y1) - (lb.y2 - lb.y1) * (la.x1 - lb.x1);\n var ubT = (la.x2 - la.x1) * (la.y1 - lb.y1) - (la.y2 - la.y1) * (la.x1 - lb.x1);\n var uB = (lb.y2 - lb.y1) * (la.x2 - la.x1) - (lb.x2 - lb.x1) * (la.y2 - la.y1);\n if (uB) {\n var ua = uaT / uB;\n var ub = ubT / uB;\n if (ua >= 0 && ua <= 1 && ub >= 0 && ub <= 1) {\n return ua;\n }\n }\n return Number.POSITIVE_INFINITY;\n};\nexport var itemIntersectByLine = function (item, line) {\n var directions = ['top', 'left', 'bottom', 'right'];\n var bbox = item.getBBox();\n var countIntersections = 0;\n var intersections = [];\n for (var i = 0; i < 4; i++) {\n var _a = getBBoxBoundLine(bbox, directions[i]), x1 = _a[0], y1 = _a[1], x2 = _a[2], y2 = _a[3];\n intersections[i] = getLineIntersect({ x: line.x1, y: line.y1 }, { x: line.x2, y: line.y2 }, { x: x1, y: y1 }, { x: x2, y: y2 });\n if (intersections[i]) {\n countIntersections += 1;\n }\n }\n return [intersections, countIntersections];\n};\nexport var fractionToLine = function (item, line) {\n var directions = ['top', 'left', 'bottom', 'right'];\n var bbox = item.getBBox();\n var minDistance = Number.POSITIVE_INFINITY;\n var countIntersections = 0;\n for (var i = 0; i < 4; i++) {\n var _a = getBBoxBoundLine(bbox, directions[i]), x1 = _a[0], y1 = _a[1], x2 = _a[2], y2 = _a[3];\n var testDistance = fractionAlongLineA(line, new Line(x1, y1, x2, y2));\n testDistance = Math.abs(testDistance - 0.5);\n if (testDistance >= 0 && testDistance <= 1) {\n countIntersections += 1;\n minDistance = testDistance < minDistance ? testDistance : minDistance;\n }\n }\n if (countIntersections === 0)\n return -1;\n return minDistance;\n};\nexport var getPointsCenter = function (points) {\n var centerX = 0;\n var centerY = 0;\n if (points.length > 0) {\n for (var _i = 0, points_1 = points; _i < points_1.length; _i++) {\n var point = points_1[_i];\n centerX += point.x;\n centerY += point.y;\n }\n centerX /= points.length;\n centerY /= points.length;\n }\n return { x: centerX, y: centerY };\n};\nexport var squareDist = function (a, b) {\n return Math.pow((a.x - b.x), 2) + Math.pow((a.y - b.y), 2);\n};\nexport var pointLineSquareDist = function (point, line) {\n var x1 = line.x1;\n var y1 = line.y1;\n var x2 = line.x2 - x1;\n var y2 = line.y2 - y1;\n var px = point.x - x1;\n var py = point.y - y1;\n var dotprod = px * x2 + py * y2;\n var projlenSq;\n if (dotprod <= 0) {\n projlenSq = 0;\n }\n else {\n px = x2 - px;\n py = y2 - py;\n dotprod = px * x2 + py * y2;\n if (dotprod <= 0) {\n projlenSq = 0;\n }\n else {\n projlenSq = (dotprod * dotprod) / (x2 * x2 + y2 * y2);\n }\n }\n var lenSq = px * px + py * py - projlenSq;\n if (lenSq < 0) {\n lenSq = 0;\n }\n return lenSq;\n};\nexport var isPointsOverlap = function (p1, p2, e) {\n if (e === void 0) { e = 1e-3; }\n return Math.pow((p1.x - p2.x), 2) + Math.pow((p1.y - p2.y), 2) < Math.pow(e, 2);\n};\n/**\n * 点到矩形的距离的平方:矩形内部点视作距离为0,外部的点若投影落在矩形边上则为点到矩形边的最近的垂直距离,否则为点到矩形顶点的距离,\n * @param point IPoint\n * @param rect IRect\n */\nexport var pointRectSquareDist = function (point, rect) {\n var isLeft = point.x < rect.x;\n var isRight = point.x > rect.x + rect.width;\n var isTop = point.y > rect.y + rect.height;\n var isBottom = point.y < rect.y;\n var isPointOutside = isLeft || isRight || isTop || isBottom;\n if (!isPointOutside) {\n return 0;\n }\n if (isTop && !isLeft && !isRight) {\n return Math.pow((rect.y + rect.height - point.y), 2);\n }\n if (isBottom && !isLeft && !isRight) {\n return Math.pow((point.y - rect.y), 2);\n }\n if (isLeft && !isTop && !isBottom) {\n return Math.pow((rect.x - point.x), 2);\n }\n if (isRight && !isTop && !isBottom) {\n return Math.pow((rect.x + rect.width - point.x), 2);\n }\n var dx = Math.min(Math.abs(rect.x - point.x), Math.abs(rect.x + rect.width - point.x));\n var dy = Math.min(Math.abs(rect.y - point.y), Math.abs(rect.y + rect.height - point.y));\n return dx * dx + dy * dy;\n};\n" }, { "id": 5, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts 1d39dcc0dbd307f643aeae16107f4bca", "name": "./src/util/graphic.ts + 1 modules", "index": 207, "index2": 200, "size": 26348, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "../util/graphic", "loc": "7:0-46" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "249:29-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../util/graphic", "loc": "8:0-64" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "179:26-42" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "223:26-42" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "226:26-42" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "533:15-26" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony side effect evaluation", "userRequest": "./graphic", "loc": "3:0-41" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony import specifier", "userRequest": "./graphic", "loc": "6:62-73" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/graphic", "loc": "4:0-42" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/graphic", "loc": "4:0-42" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../../util/graphic", "loc": "6:0-80" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/graphic", "loc": "9:0-100" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "58:19-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "103:19-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "108:28-40" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "119:19-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "232:24-36" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "328:20-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "356:16-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "465:12-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "524:16-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "750:36-51" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "783:16-30" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "824:16-30" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1020:29-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1145:29-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1263:12-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1304:12-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1373:12-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1413:12-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1474:16-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1485:12-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1562:28-43" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1894:12-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "2028:12-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "2217:12-24" } ], "usedExports": true, "providedExports": [ "getBBox", "getLoopCfgs", "getLabelPosition", "traverseTree", "traverseTreeUp", "radialLayout", "getLetterWidth", "getTextSize", "plainCombosToTrees", "reconstructTree", "getComboBBox", "getChartRegion" ], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_tslib@2.0.3@tslib/tslib.es6.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/global.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/util/math.ts because of ./src/index.ts" ], "depth": 2, "modules": [ { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts", "name": "./src/util/graphic.ts", "index": 207, "index2": 200, "size": 23938, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "issuerId": 31, "issuerName": "./src/util/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 3034, "building": 905, "dependencies": 1815 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony side effect evaluation", "userRequest": "../util/graphic", "loc": "7:0-46" }, { "moduleId": 6, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "module": "./src/shape/shape.ts + 1 modules", "moduleName": "./src/shape/shape.ts + 1 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "249:29-40" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../util/graphic", "loc": "8:0-64" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "179:26-42" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "223:26-42" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "226:26-42" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "533:15-26" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony side effect evaluation", "userRequest": "./graphic", "loc": "3:0-41" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony import specifier", "userRequest": "./graphic", "loc": "6:62-73" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/graphic", "loc": "4:0-42" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/graphic", "loc": "4:0-42" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../../util/graphic", "loc": "6:0-80" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/graphic", "loc": "9:0-100" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "58:19-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "103:19-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "108:28-40" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "119:19-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "232:24-36" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "328:20-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "356:16-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "465:12-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/graphic", "loc": "524:16-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "750:36-51" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "783:16-30" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "824:16-30" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1020:29-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1145:29-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1263:12-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1304:12-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1373:12-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1413:12-26" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1474:16-28" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1485:12-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1562:28-43" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "1894:12-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "2028:12-24" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/graphic", "loc": "2217:12-24" } ], "usedExports": true, "providedExports": [ "getBBox", "getLoopCfgs", "getLabelPosition", "traverseTree", "traverseTreeUp", "radialLayout", "getLetterWidth", "getTextSize", "plainCombosToTrees", "reconstructTree", "getComboBBox", "getChartRegion" ], "optimizationBailout": [], "depth": 2, "source": "import { __assign } from \"tslib\";\nimport { vec2 } from '@antv/matrix-util';\nimport Global from '../global';\nimport { applyMatrix } from './math';\nimport letterAspectRatio from './letterAspectRatio';\nimport { isString, clone } from '@antv/util';\nvar PI = Math.PI, sin = Math.sin, cos = Math.cos;\n// 一共支持8个方向的自环,每个环占的角度是45度,在计算时再二分,为22.5度\nvar SELF_LINK_SIN = sin(PI / 8);\nvar SELF_LINK_COS = cos(PI / 8);\nexport var getBBox = function (element, group) {\n var bbox = element.getBBox();\n var leftTop = {\n x: bbox.minX,\n y: bbox.minY,\n };\n var rightBottom = {\n x: bbox.maxX,\n y: bbox.maxY,\n };\n // 根据父元素变换矩阵\n if (group) {\n var matrix = group.getMatrix();\n if (!matrix) {\n matrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n leftTop = applyMatrix(leftTop, matrix);\n rightBottom = applyMatrix(rightBottom, matrix);\n }\n var lx = leftTop.x, ly = leftTop.y;\n var rx = rightBottom.x, ry = rightBottom.y;\n return {\n x: lx,\n y: ly,\n minX: lx,\n minY: ly,\n maxX: rx,\n maxY: ry,\n width: rx - lx,\n height: ry - ly,\n };\n};\n/**\n * get loop edge config\n * @param cfg edge config\n */\nexport var getLoopCfgs = function (cfg) {\n var item = cfg.sourceNode || cfg.targetNode;\n var container = item.get('group');\n var containerMatrix = container.getMatrix();\n if (!containerMatrix)\n containerMatrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n var keyShape = item.getKeyShape();\n var bbox = keyShape.getBBox();\n var loopCfg = cfg.loopCfg || {};\n // 距离keyShape边的最高距离\n var dist = loopCfg.dist || Math.max(bbox.width, bbox.height) * 2;\n // 自环边与keyShape的相对位置关系\n var position = loopCfg.position || Global.defaultLoopPosition;\n // 中心取group上真实位置\n var center = [containerMatrix[6], containerMatrix[7]];\n var startPoint = [cfg.startPoint.x, cfg.startPoint.y];\n var endPoint = [cfg.endPoint.x, cfg.endPoint.y];\n var rstart = bbox.height / 2;\n var rend = bbox.height / 2;\n var sinDeltaStart = rstart * SELF_LINK_SIN;\n var cosDeltaStart = rstart * SELF_LINK_COS;\n var sinDeltaEnd = rend * SELF_LINK_SIN;\n var cosDeltaEnd = rend * SELF_LINK_COS;\n // 如果定义了锚点的,直接用锚点坐标,否则,根据自环的 cfg 计算\n if (startPoint[0] === endPoint[0] && startPoint[1] === endPoint[1]) {\n switch (position) {\n case 'top':\n startPoint = [center[0] - sinDeltaStart, center[1] - cosDeltaStart];\n endPoint = [center[0] + sinDeltaEnd, center[1] - cosDeltaEnd];\n break;\n case 'top-right':\n rstart = bbox.height / 2;\n rend = bbox.width / 2;\n sinDeltaStart = rstart * SELF_LINK_SIN;\n cosDeltaStart = rstart * SELF_LINK_COS;\n sinDeltaEnd = rend * SELF_LINK_SIN;\n cosDeltaEnd = rend * SELF_LINK_COS;\n startPoint = [center[0] + sinDeltaStart, center[1] - cosDeltaStart];\n endPoint = [center[0] + cosDeltaEnd, center[1] - sinDeltaEnd];\n break;\n case 'right':\n rstart = bbox.width / 2;\n rend = bbox.width / 2;\n sinDeltaStart = rstart * SELF_LINK_SIN;\n cosDeltaStart = rstart * SELF_LINK_COS;\n sinDeltaEnd = rend * SELF_LINK_SIN;\n cosDeltaEnd = rend * SELF_LINK_COS;\n startPoint = [center[0] + cosDeltaStart, center[1] - sinDeltaStart];\n endPoint = [center[0] + cosDeltaEnd, center[1] + sinDeltaEnd];\n break;\n case 'bottom-right':\n rstart = bbox.width / 2;\n rend = bbox.height / 2;\n sinDeltaStart = rstart * SELF_LINK_SIN;\n cosDeltaStart = rstart * SELF_LINK_COS;\n sinDeltaEnd = rend * SELF_LINK_SIN;\n cosDeltaEnd = rend * SELF_LINK_COS;\n startPoint = [center[0] + cosDeltaStart, center[1] + sinDeltaStart];\n endPoint = [center[0] + sinDeltaEnd, center[1] + cosDeltaEnd];\n break;\n case 'bottom':\n rstart = bbox.height / 2;\n rend = bbox.height / 2;\n sinDeltaStart = rstart * SELF_LINK_SIN;\n cosDeltaStart = rstart * SELF_LINK_COS;\n sinDeltaEnd = rend * SELF_LINK_SIN;\n cosDeltaEnd = rend * SELF_LINK_COS;\n startPoint = [center[0] + sinDeltaStart, center[1] + cosDeltaStart];\n endPoint = [center[0] - sinDeltaEnd, center[1] + cosDeltaEnd];\n break;\n case 'bottom-left':\n rstart = bbox.height / 2;\n rend = bbox.width / 2;\n sinDeltaStart = rstart * SELF_LINK_SIN;\n cosDeltaStart = rstart * SELF_LINK_COS;\n sinDeltaEnd = rend * SELF_LINK_SIN;\n cosDeltaEnd = rend * SELF_LINK_COS;\n startPoint = [center[0] - sinDeltaStart, center[1] + cosDeltaStart];\n endPoint = [center[0] - cosDeltaEnd, center[1] + sinDeltaEnd];\n break;\n case 'left':\n rstart = bbox.width / 2;\n rend = bbox.width / 2;\n sinDeltaStart = rstart * SELF_LINK_SIN;\n cosDeltaStart = rstart * SELF_LINK_COS;\n sinDeltaEnd = rend * SELF_LINK_SIN;\n cosDeltaEnd = rend * SELF_LINK_COS;\n startPoint = [center[0] - cosDeltaStart, center[1] + sinDeltaStart];\n endPoint = [center[0] - cosDeltaEnd, center[1] - sinDeltaEnd];\n break;\n case 'top-left':\n rstart = bbox.width / 2;\n rend = bbox.height / 2;\n sinDeltaStart = rstart * SELF_LINK_SIN;\n cosDeltaStart = rstart * SELF_LINK_COS;\n sinDeltaEnd = rend * SELF_LINK_SIN;\n cosDeltaEnd = rend * SELF_LINK_COS;\n startPoint = [center[0] - cosDeltaStart, center[1] - sinDeltaStart];\n endPoint = [center[0] - sinDeltaEnd, center[1] - cosDeltaEnd];\n break;\n default:\n rstart = bbox.width / 2;\n rend = bbox.width / 2;\n sinDeltaStart = rstart * SELF_LINK_SIN;\n cosDeltaStart = rstart * SELF_LINK_COS;\n sinDeltaEnd = rend * SELF_LINK_SIN;\n cosDeltaEnd = rend * SELF_LINK_COS;\n startPoint = [center[0] - sinDeltaStart, center[1] - cosDeltaStart];\n endPoint = [center[0] + sinDeltaEnd, center[1] - cosDeltaEnd];\n }\n // 如果逆时针画,交换起点和终点\n if (loopCfg.clockwise === false) {\n var swap = [startPoint[0], startPoint[1]];\n startPoint = [endPoint[0], endPoint[1]];\n endPoint = [swap[0], swap[1]];\n }\n }\n var startVec = [startPoint[0] - center[0], startPoint[1] - center[1]];\n var scaleRateStart = (rstart + dist) / rstart;\n var scaleRateEnd = (rend + dist) / rend;\n if (loopCfg.clockwise === false) {\n scaleRateStart = (rend + dist) / rend;\n scaleRateEnd = (rstart + dist) / rstart;\n }\n var startExtendVec = vec2.scale([], startVec, scaleRateStart);\n var controlPoint1 = [center[0] + startExtendVec[0], center[1] + startExtendVec[1]];\n var endVec = [endPoint[0] - center[0], endPoint[1] - center[1]];\n var endExtendVec = vec2.scale([], endVec, scaleRateEnd);\n var controlPoint2 = [center[0] + endExtendVec[0], center[1] + endExtendVec[1]];\n cfg.startPoint = { x: startPoint[0], y: startPoint[1] };\n cfg.endPoint = { x: endPoint[0], y: endPoint[1] };\n cfg.controlPoints = [\n { x: controlPoint1[0], y: controlPoint1[1] },\n { x: controlPoint2[0], y: controlPoint2[1] },\n ];\n return cfg;\n};\n/**\n * 根据 label 所在线条的位置百分比,计算 label 坐标\n * @param {object} pathShape G 的 path 实例,一般是 Edge 实例的 keyShape\n * @param {number} percent 范围 0 - 1 的线条百分比\n * @param {number} refX x 轴正方向为基准的 label 偏移\n * @param {number} refY y 轴正方向为基准的 label 偏移\n * @param {boolean} rotate 是否根据线条斜率旋转文本\n * @return {object} 文本的 x, y, 文本的旋转角度\n */\nexport var getLabelPosition = function (pathShape, percent, refX, refY, rotate) {\n var TAN_OFFSET = 0.0001;\n var vector = [];\n var point = pathShape.getPoint(percent);\n if (point === null) {\n return {\n x: 0,\n y: 0,\n angle: 0,\n };\n }\n // 头尾最可能,放在最前面,使用 g path 上封装的方法\n if (percent < TAN_OFFSET) {\n vector = pathShape.getStartTangent().reverse();\n }\n else if (percent > 1 - TAN_OFFSET) {\n vector = pathShape.getEndTangent();\n }\n else {\n // 否则取指定位置的点,与少量偏移的点,做微分向量\n var offsetPoint = pathShape.getPoint(percent + TAN_OFFSET);\n vector.push([point.x, point.y]);\n vector.push([offsetPoint.x, offsetPoint.y]);\n }\n var rad = Math.atan2(vector[1][1] - vector[0][1], vector[1][0] - vector[0][0]);\n if (rad < 0) {\n rad += PI * 2;\n }\n if (refX) {\n point.x += cos(rad) * refX;\n point.y += sin(rad) * refX;\n }\n if (refY) {\n // 默认方向是 x 轴正方向,法线是 求出角度 - 90°\n var normal = rad - PI / 2;\n // 若法线角度在 y 轴负方向,切到正方向,保证 refY 相对于 y 轴正方向\n if (rad > (1 / 2) * PI && rad < ((3 * 1) / 2) * PI) {\n normal -= PI;\n }\n point.x += cos(normal) * refY;\n point.y += sin(normal) * refY;\n }\n var result = {\n x: point.x,\n y: point.y,\n angle: rad,\n };\n if (rotate) {\n if (rad > (1 / 2) * PI && rad < ((3 * 1) / 2) * PI) {\n rad -= PI;\n }\n return __assign({ rotate: rad }, result);\n }\n return result;\n};\n/**\n * depth first traverse, from root to leaves, children in inverse order\n * if the fn returns false, terminate the traverse\n */\nvar traverse = function (data, fn) {\n if (fn(data) === false) {\n return false;\n }\n if (data && data.children) {\n for (var i = data.children.length - 1; i >= 0; i--) {\n if (!traverse(data.children[i], fn))\n return false;\n }\n }\n return true;\n};\n/**\n * depth first traverse, from leaves to root, children in inverse order\n * if the fn returns false, terminate the traverse\n */\nvar traverseUp = function (data, fn) {\n if (data && data.children) {\n for (var i = data.children.length - 1; i >= 0; i--) {\n if (!traverseUp(data.children[i], fn))\n return;\n }\n }\n if (fn(data) === false) {\n return false;\n }\n return true;\n};\n/**\n * depth first traverse, from root to leaves, children in inverse order\n * if the fn returns false, terminate the traverse\n */\nexport var traverseTree = function (data, fn) {\n if (typeof fn !== 'function') {\n return;\n }\n traverse(data, fn);\n};\n/**\n * depth first traverse, from leaves to root, children in inverse order\n * if the fn returns false, terminate the traverse\n */\nexport var traverseTreeUp = function (data, fn) {\n if (typeof fn !== 'function') {\n return;\n }\n traverseUp(data, fn);\n};\n/**\n *\n * @param data Tree graph data\n * @param layout\n */\nexport var radialLayout = function (data, layout) {\n // 布局方式有 H / V / LR / RL / TB / BT\n var VERTICAL_LAYOUTS = ['V', 'TB', 'BT'];\n var min = {\n x: Infinity,\n y: Infinity,\n };\n var max = {\n x: -Infinity,\n y: -Infinity,\n };\n // 默认布局是垂直布局TB,此时x对应rad,y对应r\n var rScale = 'x';\n var radScale = 'y';\n if (layout && VERTICAL_LAYOUTS.indexOf(layout) >= 0) {\n // 若是水平布局,y对应rad,x对应r\n radScale = 'x';\n rScale = 'y';\n }\n var count = 0;\n traverseTree(data, function (node) {\n count++;\n if (node.x > max.x) {\n max.x = node.x;\n }\n if (node.x < min.x) {\n min.x = node.x;\n }\n if (node.y > max.y) {\n max.y = node.y;\n }\n if (node.y < min.y) {\n min.y = node.y;\n }\n return true;\n });\n var avgRad = (PI * 2) / count;\n var radDiff = max[radScale] - min[radScale];\n if (radDiff === 0) {\n return data;\n }\n traverseTree(data, function (node) {\n var radial = ((node[radScale] - min[radScale]) / radDiff) * (PI * 2 - avgRad) + avgRad;\n var r = Math.abs(rScale === 'x' ? node.x - data.x : node.y - data.y);\n node.x = r * Math.cos(radial);\n node.y = r * Math.sin(radial);\n return true;\n });\n return data;\n};\n/**\n *\n * @param letter the letter\n * @param fontSize\n * @return the letter's width\n */\nexport var getLetterWidth = function (letter, fontSize) {\n return fontSize * (letterAspectRatio[letter] || 1);\n};\n/**\n *\n * @param text the text\n * @param fontSize\n * @return the text's size\n */\nexport var getTextSize = function (text, fontSize) {\n var width = 0;\n var pattern = new RegExp(\"[\\u4E00-\\u9FA5]+\");\n text.split('').forEach(function (letter) {\n if (pattern.test(letter)) {\n // 中文字符\n width += fontSize;\n }\n else {\n width += getLetterWidth(letter, fontSize);\n }\n });\n return [width, fontSize];\n};\n/**\n * construct the trees from combos data\n * @param array the combos array\n * @param nodes the nodes array\n * @return the tree\n */\nexport var plainCombosToTrees = function (array, nodes) {\n var result = [];\n var addedMap = {};\n var modelMap = {};\n array.forEach(function (d) {\n modelMap[d.id] = d;\n });\n array.forEach(function (d, i) {\n var cd = clone(d);\n cd.itemType = 'combo';\n cd.children = undefined;\n if (cd.parentId === cd.id) {\n console.warn(\"The parentId for combo \" + cd.id + \" can not be the same as the combo's id\");\n delete cd.parentId;\n }\n else if (cd.parentId && !modelMap[cd.parentId]) {\n console.warn(\"The parent combo for combo \" + cd.id + \" does not exist!\");\n delete cd.parentId;\n }\n var mappedObj = addedMap[cd.id];\n if (mappedObj) {\n cd.children = mappedObj.children;\n addedMap[cd.id] = cd;\n mappedObj = cd;\n if (!mappedObj.parentId) {\n result.push(mappedObj);\n return;\n }\n var mappedParent = addedMap[mappedObj.parentId];\n if (mappedParent) {\n if (mappedParent.children)\n mappedParent.children.push(cd);\n else\n mappedParent.children = [cd];\n }\n else {\n var parent = {\n id: mappedObj.parentId,\n children: [mappedObj],\n };\n addedMap[mappedObj.parentId] = parent;\n addedMap[cd.id] = cd;\n }\n return;\n }\n if (isString(d.parentId)) {\n var parent = addedMap[d.parentId];\n if (parent) {\n if (parent.children)\n parent.children.push(cd);\n else\n parent.children = [cd];\n addedMap[cd.id] = cd;\n }\n else {\n var pa = {\n id: d.parentId,\n children: [cd],\n };\n addedMap[pa.id] = pa;\n addedMap[cd.id] = cd;\n }\n }\n else {\n result.push(cd);\n addedMap[cd.id] = cd;\n }\n });\n // proccess the nodes\n var nodeMap = {};\n (nodes || []).forEach(function (node) {\n nodeMap[node.id] = node;\n var combo = addedMap[node.comboId];\n if (combo) {\n var cnode = {\n id: node.id,\n comboId: node.comboId,\n };\n if (combo.children)\n combo.children.push(cnode);\n else\n combo.children = [cnode];\n cnode.itemType = 'node';\n addedMap[node.id] = cnode;\n }\n });\n // assign the depth for each element\n var maxDepth = 0;\n result.forEach(function (tree) {\n tree.depth = maxDepth + 10;\n traverse(tree, function (child) {\n var parent;\n var itemType = addedMap[child.id].itemType;\n if (itemType === 'node') {\n parent = addedMap[child.comboId];\n }\n else {\n parent = addedMap[child.parentId];\n }\n if (parent) {\n if (itemType === 'node')\n child.depth = maxDepth + 1;\n else\n child.depth = maxDepth + 10;\n }\n else {\n child.depth = maxDepth + 10;\n }\n if (maxDepth < child.depth)\n maxDepth = child.depth;\n var oriNodeModel = nodeMap[child.id];\n if (oriNodeModel) {\n oriNodeModel.depth = child.depth;\n }\n return true;\n });\n });\n return result;\n};\nexport var reconstructTree = function (trees, subtreeId, newParentId) {\n var brothers = trees;\n var subtree;\n var comboChildsMap = {\n root: {\n children: trees,\n },\n };\n var foundSubTree = false;\n var oldParentId = 'root';\n (trees || []).forEach(function (tree) {\n if (foundSubTree)\n return;\n if (tree.id === subtreeId) {\n subtree = tree;\n if (tree.itemType === 'combo') {\n subtree.parentId = newParentId;\n }\n else {\n subtree.comboId = newParentId;\n }\n foundSubTree = true;\n return;\n }\n traverseTree(tree, function (child) {\n comboChildsMap[child.id] = {\n children: child.children,\n };\n // store the old parent id to delete the subtree from the old parent's children in next recursion\n brothers = comboChildsMap[child.parentId || child.comboId || 'root'].children;\n if (child && (child.removed || subtreeId === child.id) && brothers) {\n oldParentId = child.parentId || child.comboId || 'root';\n subtree = child;\n // re-assign the parentId or comboId for the moved subtree\n if (child.itemType === 'combo') {\n subtree.parentId = newParentId;\n }\n else {\n subtree.comboId = newParentId;\n }\n foundSubTree = true;\n return false;\n }\n return true;\n });\n });\n brothers = comboChildsMap[oldParentId].children;\n var index = brothers ? brothers.indexOf(subtree) : -1;\n if (index > -1)\n brothers.splice(index, 1);\n // 如果遍历完整棵树还没有找到,说明之前就不在树中\n if (!foundSubTree) {\n subtree = {\n id: subtreeId,\n itemType: 'node',\n comboId: newParentId,\n };\n comboChildsMap[subtreeId] = {\n children: undefined,\n };\n }\n // append to new parent\n if (subtreeId) {\n var found_1 = false;\n // newParentId is undefined means the subtree will have no parent\n if (newParentId) {\n var newParentDepth_1 = 0;\n (trees || []).forEach(function (tree) {\n if (found_1)\n return; // terminate\n traverseTree(tree, function (child) {\n // append subtree to the new parent ans assign the depth to the subtree\n if (newParentId === child.id) {\n found_1 = true;\n if (child.children)\n child.children.push(subtree);\n else\n child.children = [subtree];\n newParentDepth_1 = child.depth;\n if (subtree.itemType === 'node')\n subtree.depth = newParentDepth_1 + 2;\n else\n subtree.depth = newParentDepth_1 + 1;\n return false; // terminate\n }\n return true;\n });\n });\n }\n else if ((!newParentId || !found_1) && subtree.itemType !== 'node') {\n // if the newParentId is undefined or it is not found in the tree, add the subTree to the root\n trees.push(subtree);\n }\n // update the depth of the subtree and its children from the subtree\n var currentDepth_1 = subtree.depth;\n traverseTree(subtree, function (child) {\n if (child.itemType === 'node')\n currentDepth_1 += 2;\n else\n currentDepth_1 += 1;\n child.depth = currentDepth_1;\n return true;\n });\n }\n return trees;\n};\nexport var getComboBBox = function (children, graph) {\n var comboBBox = {\n minX: Infinity,\n minY: Infinity,\n maxX: -Infinity,\n maxY: -Infinity,\n x: undefined,\n y: undefined,\n width: undefined,\n height: undefined,\n centerX: undefined,\n centerY: undefined,\n };\n if (!children || children.length === 0) {\n return comboBBox;\n }\n children.forEach(function (child) {\n var childItem = graph.findById(child.id);\n if (!childItem || !childItem.isVisible())\n return; // ignore hidden children\n childItem.set('bboxCanvasCache', undefined);\n var childBBox = childItem.getCanvasBBox();\n if (childBBox.x && comboBBox.minX > childBBox.minX)\n comboBBox.minX = childBBox.minX;\n if (childBBox.y && comboBBox.minY > childBBox.minY)\n comboBBox.minY = childBBox.minY;\n if (childBBox.x && comboBBox.maxX < childBBox.maxX)\n comboBBox.maxX = childBBox.maxX;\n if (childBBox.y && comboBBox.maxY < childBBox.maxY)\n comboBBox.maxY = childBBox.maxY;\n });\n comboBBox.x = (comboBBox.minX + comboBBox.maxX) / 2;\n comboBBox.y = (comboBBox.minY + comboBBox.maxY) / 2;\n comboBBox.width = comboBBox.maxX - comboBBox.minX;\n comboBBox.height = comboBBox.maxY - comboBBox.minY;\n comboBBox.centerX = (comboBBox.minX + comboBBox.maxX) / 2;\n comboBBox.centerY = (comboBBox.minY + comboBBox.maxY) / 2;\n Object.keys(comboBBox).forEach(function (key) {\n if (comboBBox[key] === Infinity || comboBBox[key] === -Infinity) {\n comboBBox[key] = undefined;\n }\n });\n return comboBBox;\n};\nexport var getChartRegion = function (params) {\n var group = params.group, height = params.height, width = params.width, x = params.x, y = params.y;\n var canvas = group.get('canvas');\n var canvasWidth = canvas.get('width');\n var canvasHeight = canvas.get('height');\n var region = {\n start: {\n x: 0,\n y: 0,\n },\n end: {\n x: 0,\n y: 0,\n },\n };\n region.start.x = x / canvasWidth;\n region.start.y = y / canvasHeight;\n region.end.x = (x + width) / canvasWidth;\n region.end.y = (y + height) / canvasHeight;\n return region;\n};\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/letterAspectRatio.ts", "name": "./src/util/letterAspectRatio.ts", "index": 208, "index2": 199, "size": 2385, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts", "issuerId": null, "issuerName": "./src/util/graphic.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts", "name": "./src/util/graphic.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } } ], "profile": { "factory": 1277, "building": 287 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts", "module": "./src/util/graphic.ts", "moduleName": "./src/util/graphic.ts", "type": "harmony side effect evaluation", "userRequest": "./letterAspectRatio", "loc": "5:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/graphic.ts", "module": "./src/util/graphic.ts", "moduleName": "./src/util/graphic.ts", "type": "harmony import specifier", "userRequest": "./letterAspectRatio", "loc": "362:23-40" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "export default {\n ' ': 0.3329986572265625,\n a: 0.5589996337890625,\n A: 0.6569992065429687,\n b: 0.58599853515625,\n B: 0.6769989013671875,\n c: 0.5469985961914062,\n C: 0.7279998779296875,\n d: 0.58599853515625,\n D: 0.705999755859375,\n e: 0.554998779296875,\n E: 0.63699951171875,\n f: 0.37299957275390627,\n F: 0.5769989013671875,\n g: 0.5909988403320312,\n G: 0.7479995727539063,\n h: 0.555999755859375,\n H: 0.7199996948242188,\n i: 0.255999755859375,\n I: 0.23699951171875,\n j: 0.26699981689453123,\n J: 0.5169998168945312,\n k: 0.5289993286132812,\n K: 0.6899993896484375,\n l: 0.23499908447265624,\n L: 0.5879989624023437,\n m: 0.854998779296875,\n M: 0.8819992065429687,\n n: 0.5589996337890625,\n N: 0.7189987182617188,\n o: 0.58599853515625,\n O: 0.7669998168945312,\n p: 0.58599853515625,\n P: 0.6419998168945312,\n q: 0.58599853515625,\n Q: 0.7669998168945312,\n r: 0.3649993896484375,\n R: 0.6759994506835938,\n s: 0.504998779296875,\n S: 0.6319992065429687,\n t: 0.354998779296875,\n T: 0.6189987182617187,\n u: 0.5599990844726562,\n U: 0.7139999389648437,\n v: 0.48199920654296874,\n V: 0.6389999389648438,\n w: 0.754998779296875,\n W: 0.929998779296875,\n x: 0.5089996337890625,\n X: 0.63699951171875,\n y: 0.4959991455078125,\n Y: 0.66199951171875,\n z: 0.48699951171875,\n Z: 0.6239990234375,\n '0': 0.6,\n '1': 0.40099945068359377,\n '2': 0.6,\n '3': 0.6,\n '4': 0.6,\n '5': 0.6,\n '6': 0.6,\n '7': 0.5469985961914062,\n '8': 0.6,\n '9': 0.6,\n '[': 0.3329986572265625,\n ']': 0.3329986572265625,\n ',': 0.26399993896484375,\n '.': 0.26399993896484375,\n ';': 0.26399993896484375,\n ':': 0.26399993896484375,\n '{': 0.3329986572265625,\n '}': 0.3329986572265625,\n '\\\\': 0.5,\n '|': 0.19499969482421875,\n '=': 0.604998779296875,\n '+': 0.604998779296875,\n '-': 0.604998779296875,\n _: 0.5,\n '`': 0.3329986572265625,\n ' ~': 0.8329986572265625,\n '!': 0.3329986572265625,\n '@': 0.8579986572265625,\n '#': 0.6,\n $: 0.6,\n '%': 0.9699996948242188,\n '^': 0.517999267578125,\n '&': 0.7259994506835937,\n '*': 0.505999755859375,\n '(': 0.3329986572265625,\n ')': 0.3329986572265625,\n '<': 0.604998779296875,\n '>': 0.604998779296875,\n '/': 0.5,\n '?': 0.53699951171875,\n};\n" } ], "filteredModules": 0 }, { "id": 6, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts 55fa9e8ae907325608af582de98fcaab", "name": "./src/shape/shape.ts + 1 modules", "index": 205, "index2": 202, "size": 24058, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "./shape", "loc": "1:0-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../shape", "loc": "2:0-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../shape", "loc": "3:0-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../shape", "loc": "4:0-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "./shape", "loc": "4:0-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../shape", "loc": "4:0-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../shape", "loc": "4:0-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../shape", "loc": "5:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../shape", "loc": "5:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "./shape", "loc": "5:0-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../shape", "loc": "6:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../shape", "loc": "6:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../shape", "loc": "6:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "9:15-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "./shape", "loc": "12:0-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "143:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "273:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "325:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "327:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "334:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "340:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "426:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "453:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "490:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "511:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "531:0-5" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../shape/shape", "loc": "3:0-35" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../shape/shape", "loc": "203:27-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../shape/shape", "loc": "205:27-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../shape/shape", "loc": "269:27-32" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_tslib@2.0.3@tslib/tslib.es6.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/util/graphic.ts because of ./src/index.ts" ], "depth": 2, "modules": [ { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts", "name": "./src/shape/shape.ts", "index": 205, "index2": 202, "size": 7099, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "issuerId": null, "issuerName": "./src/shape/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 1776, "building": 65, "dependencies": 2105 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "./shape", "loc": "1:0-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../shape", "loc": "2:0-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../shape", "loc": "3:0-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../shape", "loc": "4:0-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../shape", "loc": "4:0-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "./shape", "loc": "4:0-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../shape", "loc": "4:0-29" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../shape", "loc": "5:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../shape", "loc": "5:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "./shape", "loc": "5:0-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../shape", "loc": "6:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../shape", "loc": "6:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../shape", "loc": "6:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "9:15-20" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "./shape", "loc": "12:0-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "143:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "273:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "325:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "327:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "334:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "340:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "426:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "453:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "490:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "511:0-5" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "./shape", "loc": "531:0-5" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../shape/shape", "loc": "3:0-35" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../shape/shape", "loc": "203:27-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../shape/shape", "loc": "205:27-32" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../shape/shape", "loc": "269:27-32" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 2, "source": "import { __assign } from \"tslib\";\nimport { upperFirst } from '@antv/util';\nimport { createNodeFromXML } from './xml';\nvar cache = {}; // ucfirst 开销过大,进行缓存\n// 首字母大写\nfunction ucfirst(str) {\n if (!cache[str]) {\n cache[str] = upperFirst(str);\n }\n return cache[str];\n}\n/**\n * 工厂方法的基类\n * @type Shape.FactoryBase\n */\nvar ShapeFactoryBase = {\n /**\n * 默认的形状,当没有指定/匹配 shapeType 时,使用默认的\n * @type {String}\n */\n defaultShapeType: 'defaultType',\n /**\n * 形状的 className,用于搜索\n * @type {String}\n */\n className: null,\n /**\n * 获取绘制 Shape 的工具类,无状态\n * @param {String} type 类型\n * @return {Shape} 工具类\n */\n getShape: function (type) {\n var self = this;\n var shape = self[type] || self[self.defaultShapeType];\n return shape;\n },\n /**\n * 绘制图形\n * @param {String} type 类型\n * @param {Object} cfg 配置项\n * @param {G.Group} group 图形的分组\n * @return {IShape} 图形对象\n */\n draw: function (type, cfg, group) {\n var shape = this.getShape(type);\n var rst = shape.draw(cfg, group);\n if (shape.afterDraw) {\n shape.afterDraw(cfg, group, rst);\n }\n return rst;\n },\n /**\n * 更新\n * @param {String} type 类型\n * @param {Object} cfg 配置项\n * @param {G6.Item} item 节点、边、分组等\n */\n baseUpdate: function (type, cfg, item) {\n var shape = this.getShape(type);\n if (shape.update) {\n // 防止没定义 update 函数\n shape.update(cfg, item);\n }\n if (shape.afterUpdate) {\n shape.afterUpdate(cfg, item);\n }\n },\n /**\n * 设置状态\n * @param {String} type 类型\n * @param {String} name 状态名\n * @param {String | Boolean} value 状态值\n * @param {G6.Item} item 节点、边、分组等\n */\n setState: function (type, name, value, item) {\n var shape = this.getShape(type);\n // 调用 shape/shapeBase.ts 中的 setState 方法\n shape.setState(name, value, item);\n },\n /**\n * 是否允许更新,不重新绘制图形\n * @param {String} type 类型\n * @return {Boolean} 是否允许使用更新\n */\n shouldUpdate: function (type) {\n var shape = this.getShape(type);\n return !!shape.update;\n },\n getControlPoints: function (type, cfg) {\n var shape = this.getShape(type);\n return shape.getControlPoints(cfg);\n },\n /**\n * 获取控制点\n * @param {String} type 节点、边类型\n * @param {Object} cfg 节点、边的配置项\n * @return {Array|null} 控制点的数组,如果为 null,则没有控制点\n */\n getAnchorPoints: function (type, cfg) {\n var shape = this.getShape(type);\n return shape.getAnchorPoints(cfg);\n },\n};\n/**\n * 元素的框架\n */\nvar ShapeFramework = {\n // 默认样式及配置\n options: {},\n /**\n * 绘制\n */\n draw: function (cfg, group) {\n return this.drawShape(cfg, group);\n },\n /**\n * 绘制\n */\n drawShape: function ( /* cfg, group */) { },\n /**\n * 绘制完成后的操作,便于用户继承现有的节点、边\n */\n afterDraw: function ( /* cfg, group */) { },\n // update(cfg, item) // 默认不定义\n afterUpdate: function ( /* cfg, item */) { },\n /**\n * 设置节点、边状态\n */\n setState: function ( /* name, value, item */) { },\n /**\n * 获取控制点\n * @param {Object} cfg 节点、边的配置项\n * @return {Array|null} 控制点的数组,如果为 null,则没有控制点\n */\n getControlPoints: function (cfg) {\n return cfg.controlPoints;\n },\n /**\n * 获取控制点\n * @param {Object} cfg 节点、边的配置项\n * @return {Array|null} 控制点的数组,如果为 null,则没有控制点\n */\n getAnchorPoints: function (cfg) {\n var defaultAnchorPoints = this.options.anchorPoints;\n var anchorPoints = cfg.anchorPoints || defaultAnchorPoints;\n return anchorPoints;\n },\n};\nvar Shape = /** @class */ (function () {\n function Shape() {\n }\n Shape.registerFactory = function (factoryType, cfg) {\n var className = ucfirst(factoryType);\n var factoryBase = ShapeFactoryBase;\n var shapeFactory = __assign(__assign({}, factoryBase), cfg);\n Shape[className] = shapeFactory;\n shapeFactory.className = className;\n return shapeFactory;\n };\n Shape.getFactory = function (factoryType) {\n var className = ucfirst(factoryType);\n return Shape[className];\n };\n Shape.registerNode = function (shapeType, nodeDefinition, extendShapeType) {\n var shapeFactory = Shape.Node;\n var shapeObj;\n if (typeof nodeDefinition === 'string' || typeof nodeDefinition === 'function') {\n var autoNodeDefinition = createNodeFromXML(nodeDefinition);\n shapeObj = __assign(__assign({}, shapeFactory.getShape('single-node')), autoNodeDefinition);\n }\n else if (nodeDefinition.jsx) {\n var jsx = nodeDefinition.jsx;\n var autoNodeDefinition = createNodeFromXML(jsx);\n shapeObj = __assign(__assign(__assign({}, shapeFactory.getShape('single-node')), autoNodeDefinition), nodeDefinition);\n }\n else {\n var extendShape = extendShapeType ? shapeFactory.getShape(extendShapeType) : ShapeFramework;\n shapeObj = __assign(__assign({}, extendShape), nodeDefinition);\n }\n shapeObj.type = shapeType;\n shapeObj.itemType = 'node';\n shapeFactory[shapeType] = shapeObj;\n return shapeObj;\n };\n Shape.registerEdge = function (shapeType, edgeDefinition, extendShapeType) {\n var shapeFactory = Shape.Edge;\n var extendShape = extendShapeType ? shapeFactory.getShape(extendShapeType) : ShapeFramework;\n var shapeObj = __assign(__assign({}, extendShape), edgeDefinition);\n shapeObj.type = shapeType;\n shapeObj.itemType = 'edge';\n shapeFactory[shapeType] = shapeObj;\n return shapeObj;\n };\n Shape.registerCombo = function (shapeType, comboDefinition, extendShapeType) {\n var shapeFactory = Shape.Combo;\n var extendShape = extendShapeType ? shapeFactory.getShape(extendShapeType) : ShapeFramework;\n var shapeObj = __assign(__assign({}, extendShape), comboDefinition);\n shapeObj.type = shapeType;\n shapeObj.itemType = 'combo';\n shapeFactory[shapeType] = shapeObj;\n return shapeObj;\n };\n return Shape;\n}());\nexport default Shape;\n// 注册 Node 的工厂方法\nShape.registerFactory('node', {\n defaultShapeType: 'circle',\n});\n// 注册 Edge 的工厂方法\nShape.registerFactory('edge', {\n defaultShapeType: 'line',\n});\n// 注册 Combo 的工厂方法\nShape.registerFactory('combo', {\n defaultShapeType: 'circle',\n});\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/xml.ts", "name": "./src/shape/xml.ts", "index": 206, "index2": 201, "size": 16944, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts", "issuerId": null, "issuerName": "./src/shape/shape.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts", "name": "./src/shape/shape.ts", "profile": { "factory": 1776, "building": 65, "dependencies": 2105 } } ], "profile": { "factory": 2105, "building": 191, "dependencies": 1028 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts", "module": "./src/shape/shape.ts", "moduleName": "./src/shape/shape.ts", "type": "harmony side effect evaluation", "userRequest": "./xml", "loc": "3:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts", "module": "./src/shape/shape.ts", "moduleName": "./src/shape/shape.ts", "type": "harmony import specifier", "userRequest": "./xml", "loc": "168:37-54" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shape.ts", "module": "./src/shape/shape.ts", "moduleName": "./src/shape/shape.ts", "type": "harmony import specifier", "userRequest": "./xml", "loc": "173:37-54" } ], "usedExports": ["createNodeFromXML"], "providedExports": [ "xmlDataRenderer", "parseXML", "getBBox", "generateTarget", "compareTwoTarget", "createNodeFromXML" ], "optimizationBailout": [], "depth": 3, "source": "/**\n * @fileOverview 从xml建立自定义Node,包含update\n * @author xuzhi.mxz@antfin.com\n */\nimport { __assign, __rest } from \"tslib\";\nimport { get } from '@antv/util';\nimport { getTextSize } from '../util/graphic';\n/**\n * 一种更宽松的JSON 解析,如果遇到不符合规范的字段会直接转为字符串\n * @param text json 内容\n */\nfunction looseJSONParse(text) {\n if (typeof text !== 'string') {\n return text;\n }\n var safeParse = function (str) {\n if (typeof str !== 'string') {\n return str;\n }\n try {\n return JSON.parse(str.trim());\n }\n catch (e) {\n return str.trim();\n }\n };\n var firstAttempt = safeParse(text);\n if (typeof firstAttempt !== 'string') {\n return firstAttempt;\n }\n var tail = function (arr) { return arr[arr.length - 1]; };\n var str = text.trim();\n var objectStack = [];\n var syntaxStack = [];\n var isLastPair = function () {\n var syntaxes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n syntaxes[_i] = arguments[_i];\n }\n return syntaxes.some(function (syntax) { return tail(syntaxStack) === syntax; });\n };\n var getValueStore = function () { return tail(objectStack); };\n var rst = null;\n var i = 0;\n var temp = '';\n while (i < str.length) {\n var nowChar = str[i];\n var isInString = isLastPair('\"', \"'\");\n if (!isInString && !nowChar.trim()) {\n i += 1;\n continue;\n }\n var isLastTranslate = str[i - 1] === '\\\\';\n var isInObject = isLastPair('}');\n var isInArray = isLastPair(']');\n var isWaitingValue = isLastPair(',');\n var tempArr = getValueStore();\n if (isInString) {\n if (tail(syntaxStack) === nowChar && !isLastTranslate) {\n syntaxStack.pop();\n var value = safeParse(temp);\n tempArr.push(value);\n rst = value;\n temp = '';\n }\n else {\n temp += nowChar;\n }\n }\n else if (isInArray && nowChar === ',') {\n if (temp) {\n tempArr.push(safeParse(temp));\n temp = '';\n }\n }\n else if (isInObject && nowChar === ':') {\n syntaxStack.push(',');\n if (temp) {\n tempArr.push(temp);\n temp = '';\n }\n }\n else if (isWaitingValue && nowChar === ',') {\n if (temp) {\n tempArr.push(safeParse(temp));\n temp = '';\n }\n syntaxStack.pop();\n }\n else if (nowChar === '}' && (isInObject || isWaitingValue)) {\n if (temp) {\n tempArr.push(safeParse(temp));\n temp = '';\n }\n if (isWaitingValue) {\n syntaxStack.pop();\n }\n var obj = {};\n for (var c = 1; c < tempArr.length; c += 2) {\n obj[tempArr[c - 1]] = tempArr[c];\n }\n objectStack.pop();\n if (objectStack.length) {\n tail(objectStack).push(obj);\n }\n syntaxStack.pop();\n rst = obj;\n }\n else if (nowChar === ']' && isInArray) {\n if (temp) {\n tempArr.push(safeParse(temp));\n temp = '';\n }\n objectStack.pop();\n if (objectStack.length) {\n tail(objectStack).push(tempArr);\n }\n syntaxStack.pop();\n rst = tempArr;\n }\n else if (nowChar === '{') {\n objectStack.push([]);\n syntaxStack.push('}');\n }\n else if (nowChar === '[') {\n objectStack.push([]);\n syntaxStack.push(']');\n }\n else if (nowChar === '\"') {\n syntaxStack.push('\"');\n }\n else if (nowChar === \"'\") {\n syntaxStack.push(\"'\");\n }\n else {\n temp += nowChar;\n }\n i += 1;\n }\n return rst || temp;\n}\nvar keyConvert = function (str) {\n return str.split('-').reduce(function (a, b) { return a + b.charAt(0).toUpperCase() + b.slice(1); });\n};\n/**\n * 简单的一个{{}}模板渲染,不包含任何复杂语法\n * @param xml\n */\nexport var xmlDataRenderer = function (xml) { return function (data) {\n var len = xml.length;\n var arr = [];\n var i = 0;\n var tmp = '';\n while (i < len) {\n if (xml[i] === '{' && xml[i + 1] === '{') {\n arr.push(tmp);\n tmp = '';\n i += 2;\n }\n else if (xml[i] === '}' && xml[i + 1] === '}') {\n if (arr.length) {\n var last = arr.pop();\n tmp = get(data, tmp, last.endsWith('=') ? \"\\\"{\" + tmp + \"}\\\"\" : tmp);\n arr.push(last + tmp);\n }\n i += 2;\n tmp = '';\n }\n else {\n tmp += xml[i];\n i += 1;\n }\n }\n arr.push(tmp);\n return arr\n .map(function (e, index) { return (arr[index - 1] && arr[index - 1].endsWith('=') ? \"\\\"{\" + e + \"}\\\"\" : e); })\n .join('');\n}; };\n/**\n * 解析XML,并转化为相应的JSON结构\n * @param xml xml解析后的节点\n */\nexport function parseXML(xml, cfg) {\n var attrs = {};\n var keys = (xml.getAttributeNames && xml.getAttributeNames()) || [];\n var children = xml.children && Array.from(xml.children).map(function (e) { return parseXML(e, cfg); });\n var rst = {};\n var tagName = xml.tagName ? xml.tagName.toLowerCase() : 'group';\n if (tagName === 'text') {\n attrs.text = xml.innerText;\n }\n rst.type = tagName;\n if (tagName === 'img') {\n rst.type = 'image';\n }\n Array.from(keys).forEach(function (k) {\n var key = keyConvert(k);\n var val = xml.getAttribute(k);\n try {\n if (key === 'style' || key === 'attrs') {\n var style = looseJSONParse(val);\n attrs = __assign(__assign({}, attrs), style);\n }\n else {\n rst[key] = looseJSONParse(val);\n }\n }\n catch (e) {\n if (key === 'style') {\n throw e;\n }\n rst[key] = val;\n }\n });\n rst.attrs = attrs;\n if (cfg && cfg.style && rst.name && typeof cfg.style[rst.name] === 'object') {\n rst.attrs = __assign(__assign({}, rst.attrs), cfg.style[rst.name]);\n }\n if (cfg && cfg.style && rst.keyshape) {\n rst.attrs = __assign(__assign({}, rst.attrs), cfg.style);\n }\n if (children.length) {\n rst.children = children;\n }\n return rst;\n}\n/**\n * 根据偏移量和内部节点最终的bounding box来得出该shape最终的bbox\n */\nexport function getBBox(node, offset, chilrenBBox) {\n var _a = node.attrs, attrs = _a === void 0 ? {} : _a;\n var bbox = {\n x: offset.x || 0,\n y: offset.y || 0,\n width: chilrenBBox.width || 0,\n height: chilrenBBox.height || 0,\n };\n var shapeHeight, shapeWidth;\n switch (node.type) {\n case 'maker':\n case 'circle':\n if (attrs.r) {\n shapeWidth = 2 * attrs.r;\n shapeHeight = 2 * attrs.r;\n }\n break;\n case 'text':\n if (attrs.text) {\n shapeWidth = getTextSize(attrs.text, attrs.fontSize || 12)[0];\n shapeHeight = 16;\n bbox.y += shapeHeight;\n bbox.height = shapeHeight;\n bbox.width = shapeWidth;\n node.attrs = __assign({ fontSize: 12, fill: '#000' }, attrs);\n }\n break;\n default:\n if (attrs.width) {\n shapeWidth = attrs.width;\n }\n if (attrs.height) {\n shapeHeight = attrs.height;\n }\n }\n if (shapeHeight >= 0) {\n bbox.height = shapeHeight;\n }\n if (shapeWidth >= 0) {\n bbox.width = shapeWidth;\n }\n if (attrs.marginTop) {\n bbox.y += attrs.marginTop;\n }\n if (attrs.marginLeft) {\n bbox.x += attrs.marginLeft;\n }\n return bbox;\n}\n/**\n * 把从xml计算出的结构填上位置信息,补全attrs\n * @param target\n * @param lastOffset\n */\nexport function generateTarget(target, lastOffset) {\n var _a;\n if (lastOffset === void 0) { lastOffset = { x: 0, y: 0 }; }\n var defaultBbox = __assign({ x: 0, y: 0, width: 0, height: 0 }, lastOffset);\n if ((_a = target.children) === null || _a === void 0 ? void 0 : _a.length) {\n var _b = target.attrs, attrs = _b === void 0 ? {} : _b;\n var marginTop = attrs.marginTop;\n var offset = __assign({}, lastOffset);\n if (marginTop) {\n offset.y += marginTop;\n }\n for (var index = 0; index < target.children.length; index++) {\n target.children[index].attrs.key = (attrs.key || 'root') + \" -\" + index + \" \";\n var node = generateTarget(target.children[index], offset);\n if (node.bbox) {\n var bbox = node.bbox;\n if (node.attrs.next === 'inline') {\n offset.x += node.bbox.width;\n }\n else {\n offset.y += node.bbox.height;\n }\n if (bbox.width + bbox.x > defaultBbox.width) {\n defaultBbox.width = bbox.width + bbox.x;\n }\n if (bbox.height + bbox.y > defaultBbox.height) {\n defaultBbox.height = bbox.height + bbox.y;\n }\n }\n }\n }\n target.bbox = getBBox(target, lastOffset, defaultBbox);\n target.attrs = __assign(__assign({}, target.attrs), target.bbox);\n return target;\n}\n/**\n * 对比前后两个最终计算出来的node,并对比出最小改动,\n * 动作: 'add' 添加节点 | ’delete‘ 删除节点 | ’change‘ 改变节点attrs | 'restructure' 重构节点\n * @param nowTarget\n * @param formerTarget\n */\nexport function compareTwoTarget(nowTarget, formerTarget) {\n var _a, _b, _c, _d;\n var type = (nowTarget || {}).type;\n var key = ((formerTarget === null || formerTarget === void 0 ? void 0 : formerTarget.attrs) || {}).key;\n if (key && nowTarget) {\n nowTarget.attrs.key = key;\n }\n if (!nowTarget && formerTarget) {\n return {\n action: 'delete',\n val: formerTarget,\n type: type,\n key: key,\n };\n }\n if (nowTarget && !formerTarget) {\n return {\n action: 'add',\n val: nowTarget,\n type: type,\n };\n }\n if (!nowTarget && !formerTarget) {\n return {\n action: 'same',\n type: type,\n };\n }\n var children = [];\n if (((_a = nowTarget.children) === null || _a === void 0 ? void 0 : _a.length) > 0 || ((_b = formerTarget.children) === null || _b === void 0 ? void 0 : _b.length) > 0) {\n var length = Math.max((_c = nowTarget.children) === null || _c === void 0 ? void 0 : _c.length, (_d = formerTarget.children) === null || _d === void 0 ? void 0 : _d.length);\n var formerChilren = formerTarget.children || [];\n var nowChilren = nowTarget.children || [];\n for (var index = 0; index < length; index += 1) {\n children.push(compareTwoTarget(nowChilren[index], formerChilren[index]));\n }\n }\n var formerKeys = Object.keys(formerTarget.attrs);\n var nowKeys = Object.keys(nowTarget.attrs);\n if (formerTarget.type !== nowTarget.type) {\n return {\n action: 'restructure',\n nowTarget: nowTarget,\n formerTarget: formerTarget,\n key: key,\n children: children,\n };\n }\n if (formerKeys\n .filter(function (e) { return e !== 'children'; })\n .some(function (e) { return nowTarget.attrs[e] !== formerTarget.attrs[e] || !nowKeys.includes(e); })) {\n return {\n action: 'change',\n val: nowTarget,\n children: children,\n type: type,\n key: key,\n };\n }\n return {\n action: 'same',\n children: children,\n type: type,\n key: key,\n };\n}\n/**\n * 根据xml或者返回xml的函数构建自定义节点的结构\n * @param gen\n */\nexport function createNodeFromXML(gen) {\n var structures = {};\n var compileXML = function (cfg) {\n var rawStr = typeof gen === 'function' ? gen(cfg) : gen;\n var target = xmlDataRenderer(rawStr)(cfg);\n var xmlParser = document.createElement('div');\n xmlParser.innerHTML = target;\n var xml = xmlParser.children[0];\n var result = generateTarget(parseXML(xml, cfg));\n xmlParser.remove();\n return result;\n };\n return {\n draw: function (cfg, group) {\n var resultTarget = compileXML(cfg);\n var keyshape = group;\n var renderTarget = function (target) {\n var _a = target.attrs, attrs = _a === void 0 ? {} : _a, bbox = target.bbox, type = target.type, children = target.children, rest = __rest(target, [\"attrs\", \"bbox\", \"type\", \"children\"]);\n if (target.type !== 'group') {\n var shape = group.addShape(target.type, __assign({ attrs: attrs, origin: {\n bbox: bbox,\n type: type,\n children: children,\n } }, rest));\n if (target.keyshape) {\n keyshape = shape;\n }\n }\n if (target.children) {\n target.children.forEach(function (n) { return renderTarget(n); });\n }\n };\n renderTarget(resultTarget);\n structures[cfg.id] = [resultTarget];\n return keyshape;\n },\n update: function (cfg, node) {\n if (!structures[cfg.id]) {\n structures[cfg.id] = [];\n }\n var container = node.getContainer();\n var children = container.get('children');\n var newTarget = compileXML(cfg);\n var lastTarget = structures[cfg.id].pop();\n var diffResult = compareTwoTarget(newTarget, lastTarget);\n var addShape = function (shape) {\n var _a;\n if (shape.type !== 'group') {\n container.addShape(shape.type, { attrs: shape.attrs });\n }\n if ((_a = shape.children) === null || _a === void 0 ? void 0 : _a.length) {\n shape.children.map(function (e) { return addShape(e); });\n }\n };\n var delShape = function (shape) {\n var _a;\n var targetShape = children.find(function (e) { return e.attrs.key === shape.attrs.key; });\n if (targetShape) {\n container.removeChild(targetShape);\n }\n if ((_a = shape.children) === null || _a === void 0 ? void 0 : _a.length) {\n shape.children.map(function (e) { return delShape(e); });\n }\n };\n var updateTarget = function (target) {\n var key = target.key;\n if (target.type !== 'group') {\n var targetShape = children.find(function (e) { return e.attrs.key === key; });\n switch (target.action) {\n case 'change':\n if (targetShape) {\n var originAttr = target.val.keyshape ? node.getOriginStyle() : {};\n targetShape.attr(__assign(__assign({}, originAttr), target.val.attrs));\n }\n break;\n case 'add':\n addShape(target.val);\n break;\n case 'delete':\n delShape(target.val);\n break;\n case 'restructure':\n delShape(target.formerTarget);\n addShape(target.nowTarget);\n break;\n default:\n break;\n }\n }\n if (target.children) {\n target.children.forEach(function (n) { return updateTarget(n); });\n }\n };\n updateTarget(diffResult);\n structures[cfg.id].push(newTarget);\n },\n getAnchorPoints: function () {\n return [\n [0, 0.5],\n [1, 0.5],\n [0.5, 1],\n [0.5, 0],\n ];\n },\n };\n}\n" } ], "filteredModules": 0 }, { "id": 7, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "index": 146, "index2": 148, "size": 1214, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "issuerId": null, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } } ], "profile": { "factory": 693, "building": 77, "dependencies": 227 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 21, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "type": "harmony side effect evaluation", "userRequest": "../util/util", "loc": "3:0-35" }, { "moduleId": 21, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "22:16-19" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony side effect evaluation", "userRequest": "../util/util", "loc": "3:0-103" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "64:2-17" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "102:6-10" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "145:6-10" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "210:4-8" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "226:8-16" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "235:18-28" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "256:8-18" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "289:9-23" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "317:10-24" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "375:4-8" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "488:4-8" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "509:4-8" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony side effect evaluation", "userRequest": "../util/util", "loc": "4:0-57" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "310:6-21" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "727:90-98" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "../util/util", "loc": "4:0-58" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "../util/util", "loc": "6:0-46" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "48:8-16" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "51:25-33" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "102:8-17" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "143:4-8" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "143:8-17" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "155:24-29" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "161:4-8" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/util", "loc": "162:11-16" } ], "usedExports": [ "each", "isAllowCapture", "isBrowser", "isFunction", "isNil", "isObject", "isParent", "isString", "mix", "removeFromArray", "upperFirst" ], "providedExports": [ "removeFromArray", "isBrowser", "isNil", "isFunction", "isString", "isObject", "isArray", "mix", "each", "upperFirst", "isParent", "isAllowCapture" ], "optimizationBailout": [], "depth": 4, "source": "export function removeFromArray(arr, obj) {\n var index = arr.indexOf(obj);\n\n if (index !== -1) {\n arr.splice(index, 1);\n }\n}\nexport var isBrowser = typeof window !== 'undefined' && typeof window.document !== 'undefined';\nexport { default as isNil } from '@antv/util/lib/is-nil';\nexport { default as isFunction } from '@antv/util/lib/is-function';\nexport { default as isString } from '@antv/util/lib/is-string';\nexport { default as isObject } from '@antv/util/lib/is-object';\nexport { default as isArray } from '@antv/util/lib/is-array';\nexport { default as mix } from '@antv/util/lib/mix';\nexport { default as each } from '@antv/util/lib/each';\nexport { default as upperFirst } from '@antv/util/lib/upper-first'; // 是否元素的父容器\n\nexport function isParent(container, shape) {\n // 所有 shape 都是 canvas 的子元素\n if (container.isCanvas()) {\n return true;\n }\n\n var parent = shape.getParent();\n var isParent = false;\n\n while (parent) {\n if (parent === container) {\n isParent = true;\n break;\n }\n\n parent = parent.getParent();\n }\n\n return isParent;\n}\nexport function isAllowCapture(element) {\n // @ts-ignore\n return element.cfg.visible && element.cfg.capture;\n}" }, { "id": 8, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/mat3.js", "name": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/mat3.js", "index": 114, "index2": 111, "size": 19986, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/mat3.js", "issuerId": null, "issuerName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/mat3.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/mat3.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/mat3.js", "profile": { "factory": 1667, "building": 225, "dependencies": 394 } } ], "profile": { "factory": 1054, "building": 565, "dependencies": 14 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "1:0-59" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "3:0-14" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "5:2-22" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "6:9-22" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "9:0-11" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "11:2-19" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "12:9-22" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "15:0-10" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "17:2-18" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "18:9-22" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "21:0-14" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "29:8-22" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "33:8-18" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "37:8-19" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/mat3", "loc": "48:15-19" } ], "usedExports": true, "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 4, "source": "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.sub = exports.mul = undefined;\nexports.create = create;\nexports.fromMat4 = fromMat4;\nexports.clone = clone;\nexports.copy = copy;\nexports.fromValues = fromValues;\nexports.set = set;\nexports.identity = identity;\nexports.transpose = transpose;\nexports.invert = invert;\nexports.adjoint = adjoint;\nexports.determinant = determinant;\nexports.multiply = multiply;\nexports.translate = translate;\nexports.rotate = rotate;\nexports.scale = scale;\nexports.fromTranslation = fromTranslation;\nexports.fromRotation = fromRotation;\nexports.fromScaling = fromScaling;\nexports.fromMat2d = fromMat2d;\nexports.fromQuat = fromQuat;\nexports.normalFromMat4 = normalFromMat4;\nexports.projection = projection;\nexports.str = str;\nexports.frob = frob;\nexports.add = add;\nexports.subtract = subtract;\nexports.multiplyScalar = multiplyScalar;\nexports.multiplyScalarAndAdd = multiplyScalarAndAdd;\nexports.exactEquals = exactEquals;\nexports.equals = equals;\n\nvar _common = require('./common.js');\n\nvar glMatrix = _interopRequireWildcard(_common);\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n\n newObj.default = obj;\n return newObj;\n }\n}\n/**\n * 3x3 Matrix\n * @module mat3\n */\n\n/**\n * Creates a new identity mat3\n *\n * @returns {mat3} a new 3x3 matrix\n */\n\n\nfunction create() {\n var out = new glMatrix.ARRAY_TYPE(9);\n\n if (glMatrix.ARRAY_TYPE != Float32Array) {\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n }\n\n out[0] = 1;\n out[4] = 1;\n out[8] = 1;\n return out;\n}\n/**\n * Copies the upper-left 3x3 values into the given mat3.\n *\n * @param {mat3} out the receiving 3x3 matrix\n * @param {mat4} a the source 4x4 matrix\n * @returns {mat3} out\n */\n\n\nfunction fromMat4(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[4];\n out[4] = a[5];\n out[5] = a[6];\n out[6] = a[8];\n out[7] = a[9];\n out[8] = a[10];\n return out;\n}\n/**\n * Creates a new mat3 initialized with values from an existing matrix\n *\n * @param {mat3} a matrix to clone\n * @returns {mat3} a new 3x3 matrix\n */\n\n\nfunction clone(a) {\n var out = new glMatrix.ARRAY_TYPE(9);\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[3];\n out[4] = a[4];\n out[5] = a[5];\n out[6] = a[6];\n out[7] = a[7];\n out[8] = a[8];\n return out;\n}\n/**\n * Copy the values from one mat3 to another\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the source matrix\n * @returns {mat3} out\n */\n\n\nfunction copy(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[3];\n out[4] = a[4];\n out[5] = a[5];\n out[6] = a[6];\n out[7] = a[7];\n out[8] = a[8];\n return out;\n}\n/**\n * Create a new mat3 with the given values\n *\n * @param {Number} m00 Component in column 0, row 0 position (index 0)\n * @param {Number} m01 Component in column 0, row 1 position (index 1)\n * @param {Number} m02 Component in column 0, row 2 position (index 2)\n * @param {Number} m10 Component in column 1, row 0 position (index 3)\n * @param {Number} m11 Component in column 1, row 1 position (index 4)\n * @param {Number} m12 Component in column 1, row 2 position (index 5)\n * @param {Number} m20 Component in column 2, row 0 position (index 6)\n * @param {Number} m21 Component in column 2, row 1 position (index 7)\n * @param {Number} m22 Component in column 2, row 2 position (index 8)\n * @returns {mat3} A new mat3\n */\n\n\nfunction fromValues(m00, m01, m02, m10, m11, m12, m20, m21, m22) {\n var out = new glMatrix.ARRAY_TYPE(9);\n out[0] = m00;\n out[1] = m01;\n out[2] = m02;\n out[3] = m10;\n out[4] = m11;\n out[5] = m12;\n out[6] = m20;\n out[7] = m21;\n out[8] = m22;\n return out;\n}\n/**\n * Set the components of a mat3 to the given values\n *\n * @param {mat3} out the receiving matrix\n * @param {Number} m00 Component in column 0, row 0 position (index 0)\n * @param {Number} m01 Component in column 0, row 1 position (index 1)\n * @param {Number} m02 Component in column 0, row 2 position (index 2)\n * @param {Number} m10 Component in column 1, row 0 position (index 3)\n * @param {Number} m11 Component in column 1, row 1 position (index 4)\n * @param {Number} m12 Component in column 1, row 2 position (index 5)\n * @param {Number} m20 Component in column 2, row 0 position (index 6)\n * @param {Number} m21 Component in column 2, row 1 position (index 7)\n * @param {Number} m22 Component in column 2, row 2 position (index 8)\n * @returns {mat3} out\n */\n\n\nfunction set(out, m00, m01, m02, m10, m11, m12, m20, m21, m22) {\n out[0] = m00;\n out[1] = m01;\n out[2] = m02;\n out[3] = m10;\n out[4] = m11;\n out[5] = m12;\n out[6] = m20;\n out[7] = m21;\n out[8] = m22;\n return out;\n}\n/**\n * Set a mat3 to the identity matrix\n *\n * @param {mat3} out the receiving matrix\n * @returns {mat3} out\n */\n\n\nfunction identity(out) {\n out[0] = 1;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = 1;\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n out[8] = 1;\n return out;\n}\n/**\n * Transpose the values of a mat3\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the source matrix\n * @returns {mat3} out\n */\n\n\nfunction transpose(out, a) {\n // If we are transposing ourselves we can skip a few steps but have to cache some values\n if (out === a) {\n var a01 = a[1],\n a02 = a[2],\n a12 = a[5];\n out[1] = a[3];\n out[2] = a[6];\n out[3] = a01;\n out[5] = a[7];\n out[6] = a02;\n out[7] = a12;\n } else {\n out[0] = a[0];\n out[1] = a[3];\n out[2] = a[6];\n out[3] = a[1];\n out[4] = a[4];\n out[5] = a[7];\n out[6] = a[2];\n out[7] = a[5];\n out[8] = a[8];\n }\n\n return out;\n}\n/**\n * Inverts a mat3\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the source matrix\n * @returns {mat3} out\n */\n\n\nfunction invert(out, a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2];\n var a10 = a[3],\n a11 = a[4],\n a12 = a[5];\n var a20 = a[6],\n a21 = a[7],\n a22 = a[8];\n var b01 = a22 * a11 - a12 * a21;\n var b11 = -a22 * a10 + a12 * a20;\n var b21 = a21 * a10 - a11 * a20; // Calculate the determinant\n\n var det = a00 * b01 + a01 * b11 + a02 * b21;\n\n if (!det) {\n return null;\n }\n\n det = 1.0 / det;\n out[0] = b01 * det;\n out[1] = (-a22 * a01 + a02 * a21) * det;\n out[2] = (a12 * a01 - a02 * a11) * det;\n out[3] = b11 * det;\n out[4] = (a22 * a00 - a02 * a20) * det;\n out[5] = (-a12 * a00 + a02 * a10) * det;\n out[6] = b21 * det;\n out[7] = (-a21 * a00 + a01 * a20) * det;\n out[8] = (a11 * a00 - a01 * a10) * det;\n return out;\n}\n/**\n * Calculates the adjugate of a mat3\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the source matrix\n * @returns {mat3} out\n */\n\n\nfunction adjoint(out, a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2];\n var a10 = a[3],\n a11 = a[4],\n a12 = a[5];\n var a20 = a[6],\n a21 = a[7],\n a22 = a[8];\n out[0] = a11 * a22 - a12 * a21;\n out[1] = a02 * a21 - a01 * a22;\n out[2] = a01 * a12 - a02 * a11;\n out[3] = a12 * a20 - a10 * a22;\n out[4] = a00 * a22 - a02 * a20;\n out[5] = a02 * a10 - a00 * a12;\n out[6] = a10 * a21 - a11 * a20;\n out[7] = a01 * a20 - a00 * a21;\n out[8] = a00 * a11 - a01 * a10;\n return out;\n}\n/**\n * Calculates the determinant of a mat3\n *\n * @param {mat3} a the source matrix\n * @returns {Number} determinant of a\n */\n\n\nfunction determinant(a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2];\n var a10 = a[3],\n a11 = a[4],\n a12 = a[5];\n var a20 = a[6],\n a21 = a[7],\n a22 = a[8];\n return a00 * (a22 * a11 - a12 * a21) + a01 * (-a22 * a10 + a12 * a20) + a02 * (a21 * a10 - a11 * a20);\n}\n/**\n * Multiplies two mat3's\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the first operand\n * @param {mat3} b the second operand\n * @returns {mat3} out\n */\n\n\nfunction multiply(out, a, b) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2];\n var a10 = a[3],\n a11 = a[4],\n a12 = a[5];\n var a20 = a[6],\n a21 = a[7],\n a22 = a[8];\n var b00 = b[0],\n b01 = b[1],\n b02 = b[2];\n var b10 = b[3],\n b11 = b[4],\n b12 = b[5];\n var b20 = b[6],\n b21 = b[7],\n b22 = b[8];\n out[0] = b00 * a00 + b01 * a10 + b02 * a20;\n out[1] = b00 * a01 + b01 * a11 + b02 * a21;\n out[2] = b00 * a02 + b01 * a12 + b02 * a22;\n out[3] = b10 * a00 + b11 * a10 + b12 * a20;\n out[4] = b10 * a01 + b11 * a11 + b12 * a21;\n out[5] = b10 * a02 + b11 * a12 + b12 * a22;\n out[6] = b20 * a00 + b21 * a10 + b22 * a20;\n out[7] = b20 * a01 + b21 * a11 + b22 * a21;\n out[8] = b20 * a02 + b21 * a12 + b22 * a22;\n return out;\n}\n/**\n * Translate a mat3 by the given vector\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the matrix to translate\n * @param {vec2} v vector to translate by\n * @returns {mat3} out\n */\n\n\nfunction translate(out, a, v) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2],\n a10 = a[3],\n a11 = a[4],\n a12 = a[5],\n a20 = a[6],\n a21 = a[7],\n a22 = a[8],\n x = v[0],\n y = v[1];\n out[0] = a00;\n out[1] = a01;\n out[2] = a02;\n out[3] = a10;\n out[4] = a11;\n out[5] = a12;\n out[6] = x * a00 + y * a10 + a20;\n out[7] = x * a01 + y * a11 + a21;\n out[8] = x * a02 + y * a12 + a22;\n return out;\n}\n/**\n * Rotates a mat3 by the given angle\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the matrix to rotate\n * @param {Number} rad the angle to rotate the matrix by\n * @returns {mat3} out\n */\n\n\nfunction rotate(out, a, rad) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2],\n a10 = a[3],\n a11 = a[4],\n a12 = a[5],\n a20 = a[6],\n a21 = a[7],\n a22 = a[8],\n s = Math.sin(rad),\n c = Math.cos(rad);\n out[0] = c * a00 + s * a10;\n out[1] = c * a01 + s * a11;\n out[2] = c * a02 + s * a12;\n out[3] = c * a10 - s * a00;\n out[4] = c * a11 - s * a01;\n out[5] = c * a12 - s * a02;\n out[6] = a20;\n out[7] = a21;\n out[8] = a22;\n return out;\n}\n\n;\n/**\n * Scales the mat3 by the dimensions in the given vec2\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the matrix to rotate\n * @param {vec2} v the vec2 to scale the matrix by\n * @returns {mat3} out\n **/\n\nfunction scale(out, a, v) {\n var x = v[0],\n y = v[1];\n out[0] = x * a[0];\n out[1] = x * a[1];\n out[2] = x * a[2];\n out[3] = y * a[3];\n out[4] = y * a[4];\n out[5] = y * a[5];\n out[6] = a[6];\n out[7] = a[7];\n out[8] = a[8];\n return out;\n}\n/**\n * Creates a matrix from a vector translation\n * This is equivalent to (but much faster than):\n *\n * mat3.identity(dest);\n * mat3.translate(dest, dest, vec);\n *\n * @param {mat3} out mat3 receiving operation result\n * @param {vec2} v Translation vector\n * @returns {mat3} out\n */\n\n\nfunction fromTranslation(out, v) {\n out[0] = 1;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = 1;\n out[5] = 0;\n out[6] = v[0];\n out[7] = v[1];\n out[8] = 1;\n return out;\n}\n/**\n * Creates a matrix from a given angle\n * This is equivalent to (but much faster than):\n *\n * mat3.identity(dest);\n * mat3.rotate(dest, dest, rad);\n *\n * @param {mat3} out mat3 receiving operation result\n * @param {Number} rad the angle to rotate the matrix by\n * @returns {mat3} out\n */\n\n\nfunction fromRotation(out, rad) {\n var s = Math.sin(rad),\n c = Math.cos(rad);\n out[0] = c;\n out[1] = s;\n out[2] = 0;\n out[3] = -s;\n out[4] = c;\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n out[8] = 1;\n return out;\n}\n/**\n * Creates a matrix from a vector scaling\n * This is equivalent to (but much faster than):\n *\n * mat3.identity(dest);\n * mat3.scale(dest, dest, vec);\n *\n * @param {mat3} out mat3 receiving operation result\n * @param {vec2} v Scaling vector\n * @returns {mat3} out\n */\n\n\nfunction fromScaling(out, v) {\n out[0] = v[0];\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = v[1];\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n out[8] = 1;\n return out;\n}\n/**\n * Copies the values from a mat2d into a mat3\n *\n * @param {mat3} out the receiving matrix\n * @param {mat2d} a the matrix to copy\n * @returns {mat3} out\n **/\n\n\nfunction fromMat2d(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = 0;\n out[3] = a[2];\n out[4] = a[3];\n out[5] = 0;\n out[6] = a[4];\n out[7] = a[5];\n out[8] = 1;\n return out;\n}\n/**\n* Calculates a 3x3 matrix from the given quaternion\n*\n* @param {mat3} out mat3 receiving operation result\n* @param {quat} q Quaternion to create matrix from\n*\n* @returns {mat3} out\n*/\n\n\nfunction fromQuat(out, q) {\n var x = q[0],\n y = q[1],\n z = q[2],\n w = q[3];\n var x2 = x + x;\n var y2 = y + y;\n var z2 = z + z;\n var xx = x * x2;\n var yx = y * x2;\n var yy = y * y2;\n var zx = z * x2;\n var zy = z * y2;\n var zz = z * z2;\n var wx = w * x2;\n var wy = w * y2;\n var wz = w * z2;\n out[0] = 1 - yy - zz;\n out[3] = yx - wz;\n out[6] = zx + wy;\n out[1] = yx + wz;\n out[4] = 1 - xx - zz;\n out[7] = zy - wx;\n out[2] = zx - wy;\n out[5] = zy + wx;\n out[8] = 1 - xx - yy;\n return out;\n}\n/**\n* Calculates a 3x3 normal matrix (transpose inverse) from the 4x4 matrix\n*\n* @param {mat3} out mat3 receiving operation result\n* @param {mat4} a Mat4 to derive the normal matrix from\n*\n* @returns {mat3} out\n*/\n\n\nfunction normalFromMat4(out, a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2],\n a03 = a[3];\n var a10 = a[4],\n a11 = a[5],\n a12 = a[6],\n a13 = a[7];\n var a20 = a[8],\n a21 = a[9],\n a22 = a[10],\n a23 = a[11];\n var a30 = a[12],\n a31 = a[13],\n a32 = a[14],\n a33 = a[15];\n var b00 = a00 * a11 - a01 * a10;\n var b01 = a00 * a12 - a02 * a10;\n var b02 = a00 * a13 - a03 * a10;\n var b03 = a01 * a12 - a02 * a11;\n var b04 = a01 * a13 - a03 * a11;\n var b05 = a02 * a13 - a03 * a12;\n var b06 = a20 * a31 - a21 * a30;\n var b07 = a20 * a32 - a22 * a30;\n var b08 = a20 * a33 - a23 * a30;\n var b09 = a21 * a32 - a22 * a31;\n var b10 = a21 * a33 - a23 * a31;\n var b11 = a22 * a33 - a23 * a32; // Calculate the determinant\n\n var det = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06;\n\n if (!det) {\n return null;\n }\n\n det = 1.0 / det;\n out[0] = (a11 * b11 - a12 * b10 + a13 * b09) * det;\n out[1] = (a12 * b08 - a10 * b11 - a13 * b07) * det;\n out[2] = (a10 * b10 - a11 * b08 + a13 * b06) * det;\n out[3] = (a02 * b10 - a01 * b11 - a03 * b09) * det;\n out[4] = (a00 * b11 - a02 * b08 + a03 * b07) * det;\n out[5] = (a01 * b08 - a00 * b10 - a03 * b06) * det;\n out[6] = (a31 * b05 - a32 * b04 + a33 * b03) * det;\n out[7] = (a32 * b02 - a30 * b05 - a33 * b01) * det;\n out[8] = (a30 * b04 - a31 * b02 + a33 * b00) * det;\n return out;\n}\n/**\n * Generates a 2D projection matrix with the given bounds\n *\n * @param {mat3} out mat3 frustum matrix will be written into\n * @param {number} width Width of your gl context\n * @param {number} height Height of gl context\n * @returns {mat3} out\n */\n\n\nfunction projection(out, width, height) {\n out[0] = 2 / width;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = -2 / height;\n out[5] = 0;\n out[6] = -1;\n out[7] = 1;\n out[8] = 1;\n return out;\n}\n/**\n * Returns a string representation of a mat3\n *\n * @param {mat3} a matrix to represent as a string\n * @returns {String} string representation of the matrix\n */\n\n\nfunction str(a) {\n return 'mat3(' + a[0] + ', ' + a[1] + ', ' + a[2] + ', ' + a[3] + ', ' + a[4] + ', ' + a[5] + ', ' + a[6] + ', ' + a[7] + ', ' + a[8] + ')';\n}\n/**\n * Returns Frobenius norm of a mat3\n *\n * @param {mat3} a the matrix to calculate Frobenius norm of\n * @returns {Number} Frobenius norm\n */\n\n\nfunction frob(a) {\n return Math.sqrt(Math.pow(a[0], 2) + Math.pow(a[1], 2) + Math.pow(a[2], 2) + Math.pow(a[3], 2) + Math.pow(a[4], 2) + Math.pow(a[5], 2) + Math.pow(a[6], 2) + Math.pow(a[7], 2) + Math.pow(a[8], 2));\n}\n/**\n * Adds two mat3's\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the first operand\n * @param {mat3} b the second operand\n * @returns {mat3} out\n */\n\n\nfunction add(out, a, b) {\n out[0] = a[0] + b[0];\n out[1] = a[1] + b[1];\n out[2] = a[2] + b[2];\n out[3] = a[3] + b[3];\n out[4] = a[4] + b[4];\n out[5] = a[5] + b[5];\n out[6] = a[6] + b[6];\n out[7] = a[7] + b[7];\n out[8] = a[8] + b[8];\n return out;\n}\n/**\n * Subtracts matrix b from matrix a\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the first operand\n * @param {mat3} b the second operand\n * @returns {mat3} out\n */\n\n\nfunction subtract(out, a, b) {\n out[0] = a[0] - b[0];\n out[1] = a[1] - b[1];\n out[2] = a[2] - b[2];\n out[3] = a[3] - b[3];\n out[4] = a[4] - b[4];\n out[5] = a[5] - b[5];\n out[6] = a[6] - b[6];\n out[7] = a[7] - b[7];\n out[8] = a[8] - b[8];\n return out;\n}\n/**\n * Multiply each element of the matrix by a scalar.\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the matrix to scale\n * @param {Number} b amount to scale the matrix's elements by\n * @returns {mat3} out\n */\n\n\nfunction multiplyScalar(out, a, b) {\n out[0] = a[0] * b;\n out[1] = a[1] * b;\n out[2] = a[2] * b;\n out[3] = a[3] * b;\n out[4] = a[4] * b;\n out[5] = a[5] * b;\n out[6] = a[6] * b;\n out[7] = a[7] * b;\n out[8] = a[8] * b;\n return out;\n}\n/**\n * Adds two mat3's after multiplying each element of the second operand by a scalar value.\n *\n * @param {mat3} out the receiving vector\n * @param {mat3} a the first operand\n * @param {mat3} b the second operand\n * @param {Number} scale the amount to scale b's elements by before adding\n * @returns {mat3} out\n */\n\n\nfunction multiplyScalarAndAdd(out, a, b, scale) {\n out[0] = a[0] + b[0] * scale;\n out[1] = a[1] + b[1] * scale;\n out[2] = a[2] + b[2] * scale;\n out[3] = a[3] + b[3] * scale;\n out[4] = a[4] + b[4] * scale;\n out[5] = a[5] + b[5] * scale;\n out[6] = a[6] + b[6] * scale;\n out[7] = a[7] + b[7] * scale;\n out[8] = a[8] + b[8] * scale;\n return out;\n}\n/**\n * Returns whether or not the matrices have exactly the same elements in the same position (when compared with ===)\n *\n * @param {mat3} a The first matrix.\n * @param {mat3} b The second matrix.\n * @returns {Boolean} True if the matrices are equal, false otherwise.\n */\n\n\nfunction exactEquals(a, b) {\n return a[0] === b[0] && a[1] === b[1] && a[2] === b[2] && a[3] === b[3] && a[4] === b[4] && a[5] === b[5] && a[6] === b[6] && a[7] === b[7] && a[8] === b[8];\n}\n/**\n * Returns whether or not the matrices have approximately the same elements in the same position.\n *\n * @param {mat3} a The first matrix.\n * @param {mat3} b The second matrix.\n * @returns {Boolean} True if the matrices are equal, false otherwise.\n */\n\n\nfunction equals(a, b) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2],\n a3 = a[3],\n a4 = a[4],\n a5 = a[5],\n a6 = a[6],\n a7 = a[7],\n a8 = a[8];\n var b0 = b[0],\n b1 = b[1],\n b2 = b[2],\n b3 = b[3],\n b4 = b[4],\n b5 = b[5],\n b6 = b[6],\n b7 = b[7],\n b8 = b[8];\n return Math.abs(a0 - b0) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1)) && Math.abs(a2 - b2) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a2), Math.abs(b2)) && Math.abs(a3 - b3) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a3), Math.abs(b3)) && Math.abs(a4 - b4) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a4), Math.abs(b4)) && Math.abs(a5 - b5) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a5), Math.abs(b5)) && Math.abs(a6 - b6) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a6), Math.abs(b6)) && Math.abs(a7 - b7) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a7), Math.abs(b7)) && Math.abs(a8 - b8) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a8), Math.abs(b8));\n}\n/**\n * Alias for {@link mat3.multiply}\n * @function\n */\n\n\nvar mul = exports.mul = multiply;\n/**\n * Alias for {@link mat3.subtract}\n * @function\n */\n\nvar sub = exports.sub = subtract;" }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "index": 235, "index2": 232, "size": 10034, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "issuerId": 31, "issuerName": "./src/util/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 3034, "building": 905, "dependencies": 1815 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../util/path", "loc": "10:0-58" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "336:19-28" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "441:29-44" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "468:30-45" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "469:30-45" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony side effect evaluation", "userRequest": "./path", "loc": "4:0-35" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony import specifier", "userRequest": "./path", "loc": "6:76-84" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../util/path", "loc": "4:0-86" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "67:23-34" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "72:23-33" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "73:46-61" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "77:46-61" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "216:26-38" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "231:48-60" } ], "usedExports": true, "providedExports": [ "getSpline", "getControlPoint", "pointsToPolygon", "pathToPoints", "getClosedSpline", "roundedHull", "paddedHull" ], "optimizationBailout": [], "depth": 2, "source": "import { vec2 } from '@antv/matrix-util';\nimport { catmullRom2Bezier } from '@antv/path-util';\n/**\n * 替换字符串中的字段\n * @param {String} str 模版字符串\n * @param {Object} o json data\n */\nvar substitute = function (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 var res = o[name];\n if (res === 0)\n res = '0';\n return res || '';\n });\n};\n/**\n * 给定坐标获取三次贝塞尔曲线的 M 及 C 值\n * @param points coordinate set\n */\nexport var getSpline = function (points) {\n var data = [];\n if (points.length < 2) {\n throw new Error(\"point length must largn than 2, now it's \" + points.length);\n }\n for (var _i = 0, points_1 = points; _i < points_1.length; _i++) {\n var point = points_1[_i];\n var x = point.x, y = point.y;\n data.push(x);\n data.push(y);\n }\n var spliePath = catmullRom2Bezier(data);\n spliePath.unshift(['M', points[0].x, points[0].y]);\n return spliePath;\n};\n/**\n * 根据起始点、相对位置、偏移量计算控制点\n * @param {IPoint} startPoint 起始点,包含 x,y\n * @param {IPoint} endPoint 结束点, 包含 x,y\n * @param {Number} percent 相对位置,范围 0-1\n * @param {Number} offset 偏移量\n * @return {IPoint} 控制点,包含 x,y\n */\nexport var getControlPoint = function (startPoint, endPoint, percent, offset) {\n if (percent === void 0) { percent = 0; }\n if (offset === void 0) { offset = 0; }\n var point = {\n x: (1 - percent) * startPoint.x + percent * endPoint.x,\n y: (1 - percent) * startPoint.y + percent * endPoint.y,\n };\n var tangent = [];\n vec2.normalize(tangent, [endPoint.x - startPoint.x, endPoint.y - startPoint.y]);\n if (tangent.length === 0) {\n tangent = [0, 0];\n }\n var perpendicular = [-tangent[1] * offset, tangent[0] * offset]; // 垂直向量\n point.x += perpendicular[0];\n point.y += perpendicular[1];\n return point;\n};\n/**\n * 点集转化为Path多边形\n * @param {Array} points 点集\n * @param {Boolen} z 是否封闭\n * @return {Array} Path\n */\nexport var pointsToPolygon = function (points, z) {\n var length = points.length;\n if (!length) {\n return '';\n }\n var path = '';\n var str = '';\n for (var i = 0; i < length; i++) {\n var item = points[i];\n if (i === 0) {\n str = 'M{x} {y}';\n }\n else {\n str = 'L{x} {y}';\n }\n path += substitute(str, item);\n }\n if (z) {\n path += 'Z';\n }\n return path;\n};\nexport var pathToPoints = function (path) {\n var points = [];\n path.forEach(function (seg) {\n var command = seg[0];\n if (command !== 'A') {\n for (var i = 1; i < seg.length; i = i + 2) {\n points.push([seg[i], seg[i + 1]]);\n }\n }\n else {\n var length = seg.length;\n points.push([seg[length - 2], seg[length - 1]]);\n }\n });\n return points;\n};\n/**\n * 生成平滑的闭合曲线\n * @param points\n */\nexport var getClosedSpline = function (points) {\n if (points.length < 2) {\n throw new Error(\"point length must largn than 2, now it's \" + points.length);\n }\n var first = points[0];\n var second = points[1];\n var last = points[points.length - 1];\n var lastSecond = points[points.length - 2];\n points.unshift(last);\n points.unshift(lastSecond);\n points.push(first);\n points.push(second);\n var closedPath = [];\n for (var i = 1; i < points.length - 2; i += 1) {\n var x0 = points[i - 1].x;\n var y0 = points[i - 1].y;\n var x1 = points[i].x;\n var y1 = points[i].y;\n var x2 = points[i + 1].x;\n var y2 = points[i + 1].y;\n var x3 = i !== points.length - 2 ? points[i + 2].x : x2;\n var y3 = i !== points.length - 2 ? points[i + 2].y : y2;\n var cp1x = x1 + (x2 - x0) / 6;\n var cp1y = y1 + (y2 - y0) / 6;\n var cp2x = x2 - (x3 - x1) / 6;\n var cp2y = y2 - (y3 - y1) / 6;\n closedPath.push(['C', cp1x, cp1y, cp2x, cp2y, x2, y2]);\n }\n closedPath.unshift(['M', last.x, last.y]);\n return closedPath;\n};\nvar vecScaleTo = function (v, length) {\n // Vector with direction of v with specified length\n return vec2.scale([], vec2.normalize([], v), length);\n};\nvar unitNormal = function (p0, p1) {\n // Returns the unit normal to the line segment from p0 to p1.\n var n = [p0[1] - p1[1], p1[0] - p0[0]];\n var nLength = Math.sqrt(n[0] * n[0] + n[1] * n[1]);\n if (nLength === 0) {\n throw new Error('p0 should not be equal to p1');\n }\n return [n[0] / nLength, n[1] / nLength];\n};\nvar vecFrom = function (p0, p1) {\n // Vector from p0 to p1\n return [p1[0] - p0[0], p1[1] - p0[1]];\n};\n/**\n * 传入的节点作为多边形顶点,生成有圆角的多边形\n * @param polyPoints 多边形顶点\n * @param padding 在原多边形基础上增加最终轮廓和原多边形的空白间隔\n */\nexport function roundedHull(polyPoints, padding) {\n // The rounded hull path around a single point\n var roundedHull1 = function (points) {\n var p1 = [points[0][0], points[0][1] - padding];\n var p2 = [points[0][0], points[0][1] + padding];\n return \"M \" + p1 + \" A \" + padding + \",\" + padding + \",0,0,0,\" + p2 + \" A \" + padding + \",\" + padding + \",0,0,0,\" + p1;\n };\n // The rounded hull path around two points\n var roundedHull2 = function (points) {\n var offsetVector = vec2.scale([], unitNormal(points[0], points[1]), padding);\n var invOffsetVector = vec2.scale([], offsetVector, -1);\n var p0 = vec2.add([], points[0], offsetVector);\n var p1 = vec2.add([], points[1], offsetVector);\n var p2 = vec2.add([], points[1], invOffsetVector);\n var p3 = vec2.add([], points[0], invOffsetVector);\n return \"M \" + p0 + \" L \" + p1 + \" A \" + [padding, padding, '0,0,0', p2].join(',') + \" L \" + p3 + \" A \" + [\n padding,\n padding,\n '0,0,0',\n p0,\n ].join(',');\n };\n // 特殊情况处理:节点数小于等于2\n if (!polyPoints || polyPoints.length < 1)\n return '';\n if (polyPoints.length === 1)\n return roundedHull1(polyPoints);\n if (polyPoints.length === 2)\n return roundedHull2(polyPoints);\n var segments = new Array(polyPoints.length);\n // Calculate each offset (outwards) segment of the convex hull.\n for (var segmentIndex = 0; segmentIndex < segments.length; ++segmentIndex) {\n var p0 = segmentIndex === 0 ? polyPoints[polyPoints.length - 1] : polyPoints[segmentIndex - 1];\n var p1 = polyPoints[segmentIndex];\n // Compute the offset vector for the line segment, with length = padding.\n var offset = vec2.scale([], unitNormal(p0, p1), padding);\n segments[segmentIndex] = [vec2.add([], p0, offset), vec2.add([], p1, offset)];\n }\n var arcData = \"A \" + [padding, padding, '0,0,0,'].join(',');\n segments = segments.map(function (segment, index) {\n var pathFragment = '';\n if (index === 0) {\n pathFragment = \"M \" + segments[segments.length - 1][1] + \" \";\n }\n pathFragment += arcData + segment[0] + \" L \" + segment[1];\n return pathFragment;\n });\n return segments.join(' ');\n}\n/**\n * 传入的节点作为多边形顶点,生成平滑的闭合多边形\n * @param polyPoints\n * @param padding\n */\nexport function paddedHull(polyPoints, padding) {\n var pointCount = polyPoints.length;\n var smoothHull1 = function (points) {\n // Returns the path for a circular hull around a single point.\n var p1 = [points[0][0], points[0][1] - padding];\n var p2 = [points[0][0], points[0][1] + padding];\n return \"M \" + p1 + \" A \" + [padding, padding, '0,0,0', p2].join(',') + \" A \" + [\n padding,\n padding,\n '0,0,0',\n p1,\n ].join(',');\n };\n // Returns the path for a rounded hull around two points.\n var smoothHull2 = function (points) {\n var v = vecFrom(points[0], points[1]);\n var extensionVec = vecScaleTo(v, padding);\n var extension0 = vec2.add([], points[0], vec2.scale([], extensionVec, -1));\n var extension1 = vec2.add([], points[1], extensionVec);\n var tangentHalfLength = 1.2 * padding;\n var controlDelta = vecScaleTo(vec2.normalize([], v), tangentHalfLength);\n var invControlDelta = vec2.scale([], controlDelta, -1);\n var control0 = vec2.add([], extension0, invControlDelta);\n var control1 = vec2.add([], extension1, invControlDelta);\n var control3 = vec2.add([], extension0, controlDelta);\n return \"M \" + extension0 + \" C \" + [control0, control1, extension1].join(',') + \" S \" + [\n control3,\n extension0,\n ].join(',') + \" Z\";\n };\n // Handle special cases\n if (!polyPoints || pointCount < 1)\n return '';\n if (pointCount === 1)\n return smoothHull1(polyPoints);\n if (pointCount === 2)\n return smoothHull2(polyPoints);\n var hullPoints = polyPoints.map(function (point, index) {\n var pNext = polyPoints[(index + 1) % pointCount];\n return {\n p: point,\n v: vec2.normalize([], vecFrom(point, pNext)),\n };\n });\n // Compute the expanded hull points, and the nearest prior control point for each.\n for (var i = 0; i < hullPoints.length; ++i) {\n var priorIndex = i > 0 ? i - 1 : pointCount - 1;\n var extensionVec = vec2.normalize([], vec2.add([], hullPoints[priorIndex].v, vec2.scale([], hullPoints[i].v, -1)));\n hullPoints[i].p = vec2.add([], hullPoints[i].p, vec2.scale([], extensionVec, padding));\n }\n return hullPoints.map(function (obj) {\n var point = obj.p;\n return { x: point[0], y: point[1] };\n });\n}\n" }, { "id": 10, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/matrix.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/matrix.js", "index": 167, "index2": 157, "size": 2284, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "issuerId": 42, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } } ], "profile": { "factory": 144, "building": 354, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony side effect evaluation", "userRequest": "../util/matrix", "loc": "5:0-70" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "../util/matrix", "loc": "348:22-36" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "../util/matrix", "loc": "365:20-34" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "../util/matrix", "loc": "389:13-25" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "../util/matrix", "loc": "400:25-31" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "../util/matrix", "loc": "403:15-27" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony side effect evaluation", "userRequest": "../util/matrix", "loc": "3:0-46" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony import specifier", "userRequest": "../util/matrix", "loc": "77:20-32" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony import specifier", "userRequest": "../util/matrix", "loc": "78:21-33" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony import specifier", "userRequest": "../util/matrix", "loc": "79:23-35" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony import specifier", "userRequest": "../util/matrix", "loc": "80:24-36" } ], "usedExports": ["invert", "multiplyMatrix", "multiplyVec2"], "providedExports": ["multiplyMatrix", "multiplyVec2", "invert"], "optimizationBailout": [], "depth": 4, "source": "/**\n * @fileoverview 矩阵运算,本来是要引入 gl-matrix, 但是考虑到 g-mobile 对大小有限制,同时 g-webgl 使用的 matrix 不一致\n * 所以,这里仅实现 2D 几个运算,上层自己引入 gl-matrix\n * @author dxq613@gmail.com\n */\n\n/**\n * 3阶矩阵相乘\n * @param {number[]} a 矩阵1\n * @param {number[]} b 矩阵2\n */\nexport function multiplyMatrix(a, b) {\n var out = [];\n var a00 = a[0];\n var a01 = a[1];\n var a02 = a[2];\n var a10 = a[3];\n var a11 = a[4];\n var a12 = a[5];\n var a20 = a[6];\n var a21 = a[7];\n var a22 = a[8];\n var b00 = b[0];\n var b01 = b[1];\n var b02 = b[2];\n var b10 = b[3];\n var b11 = b[4];\n var b12 = b[5];\n var b20 = b[6];\n var b21 = b[7];\n var b22 = b[8];\n out[0] = b00 * a00 + b01 * a10 + b02 * a20;\n out[1] = b00 * a01 + b01 * a11 + b02 * a21;\n out[2] = b00 * a02 + b01 * a12 + b02 * a22;\n out[3] = b10 * a00 + b11 * a10 + b12 * a20;\n out[4] = b10 * a01 + b11 * a11 + b12 * a21;\n out[5] = b10 * a02 + b11 * a12 + b12 * a22;\n out[6] = b20 * a00 + b21 * a10 + b22 * a20;\n out[7] = b20 * a01 + b21 * a11 + b22 * a21;\n out[8] = b20 * a02 + b21 * a12 + b22 * a22;\n return out;\n}\n/**\n * 3阶矩阵同2阶向量相乘\n * @param {number[]} m 矩阵\n * @param {number[]} v 二阶向量\n */\n\nexport function multiplyVec2(m, v) {\n var out = [];\n var x = v[0];\n var y = v[1];\n out[0] = m[0] * x + m[3] * y + m[6];\n out[1] = m[1] * x + m[4] * y + m[7];\n return out;\n}\n/**\n * 矩阵的逆\n * @param {number[]} a 矩阵\n */\n\nexport function invert(a) {\n var out = [];\n var a00 = a[0];\n var a01 = a[1];\n var a02 = a[2];\n var a10 = a[3];\n var a11 = a[4];\n var a12 = a[5];\n var a20 = a[6];\n var a21 = a[7];\n var a22 = a[8];\n var b01 = a22 * a11 - a12 * a21;\n var b11 = -a22 * a10 + a12 * a20;\n var b21 = a21 * a10 - a11 * a20; // Calculate the determinant\n\n var det = a00 * b01 + a01 * b11 + a02 * b21;\n\n if (!det) {\n return null;\n }\n\n det = 1.0 / det;\n out[0] = b01 * det;\n out[1] = (-a22 * a01 + a02 * a21) * det;\n out[2] = (a12 * a01 - a02 * a11) * det;\n out[3] = b11 * det;\n out[4] = (a22 * a00 - a02 * a20) * det;\n out[5] = (-a12 * a00 + a02 * a10) * det;\n out[6] = b21 * det;\n out[7] = (-a21 * a00 + a01 * a20) * det;\n out[8] = (a11 * a00 - a01 * a10) * det;\n return out;\n}" }, { "id": 11, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js", "name": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js", "index": 117, "index2": 113, "size": 15185, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec2.js", "issuerId": null, "issuerName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec2.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec2.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec2.js", "profile": { "factory": 1667, "building": 225, "dependencies": 394 } } ], "profile": { "factory": 452, "building": 557 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "1:0-59" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "4:0-10" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "5:14-22" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "5:34-45" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "5:52-63" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "16:0-14" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "20:0-12" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "21:14-24" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "22:25-39" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "39:0-13" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec2", "loc": "51:15-19" } ], "usedExports": true, "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 4, "source": "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.forEach = exports.sqrLen = exports.sqrDist = exports.dist = exports.div = exports.mul = exports.sub = exports.len = undefined;\nexports.create = create;\nexports.clone = clone;\nexports.fromValues = fromValues;\nexports.copy = copy;\nexports.set = set;\nexports.add = add;\nexports.subtract = subtract;\nexports.multiply = multiply;\nexports.divide = divide;\nexports.ceil = ceil;\nexports.floor = floor;\nexports.min = min;\nexports.max = max;\nexports.round = round;\nexports.scale = scale;\nexports.scaleAndAdd = scaleAndAdd;\nexports.distance = distance;\nexports.squaredDistance = squaredDistance;\nexports.length = length;\nexports.squaredLength = squaredLength;\nexports.negate = negate;\nexports.inverse = inverse;\nexports.normalize = normalize;\nexports.dot = dot;\nexports.cross = cross;\nexports.lerp = lerp;\nexports.random = random;\nexports.transformMat2 = transformMat2;\nexports.transformMat2d = transformMat2d;\nexports.transformMat3 = transformMat3;\nexports.transformMat4 = transformMat4;\nexports.rotate = rotate;\nexports.angle = angle;\nexports.str = str;\nexports.exactEquals = exactEquals;\nexports.equals = equals;\n\nvar _common = require('./common.js');\n\nvar glMatrix = _interopRequireWildcard(_common);\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n\n newObj.default = obj;\n return newObj;\n }\n}\n/**\n * 2 Dimensional Vector\n * @module vec2\n */\n\n/**\n * Creates a new, empty vec2\n *\n * @returns {vec2} a new 2D vector\n */\n\n\nfunction create() {\n var out = new glMatrix.ARRAY_TYPE(2);\n\n if (glMatrix.ARRAY_TYPE != Float32Array) {\n out[0] = 0;\n out[1] = 0;\n }\n\n return out;\n}\n/**\n * Creates a new vec2 initialized with values from an existing vector\n *\n * @param {vec2} a vector to clone\n * @returns {vec2} a new 2D vector\n */\n\n\nfunction clone(a) {\n var out = new glMatrix.ARRAY_TYPE(2);\n out[0] = a[0];\n out[1] = a[1];\n return out;\n}\n/**\n * Creates a new vec2 initialized with the given values\n *\n * @param {Number} x X component\n * @param {Number} y Y component\n * @returns {vec2} a new 2D vector\n */\n\n\nfunction fromValues(x, y) {\n var out = new glMatrix.ARRAY_TYPE(2);\n out[0] = x;\n out[1] = y;\n return out;\n}\n/**\n * Copy the values from one vec2 to another\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the source vector\n * @returns {vec2} out\n */\n\n\nfunction copy(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n return out;\n}\n/**\n * Set the components of a vec2 to the given values\n *\n * @param {vec2} out the receiving vector\n * @param {Number} x X component\n * @param {Number} y Y component\n * @returns {vec2} out\n */\n\n\nfunction set(out, x, y) {\n out[0] = x;\n out[1] = y;\n return out;\n}\n/**\n * Adds two vec2's\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {vec2} out\n */\n\n\nfunction add(out, a, b) {\n out[0] = a[0] + b[0];\n out[1] = a[1] + b[1];\n return out;\n}\n/**\n * Subtracts vector b from vector a\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {vec2} out\n */\n\n\nfunction subtract(out, a, b) {\n out[0] = a[0] - b[0];\n out[1] = a[1] - b[1];\n return out;\n}\n/**\n * Multiplies two vec2's\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {vec2} out\n */\n\n\nfunction multiply(out, a, b) {\n out[0] = a[0] * b[0];\n out[1] = a[1] * b[1];\n return out;\n}\n/**\n * Divides two vec2's\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {vec2} out\n */\n\n\nfunction divide(out, a, b) {\n out[0] = a[0] / b[0];\n out[1] = a[1] / b[1];\n return out;\n}\n/**\n * Math.ceil the components of a vec2\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a vector to ceil\n * @returns {vec2} out\n */\n\n\nfunction ceil(out, a) {\n out[0] = Math.ceil(a[0]);\n out[1] = Math.ceil(a[1]);\n return out;\n}\n/**\n * Math.floor the components of a vec2\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a vector to floor\n * @returns {vec2} out\n */\n\n\nfunction floor(out, a) {\n out[0] = Math.floor(a[0]);\n out[1] = Math.floor(a[1]);\n return out;\n}\n/**\n * Returns the minimum of two vec2's\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {vec2} out\n */\n\n\nfunction min(out, a, b) {\n out[0] = Math.min(a[0], b[0]);\n out[1] = Math.min(a[1], b[1]);\n return out;\n}\n/**\n * Returns the maximum of two vec2's\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {vec2} out\n */\n\n\nfunction max(out, a, b) {\n out[0] = Math.max(a[0], b[0]);\n out[1] = Math.max(a[1], b[1]);\n return out;\n}\n/**\n * Math.round the components of a vec2\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a vector to round\n * @returns {vec2} out\n */\n\n\nfunction round(out, a) {\n out[0] = Math.round(a[0]);\n out[1] = Math.round(a[1]);\n return out;\n}\n/**\n * Scales a vec2 by a scalar number\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the vector to scale\n * @param {Number} b amount to scale the vector by\n * @returns {vec2} out\n */\n\n\nfunction scale(out, a, b) {\n out[0] = a[0] * b;\n out[1] = a[1] * b;\n return out;\n}\n/**\n * Adds two vec2's after scaling the second operand by a scalar value\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @param {Number} scale the amount to scale b by before adding\n * @returns {vec2} out\n */\n\n\nfunction scaleAndAdd(out, a, b, scale) {\n out[0] = a[0] + b[0] * scale;\n out[1] = a[1] + b[1] * scale;\n return out;\n}\n/**\n * Calculates the euclidian distance between two vec2's\n *\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {Number} distance between a and b\n */\n\n\nfunction distance(a, b) {\n var x = b[0] - a[0],\n y = b[1] - a[1];\n return Math.sqrt(x * x + y * y);\n}\n/**\n * Calculates the squared euclidian distance between two vec2's\n *\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {Number} squared distance between a and b\n */\n\n\nfunction squaredDistance(a, b) {\n var x = b[0] - a[0],\n y = b[1] - a[1];\n return x * x + y * y;\n}\n/**\n * Calculates the length of a vec2\n *\n * @param {vec2} a vector to calculate length of\n * @returns {Number} length of a\n */\n\n\nfunction length(a) {\n var x = a[0],\n y = a[1];\n return Math.sqrt(x * x + y * y);\n}\n/**\n * Calculates the squared length of a vec2\n *\n * @param {vec2} a vector to calculate squared length of\n * @returns {Number} squared length of a\n */\n\n\nfunction squaredLength(a) {\n var x = a[0],\n y = a[1];\n return x * x + y * y;\n}\n/**\n * Negates the components of a vec2\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a vector to negate\n * @returns {vec2} out\n */\n\n\nfunction negate(out, a) {\n out[0] = -a[0];\n out[1] = -a[1];\n return out;\n}\n/**\n * Returns the inverse of the components of a vec2\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a vector to invert\n * @returns {vec2} out\n */\n\n\nfunction inverse(out, a) {\n out[0] = 1.0 / a[0];\n out[1] = 1.0 / a[1];\n return out;\n}\n/**\n * Normalize a vec2\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a vector to normalize\n * @returns {vec2} out\n */\n\n\nfunction normalize(out, a) {\n var x = a[0],\n y = a[1];\n var len = x * x + y * y;\n\n if (len > 0) {\n //TODO: evaluate use of glm_invsqrt here?\n len = 1 / Math.sqrt(len);\n out[0] = a[0] * len;\n out[1] = a[1] * len;\n }\n\n return out;\n}\n/**\n * Calculates the dot product of two vec2's\n *\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {Number} dot product of a and b\n */\n\n\nfunction dot(a, b) {\n return a[0] * b[0] + a[1] * b[1];\n}\n/**\n * Computes the cross product of two vec2's\n * Note that the cross product must by definition produce a 3D vector\n *\n * @param {vec3} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction cross(out, a, b) {\n var z = a[0] * b[1] - a[1] * b[0];\n out[0] = out[1] = 0;\n out[2] = z;\n return out;\n}\n/**\n * Performs a linear interpolation between two vec2's\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\n * @returns {vec2} out\n */\n\n\nfunction lerp(out, a, b, t) {\n var ax = a[0],\n ay = a[1];\n out[0] = ax + t * (b[0] - ax);\n out[1] = ay + t * (b[1] - ay);\n return out;\n}\n/**\n * Generates a random vector with the given scale\n *\n * @param {vec2} out the receiving vector\n * @param {Number} [scale] Length of the resulting vector. If ommitted, a unit vector will be returned\n * @returns {vec2} out\n */\n\n\nfunction random(out, scale) {\n scale = scale || 1.0;\n var r = glMatrix.RANDOM() * 2.0 * Math.PI;\n out[0] = Math.cos(r) * scale;\n out[1] = Math.sin(r) * scale;\n return out;\n}\n/**\n * Transforms the vec2 with a mat2\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the vector to transform\n * @param {mat2} m matrix to transform with\n * @returns {vec2} out\n */\n\n\nfunction transformMat2(out, a, m) {\n var x = a[0],\n y = a[1];\n out[0] = m[0] * x + m[2] * y;\n out[1] = m[1] * x + m[3] * y;\n return out;\n}\n/**\n * Transforms the vec2 with a mat2d\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the vector to transform\n * @param {mat2d} m matrix to transform with\n * @returns {vec2} out\n */\n\n\nfunction transformMat2d(out, a, m) {\n var x = a[0],\n y = a[1];\n out[0] = m[0] * x + m[2] * y + m[4];\n out[1] = m[1] * x + m[3] * y + m[5];\n return out;\n}\n/**\n * Transforms the vec2 with a mat3\n * 3rd vector component is implicitly '1'\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the vector to transform\n * @param {mat3} m matrix to transform with\n * @returns {vec2} out\n */\n\n\nfunction transformMat3(out, a, m) {\n var x = a[0],\n y = a[1];\n out[0] = m[0] * x + m[3] * y + m[6];\n out[1] = m[1] * x + m[4] * y + m[7];\n return out;\n}\n/**\n * Transforms the vec2 with a mat4\n * 3rd vector component is implicitly '0'\n * 4th vector component is implicitly '1'\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the vector to transform\n * @param {mat4} m matrix to transform with\n * @returns {vec2} out\n */\n\n\nfunction transformMat4(out, a, m) {\n var x = a[0];\n var y = a[1];\n out[0] = m[0] * x + m[4] * y + m[12];\n out[1] = m[1] * x + m[5] * y + m[13];\n return out;\n}\n/**\n * Rotate a 2D vector\n * @param {vec2} out The receiving vec2\n * @param {vec2} a The vec2 point to rotate\n * @param {vec2} b The origin of the rotation\n * @param {Number} c The angle of rotation\n * @returns {vec2} out\n */\n\n\nfunction rotate(out, a, b, c) {\n //Translate point to the origin\n var p0 = a[0] - b[0],\n p1 = a[1] - b[1],\n sinC = Math.sin(c),\n cosC = Math.cos(c); //perform rotation and translate to correct position\n\n out[0] = p0 * cosC - p1 * sinC + b[0];\n out[1] = p0 * sinC + p1 * cosC + b[1];\n return out;\n}\n/**\n * Get the angle between two 2D vectors\n * @param {vec2} a The first operand\n * @param {vec2} b The second operand\n * @returns {Number} The angle in radians\n */\n\n\nfunction angle(a, b) {\n var x1 = a[0],\n y1 = a[1],\n x2 = b[0],\n y2 = b[1];\n var len1 = x1 * x1 + y1 * y1;\n\n if (len1 > 0) {\n //TODO: evaluate use of glm_invsqrt here?\n len1 = 1 / Math.sqrt(len1);\n }\n\n var len2 = x2 * x2 + y2 * y2;\n\n if (len2 > 0) {\n //TODO: evaluate use of glm_invsqrt here?\n len2 = 1 / Math.sqrt(len2);\n }\n\n var cosine = (x1 * x2 + y1 * y2) * len1 * len2;\n\n if (cosine > 1.0) {\n return 0;\n } else if (cosine < -1.0) {\n return Math.PI;\n } else {\n return Math.acos(cosine);\n }\n}\n/**\n * Returns a string representation of a vector\n *\n * @param {vec2} a vector to represent as a string\n * @returns {String} string representation of the vector\n */\n\n\nfunction str(a) {\n return 'vec2(' + a[0] + ', ' + a[1] + ')';\n}\n/**\n * Returns whether or not the vectors exactly have the same elements in the same position (when compared with ===)\n *\n * @param {vec2} a The first vector.\n * @param {vec2} b The second vector.\n * @returns {Boolean} True if the vectors are equal, false otherwise.\n */\n\n\nfunction exactEquals(a, b) {\n return a[0] === b[0] && a[1] === b[1];\n}\n/**\n * Returns whether or not the vectors have approximately the same elements in the same position.\n *\n * @param {vec2} a The first vector.\n * @param {vec2} b The second vector.\n * @returns {Boolean} True if the vectors are equal, false otherwise.\n */\n\n\nfunction equals(a, b) {\n var a0 = a[0],\n a1 = a[1];\n var b0 = b[0],\n b1 = b[1];\n return Math.abs(a0 - b0) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1));\n}\n/**\n * Alias for {@link vec2.length}\n * @function\n */\n\n\nvar len = exports.len = length;\n/**\n * Alias for {@link vec2.subtract}\n * @function\n */\n\nvar sub = exports.sub = subtract;\n/**\n * Alias for {@link vec2.multiply}\n * @function\n */\n\nvar mul = exports.mul = multiply;\n/**\n * Alias for {@link vec2.divide}\n * @function\n */\n\nvar div = exports.div = divide;\n/**\n * Alias for {@link vec2.distance}\n * @function\n */\n\nvar dist = exports.dist = distance;\n/**\n * Alias for {@link vec2.squaredDistance}\n * @function\n */\n\nvar sqrDist = exports.sqrDist = squaredDistance;\n/**\n * Alias for {@link vec2.squaredLength}\n * @function\n */\n\nvar sqrLen = exports.sqrLen = squaredLength;\n/**\n * Perform some operation over an array of vec2s.\n *\n * @param {Array} a the array of vectors to iterate over\n * @param {Number} stride Number of elements between the start of each vec2. If 0 assumes tightly packed\n * @param {Number} offset Number of elements to skip at the beginning of the array\n * @param {Number} count Number of vec2s to iterate over. If 0 iterates over entire array\n * @param {Function} fn Function to call for each vector in the array\n * @param {Object} [arg] additional argument to pass to fn\n * @returns {Array} a\n * @function\n */\n\nvar forEach = exports.forEach = function () {\n var vec = create();\n return function (a, stride, offset, count, fn, arg) {\n var i = void 0,\n l = void 0;\n\n if (!stride) {\n stride = 2;\n }\n\n if (!offset) {\n offset = 0;\n }\n\n if (count) {\n l = Math.min(count * stride + offset, a.length);\n } else {\n l = a.length;\n }\n\n for (i = offset; i < l; i += stride) {\n vec[0] = a[i];\n vec[1] = a[i + 1];\n fn(vec, vec, arg);\n a[i] = vec[0];\n a[i + 1] = vec[1];\n }\n\n return a;\n };\n}();" }, { "id": 12, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "name": "./src/util/base.ts", "index": 137, "index2": 197, "size": 6021, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "issuerId": 32, "issuerName": "./src/graph/controller/layout.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 157, "building": 209, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony side effect evaluation", "userRequest": "../util/base", "loc": "3:0-45" }, { "moduleId": 14, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "module": "./src/shape/index.ts + 13 modules", "moduleName": "./src/shape/index.ts + 13 modules", "type": "harmony import specifier", "userRequest": "../util/base", "loc": "98:22-35" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony side effect evaluation", "userRequest": "./base", "loc": "5:0-35" }, { "moduleId": 31, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "module": "./src/util/index.ts", "moduleName": "./src/util/index.ts", "type": "harmony import specifier", "userRequest": "./base", "loc": "6:51-59" }, { "moduleId": 32, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "module": "./src/graph/controller/layout.ts", "moduleName": "./src/graph/controller/layout.ts", "type": "harmony side effect evaluation", "userRequest": "../../util/base", "loc": "1:0-40" }, { "moduleId": 32, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "module": "./src/graph/controller/layout.ts", "moduleName": "./src/graph/controller/layout.ts", "type": "harmony import specifier", "userRequest": "../../util/base", "loc": "122:63-68" }, { "moduleId": 32, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "module": "./src/graph/controller/layout.ts", "moduleName": "./src/graph/controller/layout.ts", "type": "harmony import specifier", "userRequest": "../../util/base", "loc": "163:16-21" }, { "moduleId": 32, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "module": "./src/graph/controller/layout.ts", "moduleName": "./src/graph/controller/layout.ts", "type": "harmony import specifier", "userRequest": "../../util/base", "loc": "167:16-21" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../../util/base", "loc": "4:0-48" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../util/base", "loc": "64:15-28" } ], "usedExports": true, "providedExports": [ "formatPadding", "cloneEvent", "isViewportChanged", "isNaN", "calculationItemsBBox", "processParallelEdges" ], "optimizationBailout": [], "depth": 2, "source": "import { isString, isNumber, isNil, isArray } from '@antv/util';\nimport { G6GraphEvent } from '../interface/behavior';\n/**\n * turn padding into [top, right, bottom, right]\n * @param {Number|Array} padding input padding\n * @return {array} output\n */\nexport var formatPadding = function (padding) {\n var top = 0;\n var left = 0;\n var right = 0;\n var bottom = 0;\n if (isNumber(padding)) {\n top = left = right = bottom = padding;\n }\n else if (isString(padding)) {\n var intPadding = parseInt(padding, 10);\n top = left = right = bottom = intPadding;\n }\n else if (isArray(padding)) {\n top = padding[0];\n right = !isNil(padding[1]) ? padding[1] : padding[0];\n bottom = !isNil(padding[2]) ? padding[2] : padding[0];\n left = !isNil(padding[3]) ? padding[3] : right;\n }\n return [top, right, bottom, left];\n};\n/**\n * clone event\n * @param e\n */\nexport var cloneEvent = function (e) {\n debugger;\n var event = new G6GraphEvent(e.type, e);\n event.clientX = e.clientX;\n event.clientY = e.clientY;\n event.x = e.x;\n event.y = e.y;\n event.target = e.target;\n event.currentTarget = e.currentTarget;\n event.bubbles = true;\n event.item = e.item;\n return event;\n};\n/**\n * 判断 viewport 是否改变,通过和单位矩阵对比\n * @param matrix Viewport 的 Matrix\n */\nexport var isViewportChanged = function (matrix) {\n // matrix 为 null, 则说明没有变化\n if (!matrix) {\n return false;\n }\n var MATRIX_LEN = 9;\n var ORIGIN_MATRIX = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n for (var i = 0; i < MATRIX_LEN; i++) {\n if (matrix[i] !== ORIGIN_MATRIX[i]) {\n return true;\n }\n }\n return false;\n};\nexport var isNaN = function (input) { return Number.isNaN(Number(input)); };\n/**\n * 计算一组 Item 的 BBox\n * @param items 选中的一组Item,可以是 node 或 combo\n */\nexport var calculationItemsBBox = function (items) {\n var minx = Infinity;\n var maxx = -Infinity;\n var miny = Infinity;\n var maxy = -Infinity;\n // 获取已节点的所有最大最小x y值\n for (var i = 0; i < items.length; i++) {\n var element = items[i];\n var bbox = element.getBBox();\n var minX = bbox.minX, minY = bbox.minY, maxX = bbox.maxX, maxY = bbox.maxY;\n if (minX < minx) {\n minx = minX;\n }\n if (minY < miny) {\n miny = minY;\n }\n if (maxX > maxx) {\n maxx = maxX;\n }\n if (maxY > maxy) {\n maxy = maxY;\n }\n }\n var x = Math.floor(minx);\n var y = Math.floor(miny);\n var width = Math.ceil(maxx) - Math.floor(minx);\n var height = Math.ceil(maxy) - Math.floor(miny);\n return {\n x: x,\n y: y,\n width: width,\n height: height,\n minX: minx,\n minY: miny,\n maxX: maxx,\n maxY: maxy,\n };\n};\n/**\n * 若 edges 中存在两端点相同的边,使用 quadratic 边并自动计算 curveOffset 使它们不相互重叠\n * @param edges 边数据集合\n * @param offsetDiff 相邻两边的 offset 之差\n */\nexport var processParallelEdges = function (edges, offsetDiff, multiEdgeType, singleEdgeType) {\n if (offsetDiff === void 0) { offsetDiff = 15; }\n if (multiEdgeType === void 0) { multiEdgeType = 'quadratic'; }\n if (singleEdgeType === void 0) { singleEdgeType = 'line'; }\n var len = edges.length;\n var cod = offsetDiff * 2;\n var loopPosition = [\n 'top',\n 'top-right',\n 'right',\n 'bottom-right',\n 'bottom',\n 'bottom-left',\n 'left',\n 'top-left',\n ];\n var edgeMap = {};\n var tags = [];\n var reverses = {};\n for (var i = 0; i < len; i++) {\n var edge = edges[i];\n var source = edge.source, target = edge.target;\n var sourceTarget = source + \"-\" + target;\n if (tags[i])\n continue;\n if (!edgeMap[sourceTarget]) {\n edgeMap[sourceTarget] = [];\n }\n tags[i] = true;\n edgeMap[sourceTarget].push(edge);\n for (var j = 0; j < len; j++) {\n if (i === j)\n continue;\n var sedge = edges[j];\n var src = sedge.source;\n var dst = sedge.target;\n // 两个节点之间共同的边\n // 第一条的source = 第二条的target\n // 第一条的target = 第二条的source\n if (!tags[j]) {\n if (source === dst && target === src) {\n edgeMap[sourceTarget].push(sedge);\n tags[j] = true;\n reverses[src + \"|\" + dst + \"|\" + (edgeMap[sourceTarget].length - 1)] = true;\n }\n else if (source === src && target === dst) {\n edgeMap[sourceTarget].push(sedge);\n tags[j] = true;\n }\n }\n }\n }\n for (var key in edgeMap) {\n var arcEdges = edgeMap[key];\n var length = arcEdges.length;\n for (var k = 0; k < length; k++) {\n var current = arcEdges[k];\n if (current.source === current.target) {\n current.type = 'loop';\n // 超过8条自环边,则需要重新处理\n current.loopCfg = {\n position: loopPosition[k % 8],\n dist: Math.floor(k / 8) * 20 + 50,\n };\n continue;\n }\n if (length === 1) {\n current.type = singleEdgeType;\n continue;\n }\n current.type = multiEdgeType;\n var sign = (k % 2 === 0 ? 1 : -1) * (reverses[current.source + \"|\" + current.target + \"|\" + k] ? -1 : 1);\n if (length % 2 === 1) {\n current.curveOffset = sign * Math.ceil(k / 2) * cod;\n }\n else {\n current.curveOffset = sign * (Math.floor(k / 2) * cod + offsetDiff);\n }\n }\n }\n return edges;\n};\n" }, { "id": 13, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js", "index": 140, "index2": 133, "size": 35680, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerId": 49, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } } ], "profile": { "factory": 1680, "building": 569, "dependencies": 582 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "../util/path", "loc": "6:0-41" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "36:19-43" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "38:21-45" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "40:21-44" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "41:21-40" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "45:19-43" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "46:21-45" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "../util/path", "loc": "47:21-40" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./util/path", "loc": "5:0-40" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./util/path", "loc": "17:0-20" } ], "usedExports": ["fillPathByDiff", "formatPath", "parsePathString"], "providedExports": [ "catmullRomToBezier", "fillPath", "fillPathByDiff", "formatPath", "intersection", "parsePathArray", "parsePathString", "pathToAbsolute", "pathToCurve", "rectPath" ], "optimizationBailout": [], "depth": 3, "source": "import { each, isArray } from '@antv/util';\nvar SPACES = \"\\t\\n\\x0B\\f\\r \\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\";\nvar PATH_COMMAND = new RegExp(\"([a-z])[\" + SPACES + \",]*((-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?[\" + SPACES + \"]*,?[\" + SPACES + \"]*)+)\", 'ig');\nvar PATH_VALUES = new RegExp(\"(-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?)[\" + SPACES + \"]*,?[\" + SPACES + \"]*\", 'ig'); // Parse given path string into an array of arrays of path segments\n\nvar parsePathString = function parsePathString(pathString) {\n if (!pathString) {\n return null;\n }\n\n if (isArray(pathString)) {\n return pathString;\n }\n\n var paramCounts = {\n a: 7,\n c: 6,\n o: 2,\n h: 1,\n l: 2,\n m: 2,\n r: 4,\n q: 4,\n s: 4,\n t: 2,\n v: 1,\n u: 3,\n z: 0\n };\n var data = [];\n String(pathString).replace(PATH_COMMAND, function (a, b, c) {\n var params = [];\n var name = b.toLowerCase();\n c.replace(PATH_VALUES, function (a, b) {\n b && params.push(+b);\n });\n\n if (name === 'm' && params.length > 2) {\n data.push([b].concat(params.splice(0, 2)));\n name = 'l';\n b = b === 'm' ? 'l' : 'L';\n }\n\n if (name === 'o' && params.length === 1) {\n data.push([b, params[0]]);\n }\n\n if (name === 'r') {\n data.push([b].concat(params));\n } else {\n while (params.length >= paramCounts[name]) {\n data.push([b].concat(params.splice(0, paramCounts[name])));\n\n if (!paramCounts[name]) {\n break;\n }\n }\n }\n\n return pathString;\n });\n return data;\n}; // http://schepers.cc/getting-to-the-point\n\n\nvar catmullRomToBezier = function catmullRomToBezier(crp, z) {\n var d = []; // @ts-ignore\n\n for (var i = 0, iLen = crp.length; iLen - 2 * !z > i; i += 2) {\n var p = [{\n x: +crp[i - 2],\n y: +crp[i - 1]\n }, {\n x: +crp[i],\n y: +crp[i + 1]\n }, {\n x: +crp[i + 2],\n y: +crp[i + 3]\n }, {\n x: +crp[i + 4],\n y: +crp[i + 5]\n }];\n\n if (z) {\n if (!i) {\n p[0] = {\n x: +crp[iLen - 2],\n y: +crp[iLen - 1]\n };\n } else if (iLen - 4 === i) {\n p[3] = {\n x: +crp[0],\n y: +crp[1]\n };\n } else if (iLen - 2 === i) {\n p[2] = {\n x: +crp[0],\n y: +crp[1]\n };\n p[3] = {\n x: +crp[2],\n y: +crp[3]\n };\n }\n } else {\n if (iLen - 4 === i) {\n p[3] = p[2];\n } else if (!i) {\n p[0] = {\n x: +crp[i],\n y: +crp[i + 1]\n };\n }\n }\n\n d.push(['C', (-p[0].x + 6 * p[1].x + p[2].x) / 6, (-p[0].y + 6 * p[1].y + p[2].y) / 6, (p[1].x + 6 * p[2].x - p[3].x) / 6, (p[1].y + 6 * p[2].y - p[3].y) / 6, p[2].x, p[2].y]);\n }\n\n return d;\n};\n\nvar ellipsePath = function ellipsePath(x, y, rx, ry, a) {\n var res = [];\n\n if (a === null && ry === null) {\n ry = rx;\n }\n\n x = +x;\n y = +y;\n rx = +rx;\n ry = +ry;\n\n if (a !== null) {\n var rad = Math.PI / 180;\n var x1 = x + rx * Math.cos(-ry * rad);\n var x2 = x + rx * Math.cos(-a * rad);\n var y1 = y + rx * Math.sin(-ry * rad);\n var y2 = y + rx * Math.sin(-a * rad);\n res = [['M', x1, y1], ['A', rx, rx, 0, +(a - ry > 180), 0, x2, y2]];\n } else {\n res = [['M', x, y], ['m', 0, -ry], ['a', rx, ry, 0, 1, 1, 0, 2 * ry], ['a', rx, ry, 0, 1, 1, 0, -2 * ry], ['z']];\n }\n\n return res;\n};\n\nvar pathToAbsolute = function pathToAbsolute(pathArray) {\n pathArray = parsePathString(pathArray);\n\n if (!pathArray || !pathArray.length) {\n return [['M', 0, 0]];\n }\n\n var res = [];\n var x = 0;\n var y = 0;\n var mx = 0;\n var my = 0;\n var start = 0;\n var pa0;\n var dots;\n\n if (pathArray[0][0] === 'M') {\n x = +pathArray[0][1];\n y = +pathArray[0][2];\n mx = x;\n my = y;\n start++;\n res[0] = ['M', x, y];\n }\n\n var crz = pathArray.length === 3 && pathArray[0][0] === 'M' && pathArray[1][0].toUpperCase() === 'R' && pathArray[2][0].toUpperCase() === 'Z';\n\n for (var r = void 0, pa = void 0, i = start, ii = pathArray.length; i < ii; i++) {\n res.push(r = []);\n pa = pathArray[i];\n pa0 = pa[0];\n\n if (pa0 !== pa0.toUpperCase()) {\n r[0] = pa0.toUpperCase();\n\n switch (r[0]) {\n case 'A':\n r[1] = pa[1];\n r[2] = pa[2];\n r[3] = pa[3];\n r[4] = pa[4];\n r[5] = pa[5];\n r[6] = +pa[6] + x;\n r[7] = +pa[7] + y;\n break;\n\n case 'V':\n r[1] = +pa[1] + y;\n break;\n\n case 'H':\n r[1] = +pa[1] + x;\n break;\n\n case 'R':\n dots = [x, y].concat(pa.slice(1));\n\n for (var j = 2, jj = dots.length; j < jj; j++) {\n dots[j] = +dots[j] + x;\n dots[++j] = +dots[j] + y;\n }\n\n res.pop();\n res = res.concat(catmullRomToBezier(dots, crz));\n break;\n\n case 'O':\n res.pop();\n dots = ellipsePath(x, y, pa[1], pa[2]);\n dots.push(dots[0]);\n res = res.concat(dots);\n break;\n\n case 'U':\n res.pop();\n res = res.concat(ellipsePath(x, y, pa[1], pa[2], pa[3]));\n r = ['U'].concat(res[res.length - 1].slice(-2));\n break;\n\n case 'M':\n mx = +pa[1] + x;\n my = +pa[2] + y;\n break;\n // for lint\n\n default:\n for (var j = 1, jj = pa.length; j < jj; j++) {\n r[j] = +pa[j] + (j % 2 ? x : y);\n }\n\n }\n } else if (pa0 === 'R') {\n dots = [x, y].concat(pa.slice(1));\n res.pop();\n res = res.concat(catmullRomToBezier(dots, crz));\n r = ['R'].concat(pa.slice(-2));\n } else if (pa0 === 'O') {\n res.pop();\n dots = ellipsePath(x, y, pa[1], pa[2]);\n dots.push(dots[0]);\n res = res.concat(dots);\n } else if (pa0 === 'U') {\n res.pop();\n res = res.concat(ellipsePath(x, y, pa[1], pa[2], pa[3]));\n r = ['U'].concat(res[res.length - 1].slice(-2));\n } else {\n for (var k = 0, kk = pa.length; k < kk; k++) {\n r[k] = pa[k];\n }\n }\n\n pa0 = pa0.toUpperCase();\n\n if (pa0 !== 'O') {\n switch (r[0]) {\n case 'Z':\n x = +mx;\n y = +my;\n break;\n\n case 'H':\n x = r[1];\n break;\n\n case 'V':\n y = r[1];\n break;\n\n case 'M':\n mx = r[r.length - 2];\n my = r[r.length - 1];\n break;\n // for lint\n\n default:\n x = r[r.length - 2];\n y = r[r.length - 1];\n }\n }\n }\n\n return res;\n};\n\nvar l2c = function l2c(x1, y1, x2, y2) {\n return [x1, y1, x2, y2, x2, y2];\n};\n\nvar q2c = function q2c(x1, y1, ax, ay, x2, y2) {\n var _13 = 1 / 3;\n\n var _23 = 2 / 3;\n\n return [_13 * x1 + _23 * ax, _13 * y1 + _23 * ay, _13 * x2 + _23 * ax, _13 * y2 + _23 * ay, x2, y2];\n};\n\nvar a2c = function a2c(x1, y1, rx, ry, angle, large_arc_flag, sweep_flag, x2, y2, recursive) {\n // for more information of where this math came from visit:\n // http://www.w3.org/TR/SVG11/implnote.html#ArcImplementationNotes\n if (rx === ry) {\n rx += 1;\n }\n\n var _120 = Math.PI * 120 / 180;\n\n var rad = Math.PI / 180 * (+angle || 0);\n var res = [];\n var xy;\n var f1;\n var f2;\n var cx;\n var cy;\n\n var rotate = function rotate(x, y, rad) {\n var X = x * Math.cos(rad) - y * Math.sin(rad);\n var Y = x * Math.sin(rad) + y * Math.cos(rad);\n return {\n x: X,\n y: Y\n };\n };\n\n if (!recursive) {\n xy = rotate(x1, y1, -rad);\n x1 = xy.x;\n y1 = xy.y;\n xy = rotate(x2, y2, -rad);\n x2 = xy.x;\n y2 = xy.y;\n\n if (x1 === x2 && y1 === y2) {\n // 若弧的起始点和终点重叠则错开一点\n x2 += 1;\n y2 += 1;\n } // const cos = Math.cos(Math.PI / 180 * angle);\n // const sin = Math.sin(Math.PI / 180 * angle);\n\n\n var x = (x1 - x2) / 2;\n var y = (y1 - y2) / 2;\n var h = x * x / (rx * rx) + y * y / (ry * ry);\n\n if (h > 1) {\n h = Math.sqrt(h);\n rx = h * rx;\n ry = h * ry;\n }\n\n var rx2 = rx * rx;\n var ry2 = ry * ry;\n var k = (large_arc_flag === sweep_flag ? -1 : 1) * Math.sqrt(Math.abs((rx2 * ry2 - rx2 * y * y - ry2 * x * x) / (rx2 * y * y + ry2 * x * x)));\n cx = k * rx * y / ry + (x1 + x2) / 2;\n cy = k * -ry * x / rx + (y1 + y2) / 2; // @ts-ignore\n\n f1 = Math.asin(((y1 - cy) / ry).toFixed(9)); // @ts-ignore\n\n f2 = Math.asin(((y2 - cy) / ry).toFixed(9));\n f1 = x1 < cx ? Math.PI - f1 : f1;\n f2 = x2 < cx ? Math.PI - f2 : f2;\n f1 < 0 && (f1 = Math.PI * 2 + f1);\n f2 < 0 && (f2 = Math.PI * 2 + f2);\n\n if (sweep_flag && f1 > f2) {\n f1 = f1 - Math.PI * 2;\n }\n\n if (!sweep_flag && f2 > f1) {\n f2 = f2 - Math.PI * 2;\n }\n } else {\n f1 = recursive[0];\n f2 = recursive[1];\n cx = recursive[2];\n cy = recursive[3];\n }\n\n var df = f2 - f1;\n\n if (Math.abs(df) > _120) {\n var f2old = f2;\n var x2old = x2;\n var y2old = y2;\n f2 = f1 + _120 * (sweep_flag && f2 > f1 ? 1 : -1);\n x2 = cx + rx * Math.cos(f2);\n y2 = cy + ry * Math.sin(f2);\n res = a2c(x2, y2, rx, ry, angle, 0, sweep_flag, x2old, y2old, [f2, f2old, cx, cy]);\n }\n\n df = f2 - f1;\n var c1 = Math.cos(f1);\n var s1 = Math.sin(f1);\n var c2 = Math.cos(f2);\n var s2 = Math.sin(f2);\n var t = Math.tan(df / 4);\n var hx = 4 / 3 * rx * t;\n var hy = 4 / 3 * ry * t;\n var m1 = [x1, y1];\n var m2 = [x1 + hx * s1, y1 - hy * c1];\n var m3 = [x2 + hx * s2, y2 - hy * c2];\n var m4 = [x2, y2];\n m2[0] = 2 * m1[0] - m2[0];\n m2[1] = 2 * m1[1] - m2[1];\n\n if (recursive) {\n return [m2, m3, m4].concat(res);\n }\n\n res = [m2, m3, m4].concat(res).join().split(',');\n var newres = [];\n\n for (var i = 0, ii = res.length; i < ii; i++) {\n newres[i] = i % 2 ? rotate(res[i - 1], res[i], rad).y : rotate(res[i], res[i + 1], rad).x;\n }\n\n return newres;\n};\n\nvar pathToCurve = function pathToCurve(path, path2) {\n var p = pathToAbsolute(path);\n var p2 = path2 && pathToAbsolute(path2);\n var attrs = {\n x: 0,\n y: 0,\n bx: 0,\n by: 0,\n X: 0,\n Y: 0,\n qx: null,\n qy: null\n };\n var attrs2 = {\n x: 0,\n y: 0,\n bx: 0,\n by: 0,\n X: 0,\n Y: 0,\n qx: null,\n qy: null\n };\n var pcoms1 = []; // path commands of original path p\n\n var pcoms2 = []; // path commands of original path p2\n\n var pfirst = ''; // temporary holder for original path command\n\n var pcom = ''; // holder for previous path command of original path\n\n var ii;\n\n var processPath = function processPath(path, d, pcom) {\n var nx;\n var ny;\n\n if (!path) {\n return ['C', d.x, d.y, d.x, d.y, d.x, d.y];\n }\n\n !(path[0] in {\n T: 1,\n Q: 1\n }) && (d.qx = d.qy = null);\n\n switch (path[0]) {\n case 'M':\n d.X = path[1];\n d.Y = path[2];\n break;\n\n case 'A':\n path = ['C'].concat(a2c.apply(0, [d.x, d.y].concat(path.slice(1))));\n break;\n\n case 'S':\n if (pcom === 'C' || pcom === 'S') {\n // In \"S\" case we have to take into account, if the previous command is C/S.\n nx = d.x * 2 - d.bx; // And reflect the previous\n\n ny = d.y * 2 - d.by; // command's control point relative to the current point.\n } else {\n // or some else or nothing\n nx = d.x;\n ny = d.y;\n }\n\n path = ['C', nx, ny].concat(path.slice(1));\n break;\n\n case 'T':\n if (pcom === 'Q' || pcom === 'T') {\n // In \"T\" case we have to take into account, if the previous command is Q/T.\n d.qx = d.x * 2 - d.qx; // And make a reflection similar\n\n d.qy = d.y * 2 - d.qy; // to case \"S\".\n } else {\n // or something else or nothing\n d.qx = d.x;\n d.qy = d.y;\n }\n\n path = ['C'].concat(q2c(d.x, d.y, d.qx, d.qy, path[1], path[2]));\n break;\n\n case 'Q':\n d.qx = path[1];\n d.qy = path[2];\n path = ['C'].concat(q2c(d.x, d.y, path[1], path[2], path[3], path[4]));\n break;\n\n case 'L':\n path = ['C'].concat(l2c(d.x, d.y, path[1], path[2]));\n break;\n\n case 'H':\n path = ['C'].concat(l2c(d.x, d.y, path[1], d.y));\n break;\n\n case 'V':\n path = ['C'].concat(l2c(d.x, d.y, d.x, path[1]));\n break;\n\n case 'Z':\n path = ['C'].concat(l2c(d.x, d.y, d.X, d.Y));\n break;\n\n default:\n break;\n }\n\n return path;\n };\n\n var fixArc = function fixArc(pp, i) {\n if (pp[i].length > 7) {\n pp[i].shift();\n var pi = pp[i];\n\n while (pi.length) {\n pcoms1[i] = 'A'; // if created multiple C:s, their original seg is saved\n\n p2 && (pcoms2[i] = 'A'); // the same as above\n\n pp.splice(i++, 0, ['C'].concat(pi.splice(0, 6)));\n }\n\n pp.splice(i, 1);\n ii = Math.max(p.length, p2 && p2.length || 0);\n }\n };\n\n var fixM = function fixM(path1, path2, a1, a2, i) {\n if (path1 && path2 && path1[i][0] === 'M' && path2[i][0] !== 'M') {\n path2.splice(i, 0, ['M', a2.x, a2.y]);\n a1.bx = 0;\n a1.by = 0;\n a1.x = path1[i][1];\n a1.y = path1[i][2];\n ii = Math.max(p.length, p2 && p2.length || 0);\n }\n };\n\n ii = Math.max(p.length, p2 && p2.length || 0);\n\n for (var i = 0; i < ii; i++) {\n p[i] && (pfirst = p[i][0]); // save current path command\n\n if (pfirst !== 'C') {\n // C is not saved yet, because it may be result of conversion\n pcoms1[i] = pfirst; // Save current path command\n\n i && (pcom = pcoms1[i - 1]); // Get previous path command pcom\n }\n\n p[i] = processPath(p[i], attrs, pcom); // Previous path command is inputted to processPath\n\n if (pcoms1[i] !== 'A' && pfirst === 'C') pcoms1[i] = 'C'; // A is the only command\n // which may produce multiple C:s\n // so we have to make sure that C is also C in original path\n\n fixArc(p, i); // fixArc adds also the right amount of A:s to pcoms1\n\n if (p2) {\n // the same procedures is done to p2\n p2[i] && (pfirst = p2[i][0]);\n\n if (pfirst !== 'C') {\n pcoms2[i] = pfirst;\n i && (pcom = pcoms2[i - 1]);\n }\n\n p2[i] = processPath(p2[i], attrs2, pcom);\n\n if (pcoms2[i] !== 'A' && pfirst === 'C') {\n pcoms2[i] = 'C';\n }\n\n fixArc(p2, i);\n }\n\n fixM(p, p2, attrs, attrs2, i);\n fixM(p2, p, attrs2, attrs, i);\n var seg = p[i];\n var seg2 = p2 && p2[i];\n var seglen = seg.length;\n var seg2len = p2 && seg2.length;\n attrs.x = seg[seglen - 2];\n attrs.y = seg[seglen - 1];\n attrs.bx = parseFloat(seg[seglen - 4]) || attrs.x;\n attrs.by = parseFloat(seg[seglen - 3]) || attrs.y;\n attrs2.bx = p2 && (parseFloat(seg2[seg2len - 4]) || attrs2.x);\n attrs2.by = p2 && (parseFloat(seg2[seg2len - 3]) || attrs2.y);\n attrs2.x = p2 && seg2[seg2len - 2];\n attrs2.y = p2 && seg2[seg2len - 1];\n }\n\n return p2 ? [p, p2] : p;\n};\n\nvar p2s = /,?([a-z]),?/gi;\n\nvar parsePathArray = function parsePathArray(path) {\n return path.join(',').replace(p2s, '$1');\n};\n\nvar base3 = function base3(t, p1, p2, p3, p4) {\n var t1 = -3 * p1 + 9 * p2 - 9 * p3 + 3 * p4;\n var t2 = t * t1 + 6 * p1 - 12 * p2 + 6 * p3;\n return t * t2 - 3 * p1 + 3 * p2;\n};\n\nvar bezlen = function bezlen(x1, y1, x2, y2, x3, y3, x4, y4, z) {\n if (z === null) {\n z = 1;\n }\n\n z = z > 1 ? 1 : z < 0 ? 0 : z;\n var z2 = z / 2;\n var n = 12;\n var Tvalues = [-0.1252, 0.1252, -0.3678, 0.3678, -0.5873, 0.5873, -0.7699, 0.7699, -0.9041, 0.9041, -0.9816, 0.9816];\n var Cvalues = [0.2491, 0.2491, 0.2335, 0.2335, 0.2032, 0.2032, 0.1601, 0.1601, 0.1069, 0.1069, 0.0472, 0.0472];\n var sum = 0;\n\n for (var i = 0; i < n; i++) {\n var ct = z2 * Tvalues[i] + z2;\n var xbase = base3(ct, x1, x2, x3, x4);\n var ybase = base3(ct, y1, y2, y3, y4);\n var comb = xbase * xbase + ybase * ybase;\n sum += Cvalues[i] * Math.sqrt(comb);\n }\n\n return z2 * sum;\n};\n\nvar curveDim = function curveDim(x0, y0, x1, y1, x2, y2, x3, y3) {\n var tvalues = [];\n var bounds = [[], []];\n var a;\n var b;\n var c;\n var t;\n\n for (var i = 0; i < 2; ++i) {\n if (i === 0) {\n b = 6 * x0 - 12 * x1 + 6 * x2;\n a = -3 * x0 + 9 * x1 - 9 * x2 + 3 * x3;\n c = 3 * x1 - 3 * x0;\n } else {\n b = 6 * y0 - 12 * y1 + 6 * y2;\n a = -3 * y0 + 9 * y1 - 9 * y2 + 3 * y3;\n c = 3 * y1 - 3 * y0;\n }\n\n if (Math.abs(a) < 1e-12) {\n if (Math.abs(b) < 1e-12) {\n continue;\n }\n\n t = -c / b;\n\n if (t > 0 && t < 1) {\n tvalues.push(t);\n }\n\n continue;\n }\n\n var b2ac = b * b - 4 * c * a;\n var sqrtb2ac = Math.sqrt(b2ac);\n\n if (b2ac < 0) {\n continue;\n }\n\n var t1 = (-b + sqrtb2ac) / (2 * a);\n\n if (t1 > 0 && t1 < 1) {\n tvalues.push(t1);\n }\n\n var t2 = (-b - sqrtb2ac) / (2 * a);\n\n if (t2 > 0 && t2 < 1) {\n tvalues.push(t2);\n }\n }\n\n var j = tvalues.length;\n var jlen = j;\n var mt;\n\n while (j--) {\n t = tvalues[j];\n mt = 1 - t;\n bounds[0][j] = mt * mt * mt * x0 + 3 * mt * mt * t * x1 + 3 * mt * t * t * x2 + t * t * t * x3;\n bounds[1][j] = mt * mt * mt * y0 + 3 * mt * mt * t * y1 + 3 * mt * t * t * y2 + t * t * t * y3;\n }\n\n bounds[0][jlen] = x0;\n bounds[1][jlen] = y0;\n bounds[0][jlen + 1] = x3;\n bounds[1][jlen + 1] = y3;\n bounds[0].length = bounds[1].length = jlen + 2;\n return {\n min: {\n x: Math.min.apply(0, bounds[0]),\n y: Math.min.apply(0, bounds[1])\n },\n max: {\n x: Math.max.apply(0, bounds[0]),\n y: Math.max.apply(0, bounds[1])\n }\n };\n};\n\nvar intersect = function intersect(x1, y1, x2, y2, x3, y3, x4, y4) {\n if (Math.max(x1, x2) < Math.min(x3, x4) || Math.min(x1, x2) > Math.max(x3, x4) || Math.max(y1, y2) < Math.min(y3, y4) || Math.min(y1, y2) > Math.max(y3, y4)) {\n return;\n }\n\n var nx = (x1 * y2 - y1 * x2) * (x3 - x4) - (x1 - x2) * (x3 * y4 - y3 * x4);\n var ny = (x1 * y2 - y1 * x2) * (y3 - y4) - (y1 - y2) * (x3 * y4 - y3 * x4);\n var denominator = (x1 - x2) * (y3 - y4) - (y1 - y2) * (x3 - x4);\n\n if (!denominator) {\n return;\n }\n\n var px = nx / denominator;\n var py = ny / denominator;\n var px2 = +px.toFixed(2);\n var py2 = +py.toFixed(2);\n\n if (px2 < +Math.min(x1, x2).toFixed(2) || px2 > +Math.max(x1, x2).toFixed(2) || px2 < +Math.min(x3, x4).toFixed(2) || px2 > +Math.max(x3, x4).toFixed(2) || py2 < +Math.min(y1, y2).toFixed(2) || py2 > +Math.max(y1, y2).toFixed(2) || py2 < +Math.min(y3, y4).toFixed(2) || py2 > +Math.max(y3, y4).toFixed(2)) {\n return;\n }\n\n return {\n x: px,\n y: py\n };\n};\n\nvar isPointInsideBBox = function isPointInsideBBox(bbox, x, y) {\n return x >= bbox.x && x <= bbox.x + bbox.width && y >= bbox.y && y <= bbox.y + bbox.height;\n};\n\nvar rectPath = function rectPath(x, y, w, h, r) {\n if (r) {\n return [['M', +x + +r, y], ['l', w - r * 2, 0], ['a', r, r, 0, 0, 1, r, r], ['l', 0, h - r * 2], ['a', r, r, 0, 0, 1, -r, r], ['l', r * 2 - w, 0], ['a', r, r, 0, 0, 1, -r, -r], ['l', 0, r * 2 - h], ['a', r, r, 0, 0, 1, r, -r], ['z']];\n }\n\n var res = [['M', x, y], ['l', w, 0], ['l', 0, h], ['l', -w, 0], ['z']]; // @ts-ignore\n\n res.parsePathArray = parsePathArray;\n return res;\n};\n\nvar box = function box(x, y, width, height) {\n if (x === null) {\n x = y = width = height = 0;\n }\n\n if (y === null) {\n y = x.y;\n width = x.width;\n height = x.height;\n x = x.x;\n }\n\n return {\n x: x,\n y: y,\n width: width,\n w: width,\n height: height,\n h: height,\n x2: x + width,\n y2: y + height,\n cx: x + width / 2,\n cy: y + height / 2,\n r1: Math.min(width, height) / 2,\n r2: Math.max(width, height) / 2,\n r0: Math.sqrt(width * width + height * height) / 2,\n path: rectPath(x, y, width, height),\n vb: [x, y, width, height].join(' ')\n };\n};\n\nvar isBBoxIntersect = function isBBoxIntersect(bbox1, bbox2) {\n bbox1 = box(bbox1);\n bbox2 = box(bbox2);\n return isPointInsideBBox(bbox2, bbox1.x, bbox1.y) || isPointInsideBBox(bbox2, bbox1.x2, bbox1.y) || isPointInsideBBox(bbox2, bbox1.x, bbox1.y2) || isPointInsideBBox(bbox2, bbox1.x2, bbox1.y2) || isPointInsideBBox(bbox1, bbox2.x, bbox2.y) || isPointInsideBBox(bbox1, bbox2.x2, bbox2.y) || isPointInsideBBox(bbox1, bbox2.x, bbox2.y2) || isPointInsideBBox(bbox1, bbox2.x2, bbox2.y2) || (bbox1.x < bbox2.x2 && bbox1.x > bbox2.x || bbox2.x < bbox1.x2 && bbox2.x > bbox1.x) && (bbox1.y < bbox2.y2 && bbox1.y > bbox2.y || bbox2.y < bbox1.y2 && bbox2.y > bbox1.y);\n};\n\nvar bezierBBox = function bezierBBox(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y) {\n if (!isArray(p1x)) {\n p1x = [p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y];\n }\n\n var bbox = curveDim.apply(null, p1x);\n return box(bbox.min.x, bbox.min.y, bbox.max.x - bbox.min.x, bbox.max.y - bbox.min.y);\n};\n\nvar findDotsAtSegment = function findDotsAtSegment(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t) {\n var t1 = 1 - t;\n var t13 = Math.pow(t1, 3);\n var t12 = Math.pow(t1, 2);\n var t2 = t * t;\n var t3 = t2 * t;\n var x = t13 * p1x + t12 * 3 * t * c1x + t1 * 3 * t * t * c2x + t3 * p2x;\n var y = t13 * p1y + t12 * 3 * t * c1y + t1 * 3 * t * t * c2y + t3 * p2y;\n var mx = p1x + 2 * t * (c1x - p1x) + t2 * (c2x - 2 * c1x + p1x);\n var my = p1y + 2 * t * (c1y - p1y) + t2 * (c2y - 2 * c1y + p1y);\n var nx = c1x + 2 * t * (c2x - c1x) + t2 * (p2x - 2 * c2x + c1x);\n var ny = c1y + 2 * t * (c2y - c1y) + t2 * (p2y - 2 * c2y + c1y);\n var ax = t1 * p1x + t * c1x;\n var ay = t1 * p1y + t * c1y;\n var cx = t1 * c2x + t * p2x;\n var cy = t1 * c2y + t * p2y;\n var alpha = 90 - Math.atan2(mx - nx, my - ny) * 180 / Math.PI; // (mx > nx || my < ny) && (alpha += 180);\n\n return {\n x: x,\n y: y,\n m: {\n x: mx,\n y: my\n },\n n: {\n x: nx,\n y: ny\n },\n start: {\n x: ax,\n y: ay\n },\n end: {\n x: cx,\n y: cy\n },\n alpha: alpha\n };\n};\n\nvar interHelper = function interHelper(bez1, bez2, justCount) {\n var bbox1 = bezierBBox(bez1);\n var bbox2 = bezierBBox(bez2);\n\n if (!isBBoxIntersect(bbox1, bbox2)) {\n return justCount ? 0 : [];\n }\n\n var l1 = bezlen.apply(0, bez1);\n var l2 = bezlen.apply(0, bez2);\n var n1 = ~~(l1 / 8);\n var n2 = ~~(l2 / 8);\n var dots1 = [];\n var dots2 = [];\n var xy = {};\n var res = justCount ? 0 : [];\n\n for (var i = 0; i < n1 + 1; i++) {\n var d = findDotsAtSegment.apply(0, bez1.concat(i / n1));\n dots1.push({\n x: d.x,\n y: d.y,\n t: i / n1\n });\n }\n\n for (var i = 0; i < n2 + 1; i++) {\n var d = findDotsAtSegment.apply(0, bez2.concat(i / n2));\n dots2.push({\n x: d.x,\n y: d.y,\n t: i / n2\n });\n }\n\n for (var i = 0; i < n1; i++) {\n for (var j = 0; j < n2; j++) {\n var di = dots1[i];\n var di1 = dots1[i + 1];\n var dj = dots2[j];\n var dj1 = dots2[j + 1];\n var ci = Math.abs(di1.x - di.x) < 0.001 ? 'y' : 'x';\n var cj = Math.abs(dj1.x - dj.x) < 0.001 ? 'y' : 'x';\n var is = intersect(di.x, di.y, di1.x, di1.y, dj.x, dj.y, dj1.x, dj1.y);\n\n if (is) {\n if (xy[is.x.toFixed(4)] === is.y.toFixed(4)) {\n continue;\n }\n\n xy[is.x.toFixed(4)] = is.y.toFixed(4);\n var t1 = di.t + Math.abs((is[ci] - di[ci]) / (di1[ci] - di[ci])) * (di1.t - di.t);\n var t2 = dj.t + Math.abs((is[cj] - dj[cj]) / (dj1[cj] - dj[cj])) * (dj1.t - dj.t);\n\n if (t1 >= 0 && t1 <= 1 && t2 >= 0 && t2 <= 1) {\n if (justCount) {\n // @ts-ignore\n res += 1;\n } else {\n // @ts-ignore\n res.push({\n x: is.x,\n y: is.y,\n t1: t1,\n t2: t2\n });\n }\n }\n }\n }\n }\n\n return res;\n};\n\nvar interPathHelper = function interPathHelper(path1, path2, justCount) {\n path1 = pathToCurve(path1);\n path2 = pathToCurve(path2);\n var x1;\n var y1;\n var x2;\n var y2;\n var x1m;\n var y1m;\n var x2m;\n var y2m;\n var bez1;\n var bez2;\n var res = justCount ? 0 : [];\n\n for (var i = 0, ii = path1.length; i < ii; i++) {\n var pi = path1[i];\n\n if (pi[0] === 'M') {\n x1 = x1m = pi[1];\n y1 = y1m = pi[2];\n } else {\n if (pi[0] === 'C') {\n bez1 = [x1, y1].concat(pi.slice(1));\n x1 = bez1[6];\n y1 = bez1[7];\n } else {\n bez1 = [x1, y1, x1, y1, x1m, y1m, x1m, y1m];\n x1 = x1m;\n y1 = y1m;\n }\n\n for (var j = 0, jj = path2.length; j < jj; j++) {\n var pj = path2[j];\n\n if (pj[0] === 'M') {\n x2 = x2m = pj[1];\n y2 = y2m = pj[2];\n } else {\n if (pj[0] === 'C') {\n bez2 = [x2, y2].concat(pj.slice(1));\n x2 = bez2[6];\n y2 = bez2[7];\n } else {\n bez2 = [x2, y2, x2, y2, x2m, y2m, x2m, y2m];\n x2 = x2m;\n y2 = y2m;\n }\n\n var intr = interHelper(bez1, bez2, justCount);\n\n if (justCount) {\n // @ts-ignore\n res += intr;\n } else {\n // @ts-ignore\n for (var k = 0, kk = intr.length; k < kk; k++) {\n intr[k].segment1 = i;\n intr[k].segment2 = j;\n intr[k].bez1 = bez1;\n intr[k].bez2 = bez2;\n } // @ts-ignore\n\n\n res = res.concat(intr);\n }\n }\n }\n }\n }\n\n return res;\n};\n\nvar intersection = function intersection(path1, path2) {\n return interPathHelper(path1, path2);\n};\n\nfunction decasteljau(points, t) {\n var left = [];\n var right = [];\n\n function recurse(points, t) {\n if (points.length === 1) {\n left.push(points[0]);\n right.push(points[0]);\n } else {\n var middlePoints = [];\n\n for (var i = 0; i < points.length - 1; i++) {\n if (i === 0) {\n left.push(points[0]);\n }\n\n if (i === points.length - 2) {\n right.push(points[i + 1]);\n }\n\n middlePoints[i] = [(1 - t) * points[i][0] + t * points[i + 1][0], (1 - t) * points[i][1] + t * points[i + 1][1]];\n }\n\n recurse(middlePoints, t);\n }\n }\n\n if (points.length) {\n recurse(points, t);\n }\n\n return {\n left: left,\n right: right.reverse()\n };\n}\n\nfunction splitCurve(start, end, count) {\n var points = [[start[1], start[2]]];\n count = count || 2;\n var segments = [];\n\n if (end[0] === 'A') {\n points.push(end[6]);\n points.push(end[7]);\n } else if (end[0] === 'C') {\n points.push([end[1], end[2]]);\n points.push([end[3], end[4]]);\n points.push([end[5], end[6]]);\n } else if (end[0] === 'S' || end[0] === 'Q') {\n points.push([end[1], end[2]]);\n points.push([end[3], end[4]]);\n } else {\n points.push([end[1], end[2]]);\n }\n\n var leftSegments = points;\n var t = 1 / count;\n\n for (var i = 0; i < count - 1; i++) {\n var rt = t / (1 - t * i);\n var split = decasteljau(leftSegments, rt);\n segments.push(split.left);\n leftSegments = split.right;\n }\n\n segments.push(leftSegments);\n var result = segments.map(function (segment) {\n var cmd = [];\n\n if (segment.length === 4) {\n cmd.push('C');\n cmd = cmd.concat(segment[2]);\n }\n\n if (segment.length >= 3) {\n if (segment.length === 3) {\n cmd.push('Q');\n }\n\n cmd = cmd.concat(segment[1]);\n }\n\n if (segment.length === 2) {\n cmd.push('L');\n }\n\n cmd = cmd.concat(segment[segment.length - 1]);\n return cmd;\n });\n return result;\n}\n\nvar splitSegment = function splitSegment(start, end, count) {\n if (count === 1) {\n return [[].concat(start)];\n }\n\n var segments = [];\n\n if (end[0] === 'L' || end[0] === 'C' || end[0] === 'Q') {\n segments = segments.concat(splitCurve(start, end, count));\n } else {\n var temp = [].concat(start);\n\n if (temp[0] === 'M') {\n temp[0] = 'L';\n }\n\n for (var i = 0; i <= count - 1; i++) {\n segments.push(temp);\n }\n }\n\n return segments;\n};\n\nvar fillPath = function fillPath(source, target) {\n if (source.length === 1) {\n return source;\n }\n\n var sourceLen = source.length - 1;\n var targetLen = target.length - 1;\n var ratio = sourceLen / targetLen;\n var segmentsToFill = [];\n\n if (source.length === 1 && source[0][0] === 'M') {\n for (var i = 0; i < targetLen - sourceLen; i++) {\n source.push(source[0]);\n }\n\n return source;\n }\n\n for (var i = 0; i < targetLen; i++) {\n var index = Math.floor(ratio * i);\n segmentsToFill[index] = (segmentsToFill[index] || 0) + 1;\n }\n\n var filled = segmentsToFill.reduce(function (filled, count, i) {\n if (i === sourceLen) {\n return filled.concat(source[sourceLen]);\n }\n\n return filled.concat(splitSegment(source[i], source[i + 1], count));\n }, []);\n filled.unshift(source[0]);\n\n if (target[targetLen] === 'Z' || target[targetLen] === 'z') {\n filled.push('Z');\n }\n\n return filled;\n};\n\nvar isEqual = function isEqual(obj1, obj2) {\n if (obj1.length !== obj2.length) {\n return false;\n }\n\n var result = true;\n each(obj1, function (item, i) {\n if (item !== obj2[i]) {\n result = false;\n return false;\n }\n });\n return result;\n};\n\nfunction getMinDiff(del, add, modify) {\n var type = null;\n var min = modify;\n\n if (add < min) {\n min = add;\n type = 'add';\n }\n\n if (del < min) {\n min = del;\n type = 'del';\n }\n\n return {\n type: type,\n min: min\n };\n}\n/*\n * https://en.wikipedia.org/wiki/Levenshtein_distance\n * 计算两条path的编辑距离\n */\n\n\nvar levenshteinDistance = function levenshteinDistance(source, target) {\n var sourceLen = source.length;\n var targetLen = target.length;\n var sourceSegment;\n var targetSegment;\n var temp = 0;\n\n if (sourceLen === 0 || targetLen === 0) {\n return null;\n }\n\n var dist = [];\n\n for (var i = 0; i <= sourceLen; i++) {\n dist[i] = [];\n dist[i][0] = {\n min: i\n };\n }\n\n for (var j = 0; j <= targetLen; j++) {\n dist[0][j] = {\n min: j\n };\n }\n\n for (var i = 1; i <= sourceLen; i++) {\n sourceSegment = source[i - 1];\n\n for (var j = 1; j <= targetLen; j++) {\n targetSegment = target[j - 1];\n\n if (isEqual(sourceSegment, targetSegment)) {\n temp = 0;\n } else {\n temp = 1;\n }\n\n var del = dist[i - 1][j].min + 1;\n var add = dist[i][j - 1].min + 1;\n var modify = dist[i - 1][j - 1].min + temp;\n dist[i][j] = getMinDiff(del, add, modify);\n }\n }\n\n return dist;\n};\n\nvar fillPathByDiff = function fillPathByDiff(source, target) {\n var diffMatrix = levenshteinDistance(source, target);\n var sourceLen = source.length;\n var targetLen = target.length;\n var changes = [];\n var index = 1;\n var minPos = 1; // 如果source和target不是完全不相等\n\n if (diffMatrix[sourceLen][targetLen].min !== sourceLen) {\n // 获取从source到target所需改动\n for (var i = 1; i <= sourceLen; i++) {\n var min = diffMatrix[i][i].min;\n minPos = i;\n\n for (var j = index; j <= targetLen; j++) {\n if (diffMatrix[i][j].min < min) {\n min = diffMatrix[i][j].min;\n minPos = j;\n }\n }\n\n index = minPos;\n\n if (diffMatrix[i][index].type) {\n changes.push({\n index: i - 1,\n type: diffMatrix[i][index].type\n });\n }\n } // 对source进行增删path\n\n\n for (var i = changes.length - 1; i >= 0; i--) {\n index = changes[i].index;\n\n if (changes[i].type === 'add') {\n source.splice(index, 0, [].concat(source[index]));\n } else {\n source.splice(index, 1);\n }\n }\n } // source尾部补齐\n\n\n sourceLen = source.length;\n var diff = targetLen - sourceLen;\n\n if (sourceLen < targetLen) {\n for (var i = 0; i < diff; i++) {\n if (source[sourceLen - 1][0] === 'z' || source[sourceLen - 1][0] === 'Z') {\n source.splice(sourceLen - 2, 0, source[sourceLen - 2]);\n } else {\n source.push(source[sourceLen - 1]);\n }\n\n sourceLen += 1;\n }\n }\n\n return source;\n}; // 将两个点均分成count个点\n\n\nfunction _splitPoints(points, former, count) {\n var result = [].concat(points);\n var index;\n var t = 1 / (count + 1);\n\n var formerEnd = _getSegmentPoints(former)[0];\n\n for (var i = 1; i <= count; i++) {\n t *= i;\n index = Math.floor(points.length * t);\n\n if (index === 0) {\n result.unshift([formerEnd[0] * t + points[index][0] * (1 - t), formerEnd[1] * t + points[index][1] * (1 - t)]);\n } else {\n result.splice(index, 0, [formerEnd[0] * t + points[index][0] * (1 - t), formerEnd[1] * t + points[index][1] * (1 - t)]);\n }\n }\n\n return result;\n}\n/*\n * 抽取pathSegment中的关键点\n * M,L,A,Q,H,V一个端点\n * Q, S抽取一个端点,一个控制点\n * C抽取一个端点,两个控制点\n */\n\n\nfunction _getSegmentPoints(segment) {\n var points = [];\n\n switch (segment[0]) {\n case 'M':\n points.push([segment[1], segment[2]]);\n break;\n\n case 'L':\n points.push([segment[1], segment[2]]);\n break;\n\n case 'A':\n points.push([segment[6], segment[7]]);\n break;\n\n case 'Q':\n points.push([segment[3], segment[4]]);\n points.push([segment[1], segment[2]]);\n break;\n\n case 'T':\n points.push([segment[1], segment[2]]);\n break;\n\n case 'C':\n points.push([segment[5], segment[6]]);\n points.push([segment[1], segment[2]]);\n points.push([segment[3], segment[4]]);\n break;\n\n case 'S':\n points.push([segment[3], segment[4]]);\n points.push([segment[1], segment[2]]);\n break;\n\n case 'H':\n points.push([segment[1], segment[1]]);\n break;\n\n case 'V':\n points.push([segment[1], segment[1]]);\n break;\n\n default:\n }\n\n return points;\n}\n\nvar formatPath = function formatPath(fromPath, toPath) {\n if (fromPath.length <= 1) {\n return fromPath;\n }\n\n var points;\n\n for (var i = 0; i < toPath.length; i++) {\n if (fromPath[i][0] !== toPath[i][0]) {\n // 获取fromPath的pathSegment的端点,根据toPath的指令对其改造\n points = _getSegmentPoints(fromPath[i]);\n\n switch (toPath[i][0]) {\n case 'M':\n fromPath[i] = ['M'].concat(points[0]);\n break;\n\n case 'L':\n fromPath[i] = ['L'].concat(points[0]);\n break;\n\n case 'A':\n fromPath[i] = [].concat(toPath[i]);\n fromPath[i][6] = points[0][0];\n fromPath[i][7] = points[0][1];\n break;\n\n case 'Q':\n if (points.length < 2) {\n if (i > 0) {\n points = _splitPoints(points, fromPath[i - 1], 1);\n } else {\n fromPath[i] = toPath[i];\n break;\n }\n }\n\n fromPath[i] = ['Q'].concat(points.reduce(function (arr, i) {\n return arr.concat(i);\n }, []));\n break;\n\n case 'T':\n fromPath[i] = ['T'].concat(points[0]);\n break;\n\n case 'C':\n if (points.length < 3) {\n if (i > 0) {\n points = _splitPoints(points, fromPath[i - 1], 2);\n } else {\n fromPath[i] = toPath[i];\n break;\n }\n }\n\n fromPath[i] = ['C'].concat(points.reduce(function (arr, i) {\n return arr.concat(i);\n }, []));\n break;\n\n case 'S':\n if (points.length < 2) {\n if (i > 0) {\n points = _splitPoints(points, fromPath[i - 1], 1);\n } else {\n fromPath[i] = toPath[i];\n break;\n }\n }\n\n fromPath[i] = ['S'].concat(points.reduce(function (arr, i) {\n return arr.concat(i);\n }, []));\n break;\n\n default:\n fromPath[i] = toPath[i];\n }\n }\n }\n\n return fromPath;\n};\n\nexport { catmullRomToBezier, fillPath, fillPathByDiff, formatPath, intersection, parsePathArray, parsePathString, pathToAbsolute, pathToCurve, rectPath };" }, { "id": 14, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts ffa7b47d1d0435f1cff93fe3d44c7a14", "name": "./src/shape/index.ts + 13 modules", "index": 238, "index2": 250, "size": 87579, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./shape", "loc": "3:0-47" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "9:19-24" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "10:19-24" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "11:20-25" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "23:18-23" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "24:18-23" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "25:19-24" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "27:11-16" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "28:12-18" } ], "usedExports": ["Arrow", "Marker", "default"], "providedExports": ["Arrow", "Marker", "default"], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_tslib@2.0.3@tslib/tslib.es6.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/global.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/shape/shape.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/util/base.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/util/graphic.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/util/math.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/util/path.ts because of ./src/index.ts" ], "depth": 1, "modules": [ { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "index": 238, "index2": 250, "size": 230, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./shape", "loc": "3:0-47" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "9:19-24" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "10:19-24" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "11:20-25" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "23:18-23" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "24:18-23" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "25:19-24" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "27:11-16" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./shape", "loc": "28:12-18" } ], "usedExports": ["Arrow", "Marker", "default"], "providedExports": ["Arrow", "Marker", "default"], "optimizationBailout": [], "depth": 1, "source": "import Shape from './shape';\nimport './node';\nimport './edge';\nimport './combo';\nimport './combos';\nimport './nodes';\nexport { default as Arrow } from './arrow';\nexport { default as Marker } from './marker';\nexport default Shape;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/node.ts", "name": "./src/shape/node.ts", "index": 239, "index2": 238, "size": 10415, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "issuerId": null, "issuerName": "./src/shape/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 1776, "building": 65, "dependencies": 2105 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "module": "./src/shape/index.ts", "moduleName": "./src/shape/index.ts", "type": "harmony side effect evaluation", "userRequest": "./node", "loc": "2:0-16" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 2, "source": "import { __assign } from \"tslib\";\nimport { isArray, isNil, mix } from '@antv/util';\nimport { formatPadding } from '../util/base';\nimport Global from '../global';\nimport Shape from './shape';\nimport { shapeBase } from './shapeBase';\nvar singleNode = {\n itemType: 'node',\n // 单个图形的类型\n shapeType: 'single-node',\n /**\n * 文本相对图形的位置,默认以中心点\n * 位置包括: top, bottom, left, right, center\n * @type {String}\n */\n labelPosition: 'center',\n /**\n * 文本相对偏移,当 labelPosition 不为 center 时有效\n * @type {Number}\n */\n offset: Global.nodeLabel.offset,\n /**\n * 获取节点宽高\n * @internal 返回节点的大小,以 [width, height] 的方式维护\n * @param {Object} cfg 节点的配置项\n * @return {Array} 宽高\n */\n getSize: function (cfg) {\n var size = cfg.size || this.getOptions({}).size || Global.defaultNode.size;\n // size 是数组,但长度为1,则补长度为2\n if (isArray(size) && size.length === 1) {\n size = [size[0], size[0]];\n }\n // size 为数字,则转换为数组\n if (!isArray(size)) {\n size = [size, size];\n }\n return size;\n },\n // 私有方法,不希望扩展的节点复写这个方法\n getLabelStyleByPosition: function (cfg, labelCfg) {\n var labelPosition = labelCfg.position || this.labelPosition;\n // 默认的位置(最可能的情形),所以放在最上面\n if (labelPosition === 'center') {\n return { x: 0, y: 0, text: cfg.label };\n }\n var offset = labelCfg.offset;\n if (isNil(offset)) {\n // 考虑 offset = 0 的场景,不用用 labelCfg.offset || Global.nodeLabel.offset\n offset = this.offset; // 不居中时的偏移量\n }\n var size = this.getSize(cfg);\n var width = size[0];\n var height = size[1];\n var style;\n switch (labelPosition) {\n case 'top':\n style = {\n x: 0,\n y: 0 - height / 2 - offset,\n textBaseline: 'bottom',\n };\n break;\n case 'bottom':\n style = {\n x: 0,\n y: height / 2 + offset,\n textBaseline: 'top',\n };\n break;\n case 'left':\n style = {\n x: 0 - width / 2 - offset,\n y: 0,\n textAlign: 'right',\n };\n break;\n default:\n style = {\n x: width / 2 + offset,\n y: 0,\n textAlign: 'left',\n };\n break;\n }\n style.text = cfg.label;\n return style;\n },\n getLabelBgStyleByPosition: function (label, cfg, labelCfg, group) {\n if (!label) {\n return {};\n }\n var bbox = label.getBBox();\n var backgroundStyle = labelCfg.style && labelCfg.style.background;\n if (!backgroundStyle) {\n return {};\n }\n var padding = formatPadding(backgroundStyle.padding);\n var backgroundWidth = bbox.width + padding[1] + padding[3];\n var backgroundHeight = bbox.height + padding[0] + padding[2];\n var offset = labelCfg.offset;\n if (isNil(offset)) {\n // 考虑 offset = 0 的场景,不用用 labelCfg.offset || Global.nodeLabel.offset\n offset = this.offset; // 不居中时的偏移量\n }\n var style;\n style = {\n x: bbox.minX - padding[3],\n y: bbox.minY - padding[0],\n };\n style = __assign(__assign(__assign({}, style), backgroundStyle), { width: backgroundWidth, height: backgroundHeight });\n return style;\n },\n drawShape: function (cfg, group) {\n var shapeType = this.shapeType; // || this.type,都已经加了 shapeType\n var style = this.getShapeStyle(cfg);\n var shape = group.addShape(shapeType, {\n attrs: style,\n draggable: true,\n name: 'node-shape',\n });\n return shape;\n },\n /**\n * 更新linkPoints\n * @param {Object} cfg 节点数据配置项\n * @param {Group} group Item所在的group\n */\n updateLinkPoints: function (cfg, group) {\n var defaultLinkPoints = this.getOptions(cfg).linkPoints;\n var markLeft = group.find(function (element) { return element.get('className') === 'link-point-left'; });\n var markRight = group.find(function (element) { return element.get('className') === 'link-point-right'; });\n var markTop = group.find(function (element) { return element.get('className') === 'link-point-top'; });\n var markBottom = group.find(function (element) { return element.get('className') === 'link-point-bottom'; });\n var currentLinkPoints;\n if (markLeft) {\n currentLinkPoints = markLeft.attr();\n }\n if (markRight && !currentLinkPoints) {\n currentLinkPoints = markRight.attr();\n }\n if (markTop && !currentLinkPoints) {\n currentLinkPoints = markTop.attr();\n }\n if (markBottom && !currentLinkPoints) {\n currentLinkPoints = markBottom.attr();\n }\n if (!currentLinkPoints)\n currentLinkPoints = defaultLinkPoints;\n var linkPoints = mix({}, currentLinkPoints, cfg.linkPoints);\n var markFill = linkPoints.fill, markStroke = linkPoints.stroke, borderWidth = linkPoints.lineWidth;\n var markSize = linkPoints.size / 2;\n if (!markSize)\n markSize = linkPoints.r;\n var _a = cfg.linkPoints\n ? cfg.linkPoints\n : { left: undefined, right: undefined, top: undefined, bottom: undefined }, left = _a.left, right = _a.right, top = _a.top, bottom = _a.bottom;\n var size = this.getSize(cfg);\n var width = size[0];\n var height = size[1];\n var styles = {\n r: markSize,\n fill: markFill,\n stroke: markStroke,\n lineWidth: borderWidth,\n };\n if (markLeft) {\n if (!left && left !== undefined) {\n markLeft.remove();\n }\n else {\n markLeft.attr(__assign(__assign({}, styles), { x: -width / 2, y: 0 }));\n }\n }\n else if (left) {\n group.addShape('circle', {\n attrs: __assign(__assign({}, styles), { x: -width / 2, y: 0 }),\n className: 'link-point-left',\n name: 'link-point-left',\n isAnchorPoint: true,\n });\n }\n if (markRight) {\n if (!right && right !== undefined) {\n markRight.remove();\n }\n markRight.attr(__assign(__assign({}, styles), { x: width / 2, y: 0 }));\n }\n else if (right) {\n group.addShape('circle', {\n attrs: __assign(__assign({}, styles), { x: width / 2, y: 0 }),\n className: 'link-point-right',\n name: 'link-point-right',\n isAnchorPoint: true,\n });\n }\n if (markTop) {\n if (!top && top !== undefined) {\n markTop.remove();\n }\n markTop.attr(__assign(__assign({}, styles), { x: 0, y: -height / 2 }));\n }\n else if (top) {\n group.addShape('circle', {\n attrs: __assign(__assign({}, styles), { x: 0, y: -height / 2 }),\n className: 'link-point-top',\n name: 'link-point-top',\n isAnchorPoint: true,\n });\n }\n if (markBottom) {\n if (!bottom && bottom !== undefined) {\n markBottom.remove();\n }\n else {\n markBottom.attr(__assign(__assign({}, styles), { x: 0, y: height / 2 }));\n }\n }\n else if (bottom) {\n group.addShape('circle', {\n attrs: __assign(__assign({}, styles), { x: 0, y: height / 2 }),\n className: 'link-point-bottom',\n name: 'link-point-bottom',\n isAnchorPoint: true,\n });\n }\n },\n updateShape: function (cfg, item, keyShapeStyle, hasIcon) {\n var keyShape = item.get('keyShape');\n keyShape.attr(__assign({}, keyShapeStyle));\n this.updateLabel(cfg, item);\n // special for some types of nodes\n if (hasIcon) {\n this.updateIcon(cfg, item);\n }\n },\n updateIcon: function (cfg, item) {\n var _this = this;\n var group = item.getContainer();\n var icon = this.getOptions(cfg).icon;\n var show = (cfg.icon ? cfg.icon : { show: undefined }).show;\n var iconShape = group.find(function (element) { return element.get('className') === _this.type + \"-icon\"; });\n if (iconShape) {\n // 若原先存在 icon\n if (show || show === undefined) {\n // 若传入 show: true, 或没有设置,则更新原有的 icon 样式\n var iconConfig = mix({}, iconShape.attr(), icon);\n var w = iconConfig.width, h = iconConfig.height;\n iconShape.attr(__assign(__assign({}, iconConfig), { x: -w / 2, y: -h / 2 }));\n }\n else {\n // 若传入了 show: false 则删除原先的 icon\n iconShape.remove();\n }\n }\n else if (show) {\n // 如果原先不存在 icon,但传入了 show: true,则新增 icon\n var w = icon.width, h = icon.height;\n group.addShape('image', {\n attrs: __assign(__assign({}, icon), { x: -w / 2, y: -h / 2 }),\n className: this.type + \"-icon\",\n name: this.type + \"-icon\",\n });\n // to ensure the label is on the top of all the shapes\n var labelShape = group.find(function (element) { return element.get('className') === \"node-label\"; });\n if (labelShape) {\n labelShape.toFront();\n }\n }\n },\n};\nvar singleNodeDef = __assign(__assign({}, shapeBase), singleNode);\nShape.registerNode('single-node', singleNodeDef);\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/edge.ts", "name": "./src/shape/edge.ts", "index": 241, "index2": 239, "size": 20456, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "issuerId": null, "issuerName": "./src/shape/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 1776, "building": 65, "dependencies": 2105 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "module": "./src/shape/index.ts", "moduleName": "./src/shape/index.ts", "type": "harmony side effect evaluation", "userRequest": "./edge", "loc": "3:0-16" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 2, "source": "/**\n * @fileOverview 自定义边\n * @description 自定义边中有大量逻辑同自定义节点重复,虽然可以提取成为 mixin ,但是考虑到代码的可读性,还是单独实现。\n * @author dxq613@gmail.com\n */\nimport { __assign } from \"tslib\";\nimport { deepMix, mix, each, isNil, isNumber, isArray } from '@antv/util';\nimport { getLabelPosition, getLoopCfgs } from '../util/graphic';\nimport { distance, getCircleCenterByPoints } from '../util/math';\nimport { getControlPoint, getSpline } from '../util/path';\nimport Global from '../global';\nimport Shape from './shape';\nimport { shapeBase, CLS_LABEL_BG_SUFFIX } from './shapeBase';\nvar CLS_SHAPE = 'edge-shape';\n// start,end 倒置,center 不变\nfunction revertAlign(labelPosition) {\n var textAlign = labelPosition;\n if (labelPosition === 'start') {\n textAlign = 'end';\n }\n else if (labelPosition === 'end') {\n textAlign = 'start';\n }\n return textAlign;\n}\nvar singleEdge = {\n itemType: 'edge',\n /**\n * 文本的位置\n * @type {String}\n */\n labelPosition: 'center',\n /**\n * 文本的 x 偏移\n * @type {Number}\n */\n refX: 0,\n /**\n * 文本的 y 偏移\n * @type {Number}\n */\n refY: 0,\n /**\n * 文本是否跟着线自动旋转,默认 false\n * @type {Boolean}\n */\n labelAutoRotate: false,\n // 自定义边时的配置\n options: {\n size: Global.defaultEdge.size,\n style: {\n x: 0,\n y: 0,\n stroke: Global.defaultEdge.style.stroke,\n lineAppendWidth: Global.defaultEdge.style.lineAppendWidth,\n },\n labelCfg: {\n style: {\n fill: Global.edgeLabel.style.fill,\n fontSize: Global.edgeLabel.style.fontSize,\n },\n },\n stateStyles: __assign({}, Global.edgeStateStyles),\n },\n /**\n * 获取边的 path\n * @internal 供扩展的边覆盖\n * @param {Array} points 构成边的点的集合\n * @return {Array} 构成 path 的数组\n */\n getPath: function (points) {\n var path = [];\n each(points, function (point, index) {\n if (index === 0) {\n path.push(['M', point.x, point.y]);\n }\n else {\n path.push(['L', point.x, point.y]);\n }\n });\n return path;\n },\n getShapeStyle: function (cfg) {\n var defaultStyle = this.options.style;\n var strokeStyle = {\n stroke: cfg.color,\n };\n // 如果设置了color,则覆盖默认的stroke属性\n var style = mix({}, defaultStyle, strokeStyle, cfg.style);\n var size = cfg.size || Global.defaultEdge.size;\n cfg = this.getPathPoints(cfg);\n var startPoint = cfg.startPoint, endPoint = cfg.endPoint;\n var controlPoints = this.getControlPoints(cfg);\n var points = [startPoint]; // 添加起始点\n // 添加控制点\n if (controlPoints) {\n points = points.concat(controlPoints);\n }\n // 添加结束点\n points.push(endPoint);\n var path = this.getPath(points);\n var styles = mix({}, Global.defaultEdge.style, {\n stroke: Global.defaultEdge.color,\n lineWidth: size,\n path: path,\n }, style);\n return styles;\n },\n updateShapeStyle: function (cfg, item) {\n var group = item.getContainer();\n var strokeStyle = {\n stroke: cfg.color,\n };\n var shape = group.find(function (element) { return element.get('className') === 'edge-shape'; }) || item.getKeyShape();\n var size = cfg.size;\n cfg = this.getPathPoints(cfg);\n var startPoint = cfg.startPoint, endPoint = cfg.endPoint;\n var controlPoints = this.getControlPoints(cfg); // || cfg.controlPoints;\n var points = [startPoint]; // 添加起始点\n // 添加控制点\n if (controlPoints) {\n points = points.concat(controlPoints);\n }\n // 添加结束点\n points.push(endPoint);\n var currentAttr = shape.attr();\n var previousStyle = mix({}, strokeStyle, currentAttr, cfg.style);\n var source = cfg.sourceNode;\n var target = cfg.targetNode;\n var routeCfg = { radius: previousStyle.radius };\n if (!controlPoints) {\n routeCfg = { source: source, target: target, offset: previousStyle.offset, radius: previousStyle.radius };\n }\n if (currentAttr.endArrow && previousStyle.endArrow === false) {\n cfg.style.endArrow = {\n path: '',\n };\n }\n if (currentAttr.startArrow && previousStyle.startArrow === false) {\n cfg.style.startArrow = {\n path: '',\n };\n }\n var path = this.getPath(points, routeCfg);\n var style = mix(strokeStyle, shape.attr(), {\n lineWidth: size,\n path: path,\n }, cfg.style);\n if (shape) {\n shape.attr(style);\n }\n },\n getLabelStyleByPosition: function (cfg, labelCfg, group) {\n var labelPosition = labelCfg.position || this.labelPosition; // 文本的位置用户可以传入\n var style = {};\n var pathShape = group && group.find(function (element) { return element.get('className') === CLS_SHAPE; });\n // 不对 pathShape 进行判空,如果线不存在,说明有问题了\n var pointPercent;\n if (labelPosition === 'start') {\n pointPercent = 0;\n }\n else if (labelPosition === 'end') {\n pointPercent = 1;\n }\n else {\n pointPercent = 0.5;\n }\n // 偏移量\n var offsetX = labelCfg.refX || this.refX;\n var offsetY = labelCfg.refY || this.refY;\n // 如果两个节点重叠,线就变成了一个点,这时候label的位置,就是这个点 + 绝对偏移\n if (cfg.startPoint.x === cfg.endPoint.x && cfg.startPoint.y === cfg.endPoint.y) {\n style.x = cfg.startPoint.x + offsetX;\n style.y = cfg.startPoint.y + offsetY;\n style.text = cfg.label;\n return style;\n }\n var autoRotate = isNil(labelCfg.autoRotate) ? this.labelAutoRotate : labelCfg.autoRotate;\n var offsetStyle = getLabelPosition(pathShape, pointPercent, offsetX, offsetY, autoRotate);\n style.x = offsetStyle.x;\n style.y = offsetStyle.y;\n style.rotate = offsetStyle.rotate;\n style.textAlign = this._getTextAlign(labelPosition, offsetStyle.angle);\n style.text = cfg.label;\n return style;\n },\n getLabelBgStyleByPosition: function (label, cfg, labelCfg, group) {\n if (!label) {\n return {};\n }\n var bbox = label.getBBox();\n var backgroundStyle = labelCfg.style && labelCfg.style.background;\n if (!backgroundStyle) {\n return {};\n }\n var padding = backgroundStyle.padding;\n var backgroundWidth = bbox.width + padding[1] + padding[3];\n var backgroundHeight = bbox.height + padding[0] + padding[2];\n var labelPosition = labelCfg.position || this.labelPosition;\n var style = __assign(__assign({}, backgroundStyle), { width: backgroundWidth, height: backgroundHeight, x: bbox.minX - padding[2], y: bbox.minY - padding[0], rotate: 0 });\n var autoRotate = isNil(labelCfg.autoRotate) ? this.labelAutoRotate : labelCfg.autoRotate;\n var pathShape = group && group.find(function (element) { return element.get('className') === CLS_SHAPE; });\n // 不对 pathShape 进行判空,如果线不存在,说明有问题了\n var pointPercent;\n if (labelPosition === 'start') {\n pointPercent = 0;\n }\n else if (labelPosition === 'end') {\n pointPercent = 1;\n }\n else {\n pointPercent = 0.5;\n }\n // 偏移量\n var offsetX = labelCfg.refX || this.refX;\n var offsetY = labelCfg.refY || this.refY;\n // // 如果两个节点重叠,线就变成了一个点,这时候label的位置,就是这个点 + 绝对偏移\n if (cfg.startPoint.x === cfg.endPoint.x && cfg.startPoint.y === cfg.endPoint.y) {\n style.x = cfg.startPoint.x + offsetX;\n style.y = cfg.startPoint.y + offsetY;\n return style;\n }\n var offsetStyle = getLabelPosition(pathShape, pointPercent, offsetX - backgroundWidth / 2, offsetY + backgroundHeight / 2, autoRotate);\n var rad = offsetStyle.angle;\n if (rad > (1 / 2) * Math.PI && rad < ((3 * 1) / 2) * Math.PI) {\n offsetStyle = getLabelPosition(pathShape, pointPercent, offsetX + backgroundWidth / 2, offsetY + backgroundHeight / 2, autoRotate);\n }\n if (autoRotate) {\n style.x = offsetStyle.x;\n style.y = offsetStyle.y;\n }\n style.rotate = offsetStyle.rotate;\n return style;\n },\n // 获取文本对齐方式\n _getTextAlign: function (labelPosition, angle) {\n var textAlign = 'center';\n if (!angle) {\n return labelPosition;\n }\n angle = angle % (Math.PI * 2); // 取模\n if (labelPosition !== 'center') {\n if ((angle >= 0 && angle <= Math.PI / 2) ||\n (angle >= (3 / 2) * Math.PI && angle < 2 * Math.PI)) {\n textAlign = labelPosition;\n }\n else {\n textAlign = revertAlign(labelPosition);\n }\n }\n return textAlign;\n },\n /**\n * @internal 获取边的控制点\n * @param {Object} cfg 边的配置项\n * @return {Array} 控制点的数组\n */\n getControlPoints: function (cfg) {\n return cfg.controlPoints;\n },\n /**\n * @internal 处理需要重计算点和边的情况\n * @param {Object} cfg 边的配置项\n * @return {Object} 边的配置项\n */\n getPathPoints: function (cfg) {\n return cfg;\n },\n /**\n * 绘制边\n * @override\n * @param {Object} cfg 边的配置项\n * @param {G.Group} group 边的容器\n * @return {IShape} 图形\n */\n drawShape: function (cfg, group) {\n var shapeStyle = this.getShapeStyle(cfg);\n var shape = group.addShape('path', {\n className: CLS_SHAPE,\n name: CLS_SHAPE,\n attrs: shapeStyle,\n });\n return shape;\n },\n drawLabel: function (cfg, group) {\n var defaultLabelCfg = this.options.labelCfg;\n var labelCfg = deepMix({\n fontFamily: typeof window !== 'undefined'\n ? window.getComputedStyle(document.body, null).getPropertyValue('font-family') ||\n 'Arial, sans-serif'\n : 'Arial, sans-serif',\n }, defaultLabelCfg, cfg.labelCfg);\n var labelStyle = this.getLabelStyle(cfg, labelCfg, group);\n var rotate = labelStyle.rotate;\n delete labelStyle.rotate;\n var label = group.addShape('text', {\n attrs: labelStyle,\n name: 'text-shape',\n });\n if (rotate) {\n label.rotateAtStart(rotate);\n }\n if (labelStyle.background) {\n var rect = this.drawLabelBg(cfg, group, label);\n var labelBgClassname = this.itemType + CLS_LABEL_BG_SUFFIX;\n rect.set('classname', labelBgClassname);\n label.toFront();\n }\n return label;\n },\n drawLabelBg: function (cfg, group, label) {\n var defaultLabelCfg = this.options.labelCfg;\n var labelCfg = deepMix({}, defaultLabelCfg, cfg.labelCfg);\n var labelStyle = this.getLabelStyle(cfg, labelCfg, group);\n var rotate = labelStyle.rotate;\n var style = this.getLabelBgStyleByPosition(label, cfg, labelCfg, group);\n delete style.rotate;\n var rect = group.addShape('rect', { name: 'text-bg-shape', attrs: style });\n if (rotate)\n rect.rotateAtStart(rotate);\n return rect;\n },\n};\nvar singleEdgeDef = __assign(__assign({}, shapeBase), singleEdge);\nShape.registerEdge('single-edge', singleEdgeDef);\n// 直线, 不支持控制点\nShape.registerEdge('line', {\n // 控制点不生效\n getControlPoints: function () {\n return undefined;\n },\n}, 'single-edge');\n// 直线\nShape.registerEdge('spline', {\n getPath: function (points) {\n var path = getSpline(points);\n return path;\n },\n}, 'single-edge');\nShape.registerEdge('arc', {\n curveOffset: 20,\n clockwise: 1,\n getControlPoints: function (cfg) {\n var startPoint = cfg.startPoint, endPoint = cfg.endPoint;\n var midPoint = {\n x: (startPoint.x + endPoint.x) / 2,\n y: (startPoint.y + endPoint.y) / 2,\n };\n var center;\n var arcPoint;\n // 根据给定点计算圆弧\n if (cfg.controlPoints !== undefined) {\n arcPoint = cfg.controlPoints[0];\n center = getCircleCenterByPoints(startPoint, arcPoint, endPoint);\n // 根据控制点和直线关系决定 clockwise值\n if (startPoint.x <= endPoint.x && startPoint.y > endPoint.y) {\n this.clockwise = center.x > arcPoint.x ? 0 : 1;\n }\n else if (startPoint.x <= endPoint.x && startPoint.y < endPoint.y) {\n this.clockwise = center.x > arcPoint.x ? 1 : 0;\n }\n else if (startPoint.x > endPoint.x && startPoint.y <= endPoint.y) {\n this.clockwise = center.y < arcPoint.y ? 0 : 1;\n }\n else {\n this.clockwise = center.y < arcPoint.y ? 1 : 0;\n }\n // 若给定点和两端点共线,无法生成圆弧,绘制直线\n if ((arcPoint.x - startPoint.x) / (arcPoint.y - startPoint.y) ===\n (endPoint.x - startPoint.x) / (endPoint.y - startPoint.y)) {\n return [];\n }\n }\n else {\n // 根据直线连线中点的的偏移计算圆弧\n // 若用户给定偏移量则根据其计算,否则按照默认偏移值计算\n if (cfg.curveOffset === undefined) {\n cfg.curveOffset = this.curveOffset;\n }\n if (isArray(cfg.curveOffset)) {\n cfg.curveOffset = cfg.curveOffset[0];\n }\n if (cfg.curveOffset < 0) {\n this.clockwise = 0;\n }\n else {\n this.clockwise = 1;\n }\n var vec = {\n x: endPoint.x - startPoint.x,\n y: endPoint.y - startPoint.y,\n };\n var edgeAngle = Math.atan2(vec.y, vec.x);\n arcPoint = {\n x: cfg.curveOffset * Math.cos(-Math.PI / 2 + edgeAngle) + midPoint.x,\n y: cfg.curveOffset * Math.sin(-Math.PI / 2 + edgeAngle) + midPoint.y,\n };\n center = getCircleCenterByPoints(startPoint, arcPoint, endPoint);\n }\n var radius = distance(startPoint, center);\n var controlPoints = [{ x: radius, y: radius }];\n return controlPoints;\n },\n getPath: function (points) {\n var path = [];\n path.push(['M', points[0].x, points[0].y]);\n // 控制点与端点共线\n if (points.length === 2) {\n path.push(['L', points[1].x, points[1].y]);\n }\n else {\n path.push([\n 'A',\n points[1].x,\n points[1].y,\n 0,\n 0,\n this.clockwise,\n points[2].x,\n points[2].y,\n ]);\n }\n return path;\n },\n}, 'single-edge');\nShape.registerEdge('quadratic', {\n curvePosition: 0.5,\n curveOffset: -20,\n getControlPoints: function (cfg) {\n var controlPoints = cfg.controlPoints; // 指定controlPoints\n if (!controlPoints || !controlPoints.length) {\n var startPoint = cfg.startPoint, endPoint = cfg.endPoint;\n if (cfg.curveOffset === undefined)\n cfg.curveOffset = this.curveOffset;\n if (cfg.curvePosition === undefined)\n cfg.curvePosition = this.curvePosition;\n if (isArray(this.curveOffset))\n cfg.curveOffset = cfg.curveOffset[0];\n if (isArray(this.curvePosition))\n cfg.curvePosition = cfg.curveOffset[0];\n var innerPoint = getControlPoint(startPoint, endPoint, cfg.curvePosition, cfg.curveOffset);\n controlPoints = [innerPoint];\n }\n return controlPoints;\n },\n getPath: function (points) {\n var path = [];\n path.push(['M', points[0].x, points[0].y]);\n path.push(['Q', points[1].x, points[1].y, points[2].x, points[2].y]);\n return path;\n },\n}, 'single-edge');\nShape.registerEdge('cubic', {\n curvePosition: [1 / 2, 1 / 2],\n curveOffset: [-20, 20],\n getControlPoints: function (cfg) {\n var controlPoints = cfg.controlPoints; // 指定controlPoints\n if (cfg.curveOffset === undefined)\n cfg.curveOffset = this.curveOffset;\n if (cfg.curvePosition === undefined)\n cfg.curvePosition = this.curvePosition;\n if (isNumber(cfg.curveOffset))\n cfg.curveOffset = [cfg.curveOffset, -cfg.curveOffset];\n if (isNumber(cfg.curvePosition))\n cfg.curvePosition = [cfg.curvePosition, 1 - cfg.curvePosition];\n if (!controlPoints || !controlPoints.length || controlPoints.length < 2) {\n var startPoint = cfg.startPoint, endPoint = cfg.endPoint;\n var innerPoint1 = getControlPoint(startPoint, endPoint, cfg.curvePosition[0], cfg.curveOffset[0]);\n var innerPoint2 = getControlPoint(startPoint, endPoint, cfg.curvePosition[1], cfg.curveOffset[1]);\n controlPoints = [innerPoint1, innerPoint2];\n }\n return controlPoints;\n },\n getPath: function (points) {\n var path = [];\n path.push(['M', points[0].x, points[0].y]);\n path.push([\n 'C',\n points[1].x,\n points[1].y,\n points[2].x,\n points[2].y,\n points[3].x,\n points[3].y,\n ]);\n return path;\n },\n}, 'single-edge');\n// 垂直方向的三阶贝塞尔曲线,不再考虑用户外部传入的控制点\nShape.registerEdge('cubic-vertical', {\n curvePosition: [1 / 2, 1 / 2],\n getControlPoints: function (cfg) {\n var startPoint = cfg.startPoint, endPoint = cfg.endPoint;\n if (cfg.curvePosition !== undefined)\n this.curvePosition = cfg.curvePosition;\n if (isNumber(this.curvePosition))\n this.curvePosition = [this.curvePosition, 1 - this.curvePosition];\n var innerPoint1 = {\n x: startPoint.x,\n y: (endPoint.y - startPoint.y) * this.curvePosition[0] + startPoint.y,\n };\n var innerPoint2 = {\n x: endPoint.x,\n y: (endPoint.y - startPoint.y) * this.curvePosition[1] + startPoint.y,\n };\n var controlPoints = [innerPoint1, innerPoint2];\n return controlPoints;\n },\n}, 'cubic');\n// 水平方向的三阶贝塞尔曲线,不再考虑用户外部传入的控制点\nShape.registerEdge('cubic-horizontal', {\n curvePosition: [1 / 2, 1 / 2],\n getControlPoints: function (cfg) {\n var startPoint = cfg.startPoint, endPoint = cfg.endPoint;\n if (cfg.curvePosition !== undefined)\n this.curvePosition = cfg.curvePosition;\n if (isNumber(this.curvePosition))\n this.curvePosition = [this.curvePosition, 1 - this.curvePosition];\n var innerPoint1 = {\n x: (endPoint.x - startPoint.x) * this.curvePosition[0] + startPoint.x,\n y: startPoint.y,\n };\n var innerPoint2 = {\n x: (endPoint.x - startPoint.x) * this.curvePosition[1] + startPoint.x,\n y: endPoint.y,\n };\n var controlPoints = [innerPoint1, innerPoint2];\n return controlPoints;\n },\n}, 'cubic');\nShape.registerEdge('loop', {\n getPathPoints: function (cfg) {\n return getLoopCfgs(cfg);\n },\n getControlPoints: function (cfg) {\n return cfg.controlPoints;\n },\n afterDraw: function (cfg) {\n cfg.controlPoints = undefined;\n },\n afterUpdate: function (cfg) {\n cfg.controlPoints = undefined;\n },\n}, 'cubic');\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combo.ts", "name": "./src/shape/combo.ts", "index": 242, "index2": 240, "size": 4778, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "issuerId": null, "issuerName": "./src/shape/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 1776, "building": 65, "dependencies": 2105 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "module": "./src/shape/index.ts", "moduleName": "./src/shape/index.ts", "type": "harmony side effect evaluation", "userRequest": "./combo", "loc": "4:0-17" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 2, "source": "import { __assign } from \"tslib\";\nimport { isArray, isNil, clone } from '@antv/util';\nimport Global from '../global';\nimport Shape from './shape';\nimport { shapeBase } from './shapeBase';\nvar singleCombo = {\n itemType: 'combo',\n // 单个图形的类型\n shapeType: 'single-combo',\n /**\n * Combo 标题文本相对图形的位置,默认为 top\n * 位置包括: top, bottom, left, right, center\n * @type {String}\n */\n labelPosition: 'top',\n /**\n * 标题文本相对偏移,当 labelPosition 不为 center 时有效\n * @type {Number}\n */\n refX: Global.comboLabel.refX,\n refY: Global.comboLabel.refY,\n options: {\n style: {\n stroke: Global.defaultCombo.style.stroke,\n fill: Global.defaultCombo.style.fill,\n lineWidth: Global.defaultCombo.style.lineWidth,\n },\n labelCfg: {\n style: {\n fill: Global.comboLabel.style.fill,\n fontSize: Global.comboLabel.style.fontSize,\n },\n },\n stateStyles: __assign({}, Global.comboStateStyles),\n },\n /**\n * 获取 Combo 宽高\n * @internal 返回 Combo 的大小,以 [width, height] 的方式维护\n * @param {Object} cfg Combo 的配置项\n * @return {Array} 宽高\n */\n getSize: function (cfg) {\n var size = clone(cfg.size || this.options.size || Global.defaultCombo.size);\n // size 是数组,若长度为 1,则补长度为 2\n if (isArray(size) && size.length === 1) {\n size = [size[0], size[0]];\n }\n // size 为数字,则转换为数组\n if (!isArray(size)) {\n size = [size, size];\n }\n return size;\n },\n // 私有方法,不希望扩展的 Combo 复写这个方法\n getLabelStyleByPosition: function (cfg, labelCfg) {\n var labelPosition = labelCfg.position || this.labelPosition;\n var cfgStyle = cfg.style;\n var padding = cfg.padding || this.options.padding;\n if (isArray(padding))\n padding = padding[0];\n var refX = labelCfg.refX, refY = labelCfg.refY;\n // 考虑 refX 和 refY = 0 的场景,不用用 labelCfg.refX || Global.nodeLabel.refX\n if (isNil(refX)) {\n refX = this.refX; // 不居中时的偏移量\n }\n if (isNil(refY)) {\n refY = this.refY; // 不居中时的偏移量\n }\n var size = this.getSize(cfg);\n var r = Math.max(cfgStyle.r, size[0] / 2) || size[0] / 2;\n var dis = r + padding;\n var style;\n switch (labelPosition) {\n case 'top':\n style = {\n x: 0,\n y: -dis - refY,\n textBaseline: 'bottom',\n textAlign: 'center',\n };\n break;\n case 'bottom':\n style = {\n x: 0,\n y: dis + refY,\n textBaseline: 'bottom',\n textAlign: 'center',\n };\n break;\n case 'left':\n style = {\n x: -dis + refX,\n y: 0,\n textAlign: 'left',\n };\n break;\n case 'center':\n style = {\n x: 0,\n y: 0,\n text: cfg.label,\n textAlign: 'center',\n };\n break;\n default:\n style = {\n x: dis + refX,\n y: 0,\n textAlign: 'right',\n };\n break;\n }\n style.text = cfg.label;\n return style;\n },\n drawShape: function (cfg, group) {\n var shapeType = this.shapeType; // || this.type,都已经加了 shapeType\n var style = this.getShapeStyle(cfg);\n var shape = group.addShape(shapeType, {\n attrs: style,\n draggable: true,\n name: 'combo-shape',\n });\n return shape;\n },\n updateShape: function (cfg, item, keyShapeStyle) {\n var keyShape = item.get('keyShape');\n var animate = cfg.animate === undefined ? this.options.animate : cfg.animate;\n if (animate && keyShape.animate) {\n keyShape.animate(keyShapeStyle, {\n duration: 200,\n easing: 'easeLinear',\n });\n }\n else {\n keyShape.attr(__assign({}, keyShapeStyle));\n }\n this.updateLabel(cfg, item);\n // special for some types of nodes\n },\n};\nvar singleComboDef = __assign(__assign({}, shapeBase), singleCombo);\nShape.registerCombo('single-combo', singleComboDef);\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combos/index.ts", "name": "./src/shape/combos/index.ts", "index": 243, "index2": 243, "size": 36, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "issuerId": null, "issuerName": "./src/shape/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 1776, "building": 65, "dependencies": 2105 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "module": "./src/shape/index.ts", "moduleName": "./src/shape/index.ts", "type": "harmony side effect evaluation", "userRequest": "./combos", "loc": "5:0-18" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 2, "source": "import './circle';\nimport './rect';\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/index.ts", "name": "./src/shape/nodes/index.ts", "index": 246, "index2": 247, "size": 54, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "issuerId": null, "issuerName": "./src/shape/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 1776, "building": 65, "dependencies": 2105 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "module": "./src/shape/index.ts", "moduleName": "./src/shape/index.ts", "type": "harmony side effect evaluation", "userRequest": "./nodes", "loc": "6:0-17" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 2, "source": "import './circle';\nimport './rect';\nimport './image';\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/arrow.ts", "name": "./src/shape/arrow.ts", "index": 250, "index2": 248, "size": 2807, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "issuerId": null, "issuerName": "./src/shape/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 1776, "building": 65, "dependencies": 2105 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "module": "./src/shape/index.ts", "moduleName": "./src/shape/index.ts", "type": "harmony side effect evaluation", "userRequest": "./arrow", "loc": "7:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "module": "./src/shape/index.ts", "moduleName": "./src/shape/index.ts", "type": "harmony export imported specifier", "userRequest": "./arrow", "loc": "7:0-43" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 2, "source": "export default {\n triangle: function (width, length, d) {\n if (width === void 0) { width = 10; }\n if (length === void 0) { length = 15; }\n if (d === void 0) { d = 0; }\n var begin = d * 2;\n var path = \"M \" + begin + \",0 L \" + (begin + length) + \",-\" + width / 2 + \" L \" + (begin + length) + \",\" + width / 2 + \" Z\";\n return path;\n },\n vee: function (width, length, d) {\n if (width === void 0) { width = 15; }\n if (length === void 0) { length = 20; }\n if (d === void 0) { d = 0; }\n var begin = d * 2;\n var path = \"M \" + begin + \",0 L \" + (begin + length) + \",-\" + width / 2 + \"\\n L \" + (begin + (2 * length) / 3) + \",0 L \" + (begin + length) + \",\" + width / 2 + \" Z\";\n return path;\n },\n circle: function (r, d) {\n if (r === void 0) { r = 5; }\n if (d === void 0) { d = 0; }\n var begin = d * 2;\n var path = \"M \" + begin + \", 0\\n a \" + r + \",\" + r + \" 0 1,0 \" + r * 2 + \",0\\n a \" + r + \",\" + r + \" 0 1,0 \" + -r * 2 + \",0\";\n return path;\n },\n rect: function (width, length, d) {\n if (width === void 0) { width = 10; }\n if (length === void 0) { length = 10; }\n if (d === void 0) { d = 0; }\n var begin = d * 2;\n var path = \"M \" + begin + \",\" + -width / 2 + \" \\n L \" + (begin + length) + \",\" + -width / 2 + \" \\n L \" + (begin + length) + \",\" + width / 2 + \" \\n L \" + begin + \",\" + width / 2 + \" Z\";\n return path;\n },\n diamond: function (width, length, d) {\n if (width === void 0) { width = 15; }\n if (length === void 0) { length = 15; }\n if (d === void 0) { d = 0; }\n var begin = d * 2;\n var path = \"M \" + begin + \",0 \\n L \" + (begin + length / 2) + \",\" + -width / 2 + \" \\n L \" + (begin + length) + \",0 \\n L \" + (begin + length / 2) + \",\" + width / 2 + \" Z\";\n return path;\n },\n triangleRect: function (tWidth, tLength, rWidth, rLength, gap, d) {\n if (tWidth === void 0) { tWidth = 15; }\n if (tLength === void 0) { tLength = 15; }\n if (rWidth === void 0) { rWidth = 15; }\n if (rLength === void 0) { rLength = 3; }\n if (gap === void 0) { gap = 5; }\n if (d === void 0) { d = 0; }\n var begin = d * 2;\n var rectBegin = begin + tLength + gap;\n var path = \"M \" + begin + \",0 L \" + (begin + tLength) + \",-\" + tWidth / 2 + \" L \" + (begin + tLength) + \",\" + tWidth / 2 + \" Z\\n M \" + rectBegin + \", -\" + rWidth / 2 + \"\\n L \" + (rectBegin + rLength) + \" -\" + rWidth / 2 + \"\\n L \" + (rectBegin + rLength) + \" \" + rWidth / 2 + \"\\n L \" + rectBegin + \" \" + rWidth / 2 + \"\\n Z\";\n return path;\n },\n};\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/marker.ts", "name": "./src/shape/marker.ts", "index": 251, "index2": 249, "size": 1048, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "issuerId": null, "issuerName": "./src/shape/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 1776, "building": 65, "dependencies": 2105 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "module": "./src/shape/index.ts", "moduleName": "./src/shape/index.ts", "type": "harmony side effect evaluation", "userRequest": "./marker", "loc": "8:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "module": "./src/shape/index.ts", "moduleName": "./src/shape/index.ts", "type": "harmony export imported specifier", "userRequest": "./marker", "loc": "8:0-45" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 2, "source": "export default {\n collapse: function (x, y, r) {\n return [\n ['M', x - r, y],\n ['a', r, r, 0, 1, 0, r * 2, 0],\n ['a', r, r, 0, 1, 0, -r * 2, 0],\n ['M', x - r + 4, y],\n ['L', x + r - 4, y],\n ];\n },\n expand: function (x, y, r) {\n return [\n ['M', x - r, y],\n ['a', r, r, 0, 1, 0, r * 2, 0],\n ['a', r, r, 0, 1, 0, -r * 2, 0],\n ['M', x - r + 4, y],\n ['L', x - r + 2 * r - 4, y],\n ['M', x - r + r, y - r + 4],\n ['L', x, y + r - 4],\n ];\n },\n upTriangle: function (x, y, r) {\n var l1 = r * Math.cos(Math.PI / 6);\n var l2 = r * Math.sin(Math.PI / 6);\n return [['M', x - l1, y + l2], ['L', x + l1, y + l2], ['L', x, y - r], ['Z']];\n },\n downTriangle: function (x, y, r) {\n var l1 = r * Math.cos(Math.PI / 6);\n var l2 = r * Math.sin(Math.PI / 6);\n return [['M', x - l1, y - l2], ['L', x + l1, y - l2], ['L', x, y + r], ['Z']];\n },\n};\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/shapeBase.ts", "name": "./src/shape/shapeBase.ts", "index": 240, "index2": 237, "size": 21210, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combo.ts", "issuerId": null, "issuerName": "./src/shape/combo.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combo.ts", "name": "./src/shape/combo.ts", "profile": { "factory": 1776, "building": 65, "dependencies": 2105 } } ], "profile": { "factory": 2065, "building": 287, "dependencies": 932 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combo.ts", "module": "./src/shape/combo.ts", "moduleName": "./src/shape/combo.ts", "type": "harmony side effect evaluation", "userRequest": "./shapeBase", "loc": "5:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/node.ts", "module": "./src/shape/node.ts", "moduleName": "./src/shape/node.ts", "type": "harmony side effect evaluation", "userRequest": "./shapeBase", "loc": "6:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/edge.ts", "module": "./src/shape/edge.ts", "moduleName": "./src/shape/edge.ts", "type": "harmony side effect evaluation", "userRequest": "./shapeBase", "loc": "13:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combo.ts", "module": "./src/shape/combo.ts", "moduleName": "./src/shape/combo.ts", "type": "harmony import specifier", "userRequest": "./shapeBase", "loc": "142:43-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/node.ts", "module": "./src/shape/node.ts", "moduleName": "./src/shape/node.ts", "type": "harmony import specifier", "userRequest": "./shapeBase", "loc": "272:42-51" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/edge.ts", "module": "./src/shape/edge.ts", "moduleName": "./src/shape/edge.ts", "type": "harmony import specifier", "userRequest": "./shapeBase", "loc": "305:51-70" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/edge.ts", "module": "./src/shape/edge.ts", "moduleName": "./src/shape/edge.ts", "type": "harmony import specifier", "userRequest": "./shapeBase", "loc": "324:42-51" } ], "usedExports": ["shapeBase", "CLS_LABEL_BG_SUFFIX"], "providedExports": ["CLS_LABEL_BG_SUFFIX", "shapeBase"], "optimizationBailout": [], "depth": 3, "source": "import { __assign } from \"tslib\";\nimport Global from '../global';\nimport { transform } from '@antv/matrix-util';\nimport { deepMix, each, mix, isBoolean, isPlainObject, clone } from '@antv/util';\nvar CLS_SHAPE_SUFFIX = '-shape';\nvar CLS_LABEL_SUFFIX = '-label';\nvar ARROWS = ['startArrow', 'endArrow'];\nvar SHAPE_DEFAULT_ATTRS = {\n lineWidth: 1,\n stroke: undefined,\n fill: undefined,\n lineAppendWidth: 1,\n opacity: undefined,\n strokeOpacity: undefined,\n fillOpacity: undefined,\n x: 0,\n y: 0,\n r: 10,\n width: 20,\n height: 20,\n shadowColor: undefined,\n shadowBlur: 0,\n shadowOffsetX: 0,\n shadowOffsetY: 0,\n};\nvar PATH_SHAPE_DEFAULT_ATTRS = {\n lineWidth: 1,\n stroke: '#000',\n lineDash: undefined,\n startArrow: false,\n endArrow: false,\n opacity: undefined,\n strokeOpacity: undefined,\n fillOpacity: undefined,\n shadowColor: undefined,\n shadowBlur: 0,\n shadowOffsetX: 0,\n shadowOffsetY: 0,\n};\nvar SHAPES_DEFAULT_ATTRS = {\n edge: PATH_SHAPE_DEFAULT_ATTRS,\n node: SHAPE_DEFAULT_ATTRS,\n combo: SHAPE_DEFAULT_ATTRS,\n};\nexport var CLS_LABEL_BG_SUFFIX = '-label-bg';\n// 单个 shape 带有一个 label,共用这段代码\nexport var shapeBase = {\n // 默认样式及配置\n options: {},\n itemType: '',\n /**\n * 形状的类型,例如 circle,ellipse,polyline...\n */\n type: '',\n getCustomConfig: function (cfg) {\n return {};\n },\n getOptions: function (cfg) {\n return deepMix({\n // 解决局部渲染导致的文字移动残影问题\n labelCfg: {\n style: {\n fontFamily: typeof window !== 'undefined'\n ? window.getComputedStyle(document.body, null).getPropertyValue('font-family') ||\n 'Arial, sans-serif'\n : 'Arial, sans-serif',\n },\n },\n descriptionCfg: {\n style: {\n fontFamily: typeof window !== 'undefined'\n ? window.getComputedStyle(document.body, null).getPropertyValue('font-family') ||\n 'Arial, sans-serif'\n : 'Arial, sans-serif',\n },\n },\n }, this.options, this.getCustomConfig(cfg) || {}, cfg);\n },\n /**\n * 绘制节点/边,包含文本\n * @override\n * @param {Object} cfg 节点的配置项\n * @param {G.Group} group 节点的容器\n * @return {IShape} 绘制的图形\n */\n draw: function (cfg, group) {\n var shape = this.drawShape(cfg, group);\n shape.set('className', this.itemType + CLS_SHAPE_SUFFIX);\n if (cfg.label) {\n var label = this.drawLabel(cfg, group);\n label.set('className', this.itemType + CLS_LABEL_SUFFIX);\n }\n return shape;\n },\n /**\n * 绘制完成后的操作,便于用户继承现有的节点、边\n * @param cfg\n * @param group\n * @param keyShape\n */\n afterDraw: function (cfg, group, keyShape) { },\n drawShape: function (cfg, group) {\n return null;\n },\n drawLabel: function (cfg, group) {\n var defaultLabelCfg = this.getOptions(cfg).labelCfg;\n // image的情况下有可能为null\n var labelCfg = (defaultLabelCfg || {});\n var labelStyle = this.getLabelStyle(cfg, labelCfg, group);\n var rotate = labelStyle.rotate;\n delete labelStyle.rotate;\n var label = group.addShape('text', {\n attrs: labelStyle,\n draggable: true,\n className: 'text-shape',\n name: 'text-shape',\n });\n if (rotate) {\n var labelBBox = label.getBBox();\n var labelMatrix = label.getMatrix();\n if (!labelMatrix) {\n labelMatrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n if (labelStyle.rotateCenter) {\n switch (labelStyle.rotateCenter) {\n case 'center':\n labelMatrix = transform(labelMatrix, [\n ['t', -labelBBox.width / 2, -labelBBox.height / 2],\n ['r', rotate],\n ['t', labelBBox.width / 2, labelBBox.height / 2],\n ]);\n break;\n case 'lefttop':\n labelMatrix = transform(labelMatrix, [\n ['t', -labelStyle.x, -labelStyle.y],\n ['r', rotate],\n ['t', labelStyle.x, labelStyle.y],\n ]);\n break;\n case 'leftcenter':\n labelMatrix = transform(labelMatrix, [\n ['t', -labelStyle.x, -labelStyle.y - labelBBox.height / 2],\n ['r', rotate],\n ['t', labelStyle.x, labelStyle.y + labelBBox.height / 2],\n ]);\n break;\n default:\n labelMatrix = transform(labelMatrix, [\n ['t', -labelBBox.width / 2, -labelBBox.height / 2],\n ['r', rotate],\n ['t', labelBBox.width / 2, labelBBox.height / 2],\n ]);\n break;\n }\n }\n else {\n labelMatrix = transform(labelMatrix, [\n ['t', -labelStyle.x, -labelStyle.y - labelBBox.height / 2],\n ['r', rotate],\n ['t', labelStyle.x, labelStyle.y + labelBBox.height / 2],\n ]);\n }\n label.setMatrix(labelMatrix);\n }\n if (labelStyle.background) {\n var rect = this.drawLabelBg(cfg, group, label);\n var labelBgClassname = this.itemType + CLS_LABEL_BG_SUFFIX;\n rect.set('classname', labelBgClassname);\n label.toFront();\n }\n return label;\n },\n drawLabelBg: function (cfg, group, label) {\n var defaultLabelCfg = this.options.labelCfg;\n var labelCfg = mix({}, defaultLabelCfg, cfg.labelCfg);\n var style = this.getLabelBgStyleByPosition(label, cfg, labelCfg, group);\n var rect = group.addShape('rect', { name: 'text-bg-shape', attrs: style });\n return rect;\n },\n getLabelStyleByPosition: function (cfg, labelCfg, group) {\n return { text: cfg.label };\n },\n getLabelBgStyleByPosition: function (label, cfg, labelCfg, group) {\n return {};\n },\n /**\n * 获取文本的配置项\n * @param cfg 节点的配置项\n * @param labelCfg 文本的配置项\n * @param group 父容器,label 的定位可能与图形相关\n */\n getLabelStyle: function (cfg, labelCfg, group) {\n var calculateStyle = this.getLabelStyleByPosition(cfg, labelCfg, group);\n var attrName = this.itemType + \"Label\"; // 取 nodeLabel,edgeLabel 的配置项\n var defaultStyle = Global[attrName] ? Global[attrName].style : null;\n var labelStyle = __assign(__assign(__assign({}, defaultStyle), calculateStyle), labelCfg.style);\n return labelStyle;\n },\n /**\n * 获取图形的配置项\n * @param cfg\n */\n getShapeStyle: function (cfg) {\n return cfg.style;\n },\n /**\n * 更新节点,包含文本\n * @override\n * @param {Object} cfg 节点/边的配置项\n * @param {G6.Item} item 节点/边\n */\n update: function (cfg, item) {\n this.updateShapeStyle(cfg, item);\n this.updateLabel(cfg, item);\n },\n updateShapeStyle: function (cfg, item) {\n var group = item.getContainer();\n var shape = item.getKeyShape();\n var shapeStyle = mix({}, shape.attr(), cfg.style);\n var _loop_1 = function (key) {\n var _a;\n var style = shapeStyle[key];\n if (isPlainObject(style)) {\n // 更新图元素样式,支持更新子元素\n var subShape = group.find(function (element) { return element.get('name') === key; });\n if (subShape) {\n subShape.attr(style);\n }\n }\n else {\n shape.attr((_a = {},\n _a[key] = style,\n _a));\n }\n };\n for (var key in shapeStyle) {\n _loop_1(key);\n }\n },\n updateLabel: function (cfg, item) {\n var group = item.getContainer();\n var defaultLabelCfg = this.getOptions({}).labelCfg;\n var labelClassName = this.itemType + CLS_LABEL_SUFFIX;\n var label = group.find(function (element) { return element.get('className') === labelClassName; });\n var labelBgClassname = this.itemType + CLS_LABEL_BG_SUFFIX;\n var labelBg = group.find(function (element) { return element.get('classname') === labelBgClassname; });\n // 防止 cfg.label = \"\" 的情况\n if (cfg.label || cfg.label === '') {\n // 若传入的新配置中有 label,(用户没传入但原先有 label,label 也会有值)\n if (!label) {\n // 若原先不存在 label,则绘制一个新的 label\n var newLabel = this.drawLabel(cfg, group);\n newLabel.set('className', labelClassName);\n }\n else {\n // 若原先存在 label,则更新样式。与 getLabelStyle 不同在于这里需要融合当前 label 的样式\n // 用于融合 style 以外的属性:position, offset, ...\n var currentLabelCfg = {};\n if (item.getModel) {\n currentLabelCfg = item.getModel().labelCfg;\n }\n // 这里不能去掉\n var labelCfg = deepMix({}, defaultLabelCfg, currentLabelCfg, cfg.labelCfg);\n // 获取位置信息\n var calculateStyle = this.getLabelStyleByPosition(cfg, labelCfg, group);\n // 取 nodeLabel,edgeLabel 的配置项\n var cfgStyle = cfg.labelCfg ? cfg.labelCfg.style : undefined;\n var cfgBgStyle = labelCfg.style && labelCfg.style.background;\n // 需要融合当前\b label 的样式 label.attr()。不再需要全局/默认样式,因为已经应用在当前的 label 上\n var labelStyle = __assign(__assign(__assign({}, label.attr()), calculateStyle), cfgStyle);\n var rotate = labelStyle.rotate;\n delete labelStyle.rotate;\n // 计算 label 的旋转矩阵\n if (rotate) {\n // if G 4.x define the rotateAtStart, use it directly instead of using the following codes\n var rotateMatrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n rotateMatrix = transform(rotateMatrix, [\n ['t', -labelStyle.x, -labelStyle.y],\n ['r', rotate],\n ['t', labelStyle.x, labelStyle.y],\n ]);\n label.resetMatrix();\n label.attr(__assign(__assign({}, labelStyle), { matrix: rotateMatrix }));\n }\n else {\n label.resetMatrix();\n label.attr(labelStyle);\n }\n if (!labelBg) {\n if (labelStyle.background) {\n labelBg = this.drawLabelBg(cfg, group, label);\n labelBg.set('classname', labelBgClassname);\n label.toFront();\n }\n }\n else if (labelStyle.background) {\n var calculateBgStyle = this.getLabelBgStyleByPosition(label, cfg, labelCfg, group);\n // const labelBgStyle = Object.assign({}, labelBg.attr(), calculateBgStyle, cfgBgStyle);\n var labelBgStyle = __assign(__assign({}, calculateBgStyle), cfgBgStyle);\n labelBg.resetMatrix();\n if (rotate) {\n labelBg.rotateAtStart(rotate);\n }\n labelBg.attr(labelBgStyle);\n }\n else {\n group.removeChild(labelBg);\n }\n }\n }\n },\n // update(cfg, item) // 默认不定义\n afterUpdate: function (cfg, item) { },\n /**\n * 设置节点的状态,主要是交互状态,业务状态请在 draw 方法中实现\n * 单图形的节点仅考虑 selected、active 状态,有其他状态需求的用户自己复写这个方法\n * @override\n * @param {String} name 状态名称\n * @param {String | Boolean} value 状态值\n * @param {G6.Item} item 节点\n */\n setState: function (name, value, item) {\n var _a, _b;\n var shape = item.get('keyShape');\n if (!shape) {\n return;\n }\n var type = item.getType();\n var stateName = isBoolean(value) ? name : name + \":\" + value;\n var shapeStateStyle = this.getStateStyle(stateName, item);\n var itemStateStyle = item.getStateStyle(stateName);\n // 不允许设置一个不存在的状态\n if (!itemStateStyle && !shapeStateStyle) {\n return;\n }\n // 要设置或取消的状态的样式\n // 当没有 state 状态时,默认使用 model.stateStyles 中的样式\n var styles = mix({}, itemStateStyle || shapeStateStyle);\n var group = item.getContainer();\n // 从图元素现有的样式中删除本次要取消的 states 中存在的属性值。使用对象检索更快\n var keptAttrs = { x: 1, y: 1, cx: 1, cy: 1 };\n if (value) {\n var _loop_2 = function (key) {\n var _a;\n var style = styles[key];\n if (isPlainObject(style) && !ARROWS.includes(key)) {\n var subShape = group.find(function (element) { return element.get('name') === key; });\n if (subShape) {\n subShape.attr(style);\n }\n }\n else {\n // 非纯对象,则认为是设置到 keyShape 上面的\n shape.attr((_a = {},\n _a[key] = style,\n _a));\n }\n };\n // style 为要设置的状态的样式\n for (var key in styles) {\n _loop_2(key);\n }\n }\n else {\n // 所有生效的 state 的样式\n var enableStatesStyle = clone(item.getCurrentStatesStyle());\n var model = item.getModel();\n // 原始样式\n var tmp = item.getOriginStyle();\n var originStyle_1 = mix({}, model.style, clone(item.getOriginStyle()));\n var keyShapeName_1 = shape.get('name');\n var keyShapeStyles_1 = clone(shape.attr());\n // 已有样式 - 要取消的状态的样式\n var filtetDisableStatesStyle = {};\n var _loop_3 = function (p) {\n var style = styles[p];\n if (isPlainObject(style) && !ARROWS.includes(p)) {\n var subShape_1 = group.find(function (element) { return element.get('name') === p; });\n if (subShape_1) {\n var subShapeStyles_1 = clone(subShape_1.attr());\n each(style, function (v, key) {\n if (p === keyShapeName_1 && keyShapeStyles_1[key] && !keptAttrs[key]) {\n delete keyShapeStyles_1[key];\n var value_1 = originStyle_1[p][key] || SHAPES_DEFAULT_ATTRS[type][key];\n shape.attr(key, value_1);\n }\n else if (subShapeStyles_1[key] || subShapeStyles_1[key] === 0) {\n delete subShapeStyles_1[key];\n var value_2 = originStyle_1[p][key] || SHAPES_DEFAULT_ATTRS[type][key];\n subShape_1.attr(key, value_2);\n }\n });\n filtetDisableStatesStyle[p] = subShapeStyles_1;\n }\n }\n else {\n if (keyShapeStyles_1[p] && !keptAttrs[p]) {\n delete keyShapeStyles_1[p];\n var value_3 = originStyle_1[p] ||\n (originStyle_1[keyShapeName_1] ? originStyle_1[keyShapeName_1][p] : undefined) ||\n SHAPES_DEFAULT_ATTRS[type][p];\n shape.attr(p, value_3);\n }\n }\n };\n // styles 为要取消的状态的样式\n for (var p in styles) {\n _loop_3(p);\n }\n // 从图元素现有的样式中删除本次要取消的 states 中存在的属性值后,\n // 如果 keyShape 有 name 属性,则 filtetDisableStatesStyle 的格式为 { keyShapeName: {} }\n // 否则为普通对象\n if (!keyShapeName_1) {\n mix(filtetDisableStatesStyle, keyShapeStyles_1);\n }\n else {\n filtetDisableStatesStyle[keyShapeName_1] = keyShapeStyles_1;\n }\n for (var key in enableStatesStyle) {\n if (keptAttrs[key])\n continue;\n var enableStyle = enableStatesStyle[key];\n if (!isPlainObject(enableStyle) || ARROWS.includes(key)) {\n // 把样式属性merge到keyShape中\n if (!keyShapeName_1) {\n mix(originStyle_1, (_a = {},\n _a[key] = enableStyle,\n _a));\n }\n else {\n mix(originStyle_1[keyShapeName_1], (_b = {},\n _b[key] = enableStyle,\n _b));\n delete originStyle_1[key];\n }\n delete enableStatesStyle[key];\n }\n }\n var originstyles = {};\n deepMix(originstyles, originStyle_1, filtetDisableStatesStyle, enableStatesStyle);\n var keyShapeSetted = false;\n var _loop_4 = function (originKey) {\n var _a, _b;\n var style = originstyles[originKey];\n if (isPlainObject(style) && !ARROWS.includes(originKey)) {\n var subShape = group.find(function (element) { return element.get('name') === originKey; });\n if (subShape) {\n subShape.attr(style);\n if (originKey === keyShapeName_1)\n keyShapeSetted = true;\n }\n }\n else if (!keyShapeSetted) {\n var value_4 = style || SHAPES_DEFAULT_ATTRS[type][originKey];\n // 当更新 combo 状态时,当不存在 keyShapeName 时候,则认为是设置到 keyShape 上面的\n if (type === 'combo') {\n if (!keyShapeName_1) {\n shape.attr((_a = {},\n _a[originKey] = value_4,\n _a));\n }\n }\n else {\n shape.attr((_b = {},\n _b[originKey] = value_4,\n _b));\n }\n }\n };\n for (var originKey in originstyles) {\n _loop_4(originKey);\n }\n }\n },\n /**\n * 获取不同状态下的样式\n *\n * @param {string} name 状态名称\n * @param {Item} item Node或Edge的实例\n * @return {object} 样式\n */\n getStateStyle: function (name, item) {\n var model = item.getModel();\n var type = item.getType();\n var _a = this.getOptions(model), stateStyles = _a.stateStyles, _b = _a.style, style = _b === void 0 ? {} : _b;\n var modelStateStyle = model.stateStyles\n ? model.stateStyles[name]\n : stateStyles && stateStyles[name];\n if (type === 'combo') {\n return clone(modelStateStyle);\n }\n return mix({}, style, modelStateStyle);\n },\n /**\n * 获取控制点\n * @param {Object} cfg 节点、边的配置项\n * @return {Array|null} 控制点的数组,如果为 null,则没有控制点\n */\n getControlPoints: function (cfg) {\n return cfg.controlPoints;\n },\n /**\n * 获取控制点\n * @param {Object} cfg 节点、边的配置项\n * @return {Array|null} 锚点的数组,如果为 null,则没有锚点\n */\n getAnchorPoints: function (cfg) {\n var anchorPoints = this.getOptions(cfg).anchorPoints;\n return anchorPoints;\n },\n};\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combos/circle.ts", "name": "./src/shape/combos/circle.ts", "index": 244, "index2": 241, "size": 3518, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combos/index.ts", "issuerId": null, "issuerName": "./src/shape/combos/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combos/index.ts", "name": "./src/shape/combos/index.ts", "profile": { "factory": 1776, "building": 65, "dependencies": 2105 } } ], "profile": { "factory": 290, "building": 227, "dependencies": 742 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combos/index.ts", "module": "./src/shape/combos/index.ts", "moduleName": "./src/shape/combos/index.ts", "type": "harmony side effect evaluation", "userRequest": "./circle", "loc": "1:0-18" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 3, "source": "import { __assign } from \"tslib\";\nimport Global from '../../global';\nimport Shape from '../shape';\nimport { isNumber, clone, mix, isArray } from '@antv/util';\n// 圆形 Combo\nShape.registerCombo('circle', {\n // 自定义节点时的配置\n options: {\n size: [Global.defaultCombo.size[0], Global.defaultCombo.size[0]],\n padding: Global.defaultCombo.padding[0],\n animate: true,\n style: {\n stroke: Global.defaultCombo.style.stroke,\n fill: Global.defaultCombo.style.fill,\n lineWidth: Global.defaultCombo.style.lineWidth,\n },\n labelCfg: {\n style: {\n fill: Global.comboLabel.style.fill,\n fontSize: Global.comboLabel.style.fontSize,\n },\n refX: 0,\n refY: 0,\n },\n stateStyles: __assign({}, Global.comboStateStyles),\n },\n shapeType: 'circle',\n // 文本位置\n labelPosition: 'top',\n drawShape: function (cfg, group) {\n var style = this.getShapeStyle(cfg);\n delete style.height;\n delete style.width;\n var keyShape = group.addShape('circle', {\n attrs: style,\n className: 'circle-combo',\n name: 'circle-combo',\n draggable: true,\n });\n return keyShape;\n },\n /**\n * 获取 Combo 的样式,供基于该 Combo 自定义时使用\n * @param {Object} cfg Combo 数据模型\n * @return {Object} Combo 的样式\n */\n getShapeStyle: function (cfg) {\n var defaultStyle = this.options.style;\n var padding = cfg.padding || this.options.padding;\n if (isArray(padding))\n padding = padding[0];\n var strokeStyle = {\n stroke: cfg.color,\n };\n // 如果设置了color,则覆盖默认的stroke属性\n var style = mix({}, defaultStyle, strokeStyle, cfg.style);\n var size = this.getSize(cfg);\n var r;\n if (!isNumber(style.r) || isNaN(style.r))\n r = size[0] / 2 || Global.defaultCombo.style.r;\n else\n r = Math.max(style.r, size[0] / 2) || size[0] / 2;\n style.r = r + padding;\n var styles = __assign({ x: 0, y: 0 }, style);\n if (cfg.style)\n cfg.style.r = r;\n else {\n cfg.style = { r: r };\n }\n return styles;\n },\n update: function (cfg, item) {\n var size = this.getSize(cfg);\n var padding = cfg.padding || this.options.padding;\n if (isArray(padding))\n padding = padding[0];\n var cfgStyle = clone(cfg.style);\n var r = Math.max(cfgStyle.r, size[0] / 2) || size[0] / 2;\n cfgStyle.r = r + padding;\n var itemCacheSize = item.get('sizeCache');\n if (itemCacheSize) {\n itemCacheSize.r = cfgStyle.r;\n }\n // 下面这些属性需要覆盖默认样式与目前样式,但若在 cfg 中有指定则应该被 cfg 的相应配置覆盖。\n var strokeStyle = {\n stroke: cfg.color,\n };\n // 与 getShapeStyle 不同在于,update 时需要获取到当前的 style 进行融合。即新传入的配置项中没有涉及的属性,保留当前的配置。\n var keyShape = item.get('keyShape');\n var style = mix({}, keyShape.attr(), strokeStyle, cfgStyle);\n if (cfg.style)\n cfg.style.r = r;\n else {\n cfg.style = { r: r };\n }\n this.updateShape(cfg, item, style, true);\n },\n}, 'single-combo');\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combos/rect.ts", "name": "./src/shape/combos/rect.ts", "index": 245, "index2": 242, "size": 6996, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combos/index.ts", "issuerId": null, "issuerName": "./src/shape/combos/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combos/index.ts", "name": "./src/shape/combos/index.ts", "profile": { "factory": 1776, "building": 65, "dependencies": 2105 } } ], "profile": { "factory": 290, "building": 227, "dependencies": 742 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/combos/index.ts", "module": "./src/shape/combos/index.ts", "moduleName": "./src/shape/combos/index.ts", "type": "harmony side effect evaluation", "userRequest": "./rect", "loc": "2:0-16" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 3, "source": "import { __assign } from \"tslib\";\nimport { mix, isNumber, clone, isNil } from '@antv/util';\nimport Global from '../../global';\nimport Shape from '../shape';\nShape.registerCombo('rect', {\n // 自定义 Combo 时的配置\n options: {\n size: [40, 5],\n padding: [25, 20, 15, 20],\n animate: true,\n style: {\n radius: 0,\n stroke: Global.defaultCombo.style.stroke,\n fill: Global.defaultCombo.style.fill,\n lineWidth: Global.defaultCombo.style.lineWidth,\n },\n // 文本样式配置\n labelCfg: {\n style: {\n fill: Global.comboLabel.style.fill,\n fontSize: Global.comboLabel.style.fontSize,\n },\n },\n // 连接点,默认为左右\n anchorPoints: [[0, 0.5], [1, 0.5]],\n stateStyles: __assign({}, Global.comboStateStyles),\n },\n shapeType: 'rect',\n labelPosition: 'top',\n drawShape: function (cfg, group) {\n var style = this.getShapeStyle(cfg);\n var keyShape = group.addShape('rect', {\n attrs: style,\n className: 'rect-combo',\n name: 'rect-combo',\n draggable: true,\n });\n return keyShape;\n },\n // 私有方法,不希望扩展的 Combo 复写这个方法\n getLabelStyleByPosition: function (cfg, labelCfg) {\n var labelPosition = labelCfg.position || this.labelPosition;\n var cfgStyle = cfg.style;\n var padding = cfg.padding || this.options.padding;\n if (isNumber(padding))\n padding = [padding, padding, padding, padding];\n var refX = labelCfg.refX, refY = labelCfg.refY;\n // 考虑 refX 和 refY = 0 的场景,不用用 labelCfg.refX || Global.nodeLabel.refY\n if (isNil(refX)) {\n refX = this.refX; // 不居中时的偏移量\n }\n if (isNil(refY)) {\n refY = this.refY; // 不居中时的偏移量\n }\n var leftDis = cfgStyle.width / 2 + padding[3];\n var topDis = cfgStyle.height / 2 + padding[0];\n var style;\n switch (labelPosition) {\n case 'top':\n style = {\n x: 0 - leftDis + refX,\n y: 0 - topDis + refY,\n textBaseline: 'top',\n textAlign: 'left',\n };\n break;\n case 'bottom':\n style = {\n x: 0,\n y: topDis + refY,\n textBaseline: 'bottom',\n textAlign: 'center',\n };\n break;\n case 'left':\n style = {\n x: 0 - leftDis + refY,\n y: 0,\n textAlign: 'left',\n };\n break;\n case 'center':\n style = {\n x: 0,\n y: 0,\n text: cfg.label,\n textAlign: 'center',\n };\n break;\n default:\n style = {\n x: leftDis + refX,\n y: 0,\n textAlign: 'right',\n };\n break;\n }\n style.text = cfg.label;\n return style;\n },\n /**\n * 获取节点的样式,供基于该节点自定义时使用\n * @param {Object} cfg 节点数据模型\n * @return {Object} 节点的样式\n */\n getShapeStyle: function (cfg) {\n var defaultStyle = this.options.style;\n var padding = cfg.padding || this.options.padding;\n if (isNumber(padding))\n padding = [padding, padding, padding, padding];\n var strokeStyle = {\n stroke: cfg.color,\n };\n // 如果设置了color,则覆盖默认的stroke属性\n var style = mix({}, defaultStyle, strokeStyle, cfg.style);\n var size = this.getSize(cfg);\n var width;\n var height;\n if (!isNumber(style.width) || isNaN(style.width))\n width = size[0] || Global.defaultCombo.style.width;\n else\n width = Math.max(style.width, size[0]) || size[0];\n if (!isNumber(style.height) || isNaN(style.height))\n height = size[1] || Global.defaultCombo.style.height;\n else\n height = Math.max(style.height, size[1]) || size[1];\n var x = -width / 2 - padding[3];\n var y = -height / 2 - padding[0];\n style.width = width + padding[1] + padding[3];\n style.height = height + padding[0] + padding[2];\n var styles = __assign({ x: x,\n y: y }, style);\n if (!cfg.style) {\n cfg.style = {\n width: width,\n height: height,\n };\n }\n else {\n cfg.style.width = width;\n cfg.style.height = height;\n }\n return styles;\n },\n update: function (cfg, item) {\n var size = this.getSize(cfg);\n var padding = cfg.padding || this.options.padding;\n if (isNumber(padding))\n padding = [padding, padding, padding, padding];\n var cfgStyle = clone(cfg.style);\n var width = Math.max(cfgStyle.width, size[0]) || size[0];\n var height = Math.max(cfgStyle.height, size[1]) || size[1];\n cfgStyle.width = width + padding[1] + padding[3];\n cfgStyle.height = height + padding[0] + padding[2];\n var itemCacheSize = item.get('sizeCache');\n if (itemCacheSize) {\n itemCacheSize.width = cfgStyle.width;\n itemCacheSize.height = cfgStyle.height;\n }\n cfgStyle.x = -width / 2 - padding[3];\n cfgStyle.y = -height / 2 - padding[0];\n // 下面这些属性需要覆盖默认样式与目前样式,但若在 cfg 中有指定则应该被 cfg 的相应配置覆盖。\n var strokeStyle = {\n stroke: cfg.color,\n };\n // 与 getShapeStyle 不同在于,update 时需要获取到当前的 style 进行融合。即新传入的配置项中没有涉及的属性,保留当前的配置。\n var keyShape = item.get('keyShape');\n var style = mix({}, keyShape.attr(), strokeStyle, cfgStyle);\n if (cfg.style) {\n cfg.style.width = width;\n cfg.style.height = height;\n }\n else {\n cfg.style = { width: width, height: height };\n }\n this.updateShape(cfg, item, style, false);\n },\n updateShape: function (cfg, item, keyShapeStyle) {\n var keyShape = item.get('keyShape');\n var animate = cfg.animate === undefined ? this.options.animate : cfg.animate;\n if (animate && keyShape.animate) {\n keyShape.animate(keyShapeStyle, {\n duration: 200,\n easing: 'easeLinear',\n });\n }\n else {\n keyShape.attr(__assign({}, keyShapeStyle));\n }\n this.updateLabel(cfg, item);\n },\n}, 'single-combo');\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/circle.ts", "name": "./src/shape/nodes/circle.ts", "index": 247, "index2": 244, "size": 5816, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/index.ts", "issuerId": null, "issuerName": "./src/shape/nodes/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/index.ts", "name": "./src/shape/nodes/index.ts", "profile": { "factory": 1776, "building": 65, "dependencies": 2105 } } ], "profile": { "factory": 293, "building": 209, "dependencies": 837 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/index.ts", "module": "./src/shape/nodes/index.ts", "moduleName": "./src/shape/nodes/index.ts", "type": "harmony side effect evaluation", "userRequest": "./circle", "loc": "1:0-18" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 3, "source": "import { __assign, __rest } from \"tslib\";\nimport { deepMix } from '@antv/util';\nimport Global from '../../global';\nimport Shape from '../shape';\n// 带有图标的圆,可用于拓扑图中\nShape.registerNode('circle', {\n // 自定义节点时的配置\n options: {\n size: Global.defaultNode.size,\n style: {\n x: 0,\n y: 0,\n stroke: Global.defaultNode.style.stroke,\n fill: Global.defaultNode.style.fill,\n lineWidth: Global.defaultNode.style.lineWidth,\n },\n labelCfg: {\n style: {\n fill: Global.nodeLabel.style.fill,\n fontSize: Global.nodeLabel.style.fontSize,\n },\n },\n // 节点上左右上下四个方向上的链接circle配置\n linkPoints: {\n top: false,\n right: false,\n bottom: false,\n left: false,\n // circle的大小\n size: Global.defaultNode.linkPoints.size,\n lineWidth: Global.defaultNode.linkPoints.lineWidth,\n fill: Global.defaultNode.linkPoints.fill,\n stroke: Global.defaultNode.linkPoints.stroke,\n },\n // 节点中icon配置\n icon: {\n // 是否显示icon,值为 false 则不渲染icon\n show: false,\n // icon的地址,字符串类型\n img: 'https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg',\n width: 20,\n height: 20,\n },\n stateStyles: __assign({}, Global.nodeStateStyles),\n },\n shapeType: 'circle',\n // 文本位置\n labelPosition: 'center',\n drawShape: function (cfg, group) {\n var _a = this.getOptions(cfg).icon, defaultIcon = _a === void 0 ? {} : _a;\n var style = this.getShapeStyle(cfg);\n var icon = deepMix({}, defaultIcon, cfg.icon);\n var keyShape = group.addShape('circle', {\n attrs: style,\n className: this.type + \"-keyShape\",\n draggable: true,\n });\n var width = icon.width, height = icon.height, show = icon.show;\n if (show) {\n group.addShape('image', {\n attrs: __assign({ x: -width / 2, y: -height / 2 }, icon),\n className: this.type + \"-icon\",\n name: this.type + \"-icon\",\n draggable: true,\n });\n }\n this.drawLinkPoints(cfg, group);\n return keyShape;\n },\n /**\n * 绘制节点上的LinkPoints\n * @param {Object} cfg data数据配置项\n * @param {Group} group Group实例\n */\n drawLinkPoints: function (cfg, group) {\n var _a = this.getOptions(cfg).linkPoints, linkPoints = _a === void 0 ? {} : _a;\n var top = linkPoints.top, left = linkPoints.left, right = linkPoints.right, bottom = linkPoints.bottom, markSize = linkPoints.size, markR = linkPoints.r, markStyle = __rest(linkPoints, [\"top\", \"left\", \"right\", \"bottom\", \"size\", \"r\"]);\n var size = this.getSize(cfg);\n var r = size[0] / 2;\n if (left) {\n // left circle\n group.addShape('circle', {\n attrs: __assign(__assign({}, markStyle), { x: -r, y: 0, r: markSize / 2 || markR || 5 }),\n className: 'link-point-left',\n name: 'link-point-left',\n isAnchorPoint: true,\n });\n }\n if (right) {\n // right circle\n group.addShape('circle', {\n attrs: __assign(__assign({}, markStyle), { x: r, y: 0, r: markSize / 2 || markR || 5 }),\n className: 'link-point-right',\n name: 'link-point-right',\n isAnchorPoint: true,\n });\n }\n if (top) {\n // top circle\n group.addShape('circle', {\n attrs: __assign(__assign({}, markStyle), { x: 0, y: -r, r: markSize / 2 || markR || 5 }),\n className: 'link-point-top',\n name: 'link-point-top',\n isAnchorPoint: true,\n });\n }\n if (bottom) {\n // bottom circle\n group.addShape('circle', {\n attrs: __assign(__assign({}, markStyle), { x: 0, y: r, r: markSize / 2 || markR || 5 }),\n className: 'link-point-bottom',\n name: 'link-point-bottom',\n isAnchorPoint: true,\n });\n }\n },\n /**\n * 获取节点的样式,供基于该节点自定义时使用\n * @param {Object} cfg 节点数据模型\n * @return {Object} 节点的样式\n */\n getShapeStyle: function (cfg) {\n var defaultStyle = this.getOptions(cfg).style;\n var strokeStyle = {\n stroke: cfg.color,\n };\n // 如果设置了color,则覆盖默认的stroke属性\n var style = deepMix({}, defaultStyle, strokeStyle);\n var size = this.getSize(cfg);\n var r = size[0] / 2;\n var styles = __assign({ x: 0, y: 0, r: r }, style);\n return styles;\n },\n update: function (cfg, item) {\n var group = item.getContainer();\n var size = this.getSize(cfg);\n // 下面这些属性需要覆盖默认样式与目前样式,但若在 cfg 中有指定则应该被 cfg 的相应配置覆盖。\n var strokeStyle = {\n stroke: cfg.color,\n r: size[0] / 2,\n };\n // 与 getShapeStyle 不同在于,update 时需要获取到当前的 style 进行融合。即新传入的配置项中没有涉及的属性,保留当前的配置。\n var keyShape = item.get('keyShape');\n var style = deepMix({}, keyShape.attr(), strokeStyle, cfg.style);\n this.updateShape(cfg, item, style, true);\n this.updateLinkPoints(cfg, group);\n },\n}, 'single-node');\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/rect.ts", "name": "./src/shape/nodes/rect.ts", "index": 248, "index2": 245, "size": 6047, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/index.ts", "issuerId": null, "issuerName": "./src/shape/nodes/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/index.ts", "name": "./src/shape/nodes/index.ts", "profile": { "factory": 1776, "building": 65, "dependencies": 2105 } } ], "profile": { "factory": 293, "building": 209, "dependencies": 837 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/index.ts", "module": "./src/shape/nodes/index.ts", "moduleName": "./src/shape/nodes/index.ts", "type": "harmony side effect evaluation", "userRequest": "./rect", "loc": "2:0-16" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 3, "source": "import { __assign, __rest } from \"tslib\";\nimport { mix } from '@antv/util';\nimport Global from '../../global';\nimport Shape from '../shape';\nShape.registerNode('rect', {\n // 自定义节点时的配置\n options: {\n size: [100, 30],\n style: {\n radius: 0,\n stroke: Global.defaultNode.style.stroke,\n fill: Global.defaultNode.style.fill,\n lineWidth: Global.defaultNode.style.lineWidth,\n },\n // 文本样式配置\n labelCfg: {\n style: {\n fill: Global.nodeLabel.style.fill,\n fontSize: Global.nodeLabel.style.fontSize,\n },\n },\n // 节点上左右上下四个方向上的链接circle配置\n linkPoints: {\n top: false,\n right: false,\n bottom: false,\n left: false,\n // circle的大小\n size: Global.defaultNode.linkPoints.size,\n lineWidth: Global.defaultNode.linkPoints.lineWidth,\n fill: Global.defaultNode.linkPoints.fill,\n stroke: Global.defaultNode.linkPoints.stroke,\n },\n // 节点中icon配置\n icon: {\n // 是否显示icon,值为 false 则不渲染icon\n show: false,\n // icon的地址,字符串类型\n img: 'https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg',\n width: 20,\n height: 20,\n },\n // 连接点,默认为左右\n // anchorPoints: [{ x: 0, y: 0.5 }, { x: 1, y: 0.5 }]\n anchorPoints: [[0, 0.5], [1, 0.5]],\n stateStyles: __assign({}, Global.nodeStateStyles),\n },\n shapeType: 'rect',\n labelPosition: 'center',\n drawShape: function (cfg, group) {\n var style = this.getShapeStyle(cfg);\n var keyShape = group.addShape('rect', {\n attrs: style,\n className: this.type + \"-keyShape\",\n name: this.type + \"-keyShape\",\n draggable: true,\n });\n this.drawLinkPoints(cfg, group);\n return keyShape;\n },\n /**\n * 绘制节点上的LinkPoints\n * @param {Object} cfg data数据配置项\n * @param {Group} group Group实例\n */\n drawLinkPoints: function (cfg, group) {\n var _a = this.getOptions(cfg).linkPoints, linkPoints = _a === void 0 ? {} : _a;\n var top = linkPoints.top, left = linkPoints.left, right = linkPoints.right, bottom = linkPoints.bottom, markSize = linkPoints.size, markR = linkPoints.r, markStyle = __rest(linkPoints, [\"top\", \"left\", \"right\", \"bottom\", \"size\", \"r\"]);\n var size = this.getSize(cfg);\n var width = size[0];\n var height = size[1];\n if (left) {\n // left circle\n group.addShape('circle', {\n attrs: __assign(__assign({}, markStyle), { x: -width / 2, y: 0, r: markSize / 2 || markR || 5 }),\n className: 'link-point-left',\n name: 'link-point-left',\n isAnchorPoint: true,\n });\n }\n if (right) {\n // right circle\n group.addShape('circle', {\n attrs: __assign(__assign({}, markStyle), { x: width / 2, y: 0, r: markSize / 2 || markR || 5 }),\n className: 'link-point-right',\n name: 'link-point-right',\n isAnchorPoint: true,\n });\n }\n if (top) {\n // top circle\n group.addShape('circle', {\n attrs: __assign(__assign({}, markStyle), { x: 0, y: -height / 2, r: markSize / 2 || markR || 5 }),\n className: 'link-point-top',\n name: 'link-point-top',\n isAnchorPoint: true,\n });\n }\n if (bottom) {\n // bottom circle\n group.addShape('circle', {\n attrs: __assign(__assign({}, markStyle), { x: 0, y: height / 2, r: markSize / 2 || markR || 5 }),\n className: 'link-point-bottom',\n name: 'link-point-bottom',\n isAnchorPoint: true,\n });\n }\n },\n /**\n * 获取节点的样式,供基于该节点自定义时使用\n * @param {Object} cfg 节点数据模型\n * @return {Object} 节点的样式\n */\n getShapeStyle: function (cfg) {\n var defaultStyle = this.getOptions(cfg).style;\n var strokeStyle = {\n stroke: cfg.color,\n };\n // 如果设置了color,则覆盖默认的stroke属性\n var style = mix({}, defaultStyle, strokeStyle);\n var size = this.getSize(cfg);\n var width = style.width || size[0];\n var height = style.height || size[1];\n var styles = __assign({ x: -width / 2, y: -height / 2, width: width,\n height: height }, style);\n return styles;\n },\n update: function (cfg, item) {\n var group = item.getContainer();\n // 这里不传 cfg 参数是因为 cfg.style 需要最后覆盖样式\n var defaultStyle = this.getOptions({}).style;\n var size = this.getSize(cfg);\n var keyShape = item.get('keyShape');\n if (!cfg.size) {\n size[0] = keyShape.attr('width') || defaultStyle.width;\n size[1] = keyShape.attr('height') || defaultStyle.height;\n }\n // 下面这些属性需要覆盖默认样式与目前样式,但若在 cfg 中有指定则应该被 cfg 的相应配置覆盖。\n var strokeStyle = {\n stroke: cfg.color,\n x: -size[0] / 2,\n y: -size[1] / 2,\n width: size[0],\n height: size[1],\n };\n // 与 getShapeStyle 不同在于,update 时需要获取到当前的 style 进行融合。即新传入的配置项中没有涉及的属性,保留当前的配置。\n var style = mix({}, defaultStyle, keyShape.attr(), strokeStyle);\n style = mix(style, cfg.style);\n this.updateShape(cfg, item, style, false);\n this.updateLinkPoints(cfg, group);\n },\n}, 'single-node');\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/image.ts", "name": "./src/shape/nodes/image.ts", "index": 249, "index2": 246, "size": 4123, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/index.ts", "issuerId": null, "issuerName": "./src/shape/nodes/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/index.ts", "name": "./src/shape/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/index.ts", "name": "./src/shape/nodes/index.ts", "profile": { "factory": 1776, "building": 65, "dependencies": 2105 } } ], "profile": { "factory": 293, "building": 209, "dependencies": 837 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/nodes/index.ts", "module": "./src/shape/nodes/index.ts", "moduleName": "./src/shape/nodes/index.ts", "type": "harmony side effect evaluation", "userRequest": "./image", "loc": "3:0-17" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 3, "source": "import { __assign } from \"tslib\";\nimport Shape from '../shape';\n/**\n * 基本的图片,可以添加文本,默认文本在图片的下面\n */\nShape.registerNode('image', {\n options: {\n img: 'https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*eD7nT6tmYgAAAAAAAAAAAABkARQnAQ',\n size: 200,\n clipCfg: {\n show: false,\n type: 'circle',\n // circle\n r: 50,\n // ellipse\n rx: 50,\n ry: 35,\n // rect\n width: 50,\n height: 35,\n // polygon\n points: [[30, 12], [12, 30], [30, 48], [48, 30]],\n // path\n path: [\n ['M', 25, 25],\n ['L', 50, 25],\n ['A', 12.5, 12.5, 0, 1, 1, 50, 50],\n ['A', 12.5, 12.5, 0, 1, 0, 50, 50],\n ['L', 25, 75],\n ['Z'],\n ],\n // 坐标\n x: 0,\n y: 0,\n },\n },\n shapeType: 'image',\n labelPosition: 'bottom',\n drawShape: function (cfg, group) {\n var shapeType = this.shapeType; // || this.type,都已经加了 shapeType\n var style = this.getShapeStyle(cfg);\n delete style.fill;\n var shape = group.addShape(shapeType, {\n attrs: style,\n className: this.type + \"-keyShape\",\n name: this.type + \"-keyShape\",\n draggable: true,\n });\n this.drawClip(cfg, shape);\n return shape;\n },\n drawClip: function (cfg, shape) {\n var clip = this.getOptions(cfg).clipCfg;\n if (!clip.show) {\n return;\n }\n // 支持 circle、rect、ellipse、Polygon 及自定义 path clip\n var type = clip.type, x = clip.x, y = clip.y, style = clip.style;\n if (type === 'circle') {\n var r = clip.r;\n shape.setClip({\n type: 'circle',\n attrs: __assign({ r: r,\n x: x,\n y: y }, style),\n });\n }\n else if (type === 'rect') {\n var width = clip.width, height = clip.height;\n var rectX = x - width / 2;\n var rectY = y - height / 2;\n shape.setClip({\n type: 'rect',\n attrs: __assign({ x: rectX, y: rectY, width: width,\n height: height }, style),\n });\n }\n else if (type === 'ellipse') {\n var rx = clip.rx, ry = clip.ry;\n shape.setClip({\n type: 'ellipse',\n attrs: __assign({ x: x,\n y: y,\n rx: rx,\n ry: ry }, style),\n });\n }\n else if (type === 'polygon') {\n var points = clip.points;\n shape.setClip({\n type: 'polygon',\n attrs: __assign({ points: points }, style),\n });\n }\n else if (type === 'path') {\n var path = clip.path;\n shape.setClip({\n type: 'path',\n attrs: __assign({ path: path }, style),\n });\n }\n },\n getShapeStyle: function (cfg) {\n var defaultStyle = this.getOptions(cfg).style;\n var size = this.getSize(cfg);\n var img = this.getOptions(cfg).img;\n var width = size[0];\n var height = size[1];\n if (defaultStyle) {\n width = defaultStyle.width || size[0];\n height = defaultStyle.height || size[1];\n }\n var style = __assign({ x: -width / 2, y: -height / 2, width: width,\n height: height,\n img: img }, defaultStyle);\n return style;\n },\n updateShapeStyle: function (cfg, item) {\n var group = item.getContainer();\n var shapeClassName = this.itemType + \"-shape\";\n var shape = group.find(function (element) { return element.get('className') === shapeClassName; }) || item.getKeyShape();\n var shapeStyle = this.getShapeStyle(cfg);\n if (shape) {\n shape.attr(shapeStyle);\n }\n },\n}, 'single-node');\n" } ], "filteredModules": 0 }, { "id": 15, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array.js", "index": 152, "index2": 143, "size": 242, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "profile": { "factory": 1578, "building": 488, "dependencies": 365 } } ], "profile": { "factory": 855, "building": 182, "dependencies": 41 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/is-array", "loc": "13:0-61" }, { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony export imported specifier", "userRequest": "@antv/util/lib/is-array", "loc": "13:0-61" }, { "moduleId": 18, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "type": "cjs require", "userRequest": "./is-array", "loc": "7:17-38" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/is-array", "loc": "1:0-46" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/is-array", "loc": "2:0-46" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util/lib/is-array", "loc": "10:6-13" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util/lib/is-array", "loc": "11:6-13" } ], "usedExports": true, "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 5, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar is_type_1 = require(\"./is-type\");\n\nexports.default = function (value) {\n return Array.isArray ? Array.isArray(value) : is_type_1.default(value, 'Array');\n};" }, { "id": 16, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_algorithm@0.0.4@@antv/algorithm/dist/index.min.js", "name": "./node_modules/_@antv_algorithm@0.0.4@@antv/algorithm/dist/index.min.js", "index": 121, "index2": 119, "size": 29494, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "issuerId": null, "issuerName": "./src/graph/graph.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/algorithm", "loc": "5:0-102" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/algorithm", "loc": "23:34-39" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/algorithm", "loc": "24:34-39" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/algorithm", "loc": "2276:22-31" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/algorithm", "loc": "2374:31-48" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/algorithm", "loc": "2394:31-48" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/algorithm", "loc": "2398:41-54" } ], "usedExports": ["Stack", "floydWarshall", "getAdjMatrix", "getDegree"], "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 2, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n!function (t, e) {\n \"object\" == (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) && \"undefined\" != typeof module ? e(exports) : \"function\" == typeof define && define.amd ? define([\"exports\"], e) : e((t = \"undefined\" != typeof globalThis ? globalThis : t || self).algorithm = {});\n}(this, function (t) {\n \"use strict\";\n\n var e = function e(t, _e) {\n var n = t.nodes,\n r = t.edges,\n i = [],\n o = {};\n if (!n) throw Error(\"invalid nodes data!\");\n return n && n.forEach(function (t, e) {\n o[t.id] = e;\n i.push([]);\n }), r && r.forEach(function (t) {\n var n = o[t.source],\n r = o[t.target];\n i[n][r] = 1, _e || (i[r][n] = 1);\n }), i;\n };\n\n function n(t, e) {\n if (!(t instanceof e)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function r(t, e) {\n for (var n = 0; e.length > n; n++) {\n var r = e[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);\n }\n }\n\n function i(t, e, n) {\n return e && r(t.prototype, e), n && r(t, n), t;\n }\n\n function o(t, e) {\n (null == e || e > t.length) && (e = t.length);\n\n for (var n = 0, r = Array(e); e > n; n++) {\n r[n] = t[n];\n }\n\n return r;\n }\n\n function u(t, e) {\n var _n;\n\n if (\"undefined\" == typeof Symbol || null == t[Symbol.iterator]) {\n if (Array.isArray(t) || (_n = function (t, e) {\n if (t) {\n if (\"string\" == typeof t) return o(t, e);\n var n = Object.prototype.toString.call(t).slice(8, -1);\n return \"Object\" === n && t.constructor && (n = t.constructor.name), \"Map\" === n || \"Set\" === n ? Array.from(t) : \"Arguments\" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? o(t, e) : void 0;\n }\n }(t)) || e && t && \"number\" == typeof t.length) {\n _n && (t = _n);\n\n var r = 0,\n i = function i() {};\n\n return {\n s: i,\n n: function n() {\n return t.length > r ? {\n done: !1,\n value: t[r++]\n } : {\n done: !0\n };\n },\n e: function e(t) {\n throw t;\n },\n f: i\n };\n }\n\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n var u,\n a = !0,\n s = !1;\n return {\n s: function s() {\n _n = t[Symbol.iterator]();\n },\n n: function n() {\n var t = _n.next();\n\n return a = t.done, t;\n },\n e: function e(t) {\n s = !0, u = t;\n },\n f: function f() {\n try {\n a || null == _n.return || _n.return();\n } finally {\n if (s) throw u;\n }\n }\n };\n }\n\n var a = function a(t, e) {\n return t === e;\n },\n s = function () {\n function t(e) {\n var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null;\n n(this, t), this.value = e, this.next = r;\n }\n\n return i(t, [{\n key: \"toString\",\n value: function value(t) {\n return t ? t(this.value) : \"\".concat(this.value);\n }\n }]), t;\n }(),\n l = function () {\n function t() {\n var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : a;\n n(this, t), this.head = null, this.tail = null, this.compare = e;\n }\n\n return i(t, [{\n key: \"prepend\",\n value: function value(t) {\n var e = new s(t, this.head);\n return this.head = e, this.tail || (this.tail = e), this;\n }\n }, {\n key: \"append\",\n value: function value(t) {\n var e = new s(t);\n return this.head ? (this.tail.next = e, this.tail = e, this) : (this.head = e, this.tail = e, this);\n }\n }, {\n key: \"delete\",\n value: function value(t) {\n if (!this.head) return null;\n\n for (var e = null; this.head && this.compare(this.head.value, t);) {\n e = this.head, this.head = this.head.next;\n }\n\n var n = this.head;\n if (null !== n) for (; n.next;) {\n this.compare(n.next.value, t) ? (e = n.next, n.next = n.next.next) : n = n.next;\n }\n return this.compare(this.tail.value, t) && (this.tail = n), e;\n }\n }, {\n key: \"find\",\n value: function value(t) {\n var e = t.value,\n n = void 0 === e ? void 0 : e,\n r = t.callback,\n i = void 0 === r ? void 0 : r;\n if (!this.head) return null;\n\n for (var o = this.head; o;) {\n if (i && i(o.value)) return o;\n if (void 0 !== n && this.compare(o.value, n)) return o;\n o = o.next;\n }\n\n return null;\n }\n }, {\n key: \"deleteTail\",\n value: function value() {\n var t = this.tail;\n if (this.head === this.tail) return this.head = null, this.tail = null, t;\n\n for (var e = this.head; e.next;) {\n e.next.next ? e = e.next : e.next = null;\n }\n\n return this.tail = e, t;\n }\n }, {\n key: \"deleteHead\",\n value: function value() {\n if (!this.head) return null;\n var t = this.head;\n return this.head.next ? this.head = this.head.next : (this.head = null, this.tail = null), t;\n }\n }, {\n key: \"fromArray\",\n value: function value(t) {\n var e = this;\n return t.forEach(function (t) {\n return e.append(t);\n }), this;\n }\n }, {\n key: \"toArray\",\n value: function value() {\n for (var t = [], e = this.head; e;) {\n t.push(e), e = e.next;\n }\n\n return t;\n }\n }, {\n key: \"reverse\",\n value: function value() {\n for (var t = this.head, e = null, n = null; t;) {\n n = t.next, t.next = e, e = t, t = n;\n }\n\n this.tail = this.head, this.head = e;\n }\n }, {\n key: \"toString\",\n value: function value() {\n var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : void 0;\n return \"\" + this.toArray().map(function (e) {\n return e.toString(t);\n });\n }\n }]), t;\n }(),\n h = function () {\n function t() {\n n(this, t), this.linkedList = new l();\n }\n\n return i(t, [{\n key: \"isEmpty\",\n value: function value() {\n return !this.linkedList.head;\n }\n }, {\n key: \"peek\",\n value: function value() {\n return this.linkedList.head ? this.linkedList.head.value : null;\n }\n }, {\n key: \"enqueue\",\n value: function value(t) {\n this.linkedList.append(t);\n }\n }, {\n key: \"dequeue\",\n value: function value() {\n var t = this.linkedList.deleteHead();\n return t ? t.value : null;\n }\n }, {\n key: \"toString\",\n value: function value(t) {\n return this.linkedList.toString(t);\n }\n }]), t;\n }(),\n f = function f(t) {\n var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : [],\n n = arguments.length > 2 ? arguments[2] : void 0,\n r = e.filter(function (e) {\n return e.source === t || e.target === t;\n });\n\n if (\"target\" === n) {\n var i = function i(e) {\n return e.source === t;\n };\n\n return r.filter(i).map(function (t) {\n return t.target;\n });\n }\n\n if (\"source\" === n) {\n var o = function o(e) {\n return e.target === t;\n };\n\n return r.filter(o).map(function (t) {\n return t.source;\n });\n }\n\n var u = function u(e) {\n return e.source === t ? e.target : e.source;\n };\n\n return r.map(u);\n },\n c = function c(t, e) {\n return e.filter(function (e) {\n return e.source === t || e.target === t;\n });\n },\n d = function d() {\n var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0;\n return \"\".concat(t, \"_\").concat(new Date().getTime());\n };\n\n var v = function v(t) {\n var e = {},\n n = t.nodes,\n r = t.edges,\n i = void 0 === r ? [] : r;\n return (void 0 === n ? [] : n).forEach(function (t) {\n e[t.id] = {\n degree: 0,\n inDegree: 0,\n outDegree: 0\n };\n }), i.forEach(function (t) {\n e[t.source].degree++, e[t.source].outDegree++, e[t.target].degree++, e[t.target].inDegree++;\n }), e;\n };\n\n function g(t, e, n, r) {\n r.enter({\n current: e,\n previous: n\n });\n var i = t.edges;\n f(e, void 0 === i ? [] : i, \"target\").forEach(function (i) {\n r.allowTraversal({\n previous: n,\n current: e,\n next: i\n }) && g(t, i, e, r);\n }), r.leave({\n current: e,\n previous: n\n });\n }\n\n function p(t, e, n) {\n g(t, e, \"\", function () {\n var t,\n e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},\n n = e,\n r = function r() {},\n i = (t = {}, function (e) {\n var n = e.next;\n return !t[n] && (t[n] = !0, !0);\n });\n\n return n.allowTraversal = e.allowTraversal || i, n.enter = e.enter || r, n.leave = e.leave || r, n;\n }(n));\n }\n\n var y = function y(t, e, n, r) {\n var i = t.nodes,\n o = void 0 === i ? [] : i,\n u = t.edges,\n a = void 0 === u ? [] : u,\n s = {},\n l = {},\n h = {};\n o.forEach(function (t, n) {\n var r = t.id;\n l[r] = 1 / 0, r === e && (l[r] = 0);\n });\n\n for (var f = o.length, d = function d(t) {\n var e = function (t, e, n) {\n for (var r, i = 1 / 0, o = 0; e.length > o; o++) {\n var u = e[o].id;\n n[u] || t[u] > i || (i = t[u], r = e[o]);\n }\n\n return r;\n }(l, o, s),\n i = e.id;\n\n if (s[i] = !0, l[i] === 1 / 0) return \"continue\";\n (n ? function (t, e) {\n return e.filter(function (e) {\n return e.source === t;\n });\n }(i, a) : c(i, a)).forEach(function (t) {\n var n = t.target,\n o = n === i ? t.source : n,\n u = r && t[r] ? t[r] : 1;\n l[o] > l[e.id] + u && (l[o] = l[e.id] + u, h[o] = e.id);\n });\n }, v = 0; f > v; v++) {\n d();\n }\n\n var g = {};\n\n for (var p in l) {\n g[p] = [p];\n\n for (var y = h[p]; void 0 !== y;) {\n g[p].unshift(y), y = h[y];\n }\n }\n\n return {\n length: l,\n path: g\n };\n },\n k = function k(t, e, n, r) {\n for (var i = e.length, o = 2 * r, u = 0, a = 0; i > a; a++) {\n for (var s = t[a].clusterId, l = 0; i > l; l++) {\n if (s === t[l].clusterId) u += (e[a][l] || 0) - (n[a] || 0) * (n[l] || 0) / o;\n }\n }\n\n return u *= 1 / o;\n },\n m = function () {\n function t(e) {\n n(this, t), this.count = e.length, this.parent = {};\n var r,\n i = u(e);\n\n try {\n for (i.s(); !(r = i.n()).done;) {\n var o = r.value;\n this.parent[o] = o;\n }\n } catch (t) {\n i.e(t);\n } finally {\n i.f();\n }\n }\n\n return i(t, [{\n key: \"find\",\n value: function value(t) {\n for (; this.parent[t] !== t;) {\n t = this.parent[t];\n }\n\n return t;\n }\n }, {\n key: \"union\",\n value: function value(t, e) {\n var n = this.find(t),\n r = this.find(e);\n n !== r && (r > n ? (this.parent[e] !== e && this.union(this.parent[e], t), this.parent[e] = this.parent[t]) : (this.parent[t] !== t && this.union(this.parent[t], e), this.parent[t] = this.parent[e]));\n }\n }, {\n key: \"connected\",\n value: function value(t, e) {\n return this.find(t) === this.find(e);\n }\n }]), t;\n }(),\n E = function E(t, e) {\n return t - e;\n },\n b = function () {\n function t() {\n var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : E;\n n(this, t), this.compareFn = e, this.list = [];\n }\n\n return i(t, [{\n key: \"getLeft\",\n value: function value(t) {\n return 2 * t + 1;\n }\n }, {\n key: \"getRight\",\n value: function value(t) {\n return 2 * t + 2;\n }\n }, {\n key: \"getParent\",\n value: function value(t) {\n return 0 === t ? null : Math.floor((t - 1) / 2);\n }\n }, {\n key: \"isEmpty\",\n value: function value() {\n return 0 >= this.list.length;\n }\n }, {\n key: \"top\",\n value: function value() {\n return this.isEmpty() ? void 0 : this.list[0];\n }\n }, {\n key: \"delMin\",\n value: function value() {\n var t = this.top(),\n e = this.list.pop();\n return this.list.length > 0 && (this.list[0] = e, this.moveDown(0)), t;\n }\n }, {\n key: \"insert\",\n value: function value(t) {\n return null !== t && (this.list.push(t), this.moveUp(this.list.length - 1), !0);\n }\n }, {\n key: \"moveUp\",\n value: function value(t) {\n for (var e = this.getParent(t); t && t > 0 && this.compareFn(this.list[e], this.list[t]) > 0;) {\n var n = this.list[e];\n this.list[e] = this.list[t], this.list[t] = n, e = this.getParent(t = e);\n }\n }\n }, {\n key: \"moveDown\",\n value: function value(t) {\n var e = t,\n n = this.getLeft(t),\n r = this.getRight(t),\n i = this.list.length;\n\n if (null !== n && i > n && this.compareFn(this.list[e], this.list[n]) > 0 ? e = n : null !== r && i > r && this.compareFn(this.list[e], this.list[r]) > 0 && (e = r), t !== e) {\n var o = [this.list[e], this.list[t]];\n this.list[t] = o[0], this.list[e] = o[1], this.moveDown(e);\n }\n }\n }]), t;\n }(),\n x = function x(t, e) {\n var n = [],\n r = t.nodes,\n i = void 0 === r ? [] : r,\n o = t.edges,\n u = void 0 === o ? [] : o;\n if (0 === i.length) return n;\n var a = i[0],\n s = new Set();\n s.add(a);\n var l = new b(function (t, n) {\n return e ? t.weight - n.weight : 0;\n });\n\n for (c(a.id, u).forEach(function (t) {\n l.insert(t);\n }); !l.isEmpty();) {\n var h = l.delMin(),\n f = h.source,\n d = h.target;\n s.has(f) && s.has(d) || (n.push(h), s.has(f) || (s.add(f), c(f, u).forEach(function (t) {\n l.insert(t);\n })), s.has(d) || (s.add(d), c(d, u).forEach(function (t) {\n l.insert(t);\n })));\n }\n\n return n;\n },\n w = function w(t, e) {\n var n = [],\n r = t.nodes,\n i = void 0 === r ? [] : r,\n o = t.edges;\n if (0 === i.length) return n;\n var u = (void 0 === o ? [] : o).map(function (t) {\n return t;\n });\n e && u.sort(function (t, e) {\n return t.weight - e.weight;\n });\n\n for (var a = new m(i.map(function (t) {\n return t.id;\n })); u.length > 0;) {\n var s = u.shift(),\n l = s.source,\n h = s.target;\n a.connected(l, h) || (n.push(s), a.union(l, h));\n }\n\n return n;\n };\n\n t.Stack = function () {\n function t() {\n var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 10;\n n(this, t), this.linkedList = new l(), this.maxStep = e;\n }\n\n return i(t, [{\n key: \"isEmpty\",\n value: function value() {\n return !this.linkedList.head;\n }\n }, {\n key: \"isMaxStack\",\n value: function value() {\n return this.toArray().length >= this.maxStep;\n }\n }, {\n key: \"peek\",\n value: function value() {\n return this.isEmpty() ? null : this.linkedList.head.value;\n }\n }, {\n key: \"push\",\n value: function value(t) {\n this.linkedList.prepend(t), this.length > this.maxStep && this.linkedList.deleteTail();\n }\n }, {\n key: \"pop\",\n value: function value() {\n var t = this.linkedList.deleteHead();\n return t ? t.value : null;\n }\n }, {\n key: \"toArray\",\n value: function value() {\n return this.linkedList.toArray().map(function (t) {\n return t.value;\n });\n }\n }, {\n key: \"clear\",\n value: function value() {\n for (; !this.isEmpty();) {\n this.pop();\n }\n }\n }, {\n key: \"length\",\n get: function get() {\n return this.linkedList.toArray().length;\n }\n }]), t;\n }(), t.breadthFirstSearch = function (t, e, n) {\n var r = function () {\n var t,\n e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},\n n = e,\n r = function r() {},\n i = (t = {}, function (e) {\n var n = e.next;\n return !t[n] && (t[n] = !0, !0);\n });\n\n return n.allowTraversal = e.allowTraversal || i, n.enter = e.enter || r, n.leave = e.leave || r, n;\n }(n),\n i = new h(),\n o = t.edges,\n u = void 0 === o ? [] : o;\n\n i.enqueue(e);\n\n for (var a = \"\", s = function s() {\n var t = i.dequeue();\n r.enter({\n current: t,\n previous: a\n }), f(t, u, \"target\").forEach(function (e) {\n r.allowTraversal({\n previous: a,\n current: t,\n next: e\n }) && i.enqueue(e);\n }), r.leave({\n current: t,\n previous: a\n }), a = t;\n }; !i.isEmpty();) {\n s();\n }\n }, t.connectedComponent = function (t, e) {\n return e ? function (t) {\n var e,\n n = t.nodes,\n r = void 0 === n ? [] : n,\n i = t.edges,\n o = void 0 === i ? [] : i,\n a = [],\n s = {},\n l = {},\n h = {},\n c = [],\n d = 0,\n v = function t(e) {\n l[e.id] = d, h[e.id] = d, d += 1, a.push(e), s[e.id] = !0;\n\n for (var n = f(e.id, o, \"target\").filter(function (t) {\n return r.map(function (t) {\n return t.id;\n }).indexOf(t) > -1;\n }), i = function i(_i) {\n var o = n[_i];\n if (l[o] || 0 === l[o]) s[o] && (h[e.id] = Math.min(h[e.id], l[o]));else {\n var u = r.filter(function (t) {\n return t.id === o;\n });\n u.length > 0 && t(u[0]), h[e.id] = Math.min(h[e.id], h[o]);\n }\n }, u = 0; n.length > u; u++) {\n i(u);\n }\n\n if (h[e.id] === l[e.id]) {\n for (var v = []; a.length > 0;) {\n var g = a.pop();\n if (s[g.id] = !1, v.push(g), g === e) break;\n }\n\n v.length > 0 && c.push(v);\n }\n },\n g = u(r);\n\n try {\n for (g.s(); !(e = g.n()).done;) {\n var p = e.value;\n l[p.id] || 0 === l[p.id] || v(p);\n }\n } catch (t) {\n g.e(t);\n } finally {\n g.f();\n }\n\n return c;\n }(t) : function (t) {\n for (var e = t.nodes, n = void 0 === e ? [] : e, r = t.edges, i = void 0 === r ? [] : r, o = [], u = {}, a = [], s = function t(e) {\n a.push(e), u[e.id] = !0;\n\n for (var r = f(e.id, i), o = function o(e) {\n var i = r[e];\n\n if (!u[i]) {\n var o = n.filter(function (t) {\n return t.id === i;\n });\n o.length > 0 && t(o[0]);\n }\n }, s = 0; r.length > s; ++s) {\n o(s);\n }\n }, l = 0; n.length > l; l++) {\n var h = n[l];\n\n if (!u[h.id]) {\n s(h);\n\n for (var c = []; a.length > 0;) {\n c.push(a.pop());\n }\n\n o.push(c);\n }\n }\n\n return o;\n }(t);\n }, t.depthFirstSearch = p, t.detectCycle = function (t) {\n var e = null,\n n = t.nodes,\n r = {},\n i = {},\n o = {},\n u = {};\n (void 0 === n ? [] : n).forEach(function (t) {\n i[t.id] = t;\n });\n\n for (var a = {\n enter: function enter(t) {\n var n = t.current,\n u = t.previous;\n\n if (o[n]) {\n e = {};\n\n for (var a = n, s = u; s !== n;) {\n e[a] = s, a = s, s = r[s];\n }\n\n e[a] = s;\n } else o[n] = n, delete i[n], r[n] = u;\n },\n leave: function leave(t) {\n var e = t.current;\n u[e] = e, delete o[e];\n },\n allowTraversal: function allowTraversal(t) {\n return !e && !u[t.next];\n }\n }; Object.keys(i).length;) {\n p(t, Object.keys(i)[0], a);\n }\n\n return e;\n }, t.dijkstra = y, t.findAllPath = function (t, e, n, r) {\n if (e === n) return [[e]];\n var i,\n o,\n u,\n a = t.edges,\n s = void 0 === a ? [] : a,\n l = [e],\n h = (u = !0, (o = e) in (i = {}) ? Object.defineProperty(i, o, {\n value: u,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : i[o] = u, i),\n c = [],\n d = [],\n v = r ? f(e, s, \"target\") : f(e, s);\n\n for (c.push(v); l.length > 0 && c.length > 0;) {\n var g = c[c.length - 1];\n\n if (g.length) {\n var p = g.shift();\n\n if (p && (l.push(p), h[p] = !0, v = r ? f(p, s, \"target\") : f(p, s), c.push(v.filter(function (t) {\n return !h[t];\n }))), l[l.length - 1] === n) {\n var y = l.map(function (t) {\n return t;\n });\n d.push(y);\n var k = l.pop();\n h[k] = !1, c.pop();\n }\n } else {\n var m = l.pop();\n h[m] = !1, c.pop();\n }\n }\n\n return d;\n }, t.findShortestPath = function (t, e, n, r, i) {\n var o = y(t, e, r, i);\n return {\n length: o.length[n],\n path: o.path[n]\n };\n }, t.floydWarshall = function (t, n) {\n for (var r = e(t, n), i = [], o = r.length, u = 0; o > u; u += 1) {\n i[u] = [];\n\n for (var a = 0; o > a; a += 1) {\n i[u][a] = u === a ? 0 : 0 !== r[u][a] && r[u][a] ? r[u][a] : 1 / 0;\n }\n }\n\n for (var s = 0; o > s; s += 1) {\n for (var l = 0; o > l; l += 1) {\n for (var h = 0; o > h; h += 1) {\n i[l][h] > i[l][s] + i[s][h] && (i[l][h] = i[l][s] + i[s][h]);\n }\n }\n }\n\n return i;\n }, t.getAdjMatrix = e, t.getDegree = v, t.getInDegree = function (t, e) {\n return v(t)[e] ? v(t)[e].inDegree : 0;\n }, t.getNeighbors = f, t.getOutDegree = function (t, e) {\n return v(t)[e] ? v(t)[e].outDegree : 0;\n }, t.labelPropagation = function (t) {\n var n = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],\n r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : \"weight\",\n i = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 1e3,\n o = t.nodes,\n u = void 0 === o ? [] : o,\n a = t.edges,\n s = void 0 === a ? [] : a,\n l = {},\n h = {};\n u.forEach(function (t, e) {\n var n = d();\n t.clusterId = n, l[n] = {\n id: n,\n nodes: [t]\n }, h[t.id] = {\n node: t,\n idx: e\n };\n });\n var f = e(t, n),\n c = {};\n f.forEach(function (t, e) {\n var n = u[e].id;\n c[n] = {}, t.forEach(function (t, e) {\n t && (c[n][u[e].id] = t);\n });\n });\n\n for (var v = 0; i > v;) {\n var g = !1;\n if (u.forEach(function (t) {\n var e = {};\n Object.keys(c[t.id]).forEach(function (n) {\n var r = c[t.id][n],\n i = h[n].node.clusterId;\n e[i] || (e[i] = 0), e[i] += r;\n });\n var n = -1 / 0,\n r = [];\n\n if (Object.keys(e).forEach(function (t) {\n e[t] > n ? (n = e[t], r = [t]) : n === e[t] && r.push(t);\n }), 1 !== r.length || r[0] !== t.clusterId) {\n var i = r.indexOf(t.clusterId);\n\n if (0 > i || r.splice(i, 1), r && r.length) {\n g = !0;\n var o = l[t.clusterId],\n u = o.nodes.indexOf(t);\n o.nodes.splice(u, 1);\n var a = Math.floor(Math.random() * r.length),\n s = l[r[a]];\n s.nodes.push(t), t.clusterId = s.id;\n }\n }\n }), !g) break;\n v++;\n }\n\n Object.keys(l).forEach(function (t) {\n var e = l[t];\n e.nodes && e.nodes.length || delete l[t];\n });\n var p = [],\n y = {};\n s.forEach(function (t) {\n var e = t[r] || 1,\n n = h[t.source].node.clusterId,\n i = h[t.target].node.clusterId,\n o = \"\".concat(n, \"---\").concat(i);\n if (y[o]) y[o].weight += e, y[o].count++;else {\n var u = {\n source: n,\n target: i,\n weight: e,\n count: 1\n };\n y[o] = u, p.push(u);\n }\n });\n var k = [];\n return Object.keys(l).forEach(function (t) {\n k.push(l[t]);\n }), {\n clusters: k,\n clusterEdges: p\n };\n }, t.louvain = function (t) {\n var n = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],\n r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : \"weight\",\n i = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 1e-4,\n o = t.nodes,\n u = void 0 === o ? [] : o,\n a = t.edges,\n s = void 0 === a ? [] : a,\n l = {},\n h = {};\n u.forEach(function (t, e) {\n var n = d();\n t.clusterId = n, l[n] = {\n id: n,\n nodes: [t]\n }, h[t.id] = {\n node: t,\n idx: e\n };\n });\n var f = e(t, n),\n c = [],\n v = {},\n g = 0;\n f.forEach(function (t, e) {\n var n = 0,\n r = u[e].id;\n v[r] = {}, t.forEach(function (t, e) {\n t && (n += t, v[r][u[e].id] = t, g += t);\n }), c.push(n);\n }), g /= 2;\n\n for (var p = 1 / 0, y = 1 / 0, m = 0; p = k(u, f, c, g), Math.abs(p - y) >= i && 100 >= m;) {\n y = p, m++, Object.keys(l).forEach(function (t) {\n var e = 0;\n s.forEach(function (n) {\n var i = h[n.source].node.clusterId,\n o = h[n.target].node.clusterId;\n (i === t && o !== t || o === t && i !== t) && (e += n[r] || 1);\n }), l[t].sumTot = e;\n }), u.forEach(function (t, e) {\n var n,\n i = l[t.clusterId],\n o = 0,\n u = c[e] / (2 * g),\n a = 0;\n i.nodes.forEach(function (t) {\n a += f[e][h[t.id].idx] || 0;\n });\n var d = a - i.sumTot * u;\n\n if (Object.keys(v[t.id]).forEach(function (r) {\n var i = h[r].node.clusterId;\n\n if (i !== t.clusterId) {\n var a = l[i],\n s = a.nodes;\n\n if (s && s.length) {\n var c = 0;\n s.forEach(function (t) {\n c += f[e][h[t.id].idx] || 0;\n });\n var v = c - a.sumTot * u - d;\n v > o && (o = v, n = a);\n }\n }\n }), o > 0) {\n n.nodes.push(t);\n var p = t.clusterId;\n t.clusterId = n.id;\n var y = i.nodes.indexOf(t);\n i.nodes.splice(y, 1);\n var k = 0,\n m = 0;\n s.forEach(function (t) {\n var e = h[t.source].node.clusterId,\n i = h[t.target].node.clusterId;\n (e === n.id && i !== n.id || i === n.id && e !== n.id) && (k += t[r] || 1), (e === p && i !== p || i === p && e !== p) && (m += t[r] || 1);\n }), n.sumTot = k, i.sumTot = m;\n }\n });\n }\n\n Object.keys(l).forEach(function (t) {\n var e = l[t];\n e.nodes && e.nodes.length || delete l[t];\n });\n var E = [],\n b = {};\n s.forEach(function (t) {\n var e = t[r] || 1,\n n = h[t.source].node.clusterId,\n i = h[t.target].node.clusterId,\n o = \"\".concat(n, \"---\").concat(i);\n if (b[o]) b[o].weight += e, b[o].count++;else {\n var u = {\n source: n,\n target: i,\n weight: e,\n count: 1\n };\n b[o] = u, E.push(u);\n }\n });\n var x = [];\n return Object.keys(l).forEach(function (t) {\n x.push(l[t]);\n }), {\n clusters: x,\n clusterEdges: E\n };\n }, t.minimumSpanningTree = function (t, e, n) {\n return n ? {\n prim: x,\n kruskal: w\n }[n](t, e) : w(t, e);\n }, t.pageRank = function (t, e, n) {\n \"number\" != typeof e && (e = 1e-6), \"number\" != typeof n && (n = .85);\n\n for (var r, i = 1, o = 0, u = 1e3, a = t.nodes, s = void 0 === a ? [] : a, l = t.edges, h = void 0 === l ? [] : l, c = s.length, d = {}, g = {}, p = 0; c > p; ++p) {\n var y = s[p].id;\n d[y] = 1 / c, g[y] = 1 / c;\n }\n\n for (var k = v(t); u > 0 && i > e;) {\n o = 0;\n\n for (var m = 0; c > m; ++m) {\n var E = s[m],\n b = E.id;\n if (r = 0, 0 === k[E.id].inDegree) d[b] = 0;else {\n for (var x = f(b, h, \"source\"), w = 0; x.length > w; ++w) {\n var I = x[w],\n S = k[I].outDegree;\n S > 0 && (r += g[I] / S);\n }\n\n d[b] = n * r, o += d[b];\n }\n }\n\n o = (1 - o) / c, i = 0;\n\n for (var O = 0; c > O; ++O) {\n var T = s[O].id;\n i += Math.abs((r = d[T] + o) - g[T]), g[T] = r;\n }\n\n u -= 1;\n }\n\n return g;\n }, Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n});" }, { "id": 17, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-string.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-string.js", "index": 150, "index2": 141, "size": 200, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "profile": { "factory": 1578, "building": 488, "dependencies": 365 } } ], "profile": { "factory": 855, "building": 182, "dependencies": 41 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/is-string", "loc": "11:0-63" }, { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony export imported specifier", "userRequest": "@antv/util/lib/is-string", "loc": "11:0-63" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/is-string", "loc": "3:0-48" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util/lib/is-string", "loc": "14:6-14" }, { "moduleId": 51, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "type": "cjs require", "userRequest": "./is-string", "loc": "11:18-40" } ], "usedExports": true, "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 5, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar is_type_1 = require(\"./is-type\");\n\nexports.default = function (str) {\n return is_type_1.default(str, 'String');\n};" }, { "id": 18, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "index": 154, "index2": 145, "size": 686, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "profile": { "factory": 1578, "building": 488, "dependencies": 365 } } ], "profile": { "factory": 855, "building": 182, "dependencies": 41 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/each", "loc": "15:0-54" }, { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony export imported specifier", "userRequest": "@antv/util/lib/each", "loc": "15:0-54" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/each", "loc": "1:0-39" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util/lib/each", "loc": "16:4-8" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util/lib/each", "loc": "29:6-10" } ], "usedExports": ["default"], "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 5, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar is_array_1 = require(\"./is-array\");\n\nvar is_object_1 = require(\"./is-object\");\n\nfunction each(elements, func) {\n if (!elements) {\n return;\n }\n\n var rst;\n\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\n if (rst === false) {\n break;\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\n if (rst === false) {\n break;\n }\n }\n }\n }\n}\n\nexports.default = each;" }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "index": 138, "index2": 196, "size": 566, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony side effect evaluation", "userRequest": "../interface/behavior", "loc": "2:0-53" }, { "moduleId": 12, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/base.ts", "module": "./src/util/base.ts", "moduleName": "./src/util/base.ts", "type": "harmony import specifier", "userRequest": "../interface/behavior", "loc": "34:20-32" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./interface/behavior", "loc": "18:0-37" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony export imported specifier", "userRequest": "./interface/behavior", "loc": "18:0-37" } ], "usedExports": ["G6GraphEvent"], "providedExports": ["G6GraphEvent"], "optimizationBailout": [], "depth": 1, "source": "import { __extends } from \"tslib\";\nimport { Event as GraphEvent } from '@antv/g-base';\nvar G6GraphEvent = /** @class */ (function (_super) {\n __extends(G6GraphEvent, _super);\n function G6GraphEvent(type, event) {\n var _this = _super.call(this, type, event) || this;\n _this.item = event.item;\n _this.canvasX = event.canvasX;\n _this.canvasY = event.canvasY;\n _this.wheelDelta = event.wheelDelta;\n _this.detail = event.detail;\n return _this;\n }\n return G6GraphEvent;\n}(GraphEvent));\nexport { G6GraphEvent };\n" }, { "id": 20, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/event/graph-event.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/event/graph-event.js", "index": 144, "index2": 137, "size": 1958, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerId": 49, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } } ], "profile": { "factory": 1680, "building": 569, "dependencies": 582 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "./graph-event", "loc": "5:0-39" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "./graph-event", "loc": "172:23-33" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./event/graph-event", "loc": "12:0-55" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./event/graph-event", "loc": "12:0-55" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "var GraphEvent =\n/** @class */\nfunction () {\n function GraphEvent(type, event) {\n /**\n * 是否允许冒泡\n * @type {boolean}\n */\n this.bubbles = true;\n /**\n * 触发对象\n * @type {object}\n */\n\n this.target = null;\n /**\n * 监听对象\n * @type {object}\n */\n\n this.currentTarget = null;\n /**\n * 委托对象\n * @type {object}\n */\n\n this.delegateTarget = null;\n /**\n * 委托事件监听对象的代理对象,即 ev.delegateObject = ev.currentTarget.get('delegateObject')\n * @type {object}\n */\n\n this.delegateObject = null;\n /**\n * 是否阻止了原生事件\n * @type {boolean}\n */\n\n this.defaultPrevented = false;\n /**\n * 是否阻止传播(向上冒泡)\n * @type {boolean}\n */\n\n this.propagationStopped = false;\n /**\n * 触发事件的图形\n * @type {IShape}\n */\n\n this.shape = null;\n /**\n * 开始触发事件的图形\n * @type {IShape}\n */\n\n this.fromShape = null;\n /**\n * 事件结束时的触发图形\n * @type {IShape}\n */\n\n this.toShape = null; // 触发事件的路径\n\n this.propagationPath = [];\n this.type = type;\n this.name = type;\n this.originalEvent = event;\n this.timeStamp = event.timeStamp;\n }\n /**\n * 阻止浏览器默认的行为\n */\n\n\n GraphEvent.prototype.preventDefault = function () {\n this.defaultPrevented = true;\n\n if (this.originalEvent.preventDefault) {\n this.originalEvent.preventDefault();\n }\n };\n /**\n * 阻止冒泡\n */\n\n\n GraphEvent.prototype.stopPropagation = function () {\n this.propagationStopped = true;\n };\n\n GraphEvent.prototype.toString = function () {\n var type = this.type;\n return \"[Event (type=\" + type + \")]\";\n };\n\n GraphEvent.prototype.save = function () {};\n\n GraphEvent.prototype.restore = function () {};\n\n return GraphEvent;\n}();\n\nexport default GraphEvent;" }, { "id": 21, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "index": 145, "index2": 150, "size": 1025, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerId": 49, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } } ], "profile": { "factory": 1680, "building": 569, "dependencies": 582 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony side effect evaluation", "userRequest": "./base", "loc": "6:0-26" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony import specifier", "userRequest": "./base", "loc": "871:2-6" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./abstract/base", "loc": "13:0-50" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./abstract/base", "loc": "13:0-50" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import { __extends } from \"tslib\";\nimport EE from '@antv/event-emitter';\nimport { mix } from '../util/util';\n\nvar Base =\n/** @class */\nfunction (_super) {\n __extends(Base, _super);\n\n function Base(cfg) {\n var _this = _super.call(this) || this;\n /**\n * 是否被销毁\n * @type {boolean}\n */\n\n\n _this.destroyed = false;\n\n var defaultCfg = _this.getDefaultCfg();\n\n _this.cfg = mix(defaultCfg, cfg);\n return _this;\n }\n /**\n * @protected\n * 默认的配置项\n * @returns {object} 默认的配置项\n */\n\n\n Base.prototype.getDefaultCfg = function () {\n return {};\n }; // 实现接口的方法\n\n\n Base.prototype.get = function (name) {\n return this.cfg[name];\n }; // 实现接口的方法\n\n\n Base.prototype.set = function (name, value) {\n this.cfg[name] = value;\n }; // 实现接口的方法\n\n\n Base.prototype.destroy = function () {\n this.cfg = {\n destroyed: true\n };\n this.off();\n this.destroyed = true;\n };\n\n return Base;\n}(EE);\n\nexport default Base;" }, { "id": 22, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_event-emitter@0.1.2@@antv/event-emitter/esm/index.js", "name": "./node_modules/_@antv_event-emitter@0.1.2@@antv/event-emitter/esm/index.js", "index": 111, "index2": 109, "size": 2600, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "issuerId": null, "issuerName": "./src/graph/graph.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 21, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "type": "harmony side effect evaluation", "userRequest": "@antv/event-emitter", "loc": "2:0-37" }, { "moduleId": 21, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js", "type": "harmony import specifier", "userRequest": "@antv/event-emitter", "loc": "56:2-4" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/event-emitter", "loc": "2:0-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/event-emitter", "loc": "2483:2-14" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 2, "source": "var WILDCARD = '*';\n/* event-emitter */\n\nvar EventEmitter =\n/** @class */\nfunction () {\n function EventEmitter() {\n this._events = {};\n }\n /**\n * 监听一个事件\n * @param evt\n * @param callback\n * @param once\n */\n\n\n EventEmitter.prototype.on = function (evt, callback, once) {\n if (!this._events[evt]) {\n this._events[evt] = [];\n }\n\n this._events[evt].push({\n callback: callback,\n once: !!once\n });\n\n return this;\n };\n /**\n * 监听一个事件一次\n * @param evt\n * @param callback\n */\n\n\n EventEmitter.prototype.once = function (evt, callback) {\n this.on(evt, callback, true);\n return this;\n };\n /**\n * 触发一个事件\n * @param evt\n * @param args\n */\n\n\n EventEmitter.prototype.emit = function (evt) {\n var _this = this;\n\n var args = [];\n\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n\n var events = this._events[evt] || [];\n var wildcardEvents = this._events[WILDCARD] || []; // 实际的处理 emit 方法\n\n var doEmit = function doEmit(es) {\n var length = es.length;\n\n for (var i = 0; i < length; i++) {\n if (!es[i]) {\n continue;\n }\n\n var _a = es[i],\n callback = _a.callback,\n once = _a.once;\n\n if (once) {\n es.splice(i, 1);\n\n if (es.length === 0) {\n delete _this._events[evt];\n }\n\n length--;\n i--;\n }\n\n callback.apply(_this, args);\n }\n };\n\n doEmit(events);\n doEmit(wildcardEvents);\n };\n /**\n * 取消监听一个事件,或者一个channel\n * @param evt\n * @param callback\n */\n\n\n EventEmitter.prototype.off = function (evt, callback) {\n if (!evt) {\n // evt 为空全部清除\n this._events = {};\n } else {\n if (!callback) {\n // evt 存在,callback 为空,清除事件所有方法\n delete this._events[evt];\n } else {\n // evt 存在,callback 存在,清除匹配的\n var events = this._events[evt] || [];\n var length_1 = events.length;\n\n for (var i = 0; i < length_1; i++) {\n if (events[i].callback === callback) {\n events.splice(i, 1);\n length_1--;\n i--;\n }\n }\n\n if (events.length === 0) {\n delete this._events[evt];\n }\n }\n }\n\n return this;\n };\n /* 当前所有的事件 */\n\n\n EventEmitter.prototype.getEvents = function () {\n return this._events;\n };\n\n return EventEmitter;\n}();\n\nexport default EventEmitter;" }, { "id": 23, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "index": 159, "index2": 159, "size": 13102, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "issuerId": 41, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 41, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } } ], "profile": { "factory": 173, "building": 127, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 41, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "type": "harmony side effect evaluation", "userRequest": "./container", "loc": "2:0-36" }, { "moduleId": 41, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "type": "harmony import specifier", "userRequest": "./container", "loc": "36:2-11" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "./container", "loc": "3:0-36" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "./container", "loc": "270:2-11" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import { __extends } from \"tslib\";\nimport Element from './element';\nimport { isFunction, isObject, each, removeFromArray, upperFirst, isAllowCapture } from '../util/util';\nvar SHAPE_MAP = {};\nvar INDEX = '_INDEX';\n/**\n * 设置 canvas\n * @param {IElement} element 元素\n * @param {ICanvas} canvas 画布\n */\n\nfunction setCanvas(element, canvas) {\n element.set('canvas', canvas);\n\n if (element.isGroup()) {\n var children = element.get('children');\n\n if (children.length) {\n children.forEach(function (child) {\n setCanvas(child, canvas);\n });\n }\n }\n}\n/**\n * 设置 timeline\n * @param {IElement} element 元素\n * @param {Timeline} timeline 时间轴\n */\n\n\nfunction setTimeline(element, timeline) {\n element.set('timeline', timeline);\n\n if (element.isGroup()) {\n var children = element.get('children');\n\n if (children.length) {\n children.forEach(function (child) {\n setTimeline(child, timeline);\n });\n }\n }\n}\n\nfunction contains(container, element) {\n var children = container.getChildren();\n return children.indexOf(element) >= 0;\n}\n\nfunction removeChild(container, element, destroy) {\n if (destroy === void 0) {\n destroy = true;\n } // 不再调用 element.remove() 方法,会出现循环调用\n\n\n if (destroy) {\n element.destroy();\n } else {\n element.set('parent', null);\n element.set('canvas', null);\n }\n\n removeFromArray(container.getChildren(), element);\n}\n\nfunction getComparer(compare) {\n return function (left, right) {\n var result = compare(left, right);\n return result === 0 ? left[INDEX] - right[INDEX] : result;\n };\n}\n\nvar Container =\n/** @class */\nfunction (_super) {\n __extends(Container, _super);\n\n function Container() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n Container.prototype.isCanvas = function () {\n return false;\n }; // 根据子节点确定 BBox\n\n\n Container.prototype.getBBox = function () {\n // 所有的值可能在画布的可视区外\n var minX = Infinity;\n var maxX = -Infinity;\n var minY = Infinity;\n var maxY = -Infinity;\n var xArr = [];\n var yArr = []; // 将可见元素、图形以及不为空的图形分组筛选出来,用于包围盒合并\n\n var children = this.getChildren().filter(function (child) {\n return child.get('visible') && (!child.isGroup() || child.isGroup() && child.getChildren().length > 0);\n });\n\n if (children.length > 0) {\n each(children, function (child) {\n var box = child.getBBox();\n xArr.push(box.minX, box.maxX);\n yArr.push(box.minY, box.maxY);\n });\n minX = Math.min.apply(null, xArr);\n maxX = Math.max.apply(null, xArr);\n minY = Math.min.apply(null, yArr);\n maxY = Math.max.apply(null, yArr);\n } else {\n minX = 0;\n maxX = 0;\n minY = 0;\n maxY = 0;\n }\n\n var box = {\n x: minX,\n y: minY,\n minX: minX,\n minY: minY,\n maxX: maxX,\n maxY: maxY,\n width: maxX - minX,\n height: maxY - minY\n };\n return box;\n }; // 获取画布的包围盒\n\n\n Container.prototype.getCanvasBBox = function () {\n var minX = Infinity;\n var maxX = -Infinity;\n var minY = Infinity;\n var maxY = -Infinity;\n var xArr = [];\n var yArr = []; // 将可见元素、图形以及不为空的图形分组筛选出来,用于包围盒合并\n\n var children = this.getChildren().filter(function (child) {\n return child.get('visible') && (!child.isGroup() || child.isGroup() && child.getChildren().length > 0);\n });\n\n if (children.length > 0) {\n each(children, function (child) {\n var box = child.getCanvasBBox();\n xArr.push(box.minX, box.maxX);\n yArr.push(box.minY, box.maxY);\n });\n minX = Math.min.apply(null, xArr);\n maxX = Math.max.apply(null, xArr);\n minY = Math.min.apply(null, yArr);\n maxY = Math.max.apply(null, yArr);\n } else {\n minX = 0;\n maxX = 0;\n minY = 0;\n maxY = 0;\n }\n\n var box = {\n x: minX,\n y: minY,\n minX: minX,\n minY: minY,\n maxX: maxX,\n maxY: maxY,\n width: maxX - minX,\n height: maxY - minY\n };\n return box;\n };\n\n Container.prototype.getDefaultCfg = function () {\n var cfg = _super.prototype.getDefaultCfg.call(this);\n\n cfg['children'] = [];\n return cfg;\n };\n\n Container.prototype.onAttrChange = function (name, value, originValue) {\n _super.prototype.onAttrChange.call(this, name, value, originValue);\n\n if (name === 'matrix') {\n var totalMatrix = this.getTotalMatrix();\n\n this._applyChildrenMarix(totalMatrix);\n }\n }; // 不但应用到自己身上还要应用于子元素\n\n\n Container.prototype.applyMatrix = function (matrix) {\n var preTotalMatrix = this.getTotalMatrix();\n\n _super.prototype.applyMatrix.call(this, matrix);\n\n var totalMatrix = this.getTotalMatrix(); // totalMatrix 没有发生变化时,这里仅考虑两者都为 null 时\n // 不继续向下传递矩阵\n\n if (totalMatrix === preTotalMatrix) {\n return;\n }\n\n this._applyChildrenMarix(totalMatrix);\n }; // 在子元素上设置矩阵\n\n\n Container.prototype._applyChildrenMarix = function (totalMatrix) {\n var children = this.getChildren();\n each(children, function (child) {\n child.applyMatrix(totalMatrix);\n });\n }; // 兼容老版本的接口\n\n\n Container.prototype.addShape = function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n var type = args[0];\n var cfg = args[1];\n\n if (isObject(type)) {\n cfg = type;\n } else {\n cfg['type'] = type;\n }\n\n var shapeType = SHAPE_MAP[cfg.type];\n\n if (!shapeType) {\n shapeType = upperFirst(cfg.type);\n SHAPE_MAP[cfg.type] = shapeType;\n }\n\n var ShapeBase = this.getShapeBase();\n var shape = new ShapeBase[shapeType](cfg);\n this.add(shape);\n return shape;\n };\n\n Container.prototype.addGroup = function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n var groupClass = args[0],\n cfg = args[1];\n var group;\n\n if (isFunction(groupClass)) {\n if (cfg) {\n group = new groupClass(cfg);\n } else {\n group = new groupClass({\n // canvas,\n parent: this\n });\n }\n } else {\n var tmpCfg = groupClass || {};\n var TmpGroupClass = this.getGroupBase();\n group = new TmpGroupClass(tmpCfg);\n }\n\n this.add(group);\n return group;\n };\n\n Container.prototype.getCanvas = function () {\n var canvas;\n\n if (this.isCanvas()) {\n canvas = this;\n } else {\n canvas = this.get('canvas');\n }\n\n return canvas;\n };\n\n Container.prototype.getShape = function (x, y, ev) {\n // 如果不支持拾取,则直接返回\n if (!isAllowCapture(this)) {\n return null;\n }\n\n var children = this.getChildren();\n var shape; // 如果容器是 group\n\n if (!this.isCanvas()) {\n var v = [x, y, 1]; // 将 x, y 转换成对应于 group 的局部坐标\n\n v = this.invertFromMatrix(v);\n\n if (!this.isClipped(v[0], v[1])) {\n shape = this._findShape(children, v[0], v[1], ev);\n }\n } else {\n shape = this._findShape(children, x, y, ev);\n }\n\n return shape;\n };\n\n Container.prototype._findShape = function (children, x, y, ev) {\n var shape = null;\n\n for (var i = children.length - 1; i >= 0; i--) {\n var child = children[i];\n\n if (isAllowCapture(child)) {\n if (child.isGroup()) {\n shape = child.getShape(x, y, ev);\n } else if (child.isHit(x, y)) {\n shape = child;\n }\n }\n\n if (shape) {\n break;\n }\n }\n\n return shape;\n };\n\n Container.prototype.add = function (element) {\n var canvas = this.getCanvas();\n var children = this.getChildren();\n var timeline = this.get('timeline');\n var preParent = element.getParent();\n\n if (preParent) {\n removeChild(preParent, element, false);\n }\n\n element.set('parent', this);\n\n if (canvas) {\n setCanvas(element, canvas);\n }\n\n if (timeline) {\n setTimeline(element, timeline);\n }\n\n children.push(element);\n element.onCanvasChange('add');\n\n this._applyElementMatrix(element);\n }; // 将当前容器的矩阵应用到子元素\n\n\n Container.prototype._applyElementMatrix = function (element) {\n var totalMatrix = this.getTotalMatrix(); // 添加图形或者分组时,需要把当前图元的矩阵设置进去\n\n if (totalMatrix) {\n element.applyMatrix(totalMatrix);\n }\n };\n\n Container.prototype.getChildren = function () {\n return this.get('children');\n };\n\n Container.prototype.sort = function () {\n var children = this.getChildren(); // 稳定排序\n\n each(children, function (child, index) {\n child[INDEX] = index;\n return child;\n });\n children.sort(getComparer(function (obj1, obj2) {\n return obj1.get('zIndex') - obj2.get('zIndex');\n }));\n this.onCanvasChange('sort');\n };\n\n Container.prototype.clear = function () {\n this.set('clearing', true);\n\n if (this.destroyed) {\n return;\n }\n\n var children = this.getChildren();\n\n for (var i = children.length - 1; i >= 0; i--) {\n children[i].destroy(); // 销毁子元素\n }\n\n this.set('children', []);\n this.onCanvasChange('clear');\n this.set('clearing', false);\n };\n\n Container.prototype.destroy = function () {\n if (this.get('destroyed')) {\n return;\n }\n\n this.clear();\n\n _super.prototype.destroy.call(this);\n };\n /**\n * 获取第一个子元素\n * @return {IElement} 第一个元素\n */\n\n\n Container.prototype.getFirst = function () {\n return this.getChildByIndex(0);\n };\n /**\n * 获取最后一个子元素\n * @return {IElement} 元素\n */\n\n\n Container.prototype.getLast = function () {\n var children = this.getChildren();\n return this.getChildByIndex(children.length - 1);\n };\n /**\n * 根据索引获取子元素\n * @return {IElement} 第一个元素\n */\n\n\n Container.prototype.getChildByIndex = function (index) {\n var children = this.getChildren();\n return children[index];\n };\n /**\n * 子元素的数量\n * @return {number} 子元素数量\n */\n\n\n Container.prototype.getCount = function () {\n var children = this.getChildren();\n return children.length;\n };\n /**\n * 是否包含对应元素\n * @param {IElement} element 元素\n * @return {boolean}\n */\n\n\n Container.prototype.contain = function (element) {\n var children = this.getChildren();\n return children.indexOf(element) > -1;\n };\n /**\n * 移除对应子元素\n * @param {IElement} element 子元素\n * @param {boolean} destroy 是否销毁子元素,默认为 true\n */\n\n\n Container.prototype.removeChild = function (element, destroy) {\n if (destroy === void 0) {\n destroy = true;\n }\n\n if (this.contain(element)) {\n element.remove(destroy);\n }\n };\n /**\n * 查找所有匹配的元素\n * @param {ElementFilterFn} fn 匹配函数\n * @return {IElement[]} 元素数组\n */\n\n\n Container.prototype.findAll = function (fn) {\n var rst = [];\n var children = this.getChildren();\n each(children, function (element) {\n if (fn(element)) {\n rst.push(element);\n }\n\n if (element.isGroup()) {\n rst = rst.concat(element.findAll(fn));\n }\n });\n return rst;\n };\n /**\n * 查找元素,找到第一个返回\n * @param {ElementFilterFn} fn 匹配函数\n * @return {IElement|null} 元素,可以为空\n */\n\n\n Container.prototype.find = function (fn) {\n var rst = null;\n var children = this.getChildren();\n each(children, function (element) {\n if (fn(element)) {\n rst = element;\n } else if (element.isGroup()) {\n rst = element.find(fn);\n }\n\n if (rst) {\n return false;\n }\n });\n return rst;\n };\n /**\n * 根据 ID 查找元素\n * @param {string} id 元素 id\n * @return {IElement|null} 元素\n */\n\n\n Container.prototype.findById = function (id) {\n return this.find(function (element) {\n return element.get('id') === id;\n });\n };\n /**\n * 该方法即将废弃,不建议使用\n * 根据 className 查找元素\n * TODO: 该方式定义暂时只给 G6 3.3 以后的版本使用,待 G6 中的 findByClassName 方法移除后,G 也需要同步移除\n * @param {string} className 元素 className\n * @return {IElement | null} 元素\n */\n\n\n Container.prototype.findByClassName = function (className) {\n return this.find(function (element) {\n return element.get('className') === className;\n });\n };\n /**\n * 根据 name 查找元素列表\n * @param {string} name 元素名称\n * @return {IElement[]} 元素\n */\n\n\n Container.prototype.findAllByName = function (name) {\n return this.findAll(function (element) {\n return element.get('name') === name;\n });\n };\n\n return Container;\n}(Element);\n\nexport default Container;" }, { "id": 24, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "index": 213, "index2": 231, "size": 51022, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/path-util", "loc": "2:0-52" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/path-util", "loc": "37:20-37" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/path-util", "loc": "3:0-50" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/path-util", "loc": "68:23-38" } ], "usedExports": ["catmullRom2Bezier", "parsePathString"], "providedExports": [ "parsePath", "catmullRom2Bezier", "fillPath", "fillPathByDiff", "formatPath", "pathIntersection", "parsePathArray", "parsePathString", "path2Curve", "path2Absolute", "reactPath", "getArcParams", "path2Segments", "getLineIntersect", "isPolygonsIntersect", "isPointInPolygon" ], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-string.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/lib/mod.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/lib/to-radian.js (<- Module is not an ECMAScript module)" ], "depth": 3, "modules": [ { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "index": 213, "index2": 231, "size": 991, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "issuerId": 9, "issuerName": "./src/util/path.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } } ], "profile": { "factory": 1816, "building": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/path-util", "loc": "2:0-52" }, { "moduleId": 9, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "module": "./src/util/path.ts", "moduleName": "./src/util/path.ts", "type": "harmony import specifier", "userRequest": "@antv/path-util", "loc": "37:20-37" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/path-util", "loc": "3:0-50" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "@antv/path-util", "loc": "68:23-38" } ], "usedExports": ["catmullRom2Bezier", "parsePathString"], "providedExports": [ "parsePath", "catmullRom2Bezier", "fillPath", "fillPathByDiff", "formatPath", "pathIntersection", "parsePathArray", "parsePathString", "path2Curve", "path2Absolute", "reactPath", "getArcParams", "path2Segments", "getLineIntersect", "isPolygonsIntersect", "isPointInPolygon" ], "optimizationBailout": [], "depth": 3, "source": "export { default as parsePath } from './parse-path';\nexport { default as catmullRom2Bezier } from './catmull-rom-2-bezier';\nexport { default as fillPath } from './fill-path';\nexport { default as fillPathByDiff } from './fill-path-by-diff';\nexport { default as formatPath } from './format-path';\nexport { default as pathIntersection } from './path-intersection';\nexport { default as parsePathArray } from './parse-path-array';\nexport { default as parsePathString } from './parse-path-string';\nexport { default as path2Curve } from './path-2-curve';\nexport { default as path2Absolute } from './path-2-absolute';\nexport { default as reactPath } from './rect-path';\nexport { default as getArcParams } from './get-arc-params';\nexport { default as path2Segments } from './path-2-segments';\nexport { default as getLineIntersect } from './get-line-intersect';\nexport { default as isPolygonsIntersect } from './is-polygons-intersect';\nexport { default as isPointInPolygon } from './point-in-polygon';" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "index": 214, "index2": 210, "size": 886, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./parse-path", "loc": "1:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./parse-path", "loc": "1:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "type": "harmony side effect evaluation", "userRequest": "./parse-path", "loc": "3:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "type": "harmony import specifier", "userRequest": "./parse-path", "loc": "10:9-18" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import each from '@antv/util/lib/each';\nimport isArray from '@antv/util/lib/is-array';\nimport isString from '@antv/util/lib/is-string';\nvar regexTags = /[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/ig;\nvar regexDot = /[^\\s\\,]+/ig;\n\nfunction parsePath(p) {\n var path = p || [];\n\n if (isArray(path)) {\n return path;\n }\n\n if (isString(path)) {\n path = path.match(regexTags);\n each(path, function (item, index) {\n // @ts-ignore\n item = item.match(regexDot);\n\n if (item[0].length > 1) {\n var tag = item[0].charAt(0); // @ts-ignore\n\n item.splice(1, 0, item[0].substr(1)); // @ts-ignore\n\n item[0] = tag;\n } // @ts-ignore\n\n\n each(item, function (sub, i) {\n if (!isNaN(sub)) {\n // @ts-ignore\n item[i] = +sub;\n }\n }); // @ts-ignore\n\n path[index] = item;\n });\n return path;\n }\n}\n\nexport default parsePath;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/catmull-rom-2-bezier.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/catmull-rom-2-bezier.js", "index": 215, "index2": 211, "size": 1188, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./catmull-rom-2-bezier", "loc": "2:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./catmull-rom-2-bezier", "loc": "2:0-70" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "// http://schepers.cc/getting-to-the-point\nexport default function catmullRom2Bezier(crp, z) {\n var d = []; // @ts-ignore\n\n for (var i = 0, iLen = crp.length; iLen - 2 * !z > i; i += 2) {\n var p = [{\n x: +crp[i - 2],\n y: +crp[i - 1]\n }, {\n x: +crp[i],\n y: +crp[i + 1]\n }, {\n x: +crp[i + 2],\n y: +crp[i + 3]\n }, {\n x: +crp[i + 4],\n y: +crp[i + 5]\n }];\n\n if (z) {\n if (!i) {\n p[0] = {\n x: +crp[iLen - 2],\n y: +crp[iLen - 1]\n };\n } else if (iLen - 4 === i) {\n p[3] = {\n x: +crp[0],\n y: +crp[1]\n };\n } else if (iLen - 2 === i) {\n p[2] = {\n x: +crp[0],\n y: +crp[1]\n };\n p[3] = {\n x: +crp[2],\n y: +crp[3]\n };\n }\n } else {\n if (iLen - 4 === i) {\n p[3] = p[2];\n } else if (!i) {\n p[0] = {\n x: +crp[i],\n y: +crp[i + 1]\n };\n }\n }\n\n d.push(['C', (-p[0].x + 6 * p[1].x + p[2].x) / 6, (-p[0].y + 6 * p[1].y + p[2].y) / 6, (p[1].x + 6 * p[2].x - p[3].x) / 6, (p[1].y + 6 * p[2].y - p[3].y) / 6, p[2].x, p[2].y]);\n }\n\n return d;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path.js", "index": 216, "index2": 212, "size": 3329, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./fill-path", "loc": "3:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./fill-path", "loc": "3:0-50" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "function decasteljau(points, t) {\n var left = [];\n var right = [];\n\n function recurse(points, t) {\n if (points.length === 1) {\n left.push(points[0]);\n right.push(points[0]);\n } else {\n var middlePoints = [];\n\n for (var i = 0; i < points.length - 1; i++) {\n if (i === 0) {\n left.push(points[0]);\n }\n\n if (i === points.length - 2) {\n right.push(points[i + 1]);\n }\n\n middlePoints[i] = [(1 - t) * points[i][0] + t * points[i + 1][0], (1 - t) * points[i][1] + t * points[i + 1][1]];\n }\n\n recurse(middlePoints, t);\n }\n }\n\n if (points.length) {\n recurse(points, t);\n }\n\n return {\n left: left,\n right: right.reverse()\n };\n}\n\nfunction splitCurve(start, end, count) {\n var points = [[start[1], start[2]]];\n count = count || 2;\n var segments = [];\n\n if (end[0] === 'A') {\n points.push(end[6]);\n points.push(end[7]);\n } else if (end[0] === 'C') {\n points.push([end[1], end[2]]);\n points.push([end[3], end[4]]);\n points.push([end[5], end[6]]);\n } else if (end[0] === 'S' || end[0] === 'Q') {\n points.push([end[1], end[2]]);\n points.push([end[3], end[4]]);\n } else {\n points.push([end[1], end[2]]);\n }\n\n var leftSegments = points;\n var t = 1 / count;\n\n for (var i = 0; i < count - 1; i++) {\n var rt = t / (1 - t * i);\n var split = decasteljau(leftSegments, rt);\n segments.push(split.left);\n leftSegments = split.right;\n }\n\n segments.push(leftSegments);\n var result = segments.map(function (segment) {\n var cmd = [];\n\n if (segment.length === 4) {\n cmd.push('C');\n cmd = cmd.concat(segment[2]);\n }\n\n if (segment.length >= 3) {\n if (segment.length === 3) {\n cmd.push('Q');\n }\n\n cmd = cmd.concat(segment[1]);\n }\n\n if (segment.length === 2) {\n cmd.push('L');\n }\n\n cmd = cmd.concat(segment[segment.length - 1]);\n return cmd;\n });\n return result;\n}\n\nfunction splitSegment(start, end, count) {\n if (count === 1) {\n return [[].concat(start)];\n }\n\n var segments = [];\n\n if (end[0] === 'L' || end[0] === 'C' || end[0] === 'Q') {\n segments = segments.concat(splitCurve(start, end, count));\n } else {\n var temp = [].concat(start);\n\n if (temp[0] === 'M') {\n temp[0] = 'L';\n }\n\n for (var i = 0; i <= count - 1; i++) {\n segments.push(temp);\n }\n }\n\n return segments;\n}\n\nexport default function fillPath(source, target) {\n if (source.length === 1) {\n return source;\n }\n\n var sourceLen = source.length - 1;\n var targetLen = target.length - 1;\n var ratio = sourceLen / targetLen;\n var segmentsToFill = [];\n\n if (source.length === 1 && source[0][0] === 'M') {\n for (var i = 0; i < targetLen - sourceLen; i++) {\n source.push(source[0]);\n }\n\n return source;\n }\n\n for (var i = 0; i < targetLen; i++) {\n var index = Math.floor(ratio * i);\n segmentsToFill[index] = (segmentsToFill[index] || 0) + 1;\n }\n\n var filled = segmentsToFill.reduce(function (filled, count, i) {\n if (i === sourceLen) {\n return filled.concat(source[sourceLen]);\n }\n\n return filled.concat(splitSegment(source[i], source[i + 1], count));\n }, []);\n filled.unshift(source[0]);\n\n if (target[targetLen] === 'Z' || target[targetLen] === 'z') {\n filled.push('Z');\n }\n\n return filled;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path-by-diff.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path-by-diff.js", "index": 217, "index2": 216, "size": 2922, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./fill-path-by-diff", "loc": "4:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./fill-path-by-diff", "loc": "4:0-64" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import isEqual from '@antv/util/lib/is-equal';\n\nfunction getMinDiff(del, add, modify) {\n var type = null;\n var min = modify;\n\n if (add < min) {\n min = add;\n type = 'add';\n }\n\n if (del < min) {\n min = del;\n type = 'del';\n }\n\n return {\n type: type,\n min: min\n };\n}\n/*\n * https://en.wikipedia.org/wiki/Levenshtein_distance\n * 计算两条path的编辑距离\n */\n\n\nvar levenshteinDistance = function levenshteinDistance(source, target) {\n var sourceLen = source.length;\n var targetLen = target.length;\n var sourceSegment, targetSegment;\n var temp = 0;\n\n if (sourceLen === 0 || targetLen === 0) {\n return null;\n }\n\n var dist = [];\n\n for (var i = 0; i <= sourceLen; i++) {\n dist[i] = [];\n dist[i][0] = {\n min: i\n };\n }\n\n for (var j = 0; j <= targetLen; j++) {\n dist[0][j] = {\n min: j\n };\n }\n\n for (var i = 1; i <= sourceLen; i++) {\n sourceSegment = source[i - 1];\n\n for (var j = 1; j <= targetLen; j++) {\n targetSegment = target[j - 1];\n\n if (isEqual(sourceSegment, targetSegment)) {\n temp = 0;\n } else {\n temp = 1;\n }\n\n var del = dist[i - 1][j].min + 1;\n var add = dist[i][j - 1].min + 1;\n var modify = dist[i - 1][j - 1].min + temp;\n dist[i][j] = getMinDiff(del, add, modify);\n }\n }\n\n return dist;\n};\n\nexport default function fillPathByDiff(source, target) {\n var diffMatrix = levenshteinDistance(source, target);\n var sourceLen = source.length;\n var targetLen = target.length;\n var changes = [];\n var index = 1;\n var minPos = 1; // 如果source和target不是完全不相等\n // @ts-ignore\n\n if (diffMatrix[sourceLen][targetLen] !== sourceLen) {\n // 获取从source到target所需改动\n for (var i = 1; i <= sourceLen; i++) {\n var min = diffMatrix[i][i].min;\n minPos = i;\n\n for (var j = index; j <= targetLen; j++) {\n if (diffMatrix[i][j].min < min) {\n min = diffMatrix[i][j].min;\n minPos = j;\n }\n }\n\n index = minPos;\n\n if (diffMatrix[i][index].type) {\n changes.push({\n index: i - 1,\n type: diffMatrix[i][index].type\n });\n }\n } // 对source进行增删path\n\n\n for (var i = changes.length - 1; i >= 0; i--) {\n index = changes[i].index;\n\n if (changes[i].type === 'add') {\n // @ts-ignore\n source.splice(index, 0, [].concat(source[index]));\n } else {\n // @ts-ignore\n source.splice(index, 1);\n }\n }\n } // source尾部补齐\n\n\n sourceLen = source.length;\n\n if (sourceLen < targetLen) {\n for (var i = 0; i < targetLen - sourceLen; i++) {\n if (source[sourceLen - 1][0] === 'z' || source[sourceLen - 1][0] === 'Z') {\n // @ts-ignore\n source.splice(sourceLen - 2, 0, source[sourceLen - 2]);\n } else {\n // @ts-ignore\n source.push(source[sourceLen - 1]);\n }\n }\n }\n\n return source;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/format-path.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/format-path.js", "index": 221, "index2": 217, "size": 3788, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./format-path", "loc": "5:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./format-path", "loc": "5:0-54" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "/*\n * 抽取pathSegment中的关键点\n * M,L,A,Q,H,V一个端点\n * Q, S抽取一个端点,一个控制点\n * C抽取一个端点,两个控制点\n */\nfunction _getSegmentPoints(segment) {\n var points = [];\n\n switch (segment[0]) {\n case 'M':\n points.push([segment[1], segment[2]]);\n break;\n\n case 'L':\n points.push([segment[1], segment[2]]);\n break;\n\n case 'A':\n points.push([segment[6], segment[7]]);\n break;\n\n case 'Q':\n points.push([segment[3], segment[4]]);\n points.push([segment[1], segment[2]]);\n break;\n\n case 'T':\n points.push([segment[1], segment[2]]);\n break;\n\n case 'C':\n points.push([segment[5], segment[6]]);\n points.push([segment[1], segment[2]]);\n points.push([segment[3], segment[4]]);\n break;\n\n case 'S':\n points.push([segment[3], segment[4]]);\n points.push([segment[1], segment[2]]);\n break;\n\n case 'H':\n points.push([segment[1], segment[1]]);\n break;\n\n case 'V':\n points.push([segment[1], segment[1]]);\n break;\n\n default:\n }\n\n return points;\n} // 将两个点均分成count个点\n\n\nfunction _splitPoints(points, former, count) {\n var result = [].concat(points);\n var index;\n var t = 1 / (count + 1);\n\n var formerEnd = _getSegmentPoints(former)[0];\n\n for (var i = 1; i <= count; i++) {\n t *= i;\n index = Math.floor(points.length * t);\n\n if (index === 0) {\n result.unshift([formerEnd[0] * t + points[index][0] * (1 - t), formerEnd[1] * t + points[index][1] * (1 - t)]);\n } else {\n result.splice(index, 0, [formerEnd[0] * t + points[index][0] * (1 - t), formerEnd[1] * t + points[index][1] * (1 - t)]);\n }\n }\n\n return result;\n}\n\nexport default function formatPath(fromPath, toPath) {\n if (fromPath.length <= 1) {\n return fromPath;\n }\n\n var points;\n\n for (var i = 0; i < toPath.length; i++) {\n if (fromPath[i][0] !== toPath[i][0]) {\n // 获取fromPath的pathSegment的端点,根据toPath的指令对其改造\n points = _getSegmentPoints(fromPath[i]);\n\n switch (toPath[i][0]) {\n case 'M':\n fromPath[i] = ['M'].concat(points[0]);\n break;\n\n case 'L':\n fromPath[i] = ['L'].concat(points[0]);\n break;\n\n case 'A':\n fromPath[i] = [].concat(toPath[i]);\n fromPath[i][6] = points[0][0];\n fromPath[i][7] = points[0][1];\n break;\n\n case 'Q':\n if (points.length < 2) {\n if (i > 0) {\n points = _splitPoints(points, fromPath[i - 1], 1);\n } else {\n fromPath[i] = toPath[i];\n break;\n }\n }\n\n fromPath[i] = ['Q'].concat(points.reduce(function (arr, i) {\n return arr.concat(i);\n }, []));\n break;\n\n case 'T':\n fromPath[i] = ['T'].concat(points[0]);\n break;\n\n case 'C':\n if (points.length < 3) {\n if (i > 0) {\n points = _splitPoints(points, fromPath[i - 1], 2);\n } else {\n fromPath[i] = toPath[i];\n break;\n }\n }\n\n fromPath[i] = ['C'].concat(points.reduce(function (arr, i) {\n return arr.concat(i);\n }, []));\n break;\n\n case 'S':\n if (points.length < 2) {\n if (i > 0) {\n points = _splitPoints(points, fromPath[i - 1], 1);\n } else {\n fromPath[i] = toPath[i];\n break;\n }\n }\n\n fromPath[i] = ['S'].concat(points.reduce(function (arr, i) {\n return arr.concat(i);\n }, []));\n break;\n\n default:\n fromPath[i] = toPath[i];\n }\n }\n }\n\n return fromPath;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/rect-path.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/rect-path.js", "index": 223, "index2": 218, "size": 417, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "type": "harmony side effect evaluation", "userRequest": "./rect-path", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./rect-path", "loc": "11:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./rect-path", "loc": "11:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "type": "harmony import specifier", "userRequest": "./rect-path", "loc": "173:10-18" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "export default function rectPath(x, y, w, h, r) {\n if (r) {\n return [['M', +x + +r, y], ['l', w - r * 2, 0], ['a', r, r, 0, 0, 1, r, r], ['l', 0, h - r * 2], ['a', r, r, 0, 0, 1, -r, r], ['l', r * 2 - w, 0], ['a', r, r, 0, 0, 1, -r, -r], ['l', 0, r * 2 - h], ['a', r, r, 0, 0, 1, r, -r], ['z']];\n }\n\n return [['M', x, y], ['l', w, 0], ['l', 0, h], ['l', -w, 0], ['z']]; // res.parsePathArray = parsePathArray;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path-string.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path-string.js", "index": 226, "index2": 219, "size": 1579, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-absolute.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-absolute.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-absolute.js", "type": "harmony side effect evaluation", "userRequest": "./parse-path-string", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./parse-path-string", "loc": "8:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./parse-path-string", "loc": "8:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-absolute.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-absolute.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-absolute.js", "type": "harmony import specifier", "userRequest": "./parse-path-string", "loc": "9:18-33" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import isArray from '@antv/util/lib/is-array';\nvar SPACES = \"\\t\\n\\x0B\\f\\r \\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\";\nvar PATH_COMMAND = new RegExp('([a-z])[' + SPACES + ',]*((-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?[' + SPACES + ']*,?[' + SPACES + ']*)+)', 'ig');\nvar PATH_VALUES = new RegExp('(-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?)[' + SPACES + ']*,?[' + SPACES + ']*', 'ig'); // Parses given path string into an array of arrays of path segments\n\nexport default function parsePathString(pathString) {\n if (!pathString) {\n return null;\n }\n\n if (isArray(pathString)) {\n return pathString;\n }\n\n var paramCounts = {\n a: 7,\n c: 6,\n o: 2,\n h: 1,\n l: 2,\n m: 2,\n r: 4,\n q: 4,\n s: 4,\n t: 2,\n v: 1,\n u: 3,\n z: 0\n };\n var data = [];\n String(pathString).replace(PATH_COMMAND, function (a, b, c) {\n var params = [];\n var name = b.toLowerCase();\n c.replace(PATH_VALUES, function (a, b) {\n b && params.push(+b);\n });\n\n if (name === 'm' && params.length > 2) {\n data.push([b].concat(params.splice(0, 2)));\n name = 'l';\n b = b === 'm' ? 'l' : 'L';\n }\n\n if (name === 'o' && params.length === 1) {\n data.push([b, params[0]]);\n }\n\n if (name === 'r') {\n data.push([b].concat(params));\n } else {\n while (params.length >= paramCounts[name]) {\n data.push([b].concat(params.splice(0, paramCounts[name])));\n\n if (!paramCounts[name]) {\n break;\n }\n }\n }\n\n return '';\n });\n return data;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-absolute.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-absolute.js", "index": 225, "index2": 220, "size": 3469, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "type": "harmony side effect evaluation", "userRequest": "./path-2-absolute", "loc": "1:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./path-2-absolute", "loc": "10:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./path-2-absolute", "loc": "10:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "type": "harmony import specifier", "userRequest": "./path-2-absolute", "loc": "135:10-23" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "type": "harmony import specifier", "userRequest": "./path-2-absolute", "loc": "136:20-33" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import parsePathString from './parse-path-string';\nvar REGEX_MD = /[a-z]/;\n\nfunction toSymmetry(p, c) {\n return [c[0] + (c[0] - p[0]), c[1] + (c[1] - p[1])];\n}\n\nexport default function pathToAbsolute(pathString) {\n var pathArray = parsePathString(pathString);\n\n if (!pathArray || !pathArray.length) {\n return [['M', 0, 0]];\n }\n\n var needProcess = false; // 如果存在小写的命令或者 V,H,T,S 则需要处理\n\n for (var i = 0; i < pathArray.length; i++) {\n var cmd = pathArray[i][0]; // 如果存在相对位置的命令,则中断返回\n\n if (REGEX_MD.test(cmd) || ['V', 'H', 'T', 'S'].indexOf(cmd) >= 0) {\n needProcess = true;\n break;\n }\n } // 如果不存在相对命令,则直接返回\n // 如果在业务上都写绝对路径,这种方式最快,仅做了一次检测\n\n\n if (!needProcess) {\n return pathArray;\n }\n\n var res = [];\n var x = 0;\n var y = 0;\n var mx = 0;\n var my = 0;\n var start = 0;\n var pa0;\n var dots;\n var first = pathArray[0];\n\n if (first[0] === 'M' || first[0] === 'm') {\n x = +first[1];\n y = +first[2];\n mx = x;\n my = y;\n start++;\n res[0] = ['M', x, y];\n }\n\n for (var i = start, ii = pathArray.length; i < ii; i++) {\n var pa = pathArray[i];\n var preParams = res[i - 1]; // 取前一个已经处理后的节点,否则会出现问题\n\n var r = [];\n var cmd = pa[0];\n var upCmd = cmd.toUpperCase();\n\n if (cmd !== upCmd) {\n r[0] = upCmd;\n\n switch (upCmd) {\n case 'A':\n r[1] = pa[1];\n r[2] = pa[2];\n r[3] = pa[3];\n r[4] = pa[4];\n r[5] = pa[5];\n r[6] = +pa[6] + x;\n r[7] = +pa[7] + y;\n break;\n\n case 'V':\n r[1] = +pa[1] + y;\n break;\n\n case 'H':\n r[1] = +pa[1] + x;\n break;\n\n case 'M':\n mx = +pa[1] + x;\n my = +pa[2] + y;\n break;\n // for lint\n\n default:\n for (var j = 1, jj = pa.length; j < jj; j++) {\n r[j] = +pa[j] + (j % 2 ? x : y);\n }\n\n }\n } else {\n // 如果本来已经大写,则不处理\n r = pathArray[i];\n } // 需要在外面统一做,同时处理 V,H,S,T 等特殊指令\n\n\n switch (upCmd) {\n case 'Z':\n x = +mx;\n y = +my;\n break;\n\n case 'H':\n x = r[1];\n r = ['L', x, y];\n break;\n\n case 'V':\n y = r[1];\n r = ['L', x, y];\n break;\n\n case 'T':\n x = r[1];\n y = r[2]; // 以 x, y 为中心的,上一个控制点的对称点\n // 需要假设上一个节点的命令为 Q\n\n var symetricT = toSymmetry([preParams[1], preParams[2]], [preParams[3], preParams[4]]);\n r = ['Q', symetricT[0], symetricT[1], x, y];\n break;\n\n case 'S':\n x = r[r.length - 2];\n y = r[r.length - 1]; // 以 x,y 为中心,取上一个控制点,\n // 需要假设上一个线段为 C 或者 S\n\n var length_1 = preParams.length;\n var symetricS = toSymmetry([preParams[length_1 - 4], preParams[length_1 - 3]], [preParams[length_1 - 2], preParams[length_1 - 1]]);\n r = ['C', symetricS[0], symetricS[1], r[1], r[2], x, y];\n break;\n\n case 'M':\n mx = r[r.length - 2];\n my = r[r.length - 1];\n break;\n // for lint\n\n default:\n x = r[r.length - 2];\n y = r[r.length - 1];\n }\n\n res.push(r);\n }\n\n return res;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-curve.js", "index": 224, "index2": 221, "size": 8292, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "type": "harmony side effect evaluation", "userRequest": "./path-2-curve", "loc": "3:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./path-2-curve", "loc": "9:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./path-2-curve", "loc": "9:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "type": "harmony import specifier", "userRequest": "./path-2-curve", "loc": "315:10-20" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "type": "harmony import specifier", "userRequest": "./path-2-curve", "loc": "317:10-20" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import path2Absolute from './path-2-absolute';\n\nvar a2c = function a2c(x1, y1, rx, ry, angle, large_arc_flag, sweep_flag, x2, y2, recursive) {\n // for more information of where this math came from visit:\n // http://www.w3.org/TR/SVG11/implnote.html#ArcImplementationNotes\n if (rx === ry) {\n rx += 1;\n }\n\n var _120 = Math.PI * 120 / 180;\n\n var rad = Math.PI / 180 * (+angle || 0);\n var res = [];\n var xy;\n var f1;\n var f2;\n var cx;\n var cy;\n\n var rotate = function rotate(x, y, rad) {\n var X = x * Math.cos(rad) - y * Math.sin(rad);\n var Y = x * Math.sin(rad) + y * Math.cos(rad);\n return {\n x: X,\n y: Y\n };\n };\n\n if (!recursive) {\n xy = rotate(x1, y1, -rad);\n x1 = xy.x;\n y1 = xy.y;\n xy = rotate(x2, y2, -rad);\n x2 = xy.x;\n y2 = xy.y;\n\n if (x1 === x2 && y1 === y2) {\n // 若弧的起始点和终点重叠则错开一点\n x2 += 1;\n y2 += 1;\n } // const cos = Math.cos(Math.PI / 180 * angle);\n // const sin = Math.sin(Math.PI / 180 * angle);\n\n\n var x = (x1 - x2) / 2;\n var y = (y1 - y2) / 2;\n var h = x * x / (rx * rx) + y * y / (ry * ry);\n\n if (h > 1) {\n h = Math.sqrt(h);\n rx = h * rx;\n ry = h * ry;\n }\n\n var rx2 = rx * rx;\n var ry2 = ry * ry;\n var k = (large_arc_flag === sweep_flag ? -1 : 1) * Math.sqrt(Math.abs((rx2 * ry2 - rx2 * y * y - ry2 * x * x) / (rx2 * y * y + ry2 * x * x)));\n cx = k * rx * y / ry + (x1 + x2) / 2;\n cy = k * -ry * x / rx + (y1 + y2) / 2;\n f1 = Math.asin(Number(((y1 - cy) / ry).toFixed(9)));\n f2 = Math.asin(Number(((y2 - cy) / ry).toFixed(9)));\n f1 = x1 < cx ? Math.PI - f1 : f1;\n f2 = x2 < cx ? Math.PI - f2 : f2;\n f1 < 0 && (f1 = Math.PI * 2 + f1);\n f2 < 0 && (f2 = Math.PI * 2 + f2);\n\n if (sweep_flag && f1 > f2) {\n f1 = f1 - Math.PI * 2;\n }\n\n if (!sweep_flag && f2 > f1) {\n f2 = f2 - Math.PI * 2;\n }\n } else {\n f1 = recursive[0];\n f2 = recursive[1];\n cx = recursive[2];\n cy = recursive[3];\n }\n\n var df = f2 - f1;\n\n if (Math.abs(df) > _120) {\n var f2old = f2;\n var x2old = x2;\n var y2old = y2;\n f2 = f1 + _120 * (sweep_flag && f2 > f1 ? 1 : -1);\n x2 = cx + rx * Math.cos(f2);\n y2 = cy + ry * Math.sin(f2);\n res = a2c(x2, y2, rx, ry, angle, 0, sweep_flag, x2old, y2old, [f2, f2old, cx, cy]);\n }\n\n df = f2 - f1;\n var c1 = Math.cos(f1);\n var s1 = Math.sin(f1);\n var c2 = Math.cos(f2);\n var s2 = Math.sin(f2);\n var t = Math.tan(df / 4);\n var hx = 4 / 3 * rx * t;\n var hy = 4 / 3 * ry * t;\n var m1 = [x1, y1];\n var m2 = [x1 + hx * s1, y1 - hy * c1];\n var m3 = [x2 + hx * s2, y2 - hy * c2];\n var m4 = [x2, y2];\n m2[0] = 2 * m1[0] - m2[0];\n m2[1] = 2 * m1[1] - m2[1];\n\n if (recursive) {\n return [m2, m3, m4].concat(res);\n }\n\n res = [m2, m3, m4].concat(res).join().split(',');\n var newres = [];\n\n for (var i = 0, ii = res.length; i < ii; i++) {\n newres[i] = i % 2 ? rotate(res[i - 1], res[i], rad).y : rotate(res[i], res[i + 1], rad).x;\n }\n\n return newres;\n};\n\nvar l2c = function l2c(x1, y1, x2, y2) {\n return [x1, y1, x2, y2, x2, y2];\n};\n\nvar q2c = function q2c(x1, y1, ax, ay, x2, y2) {\n var _13 = 1 / 3;\n\n var _23 = 2 / 3;\n\n return [_13 * x1 + _23 * ax, _13 * y1 + _23 * ay, _13 * x2 + _23 * ax, _13 * y2 + _23 * ay, x2, y2];\n};\n\nexport default function pathTocurve(path, path2) {\n var p = path2Absolute(path);\n var p2 = path2 && path2Absolute(path2);\n var attrs = {\n x: 0,\n y: 0,\n bx: 0,\n by: 0,\n X: 0,\n Y: 0,\n qx: null,\n qy: null\n };\n var attrs2 = {\n x: 0,\n y: 0,\n bx: 0,\n by: 0,\n X: 0,\n Y: 0,\n qx: null,\n qy: null\n };\n var pcoms1 = []; // path commands of original path p\n\n var pcoms2 = []; // path commands of original path p2\n\n var pfirst = ''; // temporary holder for original path command\n\n var pcom = ''; // holder for previous path command of original path\n\n var ii;\n\n var processPath = function processPath(path, d, pcom) {\n var nx, ny;\n\n if (!path) {\n return ['C', d.x, d.y, d.x, d.y, d.x, d.y];\n }\n\n !(path[0] in {\n T: 1,\n Q: 1\n }) && (d.qx = d.qy = null);\n\n switch (path[0]) {\n case 'M':\n d.X = path[1];\n d.Y = path[2];\n break;\n\n case 'A':\n path = ['C'].concat(a2c.apply(0, [d.x, d.y].concat(path.slice(1))));\n break;\n\n case 'S':\n if (pcom === 'C' || pcom === 'S') {\n // In \"S\" case we have to take into account, if the previous command is C/S.\n nx = d.x * 2 - d.bx; // And reflect the previous\n\n ny = d.y * 2 - d.by; // command's control point relative to the current point.\n } else {\n // or some else or nothing\n nx = d.x;\n ny = d.y;\n }\n\n path = ['C', nx, ny].concat(path.slice(1));\n break;\n\n case 'T':\n if (pcom === 'Q' || pcom === 'T') {\n // In \"T\" case we have to take into account, if the previous command is Q/T.\n d.qx = d.x * 2 - d.qx; // And make a reflection similar\n\n d.qy = d.y * 2 - d.qy; // to case \"S\".\n } else {\n // or something else or nothing\n d.qx = d.x;\n d.qy = d.y;\n }\n\n path = ['C'].concat(q2c(d.x, d.y, d.qx, d.qy, path[1], path[2]));\n break;\n\n case 'Q':\n d.qx = path[1];\n d.qy = path[2];\n path = ['C'].concat(q2c(d.x, d.y, path[1], path[2], path[3], path[4]));\n break;\n\n case 'L':\n path = ['C'].concat(l2c(d.x, d.y, path[1], path[2]));\n break;\n\n case 'H':\n path = ['C'].concat(l2c(d.x, d.y, path[1], d.y));\n break;\n\n case 'V':\n path = ['C'].concat(l2c(d.x, d.y, d.x, path[1]));\n break;\n\n case 'Z':\n path = ['C'].concat(l2c(d.x, d.y, d.X, d.Y));\n break;\n\n default:\n break;\n }\n\n return path;\n };\n\n var fixArc = function fixArc(pp, i) {\n if (pp[i].length > 7) {\n pp[i].shift();\n var pi = pp[i];\n\n while (pi.length) {\n pcoms1[i] = 'A'; // if created multiple C:s, their original seg is saved\n\n p2 && (pcoms2[i] = 'A'); // the same as above\n\n pp.splice(i++, 0, ['C'].concat(pi.splice(0, 6)));\n }\n\n pp.splice(i, 1);\n ii = Math.max(p.length, p2 && p2.length || 0);\n }\n };\n\n var fixM = function fixM(path1, path2, a1, a2, i) {\n if (path1 && path2 && path1[i][0] === 'M' && path2[i][0] !== 'M') {\n path2.splice(i, 0, ['M', a2.x, a2.y]);\n a1.bx = 0;\n a1.by = 0;\n a1.x = path1[i][1];\n a1.y = path1[i][2];\n ii = Math.max(p.length, p2 && p2.length || 0);\n }\n };\n\n ii = Math.max(p.length, p2 && p2.length || 0);\n\n for (var i = 0; i < ii; i++) {\n p[i] && (pfirst = p[i][0]); // save current path command\n\n if (pfirst !== 'C') {\n // C is not saved yet, because it may be result of conversion\n pcoms1[i] = pfirst; // Save current path command\n\n i && (pcom = pcoms1[i - 1]); // Get previous path command pcom\n }\n\n p[i] = processPath(p[i], attrs, pcom); // Previous path command is inputted to processPath\n\n if (pcoms1[i] !== 'A' && pfirst === 'C') pcoms1[i] = 'C'; // A is the only command\n // which may produce multiple C:s\n // so we have to make sure that C is also C in original path\n\n fixArc(p, i); // fixArc adds also the right amount of A:s to pcoms1\n\n if (p2) {\n // the same procedures is done to p2\n p2[i] && (pfirst = p2[i][0]);\n\n if (pfirst !== 'C') {\n pcoms2[i] = pfirst;\n i && (pcom = pcoms2[i - 1]);\n }\n\n p2[i] = processPath(p2[i], attrs2, pcom);\n\n if (pcoms2[i] !== 'A' && pfirst === 'C') {\n pcoms2[i] = 'C';\n }\n\n fixArc(p2, i);\n }\n\n fixM(p, p2, attrs, attrs2, i);\n fixM(p2, p, attrs2, attrs, i);\n var seg = p[i];\n var seg2 = p2 && p2[i];\n var seglen = seg.length;\n var seg2len = p2 && seg2.length;\n attrs.x = seg[seglen - 2];\n attrs.y = seg[seglen - 1];\n attrs.bx = parseFloat(seg[seglen - 4]) || attrs.x;\n attrs.by = parseFloat(seg[seglen - 3]) || attrs.y;\n attrs2.bx = p2 && (parseFloat(seg2[seg2len - 4]) || attrs2.x);\n attrs2.by = p2 && (parseFloat(seg2[seg2len - 3]) || attrs2.y);\n attrs2.x = p2 && seg2[seg2len - 2];\n attrs2.y = p2 && seg2[seg2len - 1];\n }\n\n return p2 ? [p, p2] : p;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-intersection.js", "index": 222, "index2": 222, "size": 10060, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./path-intersection", "loc": "6:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./path-intersection", "loc": "6:0-66" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import { isArray } from '@antv/util';\nimport rectPath from './rect-path';\nimport path2Curve from './path-2-curve';\n\nvar base3 = function base3(t, p1, p2, p3, p4) {\n var t1 = -3 * p1 + 9 * p2 - 9 * p3 + 3 * p4;\n var t2 = t * t1 + 6 * p1 - 12 * p2 + 6 * p3;\n return t * t2 - 3 * p1 + 3 * p2;\n};\n\nvar bezlen = function bezlen(x1, y1, x2, y2, x3, y3, x4, y4, z) {\n if (z === null) {\n z = 1;\n }\n\n z = z > 1 ? 1 : z < 0 ? 0 : z;\n var z2 = z / 2;\n var n = 12;\n var Tvalues = [-0.1252, 0.1252, -0.3678, 0.3678, -0.5873, 0.5873, -0.7699, 0.7699, -0.9041, 0.9041, -0.9816, 0.9816];\n var Cvalues = [0.2491, 0.2491, 0.2335, 0.2335, 0.2032, 0.2032, 0.1601, 0.1601, 0.1069, 0.1069, 0.0472, 0.0472];\n var sum = 0;\n\n for (var i = 0; i < n; i++) {\n var ct = z2 * Tvalues[i] + z2;\n var xbase = base3(ct, x1, x2, x3, x4);\n var ybase = base3(ct, y1, y2, y3, y4);\n var comb = xbase * xbase + ybase * ybase;\n sum += Cvalues[i] * Math.sqrt(comb);\n }\n\n return z2 * sum;\n};\n\nvar curveDim = function curveDim(x0, y0, x1, y1, x2, y2, x3, y3) {\n var tvalues = [];\n var bounds = [[], []];\n var a;\n var b;\n var c;\n var t;\n\n for (var i = 0; i < 2; ++i) {\n if (i === 0) {\n b = 6 * x0 - 12 * x1 + 6 * x2;\n a = -3 * x0 + 9 * x1 - 9 * x2 + 3 * x3;\n c = 3 * x1 - 3 * x0;\n } else {\n b = 6 * y0 - 12 * y1 + 6 * y2;\n a = -3 * y0 + 9 * y1 - 9 * y2 + 3 * y3;\n c = 3 * y1 - 3 * y0;\n }\n\n if (Math.abs(a) < 1e-12) {\n if (Math.abs(b) < 1e-12) {\n continue;\n }\n\n t = -c / b;\n\n if (t > 0 && t < 1) {\n tvalues.push(t);\n }\n\n continue;\n }\n\n var b2ac = b * b - 4 * c * a;\n var sqrtb2ac = Math.sqrt(b2ac);\n\n if (b2ac < 0) {\n continue;\n }\n\n var t1 = (-b + sqrtb2ac) / (2 * a);\n\n if (t1 > 0 && t1 < 1) {\n tvalues.push(t1);\n }\n\n var t2 = (-b - sqrtb2ac) / (2 * a);\n\n if (t2 > 0 && t2 < 1) {\n tvalues.push(t2);\n }\n }\n\n var j = tvalues.length;\n var jlen = j;\n var mt;\n\n while (j--) {\n t = tvalues[j];\n mt = 1 - t;\n bounds[0][j] = mt * mt * mt * x0 + 3 * mt * mt * t * x1 + 3 * mt * t * t * x2 + t * t * t * x3;\n bounds[1][j] = mt * mt * mt * y0 + 3 * mt * mt * t * y1 + 3 * mt * t * t * y2 + t * t * t * y3;\n }\n\n bounds[0][jlen] = x0;\n bounds[1][jlen] = y0;\n bounds[0][jlen + 1] = x3;\n bounds[1][jlen + 1] = y3;\n bounds[0].length = bounds[1].length = jlen + 2;\n return {\n min: {\n x: Math.min.apply(0, bounds[0]),\n y: Math.min.apply(0, bounds[1])\n },\n max: {\n x: Math.max.apply(0, bounds[0]),\n y: Math.max.apply(0, bounds[1])\n }\n };\n};\n\nvar intersect = function intersect(x1, y1, x2, y2, x3, y3, x4, y4) {\n if (Math.max(x1, x2) < Math.min(x3, x4) || Math.min(x1, x2) > Math.max(x3, x4) || Math.max(y1, y2) < Math.min(y3, y4) || Math.min(y1, y2) > Math.max(y3, y4)) {\n return;\n }\n\n var nx = (x1 * y2 - y1 * x2) * (x3 - x4) - (x1 - x2) * (x3 * y4 - y3 * x4);\n var ny = (x1 * y2 - y1 * x2) * (y3 - y4) - (y1 - y2) * (x3 * y4 - y3 * x4);\n var denominator = (x1 - x2) * (y3 - y4) - (y1 - y2) * (x3 - x4);\n\n if (!denominator) {\n return;\n }\n\n var px = nx / denominator;\n var py = ny / denominator;\n var px2 = +px.toFixed(2);\n var py2 = +py.toFixed(2);\n\n if (px2 < +Math.min(x1, x2).toFixed(2) || px2 > +Math.max(x1, x2).toFixed(2) || px2 < +Math.min(x3, x4).toFixed(2) || px2 > +Math.max(x3, x4).toFixed(2) || py2 < +Math.min(y1, y2).toFixed(2) || py2 > +Math.max(y1, y2).toFixed(2) || py2 < +Math.min(y3, y4).toFixed(2) || py2 > +Math.max(y3, y4).toFixed(2)) {\n return;\n }\n\n return {\n x: px,\n y: py\n };\n};\n\nvar isPointInsideBBox = function isPointInsideBBox(bbox, x, y) {\n return x >= bbox.x && x <= bbox.x + bbox.width && y >= bbox.y && y <= bbox.y + bbox.height;\n};\n\nvar box = function box(x, y, width, height) {\n if (x === null) {\n x = y = width = height = 0;\n }\n\n if (y === null) {\n y = x.y;\n width = x.width;\n height = x.height;\n x = x.x;\n }\n\n return {\n x: x,\n y: y,\n width: width,\n w: width,\n height: height,\n h: height,\n x2: x + width,\n y2: y + height,\n cx: x + width / 2,\n cy: y + height / 2,\n r1: Math.min(width, height) / 2,\n r2: Math.max(width, height) / 2,\n r0: Math.sqrt(width * width + height * height) / 2,\n path: rectPath(x, y, width, height),\n vb: [x, y, width, height].join(' ')\n };\n};\n\nvar isBBoxIntersect = function isBBoxIntersect(bbox1, bbox2) {\n // @ts-ignore\n bbox1 = box(bbox1); // @ts-ignore\n\n bbox2 = box(bbox2);\n return isPointInsideBBox(bbox2, bbox1.x, bbox1.y) || isPointInsideBBox(bbox2, bbox1.x2, bbox1.y) || isPointInsideBBox(bbox2, bbox1.x, bbox1.y2) || isPointInsideBBox(bbox2, bbox1.x2, bbox1.y2) || isPointInsideBBox(bbox1, bbox2.x, bbox2.y) || isPointInsideBBox(bbox1, bbox2.x2, bbox2.y) || isPointInsideBBox(bbox1, bbox2.x, bbox2.y2) || isPointInsideBBox(bbox1, bbox2.x2, bbox2.y2) || (bbox1.x < bbox2.x2 && bbox1.x > bbox2.x || bbox2.x < bbox1.x2 && bbox2.x > bbox1.x) && (bbox1.y < bbox2.y2 && bbox1.y > bbox2.y || bbox2.y < bbox1.y2 && bbox2.y > bbox1.y);\n};\n\nvar bezierBBox = function bezierBBox(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y) {\n if (!isArray(p1x)) {\n p1x = [p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y];\n }\n\n var bbox = curveDim.apply(null, p1x);\n return box(bbox.min.x, bbox.min.y, bbox.max.x - bbox.min.x, bbox.max.y - bbox.min.y);\n};\n\nvar findDotsAtSegment = function findDotsAtSegment(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t) {\n var t1 = 1 - t;\n var t13 = Math.pow(t1, 3);\n var t12 = Math.pow(t1, 2);\n var t2 = t * t;\n var t3 = t2 * t;\n var x = t13 * p1x + t12 * 3 * t * c1x + t1 * 3 * t * t * c2x + t3 * p2x;\n var y = t13 * p1y + t12 * 3 * t * c1y + t1 * 3 * t * t * c2y + t3 * p2y;\n var mx = p1x + 2 * t * (c1x - p1x) + t2 * (c2x - 2 * c1x + p1x);\n var my = p1y + 2 * t * (c1y - p1y) + t2 * (c2y - 2 * c1y + p1y);\n var nx = c1x + 2 * t * (c2x - c1x) + t2 * (p2x - 2 * c2x + c1x);\n var ny = c1y + 2 * t * (c2y - c1y) + t2 * (p2y - 2 * c2y + c1y);\n var ax = t1 * p1x + t * c1x;\n var ay = t1 * p1y + t * c1y;\n var cx = t1 * c2x + t * p2x;\n var cy = t1 * c2y + t * p2y;\n var alpha = 90 - Math.atan2(mx - nx, my - ny) * 180 / Math.PI; // (mx > nx || my < ny) && (alpha += 180);\n\n return {\n x: x,\n y: y,\n m: {\n x: mx,\n y: my\n },\n n: {\n x: nx,\n y: ny\n },\n start: {\n x: ax,\n y: ay\n },\n end: {\n x: cx,\n y: cy\n },\n alpha: alpha\n };\n};\n\nvar interHelper = function interHelper(bez1, bez2, justCount) {\n // @ts-ignore\n var bbox1 = bezierBBox(bez1); // @ts-ignore\n\n var bbox2 = bezierBBox(bez2);\n\n if (!isBBoxIntersect(bbox1, bbox2)) {\n return justCount ? 0 : [];\n }\n\n var l1 = bezlen.apply(0, bez1);\n var l2 = bezlen.apply(0, bez2);\n var n1 = ~~(l1 / 8);\n var n2 = ~~(l2 / 8);\n var dots1 = [];\n var dots2 = [];\n var xy = {};\n var res = justCount ? 0 : [];\n\n for (var i = 0; i < n1 + 1; i++) {\n var d = findDotsAtSegment.apply(0, bez1.concat(i / n1));\n dots1.push({\n x: d.x,\n y: d.y,\n t: i / n1\n });\n }\n\n for (var i = 0; i < n2 + 1; i++) {\n var d = findDotsAtSegment.apply(0, bez2.concat(i / n2));\n dots2.push({\n x: d.x,\n y: d.y,\n t: i / n2\n });\n }\n\n for (var i = 0; i < n1; i++) {\n for (var j = 0; j < n2; j++) {\n var di = dots1[i];\n var di1 = dots1[i + 1];\n var dj = dots2[j];\n var dj1 = dots2[j + 1];\n var ci = Math.abs(di1.x - di.x) < 0.001 ? 'y' : 'x';\n var cj = Math.abs(dj1.x - dj.x) < 0.001 ? 'y' : 'x';\n var is = intersect(di.x, di.y, di1.x, di1.y, dj.x, dj.y, dj1.x, dj1.y);\n\n if (is) {\n if (xy[is.x.toFixed(4)] === is.y.toFixed(4)) {\n continue;\n }\n\n xy[is.x.toFixed(4)] = is.y.toFixed(4);\n var t1 = di.t + Math.abs((is[ci] - di[ci]) / (di1[ci] - di[ci])) * (di1.t - di.t);\n var t2 = dj.t + Math.abs((is[cj] - dj[cj]) / (dj1[cj] - dj[cj])) * (dj1.t - dj.t);\n\n if (t1 >= 0 && t1 <= 1 && t2 >= 0 && t2 <= 1) {\n if (justCount) {\n // @ts-ignore\n res++;\n } else {\n // @ts-ignore\n res.push({\n x: is.x,\n y: is.y,\n t1: t1,\n t2: t2\n });\n }\n }\n }\n }\n }\n\n return res;\n};\n\nvar interPathHelper = function interPathHelper(path1, path2, justCount) {\n // @ts-ignore\n path1 = path2Curve(path1); // @ts-ignore\n\n path2 = path2Curve(path2);\n var x1;\n var y1;\n var x2;\n var y2;\n var x1m;\n var y1m;\n var x2m;\n var y2m;\n var bez1;\n var bez2;\n var res = justCount ? 0 : [];\n\n for (var i = 0, ii = path1.length; i < ii; i++) {\n var pi = path1[i];\n\n if (pi[0] === 'M') {\n x1 = x1m = pi[1];\n y1 = y1m = pi[2];\n } else {\n if (pi[0] === 'C') {\n bez1 = [x1, y1].concat(pi.slice(1));\n x1 = bez1[6];\n y1 = bez1[7];\n } else {\n bez1 = [x1, y1, x1, y1, x1m, y1m, x1m, y1m];\n x1 = x1m;\n y1 = y1m;\n }\n\n for (var j = 0, jj = path2.length; j < jj; j++) {\n var pj = path2[j];\n\n if (pj[0] === 'M') {\n x2 = x2m = pj[1];\n y2 = y2m = pj[2];\n } else {\n if (pj[0] === 'C') {\n bez2 = [x2, y2].concat(pj.slice(1));\n x2 = bez2[6];\n y2 = bez2[7];\n } else {\n bez2 = [x2, y2, x2, y2, x2m, y2m, x2m, y2m];\n x2 = x2m;\n y2 = y2m;\n }\n\n var intr = interHelper(bez1, bez2, justCount);\n\n if (justCount) {\n // @ts-ignore\n res += intr;\n } else {\n // @ts-ignore\n for (var k = 0, kk = intr.length; k < kk; k++) {\n intr[k].segment1 = i;\n intr[k].segment2 = j;\n intr[k].bez1 = bez1;\n intr[k].bez2 = bez2;\n } // @ts-ignore\n\n\n res = res.concat(intr);\n }\n }\n }\n }\n }\n\n return res;\n};\n\nexport default function pathIntersection(path1, path2) {\n // @ts-ignore\n return interPathHelper(path1, path2);\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path-array.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path-array.js", "index": 227, "index2": 223, "size": 119, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./parse-path-array", "loc": "7:0-63" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./parse-path-array", "loc": "7:0-63" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "var p2s = /,?([a-z]),?/gi;\nexport default function parsePathArray(path) {\n return path.join(',').replace(p2s, '$1');\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-arc-params.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-arc-params.js", "index": 228, "index2": 226, "size": 3102, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "type": "harmony side effect evaluation", "userRequest": "./get-arc-params", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "type": "harmony side effect evaluation", "userRequest": "./get-arc-params", "loc": "2:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-arc-params", "loc": "12:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-arc-params", "loc": "12:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "type": "harmony import specifier", "userRequest": "./get-arc-params", "loc": "42:24-36" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "type": "harmony import specifier", "userRequest": "./get-arc-params", "loc": "72:45-56" } ], "usedExports": ["default", "isSamePoint"], "providedExports": ["isSamePoint", "default"], "optimizationBailout": [], "depth": 4, "source": "import mod from '@antv/util/lib/mod';\nimport toRadian from '@antv/util/lib/to-radian'; // 向量长度\n\nfunction vMag(v) {\n return Math.sqrt(v[0] * v[0] + v[1] * v[1]);\n} // u.v/|u||v|,计算夹角的余弦值\n\n\nfunction vRatio(u, v) {\n // 当存在一个向量的长度为 0 时,夹角也为 0,即夹角的余弦值为 1\n return vMag(u) * vMag(v) ? (u[0] * v[0] + u[1] * v[1]) / (vMag(u) * vMag(v)) : 1;\n} // 向量角度\n\n\nfunction vAngle(u, v) {\n return (u[0] * v[1] < u[1] * v[0] ? -1 : 1) * Math.acos(vRatio(u, v));\n}\n/**\n * 判断两个点是否重合,点坐标的格式为 [x, y]\n * @param {Array} point1 第一个点\n * @param {Array} point2 第二个点\n */\n\n\nexport function isSamePoint(point1, point2) {\n return point1[0] === point2[0] && point1[1] === point2[1];\n} // A 0:rx 1:ry 2:x-axis-rotation 3:large-arc-flag 4:sweep-flag 5: x 6: y\n\nexport default function getArcParams(startPoint, params) {\n var rx = params[1];\n var ry = params[2];\n var xRotation = mod(toRadian(params[3]), Math.PI * 2);\n var arcFlag = params[4];\n var sweepFlag = params[5]; // 弧形起点坐标\n\n var x1 = startPoint[0];\n var y1 = startPoint[1]; // 弧形终点坐标\n\n var x2 = params[6];\n var y2 = params[7];\n var xp = Math.cos(xRotation) * (x1 - x2) / 2.0 + Math.sin(xRotation) * (y1 - y2) / 2.0;\n var yp = -1 * Math.sin(xRotation) * (x1 - x2) / 2.0 + Math.cos(xRotation) * (y1 - y2) / 2.0;\n var lambda = xp * xp / (rx * rx) + yp * yp / (ry * ry);\n\n if (lambda > 1) {\n rx *= Math.sqrt(lambda);\n ry *= Math.sqrt(lambda);\n }\n\n var diff = rx * rx * (yp * yp) + ry * ry * (xp * xp);\n var f = diff ? Math.sqrt((rx * rx * (ry * ry) - diff) / diff) : 1;\n\n if (arcFlag === sweepFlag) {\n f *= -1;\n }\n\n if (isNaN(f)) {\n f = 0;\n } // 旋转前的起点坐标,且当长半轴和短半轴的长度为 0 时,坐标按 (0, 0) 处理\n\n\n var cxp = ry ? f * rx * yp / ry : 0;\n var cyp = rx ? f * -ry * xp / rx : 0; // 椭圆圆心坐标\n\n var cx = (x1 + x2) / 2.0 + Math.cos(xRotation) * cxp - Math.sin(xRotation) * cyp;\n var cy = (y1 + y2) / 2.0 + Math.sin(xRotation) * cxp + Math.cos(xRotation) * cyp; // 起始点的单位向量\n\n var u = [(xp - cxp) / rx, (yp - cyp) / ry]; // 终止点的单位向量\n\n var v = [(-1 * xp - cxp) / rx, (-1 * yp - cyp) / ry]; // 计算起始点和圆心的连线,与 x 轴正方向的夹角\n\n var theta = vAngle([1, 0], u); // 计算圆弧起始点和终止点与椭圆圆心连线的夹角\n\n var dTheta = vAngle(u, v);\n\n if (vRatio(u, v) <= -1) {\n dTheta = Math.PI;\n }\n\n if (vRatio(u, v) >= 1) {\n dTheta = 0;\n }\n\n if (sweepFlag === 0 && dTheta > 0) {\n dTheta = dTheta - 2 * Math.PI;\n }\n\n if (sweepFlag === 1 && dTheta < 0) {\n dTheta = dTheta + 2 * Math.PI;\n }\n\n return {\n cx: cx,\n cy: cy,\n // 弧形的起点和终点相同时,长轴和短轴的长度按 0 处理\n rx: isSamePoint(startPoint, [x2, y2]) ? 0 : rx,\n ry: isSamePoint(startPoint, [x2, y2]) ? 0 : ry,\n startAngle: theta,\n endAngle: theta + dTheta,\n xRotation: xRotation,\n arcFlag: arcFlag,\n sweepFlag: sweepFlag\n };\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/path-2-segments.js", "index": 231, "index2": 227, "size": 5927, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./path-2-segments", "loc": "13:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./path-2-segments", "loc": "13:0-61" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import getArcParams from './get-arc-params';\nimport { isSamePoint } from './get-arc-params';\nimport parsePath from './parse-path'; // 点对称\n\nfunction toSymmetry(point, center) {\n return [center[0] + (center[0] - point[0]), center[1] + (center[1] - point[1])];\n}\n\nexport default function getSegments(path) {\n path = parsePath(path);\n var segments = [];\n var currentPoint = null; // 当前图形\n\n var nextParams = null; // 下一节点的 path 参数\n\n var startMovePoint = null; // 开始 M 的点,可能会有多个\n\n var lastStartMovePointIndex = 0; // 最近一个开始点 M 的索引\n\n var count = path.length;\n\n for (var i = 0; i < count; i++) {\n var params = path[i];\n nextParams = path[i + 1];\n var command = params[0]; // 数学定义上的参数,便于后面的计算\n\n var segment = {\n command: command,\n prePoint: currentPoint,\n params: params,\n startTangent: null,\n endTangent: null\n };\n\n switch (command) {\n case 'M':\n startMovePoint = [params[1], params[2]];\n lastStartMovePointIndex = i;\n break;\n\n case 'A':\n var arcParams = getArcParams(currentPoint, params);\n segment['arcParams'] = arcParams;\n break;\n\n default:\n break;\n }\n\n if (command === 'Z') {\n // 有了 Z 后,当前节点从开始 M 的点开始\n currentPoint = startMovePoint; // 如果当前点的命令为 Z,相当于当前点为最近一个 M 点,则下一个点直接指向最近一个 M 点的下一个点\n\n nextParams = path[lastStartMovePointIndex + 1];\n } else {\n var len = params.length;\n currentPoint = [params[len - 2], params[len - 1]];\n }\n\n if (nextParams && nextParams[0] === 'Z') {\n // 如果下一个点的命令为 Z,则下一个点直接指向最近一个 M 点\n nextParams = path[lastStartMovePointIndex];\n\n if (segments[lastStartMovePointIndex]) {\n // 如果下一个点的命令为 Z,则最近一个 M 点的前一个点为当前点\n segments[lastStartMovePointIndex].prePoint = currentPoint;\n }\n }\n\n segment['currentPoint'] = currentPoint; // 如果当前点与最近一个 M 点相同,则最近一个 M 点的前一个点为当前点的前一个点\n\n if (segments[lastStartMovePointIndex] && isSamePoint(currentPoint, segments[lastStartMovePointIndex].currentPoint)) {\n segments[lastStartMovePointIndex].prePoint = segment.prePoint;\n }\n\n var nextPoint = nextParams ? [nextParams[nextParams.length - 2], nextParams[nextParams.length - 1]] : null;\n segment['nextPoint'] = nextPoint; // Add startTangent and endTangent\n\n var prePoint = segment.prePoint;\n\n if (['L', 'H', 'V'].includes(command)) {\n segment.startTangent = [prePoint[0] - currentPoint[0], prePoint[1] - currentPoint[1]];\n segment.endTangent = [currentPoint[0] - prePoint[0], currentPoint[1] - prePoint[1]];\n } else if (command === 'Q') {\n // 二次贝塞尔曲线只有一个控制点\n var cp = [params[1], params[2]]; // 二次贝塞尔曲线的终点为 currentPoint\n\n segment.startTangent = [prePoint[0] - cp[0], prePoint[1] - cp[1]];\n segment.endTangent = [currentPoint[0] - cp[0], currentPoint[1] - cp[1]];\n } else if (command === 'T') {\n var preSegment = segments[i - 1];\n var cp = toSymmetry(preSegment.currentPoint, prePoint);\n\n if (preSegment.command === 'Q') {\n segment.command = 'Q';\n segment.startTangent = [prePoint[0] - cp[0], prePoint[1] - cp[1]];\n segment.endTangent = [currentPoint[0] - cp[0], currentPoint[1] - cp[1]];\n } else {\n segment.command = 'TL';\n segment.startTangent = [prePoint[0] - currentPoint[0], prePoint[1] - currentPoint[1]];\n segment.endTangent = [currentPoint[0] - prePoint[0], currentPoint[1] - prePoint[1]];\n }\n } else if (command === 'C') {\n // 三次贝塞尔曲线有两个控制点\n var cp1 = [params[1], params[2]];\n var cp2 = [params[3], params[4]];\n segment.startTangent = [prePoint[0] - cp1[0], prePoint[1] - cp1[1]];\n segment.endTangent = [currentPoint[0] - cp2[0], currentPoint[1] - cp2[1]];\n } else if (command === 'S') {\n var preSegment = segments[i - 1];\n var cp1 = toSymmetry(preSegment.currentPoint, prePoint);\n var cp2 = [params[1], params[2]];\n\n if (preSegment.command === 'C') {\n segment.command = 'C'; // 将 S 命令变换为 C 命令\n\n segment.startTangent = [prePoint[0] - cp1[0], prePoint[1] - cp1[1]];\n segment.endTangent = [currentPoint[0] - cp2[0], currentPoint[1] - cp2[1]];\n } else {\n segment.command = 'SQ'; // 将 S 命令变换为 SQ 命令\n\n segment.startTangent = [prePoint[0] - cp2[0], prePoint[1] - cp2[1]];\n segment.endTangent = [currentPoint[0] - cp2[0], currentPoint[1] - cp2[1]];\n }\n } else if (command === 'A') {\n var d = 0.001;\n\n var _a = segment['arcParams'] || {},\n _b = _a.cx,\n cx = _b === void 0 ? 0 : _b,\n _c = _a.cy,\n cy = _c === void 0 ? 0 : _c,\n _d = _a.rx,\n rx = _d === void 0 ? 0 : _d,\n _e = _a.ry,\n ry = _e === void 0 ? 0 : _e,\n _f = _a.sweepFlag,\n sweepFlag = _f === void 0 ? 0 : _f,\n _g = _a.startAngle,\n startAngle = _g === void 0 ? 0 : _g,\n _h = _a.endAngle,\n endAngle = _h === void 0 ? 0 : _h;\n\n if (sweepFlag === 0) {\n d *= -1;\n }\n\n var dx1 = rx * Math.cos(startAngle - d) + cx;\n var dy1 = ry * Math.sin(startAngle - d) + cy;\n segment.startTangent = [dx1 - startMovePoint[0], dy1 - startMovePoint[1]];\n var dx2 = rx * Math.cos(startAngle + endAngle + d) + cx;\n var dy2 = ry * Math.sin(startAngle + endAngle - d) + cy;\n segment.endTangent = [prePoint[0] - dx2, prePoint[1] - dy2];\n }\n\n segments.push(segment);\n }\n\n return segments;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-line-intersect.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-line-intersect.js", "index": 232, "index2": 228, "size": 838, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "type": "harmony side effect evaluation", "userRequest": "./get-line-intersect", "loc": "2:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-line-intersect", "loc": "14:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-line-intersect", "loc": "14:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "type": "harmony import specifier", "userRequest": "./get-line-intersect", "loc": "45:8-24" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "var isBetween = function isBetween(value, min, max) {\n return value >= min && value <= max;\n};\n\nexport default function getLineIntersect(p0, p1, p2, p3) {\n var tolerance = 0.001;\n var E = {\n x: p2.x - p0.x,\n y: p2.y - p0.y\n };\n var D0 = {\n x: p1.x - p0.x,\n y: p1.y - p0.y\n };\n var D1 = {\n x: p3.x - p2.x,\n y: p3.y - p2.y\n };\n var kross = D0.x * D1.y - D0.y * D1.x;\n var sqrKross = kross * kross;\n var sqrLen0 = D0.x * D0.x + D0.y * D0.y;\n var sqrLen1 = D1.x * D1.x + D1.y * D1.y;\n var point = null;\n\n if (sqrKross > tolerance * sqrLen0 * sqrLen1) {\n var s = (E.x * D1.y - E.y * D1.x) / kross;\n var t = (E.x * D0.y - E.y * D0.x) / kross;\n\n if (isBetween(s, 0, 1) && isBetween(t, 0, 1)) {\n point = {\n x: p0.x + s * D0.x,\n y: p0.y + s * D0.y\n };\n }\n }\n\n return point;\n}\n;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/point-in-polygon.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/point-in-polygon.js", "index": 234, "index2": 229, "size": 1441, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "type": "harmony side effect evaluation", "userRequest": "./point-in-polygon", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./point-in-polygon", "loc": "16:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./point-in-polygon", "loc": "16:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "type": "harmony import specifier", "userRequest": "./point-in-polygon", "loc": "88:8-24" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "type": "harmony import specifier", "userRequest": "./point-in-polygon", "loc": "100:8-24" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "/**\n * @fileoverview 判断点是否在多边形内\n * @author dxq613@gmail.com\n */\n// 多边形的射线检测,参考:https://blog.csdn.net/WilliamSun0122/article/details/77994526\nvar tolerance = 1e-6; // 三态函数,判断两个double在eps精度下的大小关系\n\nfunction dcmp(x) {\n if (Math.abs(x) < tolerance) {\n return 0;\n }\n\n return x < 0 ? -1 : 1;\n} // 判断点Q是否在p1和p2的线段上\n\n\nfunction onSegment(p1, p2, q) {\n if ((q[0] - p1[0]) * (p2[1] - p1[1]) === (p2[0] - p1[0]) * (q[1] - p1[1]) && Math.min(p1[0], p2[0]) <= q[0] && q[0] <= Math.max(p1[0], p2[0]) && Math.min(p1[1], p2[1]) <= q[1] && q[1] <= Math.max(p1[1], p2[1])) {\n return true;\n }\n\n return false;\n} // 判断点P在多边形内-射线法\n\n\nexport default function isInPolygon(points, x, y) {\n var isHit = false;\n var n = points.length;\n\n if (n <= 2) {\n // svg 中点小于 3 个时,不显示,也无法被拾取\n return false;\n }\n\n for (var i = 0; i < n; i++) {\n var p1 = points[i];\n var p2 = points[(i + 1) % n];\n\n if (onSegment(p1, p2, [x, y])) {\n // 点在多边形一条边上\n return true;\n } // 前一个判断min(p1[1],p2[1]) 0 !== dcmp(p2[1] - y) > 0 && dcmp(x - (y - p1[1]) * (p1[0] - p2[0]) / (p1[1] - p2[1]) - p1[0]) < 0) {\n isHit = !isHit;\n }\n }\n\n return isHit;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/is-polygons-intersect.js", "index": 233, "index2": 230, "size": 2639, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } } ], "profile": { "factory": 1578, "building": 488, "dependencies": 365 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./is-polygons-intersect", "loc": "15:0-73" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./is-polygons-intersect", "loc": "15:0-73" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import isPointInPolygon from './point-in-polygon';\nimport getLineIntersect from './get-line-intersect';\nimport { each } from '@antv/util';\n\nfunction parseToLines(points) {\n var lines = [];\n var count = points.length;\n\n for (var i = 0; i < count - 1; i++) {\n var point = points[i];\n var next = points[i + 1];\n lines.push({\n from: {\n x: point[0],\n y: point[1]\n },\n to: {\n x: next[0],\n y: next[1]\n }\n });\n }\n\n if (lines.length > 1) {\n var first = points[0];\n var last = points[count - 1];\n lines.push({\n from: {\n x: last[0],\n y: last[1]\n },\n to: {\n x: first[0],\n y: first[1]\n }\n });\n }\n\n return lines;\n}\n\nfunction lineIntersectPolygon(lines, line) {\n var isIntersect = false;\n each(lines, function (l) {\n if (getLineIntersect(l.from, l.to, line.from, line.to)) {\n isIntersect = true;\n return false;\n }\n });\n return isIntersect;\n}\n\nfunction getBBox(points) {\n var xArr = points.map(function (p) {\n return p[0];\n });\n var yArr = points.map(function (p) {\n return p[1];\n });\n return {\n minX: Math.min.apply(null, xArr),\n maxX: Math.max.apply(null, xArr),\n minY: Math.min.apply(null, yArr),\n maxY: Math.max.apply(null, yArr)\n };\n}\n\nfunction intersectBBox(box1, box2) {\n return !(box2.minX > box1.maxX || box2.maxX < box1.minX || box2.minY > box1.maxY || box2.maxY < box1.minY);\n}\n\nexport default function isPolygonsIntersect(points1, points2) {\n // 空数组,或者一个点返回 false\n if (points1.length < 2 || points2.length < 2) {\n return false;\n }\n\n var bbox1 = getBBox(points1);\n var bbox2 = getBBox(points2); // 判定包围盒是否相交,比判定点是否在多边形内要快的多,可以筛选掉大多数情况\n\n if (!intersectBBox(bbox1, bbox2)) {\n return false;\n }\n\n var isIn = false; // 判定点是否在多边形内部,一旦有一个点在另一个多边形内,则返回\n\n each(points2, function (point) {\n if (isPointInPolygon(points1, point[0], point[1])) {\n isIn = true;\n return false;\n }\n });\n\n if (isIn) {\n return true;\n } // 两个多边形都需要判定\n\n\n each(points1, function (point) {\n if (isPointInPolygon(points2, point[0], point[1])) {\n isIn = true;\n return false;\n }\n });\n\n if (isIn) {\n return true;\n }\n\n var lines1 = parseToLines(points1);\n var lines2 = parseToLines(points2);\n var isIntersect = false;\n each(lines2, function (line) {\n if (lineIntersectPolygon(lines1, line)) {\n isIntersect = true;\n return false;\n }\n });\n return isIntersect;\n}" } ], "filteredModules": 0 }, { "id": 25, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "index": 160, "index2": 158, "size": 60144, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony side effect evaluation", "userRequest": "./element", "loc": "2:0-32" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "./element", "loc": "562:2-9" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony side effect evaluation", "userRequest": "./element", "loc": "2:0-32" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony import specifier", "userRequest": "./element", "loc": "193:2-9" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/base.js because of ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/matrix.js because of ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js because of ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_tslib@2.0.3@tslib/tslib.es6.js because of ./src/index.ts" ], "depth": 4, "modules": [ { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "index": 160, "index2": 158, "size": 22263, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "issuerId": 42, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } } ], "profile": { "factory": 144, "building": 354, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony side effect evaluation", "userRequest": "./element", "loc": "2:0-32" }, { "moduleId": 23, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js", "type": "harmony import specifier", "userRequest": "./element", "loc": "562:2-9" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony side effect evaluation", "userRequest": "./element", "loc": "2:0-32" }, { "moduleId": 42, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "type": "harmony import specifier", "userRequest": "./element", "loc": "193:2-9" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import { __extends } from \"tslib\";\nimport { each, isEqual, isFunction, isNumber, isObject, isArray, noop, mix, upperFirst, uniqueId } from '@antv/util';\nimport { ext } from '@antv/matrix-util';\nimport { removeFromArray, isParent } from '../util/util';\nimport { multiplyMatrix, multiplyVec2, invert } from '../util/matrix';\nimport Base from './base';\nvar transform = ext.transform;\nvar MATRIX = 'matrix';\nvar CLONE_CFGS = ['zIndex', 'capture', 'visible', 'type']; // 可以在 toAttrs 中设置,但不属于绘图属性的字段\n\nvar RESERVED_PORPS = ['repeat'];\nvar DELEGATION_SPLIT = ':';\nvar WILDCARD = '*'; // 需要考虑数组嵌套数组的场景\n// 数组嵌套对象的场景不考虑\n\nfunction _cloneArrayAttr(arr) {\n var result = [];\n\n for (var i = 0; i < arr.length; i++) {\n if (isArray(arr[i])) {\n result.push([].concat(arr[i]));\n } else {\n result.push(arr[i]);\n }\n }\n\n return result;\n}\n\nfunction getFormatFromAttrs(toAttrs, shape) {\n var fromAttrs = {};\n var attrs = shape.attrs;\n\n for (var k in toAttrs) {\n fromAttrs[k] = attrs[k];\n }\n\n return fromAttrs;\n}\n\nfunction getFormatToAttrs(props, shape) {\n var toAttrs = {};\n var attrs = shape.attr();\n each(props, function (v, k) {\n if (RESERVED_PORPS.indexOf(k) === -1 && !isEqual(attrs[k], v)) {\n toAttrs[k] = v;\n }\n });\n return toAttrs;\n}\n\nfunction checkExistedAttrs(animations, animation) {\n if (animation.onFrame) {\n return animations;\n }\n\n var startTime = animation.startTime,\n delay = animation.delay,\n duration = animation.duration;\n var hasOwnProperty = Object.prototype.hasOwnProperty;\n each(animations, function (item) {\n // 后一个动画开始执行的时间 < 前一个动画的结束时间 && 后一个动画的执行时间 > 前一个动画的延迟\n if (startTime + delay < item.startTime + item.delay + item.duration && duration > item.delay) {\n each(animation.toAttrs, function (v, k) {\n if (hasOwnProperty.call(item.toAttrs, k)) {\n delete item.toAttrs[k];\n delete item.fromAttrs[k];\n }\n });\n }\n });\n return animations;\n}\n\nvar Element =\n/** @class */\nfunction (_super) {\n __extends(Element, _super);\n\n function Element(cfg) {\n var _this = _super.call(this, cfg) || this;\n /**\n * @protected\n * 图形属性\n * @type {ShapeAttrs}\n */\n\n\n _this.attrs = {};\n\n var attrs = _this.getDefaultAttrs();\n\n mix(attrs, cfg.attrs);\n _this.attrs = attrs;\n\n _this.initAttrs(attrs);\n\n _this.initAnimate(); // 初始化动画\n\n\n return _this;\n } // override\n\n\n Element.prototype.getDefaultCfg = function () {\n return {\n visible: true,\n capture: true,\n zIndex: 0\n };\n };\n /**\n * @protected\n * 获取默认的属相\n */\n\n\n Element.prototype.getDefaultAttrs = function () {\n return {\n matrix: this.getDefaultMatrix(),\n opacity: 1\n };\n };\n /**\n * @protected\n * 一些方法调用会引起画布变化\n * @param {ChangeType} changeType 改变的类型\n */\n\n\n Element.prototype.onCanvasChange = function (changeType) {};\n /**\n * @protected\n * 初始化属性,有些属性需要加工\n * @param {object} attrs 属性值\n */\n\n\n Element.prototype.initAttrs = function (attrs) {};\n /**\n * @protected\n * 初始化动画\n */\n\n\n Element.prototype.initAnimate = function () {\n this.set('animable', true);\n this.set('animating', false);\n };\n\n Element.prototype.isGroup = function () {\n return false;\n };\n\n Element.prototype.getParent = function () {\n return this.get('parent');\n };\n\n Element.prototype.getCanvas = function () {\n return this.get('canvas');\n };\n\n Element.prototype.attr = function () {\n var _a;\n\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n var name = args[0],\n value = args[1];\n if (!name) return this.attrs;\n\n if (isObject(name)) {\n for (var k in name) {\n this.setAttr(k, name[k]);\n }\n\n this.afterAttrsChange(name);\n return this;\n }\n\n if (args.length === 2) {\n this.setAttr(name, value);\n this.afterAttrsChange((_a = {}, _a[name] = value, _a));\n return this;\n }\n\n return this.attrs[name];\n }; // 是否被裁剪,被裁剪则不显示,不参与拾取\n\n\n Element.prototype.isClipped = function (refX, refY) {\n var clip = this.getClip();\n return clip && !clip.isHit(refX, refY);\n };\n /**\n * 内部设置属性值的接口\n * @param {string} name 属性名\n * @param {any} value 属性值\n */\n\n\n Element.prototype.setAttr = function (name, value) {\n var originValue = this.attrs[name];\n\n if (originValue !== value) {\n this.attrs[name] = value;\n this.onAttrChange(name, value, originValue);\n }\n };\n /**\n * @protected\n * 属性值发生改变\n * @param {string} name 属性名\n * @param {any} value 属性值\n * @param {any} originValue 属性值\n */\n\n\n Element.prototype.onAttrChange = function (name, value, originValue) {\n if (name === 'matrix') {\n this.set('totalMatrix', null);\n }\n };\n /**\n * 属性更改后需要做的事情\n * @protected\n */\n\n\n Element.prototype.afterAttrsChange = function (targetAttrs) {\n if (this.cfg.isClipShape) {\n var applyTo = this.cfg.applyTo;\n\n if (applyTo) {\n applyTo.onCanvasChange('clip');\n }\n } else {\n this.onCanvasChange('attr');\n }\n };\n\n Element.prototype.show = function () {\n // 不是高频操作直接使用 set\n this.set('visible', true);\n this.onCanvasChange('show');\n return this;\n };\n\n Element.prototype.hide = function () {\n // 不是高频操作直接使用 set\n this.set('visible', false);\n this.onCanvasChange('hide');\n return this;\n };\n\n Element.prototype.setZIndex = function (zIndex) {\n this.set('zIndex', zIndex);\n var parent = this.getParent();\n\n if (parent) {\n // 改变 zIndex 不应该立即触发渲染 (调用 onCanvasChange('zIndex')),需要经过 sort 再触发\n parent.sort();\n }\n\n return this;\n };\n\n Element.prototype.toFront = function () {\n var parent = this.getParent();\n\n if (!parent) {\n return;\n }\n\n var children = parent.getChildren();\n var el = this.get('el');\n var index = children.indexOf(this);\n children.splice(index, 1);\n children.push(this);\n this.onCanvasChange('zIndex');\n };\n\n Element.prototype.toBack = function () {\n var parent = this.getParent();\n\n if (!parent) {\n return;\n }\n\n var children = parent.getChildren();\n var el = this.get('el');\n var index = children.indexOf(this);\n children.splice(index, 1);\n children.unshift(this);\n this.onCanvasChange('zIndex');\n };\n\n Element.prototype.remove = function (destroy) {\n if (destroy === void 0) {\n destroy = true;\n }\n\n var parent = this.getParent();\n\n if (parent) {\n removeFromArray(parent.getChildren(), this);\n\n if (!parent.get('clearing')) {\n // 如果父元素正在清理,当前元素不触发 remove\n this.onCanvasChange('remove');\n }\n } else {\n this.onCanvasChange('remove');\n }\n\n if (destroy) {\n this.destroy();\n }\n };\n\n Element.prototype.resetMatrix = function () {\n this.attr(MATRIX, this.getDefaultMatrix());\n this.onCanvasChange('matrix');\n };\n\n Element.prototype.getMatrix = function () {\n return this.attr(MATRIX);\n };\n\n Element.prototype.setMatrix = function (m) {\n this.attr(MATRIX, m);\n this.onCanvasChange('matrix');\n }; // 获取总的 matrix\n\n\n Element.prototype.getTotalMatrix = function () {\n var totalMatrix = this.cfg.totalMatrix;\n\n if (!totalMatrix) {\n var currentMatrix = this.attr('matrix');\n var parentMatrix = this.cfg.parentMatrix;\n\n if (parentMatrix && currentMatrix) {\n totalMatrix = multiplyMatrix(parentMatrix, currentMatrix);\n } else {\n totalMatrix = currentMatrix || parentMatrix;\n }\n\n this.set('totalMatrix', totalMatrix);\n }\n\n return totalMatrix;\n }; // 上层分组设置 matrix\n\n\n Element.prototype.applyMatrix = function (matrix) {\n var currentMatrix = this.attr('matrix');\n var totalMatrix = null;\n\n if (matrix && currentMatrix) {\n totalMatrix = multiplyMatrix(matrix, currentMatrix);\n } else {\n totalMatrix = currentMatrix || matrix;\n }\n\n this.set('totalMatrix', totalMatrix);\n this.set('parentMatrix', matrix);\n };\n /**\n * @protected\n * 获取默认的矩阵\n * @returns {number[]|null} 默认的矩阵\n */\n\n\n Element.prototype.getDefaultMatrix = function () {\n return null;\n }; // 将向量应用设置的矩阵\n\n\n Element.prototype.applyToMatrix = function (v) {\n var matrix = this.attr('matrix');\n\n if (matrix) {\n return multiplyVec2(matrix, v);\n }\n\n return v;\n }; // 根据设置的矩阵,将向量转换相对于图形/分组的位置\n\n\n Element.prototype.invertFromMatrix = function (v) {\n var matrix = this.attr('matrix');\n\n if (matrix) {\n var invertMatrix = invert(matrix);\n\n if (invertMatrix) {\n return multiplyVec2(invertMatrix, v);\n }\n }\n\n return v;\n }; // 设置 clip\n\n\n Element.prototype.setClip = function (clipCfg) {\n var canvas = this.getCanvas(); // 应该只设置当前元素的 clip,不应该去修改 clip 本身,方便 clip 被复用\n // TODO: setClip 的传参既 shape 配置,也支持 shape 对象\n // const preShape = this.get('clipShape');\n // if (preShape) {\n // // 将之前的 clipShape 销毁\n // preShape.destroy();\n // }\n\n var clipShape = null; // 如果配置项为 null,则不移除 clipShape\n\n if (clipCfg) {\n var ShapeBase = this.getShapeBase();\n var shapeType = upperFirst(clipCfg.type);\n var Cons = ShapeBase[shapeType];\n\n if (Cons) {\n clipShape = new Cons({\n type: clipCfg.type,\n isClipShape: true,\n applyTo: this,\n attrs: clipCfg.attrs,\n canvas: canvas\n });\n }\n }\n\n this.set('clipShape', clipShape);\n this.onCanvasChange('clip');\n return clipShape;\n };\n\n Element.prototype.getClip = function () {\n // 高频率调用的地方直接使用 this.cfg.xxx\n var clipShape = this.cfg.clipShape; // 未设置时返回 Null,保证一致性\n\n if (!clipShape) {\n return null;\n }\n\n return clipShape;\n };\n\n Element.prototype.clone = function () {\n var _this = this;\n\n var originAttrs = this.attrs;\n var attrs = {};\n each(originAttrs, function (i, k) {\n if (isArray(originAttrs[k])) {\n attrs[k] = _cloneArrayAttr(originAttrs[k]);\n } else {\n attrs[k] = originAttrs[k];\n }\n });\n var cons = this.constructor; // @ts-ignore\n\n var clone = new cons({\n attrs: attrs\n });\n each(CLONE_CFGS, function (cfgName) {\n clone.set(cfgName, _this.get(cfgName));\n });\n return clone;\n };\n\n Element.prototype.destroy = function () {\n var destroyed = this.destroyed;\n\n if (destroyed) {\n return;\n }\n\n this.attrs = {};\n\n _super.prototype.destroy.call(this); // this.onCanvasChange('destroy');\n\n };\n /**\n * 是否处于动画暂停状态\n * @return {boolean} 是否处于动画暂停状态\n */\n\n\n Element.prototype.isAnimatePaused = function () {\n return this.get('_pause').isPaused;\n };\n /**\n * 执行动画,支持多种函数签名\n * 1. animate(toAttrs: ElementAttrs, duration: number, easing?: string, callback?: () => void, delay?: number)\n * 2. animate(onFrame: OnFrame, duration: number, easing?: string, callback?: () => void, delay?: number)\n * 3. animate(toAttrs: ElementAttrs, cfg: AnimateCfg)\n * 4. animate(onFrame: OnFrame, cfg: AnimateCfg)\n * 各个参数的含义为:\n * toAttrs 动画最终状态\n * onFrame 自定义帧动画函数\n * duration 动画执行时间\n * easing 动画缓动效果\n * callback 动画执行后的回调\n * delay 动画延迟时间\n */\n\n\n Element.prototype.animate = function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n this.set('animating', true);\n var timeline = this.get('timeline');\n\n if (!timeline) {\n timeline = this.get('canvas').get('timeline');\n this.set('timeline', timeline);\n }\n\n var animations = this.get('animations') || []; // 初始化 tick\n\n if (!timeline.timer) {\n timeline.initTimer();\n }\n\n var toAttrs = args[0],\n duration = args[1],\n _a = args[2],\n easing = _a === void 0 ? 'easeLinear' : _a,\n _b = args[3],\n callback = _b === void 0 ? noop : _b,\n _c = args[4],\n delay = _c === void 0 ? 0 : _c;\n var onFrame;\n var repeat;\n var pauseCallback;\n var resumeCallback;\n var animateCfg; // 第二个参数,既可以是动画最终状态 toAttrs,也可以是自定义帧动画函数 onFrame\n\n if (isFunction(toAttrs)) {\n onFrame = toAttrs;\n toAttrs = {};\n } else if (isObject(toAttrs) && toAttrs.onFrame) {\n // 兼容 3.0 中的写法,onFrame 和 repeat 可在 toAttrs 中设置\n onFrame = toAttrs.onFrame;\n repeat = toAttrs.repeat;\n } // 第二个参数,既可以是执行时间 duration,也可以是动画参数 animateCfg\n\n\n if (isObject(duration)) {\n animateCfg = duration;\n duration = animateCfg.duration;\n easing = animateCfg.easing || 'easeLinear';\n delay = animateCfg.delay || 0; // animateCfg 中的设置优先级更高\n\n repeat = animateCfg.repeat || repeat || false;\n callback = animateCfg.callback || noop;\n pauseCallback = animateCfg.pauseCallback || noop;\n resumeCallback = animateCfg.resumeCallback || noop;\n } else {\n // 第四个参数,既可以是回调函数 callback,也可以是延迟时间 delay\n if (isNumber(callback)) {\n delay = callback;\n callback = null;\n } // 第三个参数,既可以是缓动参数 easing,也可以是回调函数 callback\n\n\n if (isFunction(easing)) {\n callback = easing;\n easing = 'easeLinear';\n } else {\n easing = easing || 'easeLinear';\n }\n }\n\n var formatToAttrs = getFormatToAttrs(toAttrs, this);\n var animation = {\n fromAttrs: getFormatFromAttrs(formatToAttrs, this),\n toAttrs: formatToAttrs,\n duration: duration,\n easing: easing,\n repeat: repeat,\n callback: callback,\n pauseCallback: pauseCallback,\n resumeCallback: resumeCallback,\n delay: delay,\n startTime: timeline.getTime(),\n id: uniqueId(),\n onFrame: onFrame,\n pathFormatted: false\n }; // 如果动画元素队列中已经有这个图形了\n\n if (animations.length > 0) {\n // 先检查是否需要合并属性。若有相同的动画,将该属性从前一个动画中删除,直接用后一个动画中\n animations = checkExistedAttrs(animations, animation);\n } else {\n // 否则将图形添加到动画元素队列\n timeline.addAnimator(this);\n }\n\n animations.push(animation);\n this.set('animations', animations);\n this.set('_pause', {\n isPaused: false\n });\n };\n /**\n * 停止动画\n * @param {boolean} toEnd 是否到动画的最终状态\n */\n\n\n Element.prototype.stopAnimate = function (toEnd) {\n var _this = this;\n\n if (toEnd === void 0) {\n toEnd = true;\n }\n\n var animations = this.get('animations');\n each(animations, function (animation) {\n // 将动画执行到最后一帧\n if (toEnd) {\n if (animation.onFrame) {\n _this.attr(animation.onFrame(1));\n } else {\n _this.attr(animation.toAttrs);\n }\n }\n\n if (animation.callback) {\n // 动画停止时的回调\n animation.callback();\n }\n });\n this.set('animating', false);\n this.set('animations', []);\n };\n /**\n * 暂停动画\n */\n\n\n Element.prototype.pauseAnimate = function () {\n var timeline = this.get('timeline');\n var animations = this.get('animations');\n var pauseTime = timeline.getTime();\n each(animations, function (animation) {\n animation._paused = true;\n animation._pauseTime = pauseTime;\n\n if (animation.pauseCallback) {\n // 动画暂停时的回调\n animation.pauseCallback();\n }\n }); // 记录下是在什么时候暂停的\n\n this.set('_pause', {\n isPaused: true,\n pauseTime: pauseTime\n });\n return this;\n };\n /**\n * 恢复动画\n */\n\n\n Element.prototype.resumeAnimate = function () {\n var timeline = this.get('timeline');\n var current = timeline.getTime();\n var animations = this.get('animations');\n var pauseTime = this.get('_pause').pauseTime; // 之后更新属性需要计算动画已经执行的时长,如果暂停了,就把初始时间调后\n\n each(animations, function (animation) {\n animation.startTime = animation.startTime + (current - pauseTime);\n animation._paused = false;\n animation._pauseTime = null;\n\n if (animation.resumeCallback) {\n animation.resumeCallback();\n }\n });\n this.set('_pause', {\n isPaused: false\n });\n this.set('animations', animations);\n return this;\n };\n /**\n * 触发委托事件\n * @param {string} type 事件类型\n * @param {GraphEvent} eventObj 事件对象\n */\n\n\n Element.prototype.emitDelegation = function (type, eventObj) {\n var _this = this;\n\n var paths = eventObj.propagationPath;\n var events = this.getEvents();\n var relativeShape;\n\n if (type === 'mouseenter') {\n relativeShape = eventObj.fromShape;\n } else if (type === 'mouseleave') {\n relativeShape = eventObj.toShape;\n }\n\n var _loop_1 = function _loop_1(i) {\n var element = paths[i]; // 暂定跟 name 绑定\n\n var name_1 = element.get('name');\n\n if (name_1) {\n // 第一个 mouseenter 和 mouseleave 的停止即可,因为后面的都是前面的 Parent\n if ( // 只有 element 是 Group 或者 Canvas 的时候,才需要判断 isParent\n (element.isGroup() || element.isCanvas && element.isCanvas()) && relativeShape && isParent(element, relativeShape)) {\n return \"break\";\n }\n\n if (isArray(name_1)) {\n each(name_1, function (subName) {\n _this.emitDelegateEvent(element, subName, eventObj);\n });\n } else {\n this_1.emitDelegateEvent(element, name_1, eventObj);\n }\n }\n };\n\n var this_1 = this; // 至少有一个对象,且第一个对象为 shape\n\n for (var i = 0; i < paths.length; i++) {\n var state_1 = _loop_1(i);\n\n if (state_1 === \"break\") break;\n }\n };\n\n Element.prototype.emitDelegateEvent = function (element, name, eventObj) {\n var events = this.getEvents(); // 事件委托的形式 name:type\n\n var eventName = name + DELEGATION_SPLIT + eventObj.type;\n\n if (events[eventName] || events[WILDCARD]) {\n // 对于通配符 *,事件名称 = 委托事件名称\n eventObj.name = eventName;\n eventObj.currentTarget = element;\n eventObj.delegateTarget = this; // 将委托事件的监听对象 delegateObject 挂载到事件对象上\n\n eventObj.delegateObject = element.get('delegateObject');\n this.emit(eventName, eventObj);\n }\n };\n /**\n * 移动元素\n * @param {number} translateX 水平移动距离\n * @param {number} translateY 垂直移动距离\n * @return {IElement} 元素\n */\n\n\n Element.prototype.translate = function (translateX, translateY) {\n if (translateX === void 0) {\n translateX = 0;\n }\n\n if (translateY === void 0) {\n translateY = 0;\n }\n\n var matrix = this.getMatrix();\n var newMatrix = transform(matrix, [['t', translateX, translateY]]);\n this.setMatrix(newMatrix);\n return this;\n };\n /**\n * 移动元素到目标位置\n * @param {number} targetX 目标位置的水平坐标\n * @param {number} targetX 目标位置的垂直坐标\n * @return {IElement} 元素\n */\n\n\n Element.prototype.move = function (targetX, targetY) {\n var x = this.attr('x') || 0;\n var y = this.attr('y') || 0;\n this.translate(targetX - x, targetY - y);\n return this;\n };\n /**\n * 移动元素到目标位置,等价于 move 方法。由于 moveTo 的语义性更强,因此在文档中推荐使用 moveTo 方法\n * @param {number} targetX 目标位置的 x 轴坐标\n * @param {number} targetY 目标位置的 y 轴坐标\n * @return {IElement} 元素\n */\n\n\n Element.prototype.moveTo = function (targetX, targetY) {\n return this.move(targetX, targetY);\n };\n /**\n * 缩放元素\n * @param {number} ratioX 水平缩放比例\n * @param {number} ratioY 垂直缩放比例\n * @return {IElement} 元素\n */\n\n\n Element.prototype.scale = function (ratioX, ratioY) {\n var matrix = this.getMatrix();\n var newMatrix = transform(matrix, [['s', ratioX, ratioY || ratioX]]);\n this.setMatrix(newMatrix);\n return this;\n };\n /**\n * 以画布左上角 (0, 0) 为中心旋转元素\n * @param {number} radian 旋转角度(弧度值)\n * @return {IElement} 元素\n */\n\n\n Element.prototype.rotate = function (radian) {\n var matrix = this.getMatrix();\n var newMatrix = transform(matrix, [['r', radian]]);\n this.setMatrix(newMatrix);\n return this;\n };\n /**\n * 以起始点为中心旋转元素\n * @param {number} radian 旋转角度(弧度值)\n * @return {IElement} 元素\n */\n\n\n Element.prototype.rotateAtStart = function (rotate) {\n var _a = this.attr(),\n x = _a.x,\n y = _a.y;\n\n var matrix = this.getMatrix();\n var newMatrix = transform(matrix, [['t', -x, -y], ['r', rotate], ['t', x, y]]);\n this.setMatrix(newMatrix);\n return this;\n };\n /**\n * 以任意点 (x, y) 为中心旋转元素\n * @param {number} radian 旋转角度(弧度值)\n * @return {IElement} 元素\n */\n\n\n Element.prototype.rotateAtPoint = function (x, y, rotate) {\n var matrix = this.getMatrix();\n var newMatrix = transform(matrix, [['t', -x, -y], ['r', rotate], ['t', x, y]]);\n this.setMatrix(newMatrix);\n return this;\n };\n\n return Element;\n}(Base);\n\nexport default Element;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "index": 161, "index2": 156, "size": 109, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "issuerId": null, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "profile": { "factory": 144, "building": 354, "dependencies": 2 } } ], "profile": { "factory": 307, "building": 24 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "type": "harmony side effect evaluation", "userRequest": "@antv/matrix-util", "loc": "3:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "type": "harmony import specifier", "userRequest": "@antv/matrix-util", "loc": "7:16-19" } ], "usedExports": ["ext"], "providedExports": ["mat3", "vec2", "vec3", "ext"], "optimizationBailout": [], "depth": 5, "source": "import { mat3, vec2, vec3 } from 'gl-matrix';\nimport * as ext from './ext';\nexport { mat3, vec2, vec3, ext };" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "index": 163, "index2": 154, "size": 436, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "profile": { "factory": 144, "building": 354, "dependencies": 2 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "profile": { "factory": 307, "building": 24 } } ], "profile": { "factory": 281, "building": 10, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "gl-matrix", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "gl-matrix", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "gl-matrix", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "gl-matrix", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "type": "harmony side effect evaluation", "userRequest": "gl-matrix", "loc": "4:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "type": "harmony import specifier", "userRequest": "gl-matrix", "loc": "7:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "type": "harmony import specifier", "userRequest": "gl-matrix", "loc": "8:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "type": "harmony import specifier", "userRequest": "gl-matrix", "loc": "12:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "type": "harmony import specifier", "userRequest": "gl-matrix", "loc": "13:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "type": "harmony import specifier", "userRequest": "gl-matrix", "loc": "17:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "type": "harmony import specifier", "userRequest": "gl-matrix", "loc": "18:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "type": "harmony import specifier", "userRequest": "gl-matrix", "loc": "22:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "type": "harmony import specifier", "userRequest": "gl-matrix", "loc": "79:12-16" } ], "usedExports": ["mat3", "vec2"], "providedExports": [ "glMatrix", "mat2", "mat2d", "mat3", "mat4", "quat", "quat2", "vec2", "vec3", "vec4" ], "optimizationBailout": [], "depth": 6, "source": "import * as glMatrix from \"./common.js\";\nimport * as mat2 from \"./mat2.js\";\nimport * as mat2d from \"./mat2d.js\";\nimport * as mat3 from \"./mat3.js\";\nimport * as mat4 from \"./mat4.js\";\nimport * as quat from \"./quat.js\";\nimport * as quat2 from \"./quat2.js\";\nimport * as vec2 from \"./vec2.js\";\nimport * as vec3 from \"./vec3.js\";\nimport * as vec4 from \"./vec4.js\";\nexport { glMatrix, mat2, mat2d, mat3, mat4, quat, quat2, vec2, vec3, vec4 };" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "name": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/ext.js", "index": 162, "index2": 155, "size": 2281, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "profile": { "factory": 144, "building": 354, "dependencies": 2 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "profile": { "factory": 307, "building": 24 } } ], "profile": { "factory": 281, "building": 10, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./ext", "loc": "2:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "module": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "moduleName": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./ext", "loc": "3:0-33" } ], "usedExports": true, "providedExports": [ "leftTranslate", "leftRotate", "leftScale", "transform", "direction", "angleTo", "vertical" ], "optimizationBailout": [], "depth": 6, "source": "/**\n * @description 扩展方法,提供 gl-matrix 为提供的方法\n * */\nimport { mat3, vec2 } from 'gl-matrix';\nexport function leftTranslate(out, a, v) {\n var transMat = [0, 0, 0, 0, 0, 0, 0, 0, 0];\n mat3.fromTranslation(transMat, v);\n return mat3.multiply(out, transMat, a);\n}\nexport function leftRotate(out, a, rad) {\n var rotateMat = [0, 0, 0, 0, 0, 0, 0, 0, 0];\n mat3.fromRotation(rotateMat, rad);\n return mat3.multiply(out, rotateMat, a);\n}\nexport function leftScale(out, a, v) {\n var scaleMat = [0, 0, 0, 0, 0, 0, 0, 0, 0];\n mat3.fromScaling(scaleMat, v);\n return mat3.multiply(out, scaleMat, a);\n}\n\nfunction leftMultiply(out, a, a1) {\n return mat3.multiply(out, a1, a);\n}\n/**\n * 根据 actions 来做 transform\n * @param m\n * @param actions\n */\n\n\nexport function transform(m, actions) {\n var matrix = m ? [].concat(m) : [1, 0, 0, 0, 1, 0, 0, 0, 1];\n\n for (var i = 0, len = actions.length; i < len; i++) {\n var action = actions[i];\n\n switch (action[0]) {\n case 't':\n leftTranslate(matrix, matrix, [action[1], action[2]]);\n break;\n\n case 's':\n leftScale(matrix, matrix, [action[1], action[2]]);\n break;\n\n case 'r':\n leftRotate(matrix, matrix, action[1]);\n break;\n\n case 'm':\n leftMultiply(matrix, matrix, action[1]);\n break;\n\n default:\n break;\n }\n }\n\n return matrix;\n}\n/**\n * 向量 v1 到 向量 v2 夹角的方向\n * @param {Array} v1 向量\n * @param {Array} v2 向量\n * @return {Boolean} >= 0 顺时针 < 0 逆时针\n */\n\nexport function direction(v1, v2) {\n return v1[0] * v2[1] - v2[0] * v1[1];\n}\n/**\n * 二维向量 v1 到 v2 的夹角\n * @param v1\n * @param v2\n * @param direct\n */\n\nexport function angleTo(v1, v2, direct) {\n var ang = vec2.angle(v1, v2);\n var angleLargeThanPI = direction(v1, v2) >= 0;\n\n if (direct) {\n if (angleLargeThanPI) {\n return Math.PI * 2 - ang;\n }\n\n return ang;\n }\n\n if (angleLargeThanPI) {\n return ang;\n }\n\n return Math.PI * 2 - ang;\n}\n/**\n * 计算二维向量的垂直向量\n * @param out\n * @param v\n * @param flag\n */\n\nexport function vertical(out, v, flag) {\n if (flag) {\n out[0] = v[1];\n out[1] = -1 * v[0];\n } else {\n out[0] = -1 * v[1];\n out[1] = v[0];\n }\n\n return out;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/common.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/common.js", "index": 165, "index2": 151, "size": 1385, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "profile": { "factory": 144, "building": 354, "dependencies": 2 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "profile": { "factory": 307, "building": 24 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "profile": { "factory": 281, "building": 10, "dependencies": 23 } } ], "profile": { "factory": 4, "building": 629, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 55, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "type": "harmony side effect evaluation", "userRequest": "./common.js", "loc": "1:0-40" }, { "moduleId": 55, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "14:16-35" }, { "moduleId": 55, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "16:6-25" }, { "moduleId": 55, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "33:16-35" }, { "moduleId": 55, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "80:16-35" }, { "moduleId": 55, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "386:30-46" }, { "moduleId": 55, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "386:115-131" }, { "moduleId": 55, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "386:200-216" }, { "moduleId": 55, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "386:285-301" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony side effect evaluation", "userRequest": "./common.js", "loc": "1:0-40" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "28:16-35" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "30:6-25" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "49:16-35" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "104:16-35" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "473:30-46" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "473:115-131" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "473:200-216" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "473:285-301" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "473:370-386" }, { "moduleId": 56, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "473:455-471" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony side effect evaluation", "userRequest": "./common.js", "loc": "1:0-40" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "14:16-35" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "16:6-25" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "45:16-35" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "114:16-35" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "566:12-28" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "837:12-28" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1030:24-43" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1107:20-39" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1496:33-49" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1496:80-96" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1496:127-143" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:30-46" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:115-131" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:200-216" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:285-301" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:370-386" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:455-471" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:540-556" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:625-641" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:710-726" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:795-811" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:882-898" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:971-987" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:1060-1076" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:1149-1165" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:1238-1254" }, { "moduleId": 57, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "1801:1327-1343" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony side effect evaluation", "userRequest": "./common.js", "loc": "1:0-40" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "17:16-35" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "19:6-25" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "79:10-26" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "309:20-36" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "339:11-26" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "340:11-26" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "341:11-26" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony side effect evaluation", "userRequest": "./common.js", "loc": "1:0-40" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "19:15-34" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "21:6-25" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "43:15-34" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "70:15-34" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "96:15-34" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "191:14-33" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "536:22-38" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "834:30-46" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "834:115-131" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "834:200-216" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "834:285-301" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "834:370-386" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "834:455-471" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "834:540-556" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "834:625-641" }, { "moduleId": 60, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "type": "harmony side effect evaluation", "userRequest": "./common.js", "loc": "1:0-40" }, { "moduleId": 60, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "14:16-35" }, { "moduleId": 60, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "16:6-25" }, { "moduleId": 60, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "32:16-35" }, { "moduleId": 60, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "61:16-35" }, { "moduleId": 60, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "462:10-25" }, { "moduleId": 60, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "463:10-25" }, { "moduleId": 60, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "699:30-46" }, { "moduleId": 60, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "699:115-131" }, { "moduleId": 60, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "699:200-216" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony side effect evaluation", "userRequest": "./common.js", "loc": "1:0-40" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "14:16-35" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "16:6-25" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "33:16-35" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "51:16-35" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "454:9-24" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "455:9-24" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "460:9-24" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "461:9-24" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "573:30-46" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "573:115-131" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "573:200-216" }, { "moduleId": 61, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "573:285-301" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "type": "harmony side effect evaluation", "userRequest": "./common.js", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony side effect evaluation", "userRequest": "./common.js", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./common.js", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./common.js", "loc": "11:0-76" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "14:16-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "14:16-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "16:6-25" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "16:6-25" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "31:16-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "45:16-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "58:16-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "106:16-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "381:10-25" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "538:30-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "538:115-131" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "765:30-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "765:115-131" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "765:200-216" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "765:285-301" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "765:370-386" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "765:455-471" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "765:540-556" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "765:625-641" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "type": "harmony import specifier", "userRequest": "./common.js", "loc": "765:710-726" } ], "usedExports": ["ARRAY_TYPE", "RANDOM", "EPSILON"], "providedExports": [ "EPSILON", "ARRAY_TYPE", "RANDOM", "setMatrixArrayType", "toRadian", "equals" ], "optimizationBailout": [], "depth": 7, "source": "/**\r\n * Common utilities\r\n * @module glMatrix\r\n */\n// Configuration Constants\nexport var EPSILON = 0.000001;\nexport var ARRAY_TYPE = typeof Float32Array !== 'undefined' ? Float32Array : Array;\nexport var RANDOM = Math.random;\n/**\r\n * Sets the type of array used when creating new vectors and matrices\r\n *\r\n * @param {Float32ArrayConstructor | ArrayConstructor} type Array type, such as Float32Array or Array\r\n */\n\nexport function setMatrixArrayType(type) {\n ARRAY_TYPE = type;\n}\nvar degree = Math.PI / 180;\n/**\r\n * Convert Degree To Radian\r\n *\r\n * @param {Number} a Angle in Degrees\r\n */\n\nexport function toRadian(a) {\n return a * degree;\n}\n/**\r\n * Tests whether or not the arguments have approximately the same value, within an absolute\r\n * or relative tolerance of glMatrix.EPSILON (an absolute tolerance is used for values less\r\n * than or equal to 1.0, and a relative tolerance is used for larger values)\r\n *\r\n * @param {Number} a The first number to test.\r\n * @param {Number} b The second number to test.\r\n * @returns {Boolean} True if the numbers are approximately equal, false otherwise.\r\n */\n\nexport function equals(a, b) {\n return Math.abs(a - b) <= EPSILON * Math.max(1.0, Math.abs(a), Math.abs(b));\n}\nif (!Math.hypot) Math.hypot = function () {\n var y = 0,\n i = arguments.length;\n\n while (i--) {\n y += arguments[i] * arguments[i];\n }\n\n return Math.sqrt(y);\n};" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat3.js", "index": 164, "index2": 152, "size": 19130, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "profile": { "factory": 144, "building": 354, "dependencies": 2 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "profile": { "factory": 307, "building": 24 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "profile": { "factory": 281, "building": 10, "dependencies": 23 } } ], "profile": { "factory": 4, "building": 629, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony side effect evaluation", "userRequest": "./mat3.js", "loc": "2:0-34" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./mat3.js", "loc": "697:13-24" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./mat3.js", "loc": "4:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./mat3.js", "loc": "11:0-76" } ], "usedExports": true, "providedExports": [ "create", "fromMat4", "clone", "copy", "fromValues", "set", "identity", "transpose", "invert", "adjoint", "determinant", "multiply", "translate", "rotate", "scale", "fromTranslation", "fromRotation", "fromScaling", "fromMat2d", "fromQuat", "normalFromMat4", "projection", "str", "frob", "add", "subtract", "multiplyScalar", "multiplyScalarAndAdd", "exactEquals", "equals", "mul", "sub" ], "optimizationBailout": [], "depth": 7, "source": "import * as glMatrix from \"./common.js\";\n/**\r\n * 3x3 Matrix\r\n * @module mat3\r\n */\n\n/**\r\n * Creates a new identity mat3\r\n *\r\n * @returns {mat3} a new 3x3 matrix\r\n */\n\nexport function create() {\n var out = new glMatrix.ARRAY_TYPE(9);\n\n if (glMatrix.ARRAY_TYPE != Float32Array) {\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n }\n\n out[0] = 1;\n out[4] = 1;\n out[8] = 1;\n return out;\n}\n/**\r\n * Copies the upper-left 3x3 values into the given mat3.\r\n *\r\n * @param {mat3} out the receiving 3x3 matrix\r\n * @param {ReadonlyMat4} a the source 4x4 matrix\r\n * @returns {mat3} out\r\n */\n\nexport function fromMat4(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[4];\n out[4] = a[5];\n out[5] = a[6];\n out[6] = a[8];\n out[7] = a[9];\n out[8] = a[10];\n return out;\n}\n/**\r\n * Creates a new mat3 initialized with values from an existing matrix\r\n *\r\n * @param {ReadonlyMat3} a matrix to clone\r\n * @returns {mat3} a new 3x3 matrix\r\n */\n\nexport function clone(a) {\n var out = new glMatrix.ARRAY_TYPE(9);\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[3];\n out[4] = a[4];\n out[5] = a[5];\n out[6] = a[6];\n out[7] = a[7];\n out[8] = a[8];\n return out;\n}\n/**\r\n * Copy the values from one mat3 to another\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the source matrix\r\n * @returns {mat3} out\r\n */\n\nexport function copy(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[3];\n out[4] = a[4];\n out[5] = a[5];\n out[6] = a[6];\n out[7] = a[7];\n out[8] = a[8];\n return out;\n}\n/**\r\n * Create a new mat3 with the given values\r\n *\r\n * @param {Number} m00 Component in column 0, row 0 position (index 0)\r\n * @param {Number} m01 Component in column 0, row 1 position (index 1)\r\n * @param {Number} m02 Component in column 0, row 2 position (index 2)\r\n * @param {Number} m10 Component in column 1, row 0 position (index 3)\r\n * @param {Number} m11 Component in column 1, row 1 position (index 4)\r\n * @param {Number} m12 Component in column 1, row 2 position (index 5)\r\n * @param {Number} m20 Component in column 2, row 0 position (index 6)\r\n * @param {Number} m21 Component in column 2, row 1 position (index 7)\r\n * @param {Number} m22 Component in column 2, row 2 position (index 8)\r\n * @returns {mat3} A new mat3\r\n */\n\nexport function fromValues(m00, m01, m02, m10, m11, m12, m20, m21, m22) {\n var out = new glMatrix.ARRAY_TYPE(9);\n out[0] = m00;\n out[1] = m01;\n out[2] = m02;\n out[3] = m10;\n out[4] = m11;\n out[5] = m12;\n out[6] = m20;\n out[7] = m21;\n out[8] = m22;\n return out;\n}\n/**\r\n * Set the components of a mat3 to the given values\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {Number} m00 Component in column 0, row 0 position (index 0)\r\n * @param {Number} m01 Component in column 0, row 1 position (index 1)\r\n * @param {Number} m02 Component in column 0, row 2 position (index 2)\r\n * @param {Number} m10 Component in column 1, row 0 position (index 3)\r\n * @param {Number} m11 Component in column 1, row 1 position (index 4)\r\n * @param {Number} m12 Component in column 1, row 2 position (index 5)\r\n * @param {Number} m20 Component in column 2, row 0 position (index 6)\r\n * @param {Number} m21 Component in column 2, row 1 position (index 7)\r\n * @param {Number} m22 Component in column 2, row 2 position (index 8)\r\n * @returns {mat3} out\r\n */\n\nexport function set(out, m00, m01, m02, m10, m11, m12, m20, m21, m22) {\n out[0] = m00;\n out[1] = m01;\n out[2] = m02;\n out[3] = m10;\n out[4] = m11;\n out[5] = m12;\n out[6] = m20;\n out[7] = m21;\n out[8] = m22;\n return out;\n}\n/**\r\n * Set a mat3 to the identity matrix\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @returns {mat3} out\r\n */\n\nexport function identity(out) {\n out[0] = 1;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = 1;\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n out[8] = 1;\n return out;\n}\n/**\r\n * Transpose the values of a mat3\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the source matrix\r\n * @returns {mat3} out\r\n */\n\nexport function transpose(out, a) {\n // If we are transposing ourselves we can skip a few steps but have to cache some values\n if (out === a) {\n var a01 = a[1],\n a02 = a[2],\n a12 = a[5];\n out[1] = a[3];\n out[2] = a[6];\n out[3] = a01;\n out[5] = a[7];\n out[6] = a02;\n out[7] = a12;\n } else {\n out[0] = a[0];\n out[1] = a[3];\n out[2] = a[6];\n out[3] = a[1];\n out[4] = a[4];\n out[5] = a[7];\n out[6] = a[2];\n out[7] = a[5];\n out[8] = a[8];\n }\n\n return out;\n}\n/**\r\n * Inverts a mat3\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the source matrix\r\n * @returns {mat3} out\r\n */\n\nexport function invert(out, a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2];\n var a10 = a[3],\n a11 = a[4],\n a12 = a[5];\n var a20 = a[6],\n a21 = a[7],\n a22 = a[8];\n var b01 = a22 * a11 - a12 * a21;\n var b11 = -a22 * a10 + a12 * a20;\n var b21 = a21 * a10 - a11 * a20; // Calculate the determinant\n\n var det = a00 * b01 + a01 * b11 + a02 * b21;\n\n if (!det) {\n return null;\n }\n\n det = 1.0 / det;\n out[0] = b01 * det;\n out[1] = (-a22 * a01 + a02 * a21) * det;\n out[2] = (a12 * a01 - a02 * a11) * det;\n out[3] = b11 * det;\n out[4] = (a22 * a00 - a02 * a20) * det;\n out[5] = (-a12 * a00 + a02 * a10) * det;\n out[6] = b21 * det;\n out[7] = (-a21 * a00 + a01 * a20) * det;\n out[8] = (a11 * a00 - a01 * a10) * det;\n return out;\n}\n/**\r\n * Calculates the adjugate of a mat3\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the source matrix\r\n * @returns {mat3} out\r\n */\n\nexport function adjoint(out, a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2];\n var a10 = a[3],\n a11 = a[4],\n a12 = a[5];\n var a20 = a[6],\n a21 = a[7],\n a22 = a[8];\n out[0] = a11 * a22 - a12 * a21;\n out[1] = a02 * a21 - a01 * a22;\n out[2] = a01 * a12 - a02 * a11;\n out[3] = a12 * a20 - a10 * a22;\n out[4] = a00 * a22 - a02 * a20;\n out[5] = a02 * a10 - a00 * a12;\n out[6] = a10 * a21 - a11 * a20;\n out[7] = a01 * a20 - a00 * a21;\n out[8] = a00 * a11 - a01 * a10;\n return out;\n}\n/**\r\n * Calculates the determinant of a mat3\r\n *\r\n * @param {ReadonlyMat3} a the source matrix\r\n * @returns {Number} determinant of a\r\n */\n\nexport function determinant(a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2];\n var a10 = a[3],\n a11 = a[4],\n a12 = a[5];\n var a20 = a[6],\n a21 = a[7],\n a22 = a[8];\n return a00 * (a22 * a11 - a12 * a21) + a01 * (-a22 * a10 + a12 * a20) + a02 * (a21 * a10 - a11 * a20);\n}\n/**\r\n * Multiplies two mat3's\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the first operand\r\n * @param {ReadonlyMat3} b the second operand\r\n * @returns {mat3} out\r\n */\n\nexport function multiply(out, a, b) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2];\n var a10 = a[3],\n a11 = a[4],\n a12 = a[5];\n var a20 = a[6],\n a21 = a[7],\n a22 = a[8];\n var b00 = b[0],\n b01 = b[1],\n b02 = b[2];\n var b10 = b[3],\n b11 = b[4],\n b12 = b[5];\n var b20 = b[6],\n b21 = b[7],\n b22 = b[8];\n out[0] = b00 * a00 + b01 * a10 + b02 * a20;\n out[1] = b00 * a01 + b01 * a11 + b02 * a21;\n out[2] = b00 * a02 + b01 * a12 + b02 * a22;\n out[3] = b10 * a00 + b11 * a10 + b12 * a20;\n out[4] = b10 * a01 + b11 * a11 + b12 * a21;\n out[5] = b10 * a02 + b11 * a12 + b12 * a22;\n out[6] = b20 * a00 + b21 * a10 + b22 * a20;\n out[7] = b20 * a01 + b21 * a11 + b22 * a21;\n out[8] = b20 * a02 + b21 * a12 + b22 * a22;\n return out;\n}\n/**\r\n * Translate a mat3 by the given vector\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the matrix to translate\r\n * @param {ReadonlyVec2} v vector to translate by\r\n * @returns {mat3} out\r\n */\n\nexport function translate(out, a, v) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2],\n a10 = a[3],\n a11 = a[4],\n a12 = a[5],\n a20 = a[6],\n a21 = a[7],\n a22 = a[8],\n x = v[0],\n y = v[1];\n out[0] = a00;\n out[1] = a01;\n out[2] = a02;\n out[3] = a10;\n out[4] = a11;\n out[5] = a12;\n out[6] = x * a00 + y * a10 + a20;\n out[7] = x * a01 + y * a11 + a21;\n out[8] = x * a02 + y * a12 + a22;\n return out;\n}\n/**\r\n * Rotates a mat3 by the given angle\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the matrix to rotate\r\n * @param {Number} rad the angle to rotate the matrix by\r\n * @returns {mat3} out\r\n */\n\nexport function rotate(out, a, rad) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2],\n a10 = a[3],\n a11 = a[4],\n a12 = a[5],\n a20 = a[6],\n a21 = a[7],\n a22 = a[8],\n s = Math.sin(rad),\n c = Math.cos(rad);\n out[0] = c * a00 + s * a10;\n out[1] = c * a01 + s * a11;\n out[2] = c * a02 + s * a12;\n out[3] = c * a10 - s * a00;\n out[4] = c * a11 - s * a01;\n out[5] = c * a12 - s * a02;\n out[6] = a20;\n out[7] = a21;\n out[8] = a22;\n return out;\n}\n/**\r\n * Scales the mat3 by the dimensions in the given vec2\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the matrix to rotate\r\n * @param {ReadonlyVec2} v the vec2 to scale the matrix by\r\n * @returns {mat3} out\r\n **/\n\nexport function scale(out, a, v) {\n var x = v[0],\n y = v[1];\n out[0] = x * a[0];\n out[1] = x * a[1];\n out[2] = x * a[2];\n out[3] = y * a[3];\n out[4] = y * a[4];\n out[5] = y * a[5];\n out[6] = a[6];\n out[7] = a[7];\n out[8] = a[8];\n return out;\n}\n/**\r\n * Creates a matrix from a vector translation\r\n * This is equivalent to (but much faster than):\r\n *\r\n * mat3.identity(dest);\r\n * mat3.translate(dest, dest, vec);\r\n *\r\n * @param {mat3} out mat3 receiving operation result\r\n * @param {ReadonlyVec2} v Translation vector\r\n * @returns {mat3} out\r\n */\n\nexport function fromTranslation(out, v) {\n out[0] = 1;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = 1;\n out[5] = 0;\n out[6] = v[0];\n out[7] = v[1];\n out[8] = 1;\n return out;\n}\n/**\r\n * Creates a matrix from a given angle\r\n * This is equivalent to (but much faster than):\r\n *\r\n * mat3.identity(dest);\r\n * mat3.rotate(dest, dest, rad);\r\n *\r\n * @param {mat3} out mat3 receiving operation result\r\n * @param {Number} rad the angle to rotate the matrix by\r\n * @returns {mat3} out\r\n */\n\nexport function fromRotation(out, rad) {\n var s = Math.sin(rad),\n c = Math.cos(rad);\n out[0] = c;\n out[1] = s;\n out[2] = 0;\n out[3] = -s;\n out[4] = c;\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n out[8] = 1;\n return out;\n}\n/**\r\n * Creates a matrix from a vector scaling\r\n * This is equivalent to (but much faster than):\r\n *\r\n * mat3.identity(dest);\r\n * mat3.scale(dest, dest, vec);\r\n *\r\n * @param {mat3} out mat3 receiving operation result\r\n * @param {ReadonlyVec2} v Scaling vector\r\n * @returns {mat3} out\r\n */\n\nexport function fromScaling(out, v) {\n out[0] = v[0];\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = v[1];\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n out[8] = 1;\n return out;\n}\n/**\r\n * Copies the values from a mat2d into a mat3\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat2d} a the matrix to copy\r\n * @returns {mat3} out\r\n **/\n\nexport function fromMat2d(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = 0;\n out[3] = a[2];\n out[4] = a[3];\n out[5] = 0;\n out[6] = a[4];\n out[7] = a[5];\n out[8] = 1;\n return out;\n}\n/**\r\n * Calculates a 3x3 matrix from the given quaternion\r\n *\r\n * @param {mat3} out mat3 receiving operation result\r\n * @param {ReadonlyQuat} q Quaternion to create matrix from\r\n *\r\n * @returns {mat3} out\r\n */\n\nexport function fromQuat(out, q) {\n var x = q[0],\n y = q[1],\n z = q[2],\n w = q[3];\n var x2 = x + x;\n var y2 = y + y;\n var z2 = z + z;\n var xx = x * x2;\n var yx = y * x2;\n var yy = y * y2;\n var zx = z * x2;\n var zy = z * y2;\n var zz = z * z2;\n var wx = w * x2;\n var wy = w * y2;\n var wz = w * z2;\n out[0] = 1 - yy - zz;\n out[3] = yx - wz;\n out[6] = zx + wy;\n out[1] = yx + wz;\n out[4] = 1 - xx - zz;\n out[7] = zy - wx;\n out[2] = zx - wy;\n out[5] = zy + wx;\n out[8] = 1 - xx - yy;\n return out;\n}\n/**\r\n * Calculates a 3x3 normal matrix (transpose inverse) from the 4x4 matrix\r\n *\r\n * @param {mat3} out mat3 receiving operation result\r\n * @param {ReadonlyMat4} a Mat4 to derive the normal matrix from\r\n *\r\n * @returns {mat3} out\r\n */\n\nexport function normalFromMat4(out, a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2],\n a03 = a[3];\n var a10 = a[4],\n a11 = a[5],\n a12 = a[6],\n a13 = a[7];\n var a20 = a[8],\n a21 = a[9],\n a22 = a[10],\n a23 = a[11];\n var a30 = a[12],\n a31 = a[13],\n a32 = a[14],\n a33 = a[15];\n var b00 = a00 * a11 - a01 * a10;\n var b01 = a00 * a12 - a02 * a10;\n var b02 = a00 * a13 - a03 * a10;\n var b03 = a01 * a12 - a02 * a11;\n var b04 = a01 * a13 - a03 * a11;\n var b05 = a02 * a13 - a03 * a12;\n var b06 = a20 * a31 - a21 * a30;\n var b07 = a20 * a32 - a22 * a30;\n var b08 = a20 * a33 - a23 * a30;\n var b09 = a21 * a32 - a22 * a31;\n var b10 = a21 * a33 - a23 * a31;\n var b11 = a22 * a33 - a23 * a32; // Calculate the determinant\n\n var det = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06;\n\n if (!det) {\n return null;\n }\n\n det = 1.0 / det;\n out[0] = (a11 * b11 - a12 * b10 + a13 * b09) * det;\n out[1] = (a12 * b08 - a10 * b11 - a13 * b07) * det;\n out[2] = (a10 * b10 - a11 * b08 + a13 * b06) * det;\n out[3] = (a02 * b10 - a01 * b11 - a03 * b09) * det;\n out[4] = (a00 * b11 - a02 * b08 + a03 * b07) * det;\n out[5] = (a01 * b08 - a00 * b10 - a03 * b06) * det;\n out[6] = (a31 * b05 - a32 * b04 + a33 * b03) * det;\n out[7] = (a32 * b02 - a30 * b05 - a33 * b01) * det;\n out[8] = (a30 * b04 - a31 * b02 + a33 * b00) * det;\n return out;\n}\n/**\r\n * Generates a 2D projection matrix with the given bounds\r\n *\r\n * @param {mat3} out mat3 frustum matrix will be written into\r\n * @param {number} width Width of your gl context\r\n * @param {number} height Height of gl context\r\n * @returns {mat3} out\r\n */\n\nexport function projection(out, width, height) {\n out[0] = 2 / width;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = -2 / height;\n out[5] = 0;\n out[6] = -1;\n out[7] = 1;\n out[8] = 1;\n return out;\n}\n/**\r\n * Returns a string representation of a mat3\r\n *\r\n * @param {ReadonlyMat3} a matrix to represent as a string\r\n * @returns {String} string representation of the matrix\r\n */\n\nexport function str(a) {\n return \"mat3(\" + a[0] + \", \" + a[1] + \", \" + a[2] + \", \" + a[3] + \", \" + a[4] + \", \" + a[5] + \", \" + a[6] + \", \" + a[7] + \", \" + a[8] + \")\";\n}\n/**\r\n * Returns Frobenius norm of a mat3\r\n *\r\n * @param {ReadonlyMat3} a the matrix to calculate Frobenius norm of\r\n * @returns {Number} Frobenius norm\r\n */\n\nexport function frob(a) {\n return Math.hypot(a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]);\n}\n/**\r\n * Adds two mat3's\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the first operand\r\n * @param {ReadonlyMat3} b the second operand\r\n * @returns {mat3} out\r\n */\n\nexport function add(out, a, b) {\n out[0] = a[0] + b[0];\n out[1] = a[1] + b[1];\n out[2] = a[2] + b[2];\n out[3] = a[3] + b[3];\n out[4] = a[4] + b[4];\n out[5] = a[5] + b[5];\n out[6] = a[6] + b[6];\n out[7] = a[7] + b[7];\n out[8] = a[8] + b[8];\n return out;\n}\n/**\r\n * Subtracts matrix b from matrix a\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the first operand\r\n * @param {ReadonlyMat3} b the second operand\r\n * @returns {mat3} out\r\n */\n\nexport function subtract(out, a, b) {\n out[0] = a[0] - b[0];\n out[1] = a[1] - b[1];\n out[2] = a[2] - b[2];\n out[3] = a[3] - b[3];\n out[4] = a[4] - b[4];\n out[5] = a[5] - b[5];\n out[6] = a[6] - b[6];\n out[7] = a[7] - b[7];\n out[8] = a[8] - b[8];\n return out;\n}\n/**\r\n * Multiply each element of the matrix by a scalar.\r\n *\r\n * @param {mat3} out the receiving matrix\r\n * @param {ReadonlyMat3} a the matrix to scale\r\n * @param {Number} b amount to scale the matrix's elements by\r\n * @returns {mat3} out\r\n */\n\nexport function multiplyScalar(out, a, b) {\n out[0] = a[0] * b;\n out[1] = a[1] * b;\n out[2] = a[2] * b;\n out[3] = a[3] * b;\n out[4] = a[4] * b;\n out[5] = a[5] * b;\n out[6] = a[6] * b;\n out[7] = a[7] * b;\n out[8] = a[8] * b;\n return out;\n}\n/**\r\n * Adds two mat3's after multiplying each element of the second operand by a scalar value.\r\n *\r\n * @param {mat3} out the receiving vector\r\n * @param {ReadonlyMat3} a the first operand\r\n * @param {ReadonlyMat3} b the second operand\r\n * @param {Number} scale the amount to scale b's elements by before adding\r\n * @returns {mat3} out\r\n */\n\nexport function multiplyScalarAndAdd(out, a, b, scale) {\n out[0] = a[0] + b[0] * scale;\n out[1] = a[1] + b[1] * scale;\n out[2] = a[2] + b[2] * scale;\n out[3] = a[3] + b[3] * scale;\n out[4] = a[4] + b[4] * scale;\n out[5] = a[5] + b[5] * scale;\n out[6] = a[6] + b[6] * scale;\n out[7] = a[7] + b[7] * scale;\n out[8] = a[8] + b[8] * scale;\n return out;\n}\n/**\r\n * Returns whether or not the matrices have exactly the same elements in the same position (when compared with ===)\r\n *\r\n * @param {ReadonlyMat3} a The first matrix.\r\n * @param {ReadonlyMat3} b The second matrix.\r\n * @returns {Boolean} True if the matrices are equal, false otherwise.\r\n */\n\nexport function exactEquals(a, b) {\n return a[0] === b[0] && a[1] === b[1] && a[2] === b[2] && a[3] === b[3] && a[4] === b[4] && a[5] === b[5] && a[6] === b[6] && a[7] === b[7] && a[8] === b[8];\n}\n/**\r\n * Returns whether or not the matrices have approximately the same elements in the same position.\r\n *\r\n * @param {ReadonlyMat3} a The first matrix.\r\n * @param {ReadonlyMat3} b The second matrix.\r\n * @returns {Boolean} True if the matrices are equal, false otherwise.\r\n */\n\nexport function equals(a, b) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2],\n a3 = a[3],\n a4 = a[4],\n a5 = a[5],\n a6 = a[6],\n a7 = a[7],\n a8 = a[8];\n var b0 = b[0],\n b1 = b[1],\n b2 = b[2],\n b3 = b[3],\n b4 = b[4],\n b5 = b[5],\n b6 = b[6],\n b7 = b[7],\n b8 = b[8];\n return Math.abs(a0 - b0) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1)) && Math.abs(a2 - b2) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a2), Math.abs(b2)) && Math.abs(a3 - b3) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a3), Math.abs(b3)) && Math.abs(a4 - b4) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a4), Math.abs(b4)) && Math.abs(a5 - b5) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a5), Math.abs(b5)) && Math.abs(a6 - b6) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a6), Math.abs(b6)) && Math.abs(a7 - b7) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a7), Math.abs(b7)) && Math.abs(a8 - b8) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a8), Math.abs(b8));\n}\n/**\r\n * Alias for {@link mat3.multiply}\r\n * @function\r\n */\n\nexport var mul = multiply;\n/**\r\n * Alias for {@link mat3.subtract}\r\n * @function\r\n */\n\nexport var sub = subtract;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec2.js", "index": 166, "index2": 153, "size": 14515, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "profile": { "factory": 144, "building": 354, "dependencies": 2 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "profile": { "factory": 307, "building": 24 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "profile": { "factory": 281, "building": 10, "dependencies": 23 } } ], "profile": { "factory": 4, "building": 629, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./vec2.js", "loc": "8:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./vec2.js", "loc": "11:0-76" } ], "usedExports": true, "providedExports": [ "create", "clone", "fromValues", "copy", "set", "add", "subtract", "multiply", "divide", "ceil", "floor", "min", "max", "round", "scale", "scaleAndAdd", "distance", "squaredDistance", "length", "squaredLength", "negate", "inverse", "normalize", "dot", "cross", "lerp", "random", "transformMat2", "transformMat2d", "transformMat3", "transformMat4", "rotate", "angle", "zero", "str", "exactEquals", "equals", "len", "sub", "mul", "div", "dist", "sqrDist", "sqrLen", "forEach" ], "optimizationBailout": [], "depth": 7, "source": "import * as glMatrix from \"./common.js\";\n/**\r\n * 2 Dimensional Vector\r\n * @module vec2\r\n */\n\n/**\r\n * Creates a new, empty vec2\r\n *\r\n * @returns {vec2} a new 2D vector\r\n */\n\nexport function create() {\n var out = new glMatrix.ARRAY_TYPE(2);\n\n if (glMatrix.ARRAY_TYPE != Float32Array) {\n out[0] = 0;\n out[1] = 0;\n }\n\n return out;\n}\n/**\r\n * Creates a new vec2 initialized with values from an existing vector\r\n *\r\n * @param {ReadonlyVec2} a vector to clone\r\n * @returns {vec2} a new 2D vector\r\n */\n\nexport function clone(a) {\n var out = new glMatrix.ARRAY_TYPE(2);\n out[0] = a[0];\n out[1] = a[1];\n return out;\n}\n/**\r\n * Creates a new vec2 initialized with the given values\r\n *\r\n * @param {Number} x X component\r\n * @param {Number} y Y component\r\n * @returns {vec2} a new 2D vector\r\n */\n\nexport function fromValues(x, y) {\n var out = new glMatrix.ARRAY_TYPE(2);\n out[0] = x;\n out[1] = y;\n return out;\n}\n/**\r\n * Copy the values from one vec2 to another\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the source vector\r\n * @returns {vec2} out\r\n */\n\nexport function copy(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n return out;\n}\n/**\r\n * Set the components of a vec2 to the given values\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {Number} x X component\r\n * @param {Number} y Y component\r\n * @returns {vec2} out\r\n */\n\nexport function set(out, x, y) {\n out[0] = x;\n out[1] = y;\n return out;\n}\n/**\r\n * Adds two vec2's\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @returns {vec2} out\r\n */\n\nexport function add(out, a, b) {\n out[0] = a[0] + b[0];\n out[1] = a[1] + b[1];\n return out;\n}\n/**\r\n * Subtracts vector b from vector a\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @returns {vec2} out\r\n */\n\nexport function subtract(out, a, b) {\n out[0] = a[0] - b[0];\n out[1] = a[1] - b[1];\n return out;\n}\n/**\r\n * Multiplies two vec2's\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @returns {vec2} out\r\n */\n\nexport function multiply(out, a, b) {\n out[0] = a[0] * b[0];\n out[1] = a[1] * b[1];\n return out;\n}\n/**\r\n * Divides two vec2's\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @returns {vec2} out\r\n */\n\nexport function divide(out, a, b) {\n out[0] = a[0] / b[0];\n out[1] = a[1] / b[1];\n return out;\n}\n/**\r\n * Math.ceil the components of a vec2\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a vector to ceil\r\n * @returns {vec2} out\r\n */\n\nexport function ceil(out, a) {\n out[0] = Math.ceil(a[0]);\n out[1] = Math.ceil(a[1]);\n return out;\n}\n/**\r\n * Math.floor the components of a vec2\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a vector to floor\r\n * @returns {vec2} out\r\n */\n\nexport function floor(out, a) {\n out[0] = Math.floor(a[0]);\n out[1] = Math.floor(a[1]);\n return out;\n}\n/**\r\n * Returns the minimum of two vec2's\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @returns {vec2} out\r\n */\n\nexport function min(out, a, b) {\n out[0] = Math.min(a[0], b[0]);\n out[1] = Math.min(a[1], b[1]);\n return out;\n}\n/**\r\n * Returns the maximum of two vec2's\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @returns {vec2} out\r\n */\n\nexport function max(out, a, b) {\n out[0] = Math.max(a[0], b[0]);\n out[1] = Math.max(a[1], b[1]);\n return out;\n}\n/**\r\n * Math.round the components of a vec2\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a vector to round\r\n * @returns {vec2} out\r\n */\n\nexport function round(out, a) {\n out[0] = Math.round(a[0]);\n out[1] = Math.round(a[1]);\n return out;\n}\n/**\r\n * Scales a vec2 by a scalar number\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the vector to scale\r\n * @param {Number} b amount to scale the vector by\r\n * @returns {vec2} out\r\n */\n\nexport function scale(out, a, b) {\n out[0] = a[0] * b;\n out[1] = a[1] * b;\n return out;\n}\n/**\r\n * Adds two vec2's after scaling the second operand by a scalar value\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @param {Number} scale the amount to scale b by before adding\r\n * @returns {vec2} out\r\n */\n\nexport function scaleAndAdd(out, a, b, scale) {\n out[0] = a[0] + b[0] * scale;\n out[1] = a[1] + b[1] * scale;\n return out;\n}\n/**\r\n * Calculates the euclidian distance between two vec2's\r\n *\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @returns {Number} distance between a and b\r\n */\n\nexport function distance(a, b) {\n var x = b[0] - a[0],\n y = b[1] - a[1];\n return Math.hypot(x, y);\n}\n/**\r\n * Calculates the squared euclidian distance between two vec2's\r\n *\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @returns {Number} squared distance between a and b\r\n */\n\nexport function squaredDistance(a, b) {\n var x = b[0] - a[0],\n y = b[1] - a[1];\n return x * x + y * y;\n}\n/**\r\n * Calculates the length of a vec2\r\n *\r\n * @param {ReadonlyVec2} a vector to calculate length of\r\n * @returns {Number} length of a\r\n */\n\nexport function length(a) {\n var x = a[0],\n y = a[1];\n return Math.hypot(x, y);\n}\n/**\r\n * Calculates the squared length of a vec2\r\n *\r\n * @param {ReadonlyVec2} a vector to calculate squared length of\r\n * @returns {Number} squared length of a\r\n */\n\nexport function squaredLength(a) {\n var x = a[0],\n y = a[1];\n return x * x + y * y;\n}\n/**\r\n * Negates the components of a vec2\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a vector to negate\r\n * @returns {vec2} out\r\n */\n\nexport function negate(out, a) {\n out[0] = -a[0];\n out[1] = -a[1];\n return out;\n}\n/**\r\n * Returns the inverse of the components of a vec2\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a vector to invert\r\n * @returns {vec2} out\r\n */\n\nexport function inverse(out, a) {\n out[0] = 1.0 / a[0];\n out[1] = 1.0 / a[1];\n return out;\n}\n/**\r\n * Normalize a vec2\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a vector to normalize\r\n * @returns {vec2} out\r\n */\n\nexport function normalize(out, a) {\n var x = a[0],\n y = a[1];\n var len = x * x + y * y;\n\n if (len > 0) {\n //TODO: evaluate use of glm_invsqrt here?\n len = 1 / Math.sqrt(len);\n }\n\n out[0] = a[0] * len;\n out[1] = a[1] * len;\n return out;\n}\n/**\r\n * Calculates the dot product of two vec2's\r\n *\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @returns {Number} dot product of a and b\r\n */\n\nexport function dot(a, b) {\n return a[0] * b[0] + a[1] * b[1];\n}\n/**\r\n * Computes the cross product of two vec2's\r\n * Note that the cross product must by definition produce a 3D vector\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @returns {vec3} out\r\n */\n\nexport function cross(out, a, b) {\n var z = a[0] * b[1] - a[1] * b[0];\n out[0] = out[1] = 0;\n out[2] = z;\n return out;\n}\n/**\r\n * Performs a linear interpolation between two vec2's\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the first operand\r\n * @param {ReadonlyVec2} b the second operand\r\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\r\n * @returns {vec2} out\r\n */\n\nexport function lerp(out, a, b, t) {\n var ax = a[0],\n ay = a[1];\n out[0] = ax + t * (b[0] - ax);\n out[1] = ay + t * (b[1] - ay);\n return out;\n}\n/**\r\n * Generates a random vector with the given scale\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {Number} [scale] Length of the resulting vector. If ommitted, a unit vector will be returned\r\n * @returns {vec2} out\r\n */\n\nexport function random(out, scale) {\n scale = scale || 1.0;\n var r = glMatrix.RANDOM() * 2.0 * Math.PI;\n out[0] = Math.cos(r) * scale;\n out[1] = Math.sin(r) * scale;\n return out;\n}\n/**\r\n * Transforms the vec2 with a mat2\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the vector to transform\r\n * @param {ReadonlyMat2} m matrix to transform with\r\n * @returns {vec2} out\r\n */\n\nexport function transformMat2(out, a, m) {\n var x = a[0],\n y = a[1];\n out[0] = m[0] * x + m[2] * y;\n out[1] = m[1] * x + m[3] * y;\n return out;\n}\n/**\r\n * Transforms the vec2 with a mat2d\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the vector to transform\r\n * @param {ReadonlyMat2d} m matrix to transform with\r\n * @returns {vec2} out\r\n */\n\nexport function transformMat2d(out, a, m) {\n var x = a[0],\n y = a[1];\n out[0] = m[0] * x + m[2] * y + m[4];\n out[1] = m[1] * x + m[3] * y + m[5];\n return out;\n}\n/**\r\n * Transforms the vec2 with a mat3\r\n * 3rd vector component is implicitly '1'\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the vector to transform\r\n * @param {ReadonlyMat3} m matrix to transform with\r\n * @returns {vec2} out\r\n */\n\nexport function transformMat3(out, a, m) {\n var x = a[0],\n y = a[1];\n out[0] = m[0] * x + m[3] * y + m[6];\n out[1] = m[1] * x + m[4] * y + m[7];\n return out;\n}\n/**\r\n * Transforms the vec2 with a mat4\r\n * 3rd vector component is implicitly '0'\r\n * 4th vector component is implicitly '1'\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @param {ReadonlyVec2} a the vector to transform\r\n * @param {ReadonlyMat4} m matrix to transform with\r\n * @returns {vec2} out\r\n */\n\nexport function transformMat4(out, a, m) {\n var x = a[0];\n var y = a[1];\n out[0] = m[0] * x + m[4] * y + m[12];\n out[1] = m[1] * x + m[5] * y + m[13];\n return out;\n}\n/**\r\n * Rotate a 2D vector\r\n * @param {vec2} out The receiving vec2\r\n * @param {ReadonlyVec2} a The vec2 point to rotate\r\n * @param {ReadonlyVec2} b The origin of the rotation\r\n * @param {Number} rad The angle of rotation in radians\r\n * @returns {vec2} out\r\n */\n\nexport function rotate(out, a, b, rad) {\n //Translate point to the origin\n var p0 = a[0] - b[0],\n p1 = a[1] - b[1],\n sinC = Math.sin(rad),\n cosC = Math.cos(rad); //perform rotation and translate to correct position\n\n out[0] = p0 * cosC - p1 * sinC + b[0];\n out[1] = p0 * sinC + p1 * cosC + b[1];\n return out;\n}\n/**\r\n * Get the angle between two 2D vectors\r\n * @param {ReadonlyVec2} a The first operand\r\n * @param {ReadonlyVec2} b The second operand\r\n * @returns {Number} The angle in radians\r\n */\n\nexport function angle(a, b) {\n var x1 = a[0],\n y1 = a[1],\n x2 = b[0],\n y2 = b[1],\n // mag is the product of the magnitudes of a and b\n mag = Math.sqrt(x1 * x1 + y1 * y1) * Math.sqrt(x2 * x2 + y2 * y2),\n // mag &&.. short circuits if mag == 0\n cosine = mag && (x1 * x2 + y1 * y2) / mag; // Math.min(Math.max(cosine, -1), 1) clamps the cosine between -1 and 1\n\n return Math.acos(Math.min(Math.max(cosine, -1), 1));\n}\n/**\r\n * Set the components of a vec2 to zero\r\n *\r\n * @param {vec2} out the receiving vector\r\n * @returns {vec2} out\r\n */\n\nexport function zero(out) {\n out[0] = 0.0;\n out[1] = 0.0;\n return out;\n}\n/**\r\n * Returns a string representation of a vector\r\n *\r\n * @param {ReadonlyVec2} a vector to represent as a string\r\n * @returns {String} string representation of the vector\r\n */\n\nexport function str(a) {\n return \"vec2(\" + a[0] + \", \" + a[1] + \")\";\n}\n/**\r\n * Returns whether or not the vectors exactly have the same elements in the same position (when compared with ===)\r\n *\r\n * @param {ReadonlyVec2} a The first vector.\r\n * @param {ReadonlyVec2} b The second vector.\r\n * @returns {Boolean} True if the vectors are equal, false otherwise.\r\n */\n\nexport function exactEquals(a, b) {\n return a[0] === b[0] && a[1] === b[1];\n}\n/**\r\n * Returns whether or not the vectors have approximately the same elements in the same position.\r\n *\r\n * @param {ReadonlyVec2} a The first vector.\r\n * @param {ReadonlyVec2} b The second vector.\r\n * @returns {Boolean} True if the vectors are equal, false otherwise.\r\n */\n\nexport function equals(a, b) {\n var a0 = a[0],\n a1 = a[1];\n var b0 = b[0],\n b1 = b[1];\n return Math.abs(a0 - b0) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1));\n}\n/**\r\n * Alias for {@link vec2.length}\r\n * @function\r\n */\n\nexport var len = length;\n/**\r\n * Alias for {@link vec2.subtract}\r\n * @function\r\n */\n\nexport var sub = subtract;\n/**\r\n * Alias for {@link vec2.multiply}\r\n * @function\r\n */\n\nexport var mul = multiply;\n/**\r\n * Alias for {@link vec2.divide}\r\n * @function\r\n */\n\nexport var div = divide;\n/**\r\n * Alias for {@link vec2.distance}\r\n * @function\r\n */\n\nexport var dist = distance;\n/**\r\n * Alias for {@link vec2.squaredDistance}\r\n * @function\r\n */\n\nexport var sqrDist = squaredDistance;\n/**\r\n * Alias for {@link vec2.squaredLength}\r\n * @function\r\n */\n\nexport var sqrLen = squaredLength;\n/**\r\n * Perform some operation over an array of vec2s.\r\n *\r\n * @param {Array} a the array of vectors to iterate over\r\n * @param {Number} stride Number of elements between the start of each vec2. If 0 assumes tightly packed\r\n * @param {Number} offset Number of elements to skip at the beginning of the array\r\n * @param {Number} count Number of vec2s to iterate over. If 0 iterates over entire array\r\n * @param {Function} fn Function to call for each vector in the array\r\n * @param {Object} [arg] additional argument to pass to fn\r\n * @returns {Array} a\r\n * @function\r\n */\n\nexport var forEach = function () {\n var vec = create();\n return function (a, stride, offset, count, fn, arg) {\n var i, l;\n\n if (!stride) {\n stride = 2;\n }\n\n if (!offset) {\n offset = 0;\n }\n\n if (count) {\n l = Math.min(count * stride + offset, a.length);\n } else {\n l = a.length;\n }\n\n for (i = offset; i < l; i += stride) {\n vec[0] = a[i];\n vec[1] = a[i + 1];\n fn(vec, vec, arg);\n a[i] = vec[0];\n a[i + 1] = vec[1];\n }\n\n return a;\n };\n}();" } ], "filteredModules": 0 }, { "id": 26, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts 1e229a9c3900dbf9ebf85d1c1f8a3eae", "name": "./src/behavior/behavior.ts + 1 modules", "index": 2, "index2": 107, "size": 3256, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../../behavior/behavior", "loc": "2:0-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../behavior/behavior", "loc": "32:35-43" }, { "moduleId": 35, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/index.ts", "module": "./src/behavior/index.ts", "moduleName": "./src/behavior/index.ts", "type": "harmony side effect evaluation", "userRequest": "./behavior", "loc": "1:0-34" }, { "moduleId": 35, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/index.ts", "module": "./src/behavior/index.ts", "moduleName": "./src/behavior/index.ts", "type": "harmony import specifier", "userRequest": "./behavior", "loc": "2:15-23" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js because of ./src/index.ts" ], "depth": 2, "modules": [ { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts", "name": "./src/behavior/behavior.ts", "index": 2, "index2": 107, "size": 1485, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/index.ts", "issuerId": 35, "issuerName": "./src/behavior/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 35, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/index.ts", "name": "./src/behavior/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 867, "building": 36, "dependencies": 2149 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony side effect evaluation", "userRequest": "../../behavior/behavior", "loc": "2:0-47" }, { "moduleId": 34, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "module": "./src/graph/graph.ts + 22 modules", "moduleName": "./src/graph/graph.ts + 22 modules", "type": "harmony import specifier", "userRequest": "../../behavior/behavior", "loc": "32:35-43" }, { "moduleId": 35, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/index.ts", "module": "./src/behavior/index.ts", "moduleName": "./src/behavior/index.ts", "type": "harmony side effect evaluation", "userRequest": "./behavior", "loc": "1:0-34" }, { "moduleId": 35, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/index.ts", "module": "./src/behavior/index.ts", "moduleName": "./src/behavior/index.ts", "type": "harmony import specifier", "userRequest": "./behavior", "loc": "2:15-23" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 2, "source": "import { clone, each, wrapBehavior } from '@antv/util';\nimport behaviorOption from './behaviorOption';\nvar Behavior = /** @class */ (function () {\n function Behavior() {\n }\n /**\n * 自定义 Behavior\n * @param type Behavior 名称\n * @param behavior Behavior 定义的方法集合\n */\n Behavior.registerBehavior = function (type, behavior) {\n if (!behavior) {\n throw new Error(\"please specify handler for this behavior: \" + type);\n }\n var prototype = clone(behaviorOption);\n Object.assign(prototype, behavior);\n // eslint-disable-next-line func-names\n var base = function (cfg) {\n var _this = this;\n Object.assign(this, this.getDefaultCfg(), cfg);\n var events = this.getEvents();\n this.events = null;\n var eventsToBind = {};\n if (events) {\n each(events, function (handle, event) {\n eventsToBind[event] = wrapBehavior(_this, handle);\n });\n this.events = eventsToBind;\n }\n };\n base.prototype = prototype;\n Behavior.types[type] = base;\n };\n Behavior.hasBehavior = function (type) {\n return !!Behavior.types[type];\n };\n Behavior.getBehavior = function (type) {\n return Behavior.types[type];\n };\n // 所有自定义的 Behavior 的实例\n Behavior.types = {};\n return Behavior;\n}());\nexport default Behavior;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behaviorOption.ts", "name": "./src/behavior/behaviorOption.ts", "index": 109, "index2": 106, "size": 1766, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts", "issuerId": null, "issuerName": "./src/behavior/behavior.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 35, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/index.ts", "name": "./src/behavior/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts", "name": "./src/behavior/behavior.ts", "profile": { "factory": 867, "building": 36, "dependencies": 2149 } } ], "profile": { "factory": 2149, "building": 28, "dependencies": 1191 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts", "module": "./src/behavior/behavior.ts", "moduleName": "./src/behavior/behavior.ts", "type": "harmony side effect evaluation", "userRequest": "./behaviorOption", "loc": "2:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/behavior.ts", "module": "./src/behavior/behavior.ts", "moduleName": "./src/behavior/behavior.ts", "type": "harmony import specifier", "userRequest": "./behaviorOption", "loc": "15:30-44" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import { each } from '@antv/util';\n// 自定义 Behavior 时候共有的方法\nexport default {\n getDefaultCfg: function () {\n return {};\n },\n /**\n * register event handler, behavior will auto bind events\n * for example:\n * return {\n * click: 'onClick'\n * }\n */\n getEvents: function () {\n return {};\n },\n shouldBegin: function () {\n return true;\n },\n shouldUpdate: function () {\n return true;\n },\n shouldEnd: function () {\n return true;\n },\n /**\n * auto bind events when register behavior\n * @param graph Graph instance\n */\n bind: function (graph) {\n var _this = this;\n var events = this.events;\n this.graph = graph;\n if (this.type === 'drag-canvas' ||\n this.type === 'brush-select' ||\n this.type === 'lasso-select') {\n graph.get('canvas').set('draggable', true);\n }\n each(events, function (handler, event) {\n graph.on(event, handler);\n });\n // To avoid the tabs switching makes the keydown related behaviors disable\n document.addEventListener('visibilitychange', function () {\n _this.keydown = false;\n });\n },\n unbind: function (graph) {\n var events = this.events;\n if (this.type === 'drag-canvas' ||\n this.type === 'brush-select' ||\n this.type === 'lasso-select') {\n graph.get('canvas').set('draggable', false);\n }\n each(events, function (handler, event) {\n graph.off(event, handler);\n });\n },\n get: function (val) {\n return this[val];\n },\n set: function (key, val) {\n this[key] = val;\n return this;\n },\n};\n" } ], "filteredModules": 0 }, { "id": 27, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/common.js", "name": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/common.js", "index": 115, "index2": 110, "size": 1378, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js", "issuerId": 11, "issuerName": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec2.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec2.js", "profile": { "factory": 1667, "building": 225, "dependencies": 394 } }, { "id": 11, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js", "name": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js", "profile": { "factory": 452, "building": 557 } } ], "profile": { "factory": 22, "building": 41 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 8, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/mat3.js", "module": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/mat3.js", "moduleName": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/mat3.js", "type": "cjs require", "userRequest": "./common.js", "loc": "38:14-36" }, { "moduleId": 11, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js", "module": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js", "moduleName": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js", "type": "cjs require", "userRequest": "./common.js", "loc": "44:14-36" }, { "moduleId": 48, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec3.js", "module": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec3.js", "moduleName": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec3.js", "type": "cjs require", "userRequest": "./common.js", "loc": "47:14-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 5, "source": "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.setMatrixArrayType = setMatrixArrayType;\nexports.toRadian = toRadian;\nexports.equals = equals;\n/**\n * Common utilities\n * @module glMatrix\n */\n// Configuration Constants\n\nvar EPSILON = exports.EPSILON = 0.000001;\nvar ARRAY_TYPE = exports.ARRAY_TYPE = typeof Float32Array !== 'undefined' ? Float32Array : Array;\nvar RANDOM = exports.RANDOM = Math.random;\n/**\n * Sets the type of array used when creating new vectors and matrices\n *\n * @param {Type} type Array type, such as Float32Array or Array\n */\n\nfunction setMatrixArrayType(type) {\n exports.ARRAY_TYPE = ARRAY_TYPE = type;\n}\n\nvar degree = Math.PI / 180;\n/**\n * Convert Degree To Radian\n *\n * @param {Number} a Angle in Degrees\n */\n\nfunction toRadian(a) {\n return a * degree;\n}\n/**\n * Tests whether or not the arguments have approximately the same value, within an absolute\n * or relative tolerance of glMatrix.EPSILON (an absolute tolerance is used for values less\n * than or equal to 1.0, and a relative tolerance is used for larger values)\n *\n * @param {Number} a The first number to test.\n * @param {Number} b The second number to test.\n * @returns {Boolean} True if the numbers are approximately equal, false otherwise.\n */\n\n\nfunction equals(a, b) {\n return Math.abs(a - b) <= EPSILON * Math.max(1.0, Math.abs(a), Math.abs(b));\n}" }, { "id": 28, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-nil.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-nil.js", "index": 147, "index2": 138, "size": 264, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "issuerId": 7, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": 7, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } } ], "profile": { "factory": 568, "building": 31, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/is-nil", "loc": "9:0-57" }, { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony export imported specifier", "userRequest": "@antv/util/lib/is-nil", "loc": "9:0-57" }, { "moduleId": 64, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/to-string.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/to-string.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/to-string.js", "type": "cjs require", "userRequest": "./is-nil", "loc": "7:15-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 5, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n}); // isFinite,\n\nvar isNil = function isNil(value) {\n /**\n * isNil(null) => true\n * isNil() => true\n */\n return value === null || value === undefined;\n};\n\nexports.default = isNil;" }, { "id": 29, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-type.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-type.js", "index": 149, "index2": 139, "size": 241, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array.js", "issuerId": 15, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "profile": { "factory": 1578, "building": 488, "dependencies": 365 } }, { "id": 15, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array.js", "profile": { "factory": 855, "building": 182, "dependencies": 41 } } ], "profile": { "factory": 44, "building": 331 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 15, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array.js", "type": "cjs require", "userRequest": "./is-type", "loc": "7:16-36" }, { "moduleId": 17, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-string.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-string.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-string.js", "type": "cjs require", "userRequest": "./is-type", "loc": "7:16-36" }, { "moduleId": 38, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-function.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-function.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-function.js", "type": "cjs require", "userRequest": "./is-type", "loc": "12:16-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 6, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar toString = {}.toString;\n\nvar isType = function isType(value, type) {\n return toString.call(value) === '[object ' + type + ']';\n};\n\nexports.default = isType;" }, { "id": 30, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-object.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-object.js", "index": 151, "index2": 142, "size": 731, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "issuerId": 18, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/parse-path.js", "profile": { "factory": 1578, "building": 488, "dependencies": 365 } }, { "id": 18, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "profile": { "factory": 855, "building": 182, "dependencies": 41 } } ], "profile": { "factory": 28, "building": 344 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/is-object", "loc": "12:0-63" }, { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony export imported specifier", "userRequest": "@antv/util/lib/is-object", "loc": "12:0-63" }, { "moduleId": 18, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/each.js", "type": "cjs require", "userRequest": "./is-object", "loc": "9:18-40" } ], "usedExports": true, "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 5, "source": "\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\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\n return value !== null && type === 'object' || type === 'function';\n};" }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "index": 252, "index2": 251, "size": 303, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./util", "loc": "5:0-26" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony export imported specifier", "userRequest": "./util", "loc": "13:0-124" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./util", "loc": "22:10-14" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 1, "source": "import { __assign } from \"tslib\";\nimport * as MathUtil from './math';\nimport * as GraphicUtil from './graphic';\nimport * as PathUtil from './path';\nimport * as BaseUtil from './base';\nvar Util = __assign(__assign(__assign(__assign({}, BaseUtil), GraphicUtil), PathUtil), MathUtil);\nexport default Util;\n" }, { "id": 32, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/layout.ts", "name": "./src/graph/controller/layout.ts", "index": 253, "index2": 252, "size": 6687, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./graph/controller/layout", "loc": "7:0-55" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony export imported specifier", "userRequest": "./graph/controller/layout", "loc": "13:0-124" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./graph/controller/layout", "loc": "29:20-34" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 1, "source": "import { isNaN } from '../../util/base';\nvar LayoutController = /** @class */ (function () {\n function LayoutController(graph) {\n this.graph = graph;\n this.layoutCfg = graph.get('layout') || {};\n this.layoutType = this.layoutCfg.type;\n this.initLayout();\n }\n // eslint-disable-next-line class-methods-use-this\n LayoutController.prototype.initLayout = function () {\n // no data before rendering\n };\n LayoutController.prototype.getLayoutType = function () {\n return this.layoutCfg.type;\n };\n // 绘制\n LayoutController.prototype.refreshLayout = function () {\n var graph = this.graph;\n if (graph.get('animate')) {\n graph.positionsAnimate();\n }\n else {\n graph.refreshPositions();\n }\n };\n // 更换布局\n LayoutController.prototype.changeLayout = function (layoutType) {\n var _a = this, graph = _a.graph, layoutMethod = _a.layoutMethod;\n this.layoutType = layoutType;\n this.layoutCfg = graph.get('layout') || {};\n this.layoutCfg.type = layoutType;\n if (layoutMethod) {\n layoutMethod.destroy();\n }\n this.layout();\n };\n // 更换数据\n LayoutController.prototype.changeData = function () {\n var layoutMethod = this.layoutMethod;\n if (layoutMethod) {\n layoutMethod.destroy();\n }\n this.layout();\n };\n // 销毁布局,不能使用 this.destroy,因为 controller 还需要被使用,只是把布局算法销毁\n LayoutController.prototype.destroyLayout = function () {\n var _a = this, layoutMethod = _a.layoutMethod, graph = _a.graph;\n if (layoutMethod) {\n layoutMethod.destroy();\n }\n graph.set('layout', undefined);\n this.layoutCfg = undefined;\n this.layoutType = undefined;\n this.layoutMethod = undefined;\n };\n // 从 this.graph 获取数据\n LayoutController.prototype.setDataFromGraph = function () {\n var nodes = [];\n var edges = [];\n var combos = [];\n var nodeItems = this.graph.getNodes();\n var edgeItems = this.graph.getEdges();\n var comboItems = this.graph.getCombos();\n var nodeLength = nodeItems.length;\n for (var i = 0; i < nodeLength; i++) {\n var nodeItem = nodeItems[i];\n if (!nodeItem.isVisible())\n continue;\n var model = nodeItem.getModel();\n nodes.push(model);\n }\n var edgeLength = edgeItems.length;\n for (var i = 0; i < edgeLength; i++) {\n var edgeItem = edgeItems[i];\n if (edgeItem.destroyed || !edgeItem.isVisible())\n continue;\n var model = edgeItem.getModel();\n if (!model.isComboEdge)\n edges.push(model);\n }\n var comboLength = comboItems.length;\n for (var i = 0; i < comboLength; i++) {\n var comboItem = comboItems[i];\n if (comboItem.destroyed || !comboItem.isVisible())\n continue;\n var model = comboItem.getModel();\n combos.push(model);\n }\n return { nodes: nodes, edges: edges, combos: combos };\n };\n // 重新布局\n LayoutController.prototype.relayout = function (reloadData) {\n var _a = this, graph = _a.graph, layoutMethod = _a.layoutMethod, layoutCfg = _a.layoutCfg;\n if (reloadData) {\n this.data = this.setDataFromGraph();\n var nodes = this.data.nodes;\n if (!nodes) {\n return false;\n }\n this.initPositions(layoutCfg.center, nodes);\n layoutMethod.init(this.data);\n }\n if (this.layoutType === 'force') {\n layoutMethod.ticking = false;\n layoutMethod.forceSimulation.stop();\n }\n graph.emit('beforelayout');\n layoutMethod.execute(reloadData);\n if (this.layoutType !== 'force' && !layoutMethod.enableTick) {\n graph.emit('afterlayout');\n }\n this.refreshLayout();\n };\n // 控制布局动画\n // eslint-disable-next-line class-methods-use-this\n LayoutController.prototype.layoutAnimate = function () { };\n // 将当前节点的平均中心移动到原点\n LayoutController.prototype.moveToZero = function () {\n var graph = this.graph;\n var data = graph.get('data');\n var nodes = data.nodes;\n if (nodes[0].x === undefined || nodes[0].x === null || isNaN(nodes[0].x)) {\n return;\n }\n var meanCenter = [0, 0];\n var nodeLength = nodes.length;\n for (var i = 0; i < nodeLength; i++) {\n var node = nodes[i];\n meanCenter[0] += node.x;\n meanCenter[1] += node.y;\n }\n meanCenter[0] /= nodes.length;\n meanCenter[1] /= nodes.length;\n for (var i = 0; i < nodeLength; i++) {\n var node = nodes[i];\n node.x -= meanCenter[0];\n node.y -= meanCenter[1];\n }\n };\n // 初始化节点到 center 附近\n LayoutController.prototype.initPositions = function (center, nodes) {\n var graph = this.graph;\n if (!nodes) {\n return false;\n }\n var allHavePos = true;\n var width = graph.get('width') * 0.85;\n var height = graph.get('height') * 0.85;\n var nodeNum = nodes.length;\n var horiNum = Math.ceil(Math.sqrt(nodeNum) * (width / height));\n var vertiNum = Math.ceil(nodeNum / horiNum);\n var horiGap = width / (horiNum - 1);\n var vertiGap = height / (vertiNum - 1);\n if (!isFinite(horiGap) || !horiGap)\n horiGap = 0;\n if (!isFinite(vertiGap) || !horiGap)\n vertiGap = 0;\n var beginX = center[0] - width / 2;\n var beginY = center[1] - height / 2;\n var nodeLength = nodes.length;\n for (var i = 0; i < nodeLength; i++) {\n var node = nodes[i];\n if (isNaN(node.x)) {\n allHavePos = false;\n node.x = (i % horiNum) * horiGap + beginX;\n }\n if (isNaN(node.y)) {\n allHavePos = false;\n node.y = Math.floor(i / horiNum) * vertiGap + beginY;\n }\n }\n return allHavePos;\n };\n LayoutController.prototype.destroy = function () {\n var layoutMethod = this.layoutMethod;\n this.graph = null;\n if (layoutMethod) {\n layoutMethod.destroy();\n layoutMethod.destroyed = true;\n }\n this.destroyed = true;\n };\n return LayoutController;\n}());\nexport default LayoutController;\n" }, { "id": 33, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/event.ts", "name": "./src/graph/controller/event.ts", "index": 254, "index2": 253, "size": 248, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./graph/controller/event", "loc": "8:0-53" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony export imported specifier", "userRequest": "./graph/controller/event", "loc": "13:0-124" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./graph/controller/event", "loc": "30:19-32" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 1, "source": "var EventController = /** @class */ (function () {\n function EventController(graph) {\n this.graph = graph;\n this.destroyed = false;\n this.initEvents();\n }\n return EventController;\n}());\nexport default EventController;\n" }, { "id": 34, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts 6164264f7c89998f04f00d9e86baabef", "name": "./src/graph/graph.ts + 22 modules", "index": 110, "index2": 236, "size": 218279, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./graph/graph", "loc": "2:0-42" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony export imported specifier", "userRequest": "./graph/graph", "loc": "13:0-124" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./graph/graph", "loc": "21:19-32" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_algorithm@0.0.4@@antv/algorithm/dist/index.min.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_event-emitter@0.1.2@@antv/event-emitter/esm/index.js because of ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_tslib@2.0.3@tslib/tslib.es6.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/behavior/behavior.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/global.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/shape/shape.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/util/base.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/util/graphic.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/util/math.ts because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./src/util/path.ts because of ./src/index.ts" ], "depth": 1, "modules": [ { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "index": 110, "index2": 236, "size": 93824, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./graph/graph", "loc": "2:0-42" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony export imported specifier", "userRequest": "./graph/graph", "loc": "13:0-124" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./graph/graph", "loc": "21:19-32" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 1, "source": "import { __assign, __extends, __spreadArrays } from \"tslib\";\nimport EventEmitter from '@antv/event-emitter';\nimport { mat3 } from '@antv/matrix-util';\nimport { clone, deepMix, each, isPlainObject, isString } from '@antv/util';\nimport { getDegree, getAdjMatrix as getAdjacentMatrix, Stack, floydWarshall, } from '@antv/algorithm';\nimport { move } from '../util/math';\nimport Global from '../global';\nimport { ItemController, ModeController, StateController, ViewController } from './controller';\nimport { plainCombosToTrees, traverseTree, reconstructTree, traverseTreeUp } from '../util/graphic';\nimport Hull from '../item/hull';\nvar NODE = 'node';\nvar AbstractGraph = /** @class */ (function (_super) {\n __extends(AbstractGraph, _super);\n function AbstractGraph(cfg) {\n var _this = _super.call(this) || this;\n _this.cfg = deepMix(_this.getDefaultCfg(), cfg);\n _this.init();\n _this.animating = false;\n _this.destroyed = false;\n // 启用 stack 后,实例化 undoStack 和 redoStack\n if (_this.cfg.enabledStack) {\n // 实例化 undo 和 redo 栈\n _this.undoStack = new Stack(_this.cfg.maxStep);\n _this.redoStack = new Stack(_this.cfg.maxStep);\n }\n return _this;\n }\n AbstractGraph.prototype.init = function () {\n debugger;\n this.initCanvas();\n // instance controller\n var viewController = new ViewController(this);\n var modeController = new ModeController(this);\n var itemController = new ItemController(this);\n var stateController = new StateController(this);\n this.set({\n viewController: viewController,\n modeController: modeController,\n itemController: itemController,\n stateController: stateController,\n });\n // 初始化布局机制\n this.initLayoutController();\n // 初始化事件机制\n this.initEventController();\n this.initGroups();\n };\n // 初始化所有 Group\n AbstractGraph.prototype.initGroups = function () {\n var canvas = this.get('canvas');\n var el = this.get('canvas').get('el');\n var id = el.id;\n var group = canvas.addGroup({\n id: id + \"-root\",\n className: Global.rootContainerClassName,\n });\n if (this.get('groupByTypes')) {\n var edgeGroup = group.addGroup({\n id: id + \"-edge\",\n className: Global.edgeContainerClassName,\n });\n var nodeGroup = group.addGroup({\n id: id + \"-node\",\n className: Global.nodeContainerClassName,\n });\n var comboGroup = group.addGroup({\n id: id + \"-combo\",\n className: Global.comboContainerClassName,\n });\n // 用于存储自定义的群组\n comboGroup.toBack();\n this.set({ nodeGroup: nodeGroup, edgeGroup: edgeGroup, comboGroup: comboGroup });\n }\n var delegateGroup = group.addGroup({\n id: id + \"-delegate\",\n className: Global.delegateContainerClassName,\n });\n this.set({ delegateGroup: delegateGroup });\n this.set('group', group);\n };\n // eslint-disable-next-line class-methods-use-this\n AbstractGraph.prototype.getDefaultCfg = function () {\n return {\n /**\n * Container could be dom object or dom id\n */\n container: undefined,\n /**\n * Canvas width\n * unit pixel if undefined force fit width\n */\n width: undefined,\n /**\n * Canvas height\n * unit pixel if undefined force fit height\n */\n height: undefined,\n /**\n * renderer canvas or svg\n * @type {string}\n */\n renderer: 'canvas',\n /**\n * control graph behaviors\n */\n modes: {},\n /**\n * 注册插件\n */\n plugins: [],\n /**\n * source data\n */\n data: {},\n /**\n * Fit view padding (client scale)\n */\n fitViewPadding: 10,\n /**\n * Minimum scale size\n */\n minZoom: 0.2,\n /**\n * Maxmum scale size\n */\n maxZoom: 10,\n /**\n * capture events\n */\n event: true,\n /**\n * group node & edges into different graphic groups\n */\n groupByTypes: true,\n /**\n * determine if it's a directed graph\n */\n directed: false,\n /**\n * when data or shape changed, should canvas draw automatically\n */\n autoPaint: true,\n /**\n * store all the node instances\n */\n nodes: [],\n /**\n * store all the edge instances\n */\n edges: [],\n /**\n * store all the combo instances\n */\n combos: [],\n /**\n * store all the edge instances which are virtual edges related to collapsed combo\n */\n vedges: [],\n /**\n * all the instances indexed by id\n */\n itemMap: {},\n /**\n * 边直接连接到节点的中心,不再考虑锚点\n */\n linkCenter: false,\n /**\n * 默认的节点配置,data 上定义的配置会覆盖这些配置。例如:\n * defaultNode: {\n * type: 'rect',\n * size: [60, 40],\n * style: {\n * //... 样式配置项\n * }\n * }\n * 若数据项为 { id: 'node', x: 100, y: 100 }\n * 实际创建的节点模型是 { id: 'node', x: 100, y: 100, type: 'rect', size: [60, 40] }\n * 若数据项为 { id: 'node', x: 100, y: 100, type: 'circle' }\n * 实际创建的节点模型是 { id: 'node', x: 100, y: 100, type: 'circle', size: [60, 40] }\n */\n defaultNode: {},\n /**\n * 默认边配置,data 上定义的配置会覆盖这些配置。用法同 defaultNode\n */\n defaultEdge: {},\n /**\n * 节点默认样式,也可以添加状态样式\n * 例如:\n * const graph = new G6.Graph({\n * nodeStateStyles: {\n * selected: { fill: '#ccc', stroke: '#666' },\n * active: { lineWidth: 2 }\n * },\n * ...\n * });\n *\n */\n nodeStateStyles: {},\n /**\n * 边默认样式,用法同nodeStateStyle\n */\n edgeStateStyles: {},\n /**\n * graph 状态\n */\n states: {},\n /**\n * 是否启用全局动画\n */\n animate: false,\n /**\n * 动画设置,仅在 animate 为 true 时有效\n */\n animateCfg: {\n /**\n * 帧回调函数,用于自定义节点运动路径,为空时线性运动\n */\n onFrame: undefined,\n /**\n * 动画时长(ms)\n */\n duration: 500,\n /**\n * 指定动画动效\n */\n easing: 'easeLinear',\n },\n callback: undefined,\n // 默认不启用 undo & redo 功能\n enabledStack: false,\n // 只有当 enabledStack 为 true 时才起作用\n maxStep: 10,\n // 存储图上的 tooltip dom,方便销毁\n tooltips: [],\n };\n };\n /**\n * 将值设置到 this.cfg 变量上面\n * @param key 键 或 对象值\n * @param val 值\n */\n AbstractGraph.prototype.set = function (key, val) {\n if (isPlainObject(key)) {\n this.cfg = __assign(__assign({}, this.cfg), key);\n }\n else {\n this.cfg[key] = val;\n }\n return this;\n };\n /**\n * 获取 this.cfg 中的值\n * @param key 键\n */\n AbstractGraph.prototype.get = function (key) {\n return this.cfg[key];\n };\n /**\n * 获取 graph 的根图形分组\n * @return 根 group\n */\n AbstractGraph.prototype.getGroup = function () {\n return this.get('group');\n };\n /**\n * 获取 graph 的 DOM 容器\n * @return DOM 容器\n */\n AbstractGraph.prototype.getContainer = function () {\n return this.get('container');\n };\n /**\n * 获取 graph 的最小缩放比例\n * @return minZoom\n */\n AbstractGraph.prototype.getMinZoom = function () {\n return this.get('minZoom');\n };\n /**\n * 设置 graph 的最小缩放比例\n * @return minZoom\n */\n AbstractGraph.prototype.setMinZoom = function (ratio) {\n return this.set('minZoom', ratio);\n };\n /**\n * 获取 graph 的最大缩放比例\n * @param maxZoom\n */\n AbstractGraph.prototype.getMaxZoom = function () {\n return this.get('maxZoom');\n };\n /**\n * 设置 graph 的最大缩放比例\n * @param maxZoom\n */\n AbstractGraph.prototype.setMaxZoom = function (ratio) {\n return this.set('maxZoom', ratio);\n };\n /**\n * 获取 graph 的宽度\n * @return width\n */\n AbstractGraph.prototype.getWidth = function () {\n return this.get('width');\n };\n /**\n * 获取 graph 的高度\n * @return width\n */\n AbstractGraph.prototype.getHeight = function () {\n return this.get('height');\n };\n /**\n * 清理元素多个状态\n * @param {string|Item} item 元素id或元素实例\n * @param {string[]} states 状态\n */\n AbstractGraph.prototype.clearItemStates = function (item, states) {\n if (isString(item)) {\n item = this.findById(item);\n }\n var itemController = this.get('itemController');\n if (!states) {\n states = item.get('states');\n }\n itemController.clearItemStates(item, states);\n var stateController = this.get('stateController');\n stateController.updateStates(item, states, false);\n };\n /**\n * 设置各个节点样式,以及在各种状态下节点 keyShape 的样式。\n * 若是自定义节点切在各种状态下\n * graph.node(node => {\n * return {\n * type: 'rect',\n * label: node.id,\n * style: { fill: '#666' },\n * stateStyles: {\n * selected: { fill: 'blue' },\n * custom: { fill: 'green' }\n * }\n * }\n * });\n * @param {function} nodeFn 指定每个节点样式\n */\n AbstractGraph.prototype.node = function (nodeFn) {\n if (typeof nodeFn === 'function') {\n this.set('nodeMapper', nodeFn);\n }\n };\n /**\n * 设置各个边样式\n * @param {function} edgeFn 指定每个边的样式,用法同 node\n */\n AbstractGraph.prototype.edge = function (edgeFn) {\n if (typeof edgeFn === 'function') {\n this.set('edgeMapper', edgeFn);\n }\n };\n /**\n * 设置各个 combo 的配置\n * @param comboFn\n */\n AbstractGraph.prototype.combo = function (comboFn) {\n if (typeof comboFn === 'function') {\n this.set('comboMapper', comboFn);\n }\n };\n /**\n * 根据 ID 查询图元素实例\n * @param id 图元素 ID\n */\n AbstractGraph.prototype.findById = function (id) {\n return this.get('itemMap')[id];\n };\n /**\n * 根据对应规则查找单个元素\n * @param {ITEM_TYPE} type 元素类型(node | edge | group)\n * @param {(item: T, index: number) => T} fn 指定规则\n * @return {T} 元素实例\n */\n AbstractGraph.prototype.find = function (type, fn) {\n var result;\n var items = this.get(type + \"s\");\n // eslint-disable-next-line consistent-return\n each(items, function (item, i) {\n if (fn(item, i)) {\n result = item;\n return result;\n }\n });\n return result;\n };\n /**\n * 查找所有满足规则的元素\n * @param {string} type 元素类型(node|edge)\n * @param {string} fn 指定规则\n * @return {array} 元素实例\n */\n AbstractGraph.prototype.findAll = function (type, fn) {\n var result = [];\n each(this.get(type + \"s\"), function (item, i) {\n if (fn(item, i)) {\n result.push(item);\n }\n });\n return result;\n };\n /**\n * 查找所有处于指定状态的元素\n * @param {string} type 元素类型(node|edge)\n * @param {string} state 状态\n * @return {object} 元素实例\n */\n AbstractGraph.prototype.findAllByState = function (type, state) {\n return this.findAll(type, function (item) { return item.hasState(state); });\n };\n /**\n * 平移画布\n * @param dx 水平方向位移\n * @param dy 垂直方向位移\n */\n AbstractGraph.prototype.translate = function (dx, dy) {\n var group = this.get('group');\n var matrix = clone(group.getMatrix());\n if (!matrix) {\n matrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n mat3.translate(matrix, matrix, [dx, dy]);\n group.setMatrix(matrix);\n this.emit('viewportchange', { action: 'translate', matrix: group.getMatrix() });\n this.autoPaint();\n };\n /**\n * 平移画布到某点\n * @param {number} x 水平坐标\n * @param {number} y 垂直坐标\n */\n AbstractGraph.prototype.moveTo = function (x, y) {\n var group = this.get('group');\n move(group, { x: x, y: y });\n this.emit('viewportchange', { action: 'move', matrix: group.getMatrix() });\n };\n /**\n * 调整视口适应视图\n * @param {object} padding 四周围边距\n */\n AbstractGraph.prototype.fitView = function (padding) {\n if (padding) {\n this.set('fitViewPadding', padding);\n }\n var viewController = this.get('viewController');\n viewController.fitView();\n this.autoPaint();\n };\n /**\n * 调整视口适应视图,不缩放,仅将图 bbox 中心对齐到画布中心\n */\n AbstractGraph.prototype.fitCenter = function () {\n var viewController = this.get('viewController');\n viewController.fitCenter();\n this.autoPaint();\n };\n /**\n * 新增行为\n * @param {string | ModeOption | ModeType[]} behaviors 添加的行为\n * @param {string | string[]} modes 添加到对应的模式\n * @return {Graph} Graph\n */\n AbstractGraph.prototype.addBehaviors = function (behaviors, modes) {\n var modeController = this.get('modeController');\n modeController.manipulateBehaviors(behaviors, modes, true);\n return this;\n };\n /**\n * 移除行为\n * @param {string | ModeOption | ModeType[]} behaviors 移除的行为\n * @param {string | string[]} modes 从指定的模式中移除\n * @return {Graph} Graph\n */\n AbstractGraph.prototype.removeBehaviors = function (behaviors, modes) {\n var modeController = this.get('modeController');\n modeController.manipulateBehaviors(behaviors, modes, false);\n return this;\n };\n /**\n * 伸缩窗口\n * @param ratio 伸缩比例\n * @param center 以center的x, y坐标为中心缩放\n */\n AbstractGraph.prototype.zoom = function (ratio, center) {\n var group = this.get('group');\n var matrix = clone(group.getMatrix());\n var minZoom = this.get('minZoom');\n var maxZoom = this.get('maxZoom');\n if (!matrix) {\n matrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n if (center) {\n mat3.translate(matrix, matrix, [-center.x, -center.y]);\n mat3.scale(matrix, matrix, [ratio, ratio]);\n mat3.translate(matrix, matrix, [center.x, center.y]);\n }\n else {\n mat3.scale(matrix, matrix, [ratio, ratio]);\n }\n if ((minZoom && matrix[0] < minZoom) || (maxZoom && matrix[0] > maxZoom)) {\n return;\n }\n group.setMatrix(matrix);\n this.emit('viewportchange', { action: 'zoom', matrix: matrix });\n this.autoPaint();\n };\n /**\n * 伸缩视口到一固定比例\n * @param {number} toRatio 伸缩比例\n * @param {Point} center 以center的x, y坐标为中心缩放\n */\n AbstractGraph.prototype.zoomTo = function (toRatio, center) {\n var ratio = toRatio / this.getZoom();\n this.zoom(ratio, center);\n };\n /**\n * 将元素移动到视口中心\n * @param {Item} item 指定元素\n * @param {boolean} animate 是否带有动画地移动\n * @param {GraphAnimateConfig} animateCfg 若带有动画,动画的配置项\n */\n AbstractGraph.prototype.focusItem = function (item, animate, animateCfg) {\n var viewController = this.get('viewController');\n var isAnimate = false;\n if (animate)\n isAnimate = true;\n else if (animate === undefined)\n isAnimate = this.get('animate');\n var curAniamteCfg = {};\n if (animateCfg)\n curAniamteCfg = animateCfg;\n else if (animateCfg === undefined)\n curAniamteCfg = this.get('animateCfg');\n viewController.focus(item, isAnimate, curAniamteCfg);\n this.autoPaint();\n };\n /**\n * 自动重绘\n * @internal 仅供内部更新机制调用,外部根据需求调用 render 或 paint 接口\n */\n AbstractGraph.prototype.autoPaint = function () {\n if (this.get('autoPaint')) {\n this.paint();\n }\n };\n /**\n * 仅画布重新绘制\n */\n AbstractGraph.prototype.paint = function () {\n this.emit('beforepaint');\n this.get('canvas').draw();\n this.emit('afterpaint');\n };\n /**\n * 将屏幕坐标转换为视口坐标\n * @param {number} clientX 屏幕x坐标\n * @param {number} clientY 屏幕y坐标\n * @return {Point} 视口坐标\n */\n AbstractGraph.prototype.getPointByClient = function (clientX, clientY) {\n var viewController = this.get('viewController');\n return viewController.getPointByClient(clientX, clientY);\n };\n /**\n * 将视口坐标转换为屏幕坐标\n * @param {number} x 视口x坐标\n * @param {number} y 视口y坐标\n * @return {Point} 视口坐标\n */\n AbstractGraph.prototype.getClientByPoint = function (x, y) {\n var viewController = this.get('viewController');\n return viewController.getClientByPoint(x, y);\n };\n /**\n * 将画布坐标转换为视口坐标\n * @param {number} canvasX 画布 x 坐标\n * @param {number} canvasY 画布 y 坐标\n * @return {object} 视口坐标\n */\n AbstractGraph.prototype.getPointByCanvas = function (canvasX, canvasY) {\n var viewController = this.get('viewController');\n return viewController.getPointByCanvas(canvasX, canvasY);\n };\n /**\n * 将视口坐标转换为画布坐标\n * @param {number} x 视口 x 坐标\n * @param {number} y 视口 y 坐标\n * @return {object} 画布坐标\n */\n AbstractGraph.prototype.getCanvasByPoint = function (x, y) {\n var viewController = this.get('viewController');\n return viewController.getCanvasByPoint(x, y);\n };\n /**\n * 显示元素\n * @param {Item} item 指定元素\n * @param {boolean} stack 本次操作是否入栈,默认为 true\n */\n AbstractGraph.prototype.showItem = function (item, stack) {\n if (stack === void 0) { stack = true; }\n var itemController = this.get('itemController');\n var object = itemController.changeItemVisibility(item, true);\n if (stack && this.get('enabledStack')) {\n var id = object.getID();\n var type = object.getType();\n var before = {};\n var after = {};\n switch (type) {\n case 'node':\n before.nodes = [{ id: id, visible: false }];\n after.nodes = [{ id: id, visible: true }];\n break;\n case 'edge':\n before.nodes = [{ id: id, visible: false }];\n after.edges = [{ id: id, visible: true }];\n break;\n case 'combo':\n before.nodes = [{ id: id, visible: false }];\n after.combos = [{ id: id, visible: true }];\n break;\n default:\n break;\n }\n this.pushStack('visible', { before: before, after: after });\n }\n };\n /**\n * 隐藏元素\n * @param {Item} item 指定元素\n * @param {boolean} stack 本次操作是否入栈,默认为 true\n */\n AbstractGraph.prototype.hideItem = function (item, stack) {\n if (stack === void 0) { stack = true; }\n var itemController = this.get('itemController');\n var object = itemController.changeItemVisibility(item, false);\n if (stack && this.get('enabledStack')) {\n var id = object.getID();\n var type = object.getType();\n var before = {};\n var after = {};\n switch (type) {\n case 'node':\n before.nodes = [{ id: id, visible: true }];\n after.nodes = [{ id: id, visible: false }];\n break;\n case 'edge':\n before.nodes = [{ id: id, visible: true }];\n after.edges = [{ id: id, visible: false }];\n break;\n case 'combo':\n before.nodes = [{ id: id, visible: true }];\n after.combos = [{ id: id, visible: false }];\n break;\n default:\n break;\n }\n this.pushStack('visible', { before: before, after: after });\n }\n };\n /**\n * 刷新元素\n * @param {string|object} item 元素id或元素实例\n */\n AbstractGraph.prototype.refreshItem = function (item) {\n var itemController = this.get('itemController');\n itemController.refreshItem(item);\n };\n /**\n * 设置是否在更新/刷新后自动重绘\n * @param {boolean} auto 自动重绘\n */\n AbstractGraph.prototype.setAutoPaint = function (auto) {\n var self = this;\n self.set('autoPaint', auto);\n var canvas = self.get('canvas');\n canvas.set('autoDraw', auto);\n };\n /**\n * 删除元素\n * @param {Item} item 元素id或元素实例\n * @param {boolean} stack 本次操作是否入栈,默认为 true\n */\n AbstractGraph.prototype.remove = function (item, stack) {\n if (stack === void 0) { stack = true; }\n this.removeItem(item, stack);\n };\n /**\n * 删除元素\n * @param {Item} item 元素id或元素实例\n * @param {boolean} stack 本次操作是否入栈,默认为 true\n */\n AbstractGraph.prototype.removeItem = function (item, stack) {\n if (stack === void 0) { stack = true; }\n var nodeItem = item;\n if (isString(item))\n nodeItem = this.findById(item);\n if (!nodeItem && isString(item)) {\n console.warn('The item to be removed does not exist!');\n }\n else if (nodeItem) {\n var type = '';\n if (nodeItem.getType)\n type = nodeItem.getType();\n // 将删除的元素入栈\n if (stack && this.get('enabledStack')) {\n var deletedModel = __assign(__assign({}, nodeItem.getModel()), { itemType: type });\n var before = {};\n switch (type) {\n case 'node': {\n before.nodes = [deletedModel];\n before.edges = [];\n var edges = nodeItem.getEdges();\n for (var i = edges.length - 1; i >= 0; i--) {\n before.edges.push(__assign(__assign({}, edges[i].getModel()), { itemType: 'edge' }));\n }\n break;\n }\n case 'edge':\n before.edges = [deletedModel];\n break;\n case 'combo':\n before.combos = [deletedModel];\n break;\n default:\n break;\n }\n this.pushStack('delete', {\n before: before,\n after: {},\n });\n }\n if (type === 'node') {\n var model = item.getModel();\n // 如果删除的是节点,且该节点存在于某个 Combo 中,则需要先将 node 从 combo 中移除,否则删除节点后,操作 combo 会出错\n if (model.comboId) {\n this.updateComboTree(item);\n }\n }\n var itemController = this.get('itemController');\n itemController.removeItem(item);\n if (type === 'combo') {\n var newComboTrees = reconstructTree(this.get('comboTrees'));\n this.set('comboTrees', newComboTrees);\n }\n }\n };\n /**\n * 新增元素\n * @param {ITEM_TYPE} type 元素类型(node | edge)\n * @param {ModelConfig} model 元素数据模型\n * @param {boolean} stack 本次操作是否入栈,默认为 true\n * @param {boolean} sortCombo 本次操作是否需要更新 combo 层级顺序,内部参数,用户在外部使用 addItem 时始终时需要更新\n * @return {Item} 元素实例\n */\n AbstractGraph.prototype.addItem = function (type, model, stack, sortCombo) {\n if (stack === void 0) { stack = true; }\n if (sortCombo === void 0) { sortCombo = true; }\n var currentComboSorted = this.get('comboSorted');\n this.set('comboSorted', currentComboSorted && !sortCombo);\n var itemController = this.get('itemController');\n if (model.id && this.findById(model.id)) {\n console.warn(\"This item exists already. Be sure the id %c\" + model.id + \"%c is unique.\", 'font-size: 20px; color: red;', '');\n return;\n }\n var item;\n var comboTrees = this.get('comboTrees');\n if (!comboTrees)\n comboTrees = [];\n if (type === 'combo') {\n var itemMap_1 = this.get('itemMap');\n var foundParent_1 = false;\n comboTrees.forEach(function (ctree) {\n if (foundParent_1)\n return; // terminate the forEach after the tree containing the item is done\n traverseTreeUp(ctree, function (child) {\n // find the parent\n if (model.parentId === child.id) {\n foundParent_1 = true;\n var newCombo = __assign({ id: model.id, depth: child.depth + 2 }, model);\n if (child.children)\n child.children.push(newCombo);\n else\n child.children = [newCombo];\n model.depth = newCombo.depth;\n item = itemController.addItem(type, model);\n }\n var childItem = itemMap_1[child.id];\n // after the parent is found, update all the ancestors\n if (foundParent_1 && childItem && childItem.getType && childItem.getType() === 'combo') {\n itemController.updateCombo(childItem, child.children);\n }\n return true;\n });\n });\n // if the parent is not found, add it to the root\n if (!foundParent_1) {\n var newCombo = __assign({ id: model.id, depth: 0 }, model);\n model.depth = newCombo.depth;\n comboTrees.push(newCombo);\n item = itemController.addItem(type, model);\n }\n this.set('comboTrees', comboTrees);\n }\n else if (type === 'node' && isString(model.comboId) && comboTrees) {\n var parentCombo = this.findById(model.comboId);\n if (parentCombo && parentCombo.getType && parentCombo.getType() !== 'combo') {\n console.warn(\"'\" + model.comboId + \"' is a not id of a combo in the graph, the node will be added without combo.\");\n return;\n }\n item = itemController.addItem(type, model);\n var itemMap_2 = this.get('itemMap');\n var foundParent_2 = false, foundNode_1 = false;\n (comboTrees || []).forEach(function (ctree) {\n if (foundNode_1 || foundParent_2)\n return; // terminate the forEach\n traverseTreeUp(ctree, function (child) {\n if (child.id === model.id) {\n // if the item exists in the tree already, terminate\n foundNode_1 = true;\n return false;\n }\n if (model.comboId === child.id && !foundNode_1) {\n // found the parent, add the item to the children of its parent in the tree\n foundParent_2 = true;\n var cloneNode = clone(model);\n cloneNode.itemType = 'node';\n if (child.children)\n child.children.push(cloneNode);\n else\n child.children = [cloneNode];\n model.depth = child.depth + 1;\n }\n // update the size of all the ancestors\n if (foundParent_2 && itemMap_2[child.id].getType && itemMap_2[child.id].getType() === 'combo') {\n itemController.updateCombo(itemMap_2[child.id], child.children);\n }\n return true;\n });\n });\n }\n else {\n item = itemController.addItem(type, model);\n }\n if ((type === 'node' && model.comboId) || (type === 'combo' && model.parentId)) {\n // add the combo to the parent's children array\n var parentCombo = this.findById(model.comboId || model.parentId);\n if (parentCombo)\n parentCombo.addChild(item);\n }\n var combos = this.get('combos');\n if (combos && combos.length > 0) {\n this.sortCombos();\n }\n this.autoPaint();\n if (stack && this.get('enabledStack')) {\n var addedModel = __assign(__assign({}, item.getModel()), { itemType: type });\n var after = {};\n switch (type) {\n case 'node':\n after.nodes = [addedModel];\n break;\n case 'edge':\n after.edges = [addedModel];\n break;\n case 'combo':\n after.combos = [addedModel];\n break;\n default:\n break;\n }\n this.pushStack('add', {\n before: {},\n after: after,\n });\n }\n return item;\n };\n /**\n * 新增元素\n * @param {ITEM_TYPE} type 元素类型(node | edge)\n * @param {ModelConfig} model 元素数据模型\n * @param {boolean} stack 本次操作是否入栈,默认为 true\n * @return {Item} 元素实例\n */\n AbstractGraph.prototype.add = function (type, model, stack, sortCombo) {\n if (stack === void 0) { stack = true; }\n if (sortCombo === void 0) { sortCombo = true; }\n return this.addItem(type, model, stack, sortCombo);\n };\n /**\n * 更新元素\n * @param {Item} item 元素id或元素实例\n * @param {Partial | EdgeConfig} cfg 需要更新的数据\n */\n AbstractGraph.prototype.updateItem = function (item, cfg, stack) {\n var _this = this;\n if (stack === void 0) { stack = true; }\n var itemController = this.get('itemController');\n var currentItem;\n if (isString(item)) {\n currentItem = this.findById(item);\n }\n else {\n currentItem = item;\n }\n var UnupdateModel = clone(currentItem.getModel());\n var type = '';\n if (currentItem.getType)\n type = currentItem.getType();\n var states = __spreadArrays(currentItem.getStates());\n if (type === 'combo') {\n each(states, function (state) { return _this.setItemState(currentItem, state, false); });\n }\n itemController.updateItem(currentItem, cfg);\n if (type === 'combo') {\n each(states, function (state) { return _this.setItemState(currentItem, state, true); });\n }\n if (stack && this.get('enabledStack')) {\n var before = { nodes: [], edges: [], combos: [] };\n var after = { nodes: [], edges: [], combos: [] };\n var afterModel = __assign({ id: UnupdateModel.id }, cfg);\n switch (type) {\n case 'node':\n before.nodes.push(UnupdateModel);\n after.nodes.push(afterModel);\n break;\n case 'edge':\n before.edges.push(UnupdateModel);\n after.edges.push(afterModel);\n break;\n case 'combo':\n before.combos.push(UnupdateModel);\n after.combos.push(afterModel);\n break;\n default:\n break;\n }\n if (type === 'node') {\n before.nodes.push(UnupdateModel);\n }\n this.pushStack('update', { before: before, after: after });\n }\n };\n /**\n * 更新元素\n * @param {Item} item 元素id或元素实例\n * @param {Partial | EdgeConfig} cfg 需要更新的数据\n * @param {boolean} stack 本次操作是否入栈,默认为 true\n */\n AbstractGraph.prototype.update = function (item, cfg, stack) {\n if (stack === void 0) { stack = true; }\n this.updateItem(item, cfg, stack);\n };\n /**\n * 设置元素状态\n * @param {Item} item 元素id或元素实例\n * @param {string} state 状态名称\n * @param {string | boolean} value 是否启用状态 或 状态值\n */\n AbstractGraph.prototype.setItemState = function (item, state, value) {\n if (isString(item)) {\n item = this.findById(item);\n }\n var itemController = this.get('itemController');\n itemController.setItemState(item, state, value);\n var stateController = this.get('stateController');\n if (isString(value)) {\n stateController.updateState(item, state + \":\" + value, true);\n }\n else {\n stateController.updateState(item, state, value);\n }\n };\n /**\n * 将指定状态的优先级提升为最高优先级\n * @param {Item} item 元素id或元素实例\n * @param state 状态名称\n */\n AbstractGraph.prototype.priorityState = function (item, state) {\n var itemController = this.get('itemController');\n itemController.priorityState(item, state);\n };\n /**\n * 设置视图初始化数据\n * @param {GraphData} data 初始化数据\n */\n AbstractGraph.prototype.data = function (data) {\n this.set('data', data);\n };\n /**\n * 根据data接口的数据渲染视图\n */\n AbstractGraph.prototype.render = function () {\n var self = this;\n this.set('comboSorted', false);\n var data = this.get('data');\n if (this.get('enabledStack')) {\n // render 之前清空 redo 和 undo 栈\n this.clearStack();\n }\n if (!data) {\n throw new Error('data must be defined first');\n }\n var _a = data.nodes, nodes = _a === void 0 ? [] : _a, _b = data.edges, edges = _b === void 0 ? [] : _b, _c = data.combos, combos = _c === void 0 ? [] : _c;\n this.clear();\n this.emit('beforerender');\n each(nodes, function (node) {\n self.add('node', node, false, false);\n });\n // process the data to tree structure\n if (combos && combos.length !== 0) {\n var comboTrees = plainCombosToTrees(combos, nodes);\n this.set('comboTrees', comboTrees);\n // add combos\n self.addCombos(combos);\n }\n each(edges, function (edge) {\n self.add('edge', edge, false, false);\n });\n var animate = self.get('animate');\n if (self.get('fitView') || self.get('fitCenter')) {\n self.set('animate', false);\n }\n // layout\n var layoutController = self.get('layoutController');\n if (!layoutController.layout(success)) {\n success();\n }\n function success() {\n if (self.get('fitView')) {\n self.fitView();\n }\n else if (self.get('fitCenter')) {\n self.fitCenter();\n }\n self.autoPaint();\n self.emit('afterrender');\n if (self.get('fitView') || self.get('fitCenter')) {\n self.set('animate', animate);\n }\n }\n if (!this.get('groupByTypes')) {\n if (combos && combos.length !== 0) {\n this.sortCombos();\n }\n else {\n // 为提升性能,选择数量少的进行操作\n if (data.nodes && data.edges && data.nodes.length < data.edges.length) {\n var nodesArr = this.getNodes();\n // 遍历节点实例,将所有节点提前。\n nodesArr.forEach(function (node) {\n node.toFront();\n });\n }\n else {\n var edgesArr = this.getEdges();\n // 遍历节点实例,将所有节点提前。\n edgesArr.forEach(function (edge) {\n edge.toBack();\n });\n }\n }\n }\n if (this.get('enabledStack')) {\n this.pushStack('render');\n }\n };\n /**\n * 接收数据进行渲染\n * @Param {Object} data 初始化数据\n */\n AbstractGraph.prototype.read = function (data) {\n this.data(data);\n this.render();\n };\n // 比较item\n AbstractGraph.prototype.diffItems = function (type, items, models) {\n var self = this;\n var item;\n var itemMap = this.get('itemMap');\n each(models, function (model) {\n item = itemMap[model.id];\n if (item) {\n if (self.get('animate') && type === NODE) {\n var containerMatrix = item.getContainer().getMatrix();\n if (!containerMatrix)\n containerMatrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n item.set('originAttrs', {\n x: containerMatrix[6],\n y: containerMatrix[7],\n });\n }\n self.updateItem(item, model, false);\n }\n else {\n item = self.addItem(type, model, false);\n }\n items[type + \"s\"].push(item);\n });\n };\n /**\n * 更改源数据,根据新数据重新渲染视图\n * @param {GraphData | TreeGraphData} data 源数据\n * @param {boolean} 是否入栈,默认为true\n * @return {object} this\n */\n AbstractGraph.prototype.changeData = function (data, stack) {\n if (stack === void 0) { stack = true; }\n var self = this;\n if (!data) {\n return this;\n }\n if (stack && this.get('enabledStack')) {\n this.pushStack('changedata', {\n before: self.save(),\n after: data,\n });\n }\n this.set('comboSorted', false);\n // 更改数据源后,取消所有状态\n this.getNodes().map(function (node) { return self.clearItemStates(node); });\n this.getEdges().map(function (edge) { return self.clearItemStates(edge); });\n var canvas = this.get('canvas');\n var localRefresh = canvas.get('localRefresh');\n canvas.set('localRefresh', false);\n if (!self.get('data')) {\n self.data(data);\n self.render();\n }\n var itemMap = this.get('itemMap');\n var items = {\n nodes: [],\n edges: [],\n };\n var combosData = data.combos;\n if (combosData) {\n var comboTrees = plainCombosToTrees(combosData, data.nodes);\n this.set('comboTrees', comboTrees);\n }\n this.diffItems('node', items, data.nodes);\n each(itemMap, function (item, id) {\n itemMap[id].getModel().depth = 0;\n if (item.getType && item.getType() === 'edge')\n return;\n if (item.getType && item.getType() === 'combo') {\n delete itemMap[id];\n item.destroy();\n }\n else if (items.nodes.indexOf(item) < 0) {\n delete itemMap[id];\n self.remove(item, false);\n }\n });\n // clear the destroyed combos here to avoid removing sub nodes before removing the parent combo\n var comboItems = this.getCombos();\n var combosLength = comboItems.length;\n for (var i = combosLength - 1; i >= 0; i--) {\n if (comboItems[i].destroyed) {\n comboItems.splice(i, 1);\n }\n }\n // process the data to tree structure\n if (combosData) {\n // add combos\n self.addCombos(combosData);\n if (!this.get('groupByTypes')) {\n this.sortCombos();\n }\n }\n this.diffItems('edge', items, data.edges);\n each(itemMap, function (item, id) {\n if (item.getType && (item.getType() === 'node' || item.getType() === 'combo'))\n return;\n if (items.edges.indexOf(item) < 0) {\n delete itemMap[id];\n self.remove(item, false);\n }\n });\n this.set({ nodes: items.nodes, edges: items.edges });\n var layoutController = this.get('layoutController');\n layoutController.changeData();\n if (self.get('animate') && !layoutController.getLayoutType()) {\n // 如果没有指定布局\n self.positionsAnimate();\n }\n else {\n self.autoPaint();\n }\n setTimeout(function () {\n canvas.set('localRefresh', localRefresh);\n }, 16);\n return this;\n };\n /**\n * 私有方法,在 render 和 changeData 的时候批量添加数据中所有平铺的 combos\n * @param {ComboConfig[]} combos 平铺的 combos 数据\n */\n AbstractGraph.prototype.addCombos = function (combos) {\n var self = this;\n var comboTrees = self.get('comboTrees');\n var itemController = this.get('itemController');\n itemController.addCombos(comboTrees, combos);\n };\n /**\n * 根据已经存在的节点或 combo 创建新的 combo\n * @param combo combo ID 或 Combo 配置\n * @param children 添加到 Combo 中的元素,包括节点和 combo\n */\n AbstractGraph.prototype.createCombo = function (combo, children) {\n var _this = this;\n this.set('comboSorted', false);\n // step 1: 创建新的 Combo\n var comboId = '';\n var comboConfig;\n if (!combo)\n return;\n if (isString(combo)) {\n comboId = combo;\n comboConfig = {\n id: combo,\n };\n }\n else {\n comboId = combo.id;\n if (!comboId) {\n console.warn('Create combo failed. Please assign a unique string id for the adding combo.');\n return;\n }\n comboConfig = combo;\n }\n var trees = children.map(function (elementId) {\n var item = _this.findById(elementId);\n var type = '';\n if (item.getType)\n type = item.getType();\n var cItem = {\n id: item.getID(),\n itemType: type,\n };\n if (type === 'combo') {\n cItem.parentId = comboId;\n }\n else if (type === 'node') {\n cItem.comboId = comboId;\n }\n return cItem;\n });\n comboConfig.children = trees;\n // step 2: 添加 Combo,addItem 时会将子将元素添加到 Combo 中\n this.addItem('combo', comboConfig, false);\n this.set('comboSorted', false);\n // step3: 更新 comboTrees 结构\n var comboTrees = this.get('comboTrees');\n (comboTrees || []).forEach(function (ctree) {\n traverseTreeUp(ctree, function (child) {\n if (child.id === comboId) {\n child.itemType = 'combo';\n child.children = trees;\n return false;\n }\n return true;\n });\n });\n if (comboTrees) {\n this.sortCombos();\n }\n };\n /**\n * 解散 combo\n * @param {String | INode | ICombo} combo 需要被解散的 Combo item 或 id\n */\n AbstractGraph.prototype.uncombo = function (combo) {\n var _this = this;\n var self = this;\n var comboItem = combo;\n if (isString(combo)) {\n comboItem = this.findById(combo);\n }\n if (!comboItem || (comboItem.getType && comboItem.getType() !== 'combo')) {\n console.warn('The item is not a combo!');\n return;\n }\n var parentId = comboItem.getModel().parentId;\n var comboTrees = self.get('comboTrees');\n if (!comboTrees)\n comboTrees = [];\n var itemMap = this.get('itemMap');\n var comboId = comboItem.get('id');\n var treeToBeUncombo;\n var brothers = [];\n var comboItems = this.get('combos');\n var parentItem = this.findById(parentId);\n comboTrees.forEach(function (ctree) {\n if (treeToBeUncombo)\n return; // terminate the forEach\n traverseTreeUp(ctree, function (subtree) {\n // find the combo to be uncomboed, delete the combo from map and cache\n if (subtree.id === comboId) {\n treeToBeUncombo = subtree;\n // delete the related edges\n var edges = comboItem.getEdges();\n edges.forEach(function (edge) {\n _this.removeItem(edge, false);\n });\n var index = comboItems.indexOf(combo);\n comboItems.splice(index, 1);\n delete itemMap[comboId];\n comboItem.destroy();\n }\n // find the parent to remove the combo from the combo's brothers array and add the combo's children to the combo's brothers array in the tree\n if (parentId && treeToBeUncombo && subtree.id === parentId) {\n parentItem.removeCombo(comboItem);\n brothers = subtree.children; // the combo's brothers\n // remove the combo from its brothers array\n var index = brothers.indexOf(treeToBeUncombo);\n if (index !== -1) {\n brothers.splice(index, 1);\n }\n // append the combo's children to the combo's brothers array\n treeToBeUncombo.children.forEach(function (child) {\n var item = _this.findById(child.id);\n var childModel = item.getModel();\n if (item.getType && item.getType() === 'combo') {\n child.parentId = parentId;\n delete child.comboId;\n childModel.parentId = parentId; // update the parentId of the model\n delete childModel.comboId;\n }\n else if (item.getType && item.getType() === 'node') {\n child.comboId = parentId;\n childModel.comboId = parentId; // update the parentId of the model\n }\n parentItem.addChild(item);\n brothers.push(child);\n });\n return false;\n }\n return true;\n });\n });\n // if the parentId is not found, remove the combo from the roots\n if (!parentId && treeToBeUncombo) {\n var index = comboTrees.indexOf(treeToBeUncombo);\n comboTrees.splice(index, 1);\n // modify the parentId of the children\n treeToBeUncombo.children.forEach(function (child) {\n child.parentId = undefined;\n var childModel = _this.findById(child.id).getModel();\n childModel.parentId = undefined; // update the parentId of the model\n if (child.itemType !== 'node')\n comboTrees.push(child);\n });\n }\n };\n /**\n * 根据节点的 bbox 更新所有 combos 的绘制,包括 combos 的位置和范围\n */\n AbstractGraph.prototype.updateCombos = function () {\n var _this = this;\n var self = this;\n var comboTrees = this.get('comboTrees');\n var itemController = self.get('itemController');\n var itemMap = self.get('itemMap');\n (comboTrees || []).forEach(function (ctree) {\n traverseTreeUp(ctree, function (child) {\n if (!child) {\n return true;\n }\n var childItem = itemMap[child.id];\n if (childItem && childItem.getType && childItem.getType() === 'combo') {\n // 更新具体的 Combo 之前先清除所有的已有状态,以免将 state 中的样式更新为 Combo 的样式\n var states = __spreadArrays(childItem.getStates());\n each(states, function (state) { return _this.setItemState(childItem, state, false); });\n // 更新具体的 Combo\n itemController.updateCombo(childItem, child.children);\n // 更新 Combo 后,还原已有的状态\n each(states, function (state) { return _this.setItemState(childItem, state, true); });\n }\n return true;\n });\n });\n self.sortCombos();\n };\n /**\n * 根据节点的 bbox 更新 combo 及其祖先 combos 的绘制,包括 combos 的位置和范围\n * @param {String | ICombo} combo 需要被更新的 Combo 或 id,若指定,则该 Combo 及所有祖先 Combod 都会被更新\n */\n AbstractGraph.prototype.updateCombo = function (combo) {\n var _this = this;\n var self = this;\n var comboItem = combo;\n var comboId;\n if (isString(combo)) {\n comboItem = this.findById(combo);\n }\n if (!comboItem || (comboItem.getType && comboItem.getType() !== 'combo')) {\n console.warn('The item to be updated is not a combo!');\n return;\n }\n comboId = comboItem.get('id');\n var comboTrees = this.get('comboTrees');\n var itemController = self.get('itemController');\n var itemMap = self.get('itemMap');\n (comboTrees || []).forEach(function (ctree) {\n traverseTreeUp(ctree, function (child) {\n if (!child) {\n return true;\n }\n var childItem = itemMap[child.id];\n if (comboId === child.id &&\n childItem &&\n childItem.getType &&\n childItem.getType() === 'combo') {\n // 更新具体的 Combo 之前先清除所有的已有状态,以免将 state 中的样式更新为 Combo 的样式\n var states = __spreadArrays(childItem.getStates());\n // || !item.getStateStyle(stateName)\n each(states, function (state) {\n if (childItem.getStateStyle(state)) {\n _this.setItemState(childItem, state, false);\n }\n });\n // 更新具体的 Combo\n itemController.updateCombo(childItem, child.children);\n // 更新 Combo 后,还原已有的状态\n each(states, function (state) {\n if (childItem.getStateStyle(state)) {\n _this.setItemState(childItem, state, true);\n }\n });\n if (comboId)\n comboId = child.parentId;\n }\n return true;\n });\n });\n };\n /**\n * 更新树结构,例如移动子树等\n * @param {String | INode | ICombo} item 需要被更新的 Combo 或 节点 id\n * @param {string | undefined} parentId 新的父 combo id,undefined 代表没有父 combo\n */\n AbstractGraph.prototype.updateComboTree = function (item, parentId, stack) {\n if (stack === void 0) { stack = true; }\n var self = this;\n this.set('comboSorted', false);\n var uItem;\n if (isString(item)) {\n uItem = self.findById(item);\n }\n else {\n uItem = item;\n }\n var model = uItem.getModel();\n var oldParentId = model.comboId || model.parentId;\n var type = '';\n if (uItem.getType)\n type = uItem.getType();\n // 若 item 是 Combo,且 parentId 是其子孙 combo 的 id,则警告并终止\n if (parentId && type === 'combo') {\n var comboTrees = this.get('comboTrees');\n var valid_1 = true;\n var itemSubTree_1;\n (comboTrees || []).forEach(function (ctree) {\n if (itemSubTree_1)\n return;\n traverseTree(ctree, function (subTree) {\n if (itemSubTree_1)\n return;\n // 找到从 item 开始的子树\n if (subTree.id === uItem.getID()) {\n itemSubTree_1 = subTree;\n }\n return true;\n });\n });\n // 在以 item 为根的子树中寻找与 parentId 相同的后继元素\n traverseTree(itemSubTree_1, function (subTree) {\n if (subTree.id === parentId) {\n valid_1 = false;\n return false;\n }\n return true;\n });\n // parentId 是 item 的一个后继元素,不能进行更新\n if (!valid_1) {\n console.warn('Failed to update the combo tree! The parentId points to a descendant of the combo!');\n return;\n }\n }\n if (stack && this.get('enabledStack')) {\n var beforeData = {}, afterData = {};\n if (type === 'combo') {\n beforeData.combos = [\n {\n id: model.id,\n parentId: model.parentId,\n },\n ];\n afterData.combos = [\n {\n id: model.id,\n parentId: parentId,\n },\n ];\n }\n else if (type === 'node') {\n beforeData.nodes = [\n {\n id: model.id,\n parentId: model.comboId,\n },\n ];\n afterData.nodes = [\n {\n id: model.id,\n parentId: parentId,\n },\n ];\n }\n this.pushStack('updateComboTree', {\n before: beforeData,\n after: afterData,\n });\n }\n // 当 combo 存在 parentId 或 comboId 时,才将其移除\n if (model.parentId || model.comboId) {\n var combo = this.findById((model.parentId || model.comboId));\n if (combo) {\n combo.removeChild(uItem);\n }\n }\n if (type === 'combo') {\n model.parentId = parentId;\n }\n else if (type === 'node') {\n model.comboId = parentId;\n }\n // 只有当移入到指定 combo 时才添加\n if (parentId) {\n var parentCombo = this.findById(parentId);\n if (parentCombo) {\n // 将元素添加到 parentCombo 中\n parentCombo.addChild(uItem);\n }\n }\n // 如果原先有父亲 combo,则从原父 combo 的子元素数组中删除\n if (oldParentId) {\n var parentCombo = this.findById(oldParentId);\n if (parentCombo) {\n // 将元素从 parentCombo 中移除\n parentCombo.removeChild(uItem);\n }\n }\n var newComboTrees = reconstructTree(this.get('comboTrees'), model.id, parentId);\n this.set('comboTrees', newComboTrees);\n this.updateCombos();\n };\n /**\n * 导出图数据\n * @return {object} data\n */\n AbstractGraph.prototype.save = function () {\n var nodes = [];\n var edges = [];\n var combos = [];\n each(this.get('nodes'), function (node) {\n nodes.push(node.getModel());\n });\n each(this.get('edges'), function (edge) {\n edges.push(edge.getModel());\n });\n each(this.get('combos'), function (combo) {\n combos.push(combo.getModel());\n });\n return { nodes: nodes, edges: edges, combos: combos };\n };\n /**\n * 改变画布大小\n * @param {number} width 画布宽度\n * @param {number} height 画布高度\n * @return {object} this\n */\n AbstractGraph.prototype.changeSize = function (width, height) {\n var viewController = this.get('viewController');\n viewController.changeSize(width, height);\n return this;\n };\n /**\n * 当源数据在外部发生变更时,根据新数据刷新视图。但是不刷新节点位置\n */\n AbstractGraph.prototype.refresh = function () {\n var self = this;\n self.emit('beforegraphrefresh');\n if (self.get('animate')) {\n self.positionsAnimate();\n }\n else {\n var nodes = self.get('nodes');\n var edges = self.get('edges');\n var vedges = self.get('edges');\n each(nodes, function (node) {\n node.refresh();\n });\n each(edges, function (edge) {\n edge.refresh();\n });\n each(vedges, function (vedge) {\n vedge.refresh();\n });\n }\n self.emit('aftergraphrefresh');\n self.autoPaint();\n };\n /**\n * 获取当前图中所有节点的item实例\n * @return {INode} item数组\n */\n AbstractGraph.prototype.getNodes = function () {\n return this.get('nodes');\n };\n /**\n * 获取当前图中所有边的item实例\n * @return {IEdge} item数组\n */\n AbstractGraph.prototype.getEdges = function () {\n return this.get('edges');\n };\n /**\n * 获取图中所有的 combo 实例\n */\n AbstractGraph.prototype.getCombos = function () {\n return this.get('combos');\n };\n /**\n * 获取指定 Combo 中所有的节点\n * @param comboId combo ID\n */\n AbstractGraph.prototype.getComboChildren = function (combo) {\n if (isString(combo)) {\n combo = this.findById(combo);\n }\n if (!combo || (combo.getType && combo.getType() !== 'combo')) {\n console.warn('The combo does not exist!');\n return;\n }\n return combo.getChildren();\n };\n /**\n * 根据 graph 上的 animateCfg 进行视图中节点位置动画接口\n */\n AbstractGraph.prototype.positionsAnimate = function () {\n var self = this;\n self.emit('beforeanimate');\n var animateCfg = self.get('animateCfg');\n var onFrame = animateCfg.onFrame;\n var nodes = self.getNodes();\n var toNodes = nodes.map(function (node) {\n var model = node.getModel();\n return {\n id: model.id,\n x: model.x,\n y: model.y,\n };\n });\n if (self.isAnimating()) {\n self.stopAnimate();\n }\n var canvas = self.get('canvas');\n canvas.animate(function (ratio) {\n each(toNodes, function (data) {\n var node = self.findById(data.id);\n if (!node || node.destroyed) {\n return;\n }\n var originAttrs = node.get('originAttrs');\n var model = node.get('model');\n if (!originAttrs) {\n var containerMatrix = node.getContainer().getMatrix();\n if (!containerMatrix)\n containerMatrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n originAttrs = {\n x: containerMatrix[6],\n y: containerMatrix[7],\n };\n node.set('originAttrs', originAttrs);\n }\n if (onFrame) {\n var attrs = onFrame(node, ratio, data, originAttrs);\n node.set('model', Object.assign(model, attrs));\n }\n else {\n model.x = originAttrs.x + (data.x - originAttrs.x) * ratio;\n model.y = originAttrs.y + (data.y - originAttrs.y) * ratio;\n }\n });\n self.refreshPositions();\n }, {\n duration: animateCfg.duration,\n easing: animateCfg.easing,\n callback: function () {\n each(nodes, function (node) {\n node.set('originAttrs', null);\n });\n if (animateCfg.callback) {\n animateCfg.callback();\n }\n self.emit('afteranimate');\n self.animating = false;\n },\n });\n };\n /**\n * 当节点位置在外部发生改变时,刷新所有节点位置,重计算边\n */\n AbstractGraph.prototype.refreshPositions = function () {\n var self = this;\n self.emit('beforegraphrefreshposition');\n var nodes = self.get('nodes');\n var edges = self.get('edges');\n var vedges = self.get('vedges');\n var combos = self.get('combos');\n var model;\n var updatedNodes = {};\n each(nodes, function (node) {\n model = node.getModel();\n var originAttrs = node.get('originAttrs');\n if (originAttrs && model.x === originAttrs.x && model.y === originAttrs.y) {\n return;\n }\n node.updatePosition({ x: model.x, y: model.y });\n updatedNodes[model.id] = true;\n if (model.comboId)\n updatedNodes[model.comboId] = true;\n });\n if (combos && combos.length !== 0) {\n self.updateCombos();\n }\n each(edges, function (edge) {\n var sourceModel = edge.getSource().getModel();\n var targetModel = edge.getTarget().getModel();\n if (updatedNodes[sourceModel.id] ||\n updatedNodes[targetModel.id] ||\n edge.getModel().isComboEdge) {\n edge.refresh();\n }\n });\n each(vedges, function (vedge) {\n vedge.refresh();\n });\n self.emit('aftergraphrefreshposition');\n self.autoPaint();\n };\n AbstractGraph.prototype.stopAnimate = function () {\n this.get('canvas').stopAnimate();\n };\n AbstractGraph.prototype.isAnimating = function () {\n return this.animating;\n };\n /**\n * 获取当前视口伸缩比例\n * @return {number} 比例\n */\n AbstractGraph.prototype.getZoom = function () {\n var matrix = this.get('group').getMatrix();\n return matrix ? matrix[0] : 1;\n };\n /**\n * 获取当前的行为模式\n * @return {string} 当前行为模式\n */\n AbstractGraph.prototype.getCurrentMode = function () {\n var modeController = this.get('modeController');\n return modeController.getMode();\n };\n /**\n * 切换行为模式\n * @param {string} mode 指定模式\n * @return {object} this\n */\n AbstractGraph.prototype.setMode = function (mode) {\n var modeController = this.get('modeController');\n modeController.setMode(mode);\n return this;\n };\n /**\n * 清除画布元素\n * @return {object} this\n */\n AbstractGraph.prototype.clear = function () {\n var canvas = this.get('canvas');\n canvas.clear();\n this.initGroups();\n // 清空画布时同时清除数据\n this.set({ itemMap: {}, nodes: [], edges: [], groups: [], combos: [], comboTrees: [] });\n this.emit('afterrender');\n return this;\n };\n /**\n * 更换布局配置项\n * @param {object} cfg 新布局配置项\n * 若 cfg 含有 type 字段或为 String 类型,且与现有布局方法不同,则更换布局\n * 若 cfg 不包括 type ,则保持原有布局方法,仅更新布局配置项\n */\n AbstractGraph.prototype.updateLayout = function (cfg) {\n var layoutController = this.get('layoutController');\n var newLayoutType;\n if (isString(cfg)) {\n newLayoutType = cfg;\n cfg = {\n type: newLayoutType,\n };\n }\n else {\n newLayoutType = cfg.type;\n }\n var oriLayoutCfg = this.get('layout');\n var oriLayoutType = oriLayoutCfg ? oriLayoutCfg.type : undefined;\n if ((!newLayoutType || oriLayoutType === newLayoutType) &&\n (cfg.gpuEnabled === undefined || cfg.gpuEnabled === oriLayoutCfg.gpuEnabled)) {\n // no type or same type, or switch the gpu and cpu, update layout\n var layoutCfg = {};\n Object.assign(layoutCfg, oriLayoutCfg, cfg);\n layoutCfg.type = oriLayoutType || 'random';\n this.set('layout', layoutCfg);\n layoutController.updateLayoutCfg(layoutCfg);\n }\n else {\n if (!newLayoutType)\n newLayoutType = oriLayoutType;\n // has different type, change layout\n this.set('layout', cfg);\n layoutController.changeLayout(newLayoutType);\n }\n };\n /**\n * 重新以当前示例中配置的属性进行一次布局\n */\n AbstractGraph.prototype.layout = function () {\n var layoutController = this.get('layoutController');\n var layoutCfg = this.get('layout');\n if (!layoutCfg)\n return;\n if (layoutCfg.workerEnabled) {\n // 如果使用web worker布局\n layoutController.layout();\n return;\n }\n if (layoutController.layoutMethod) {\n layoutController.relayout(true);\n }\n else {\n layoutController.layout();\n }\n };\n /**\n * 收起指定的 combo\n * @param {string | ICombo} combo combo ID 或 combo item\n */\n AbstractGraph.prototype.collapseCombo = function (combo) {\n var _this = this;\n if (isString(combo)) {\n combo = this.findById(combo);\n }\n if (!combo) {\n console.warn('The combo to be collapsed does not exist!');\n return;\n }\n var comboModel = combo.getModel();\n var itemController = this.get('itemController');\n itemController.collapseCombo(combo);\n comboModel.collapsed = true;\n // add virtual edges\n var edges = this.getEdges().concat(this.get('vedges'));\n // find all the descendant nodes and combos\n var cnodes = [];\n var ccombos = [];\n var comboTrees = this.get('comboTrees');\n var found = false;\n var brothers = {};\n (comboTrees || []).forEach(function (ctree) {\n brothers[ctree.id] = ctree;\n });\n (comboTrees || []).forEach(function (ctree) {\n if (found)\n return; // if the combo is found, terminate the forEach\n traverseTree(ctree, function (subTree) {\n // if the combo is found and the it is traversing the other brothers, terminate\n if (found && brothers[subTree.id])\n return false;\n if (comboModel.parentId === subTree.id) {\n // if the parent is found, store the brothers\n brothers = {};\n subTree.children.forEach(function (child) {\n brothers[child.id] = child;\n });\n }\n else if (comboModel.id === subTree.id) {\n // if the combo is found\n found = true;\n }\n if (found) {\n // if the combo is found, concat the descendant nodes and combos\n var item = _this.findById(subTree.id);\n if (item && item.getType && item.getType() === 'combo') {\n cnodes = cnodes.concat(item.getNodes());\n ccombos = ccombos.concat(item.getCombos());\n }\n }\n return true;\n });\n });\n var edgeWeightMap = {};\n var addedVEdges = [];\n edges.forEach(function (edge) {\n if (edge.isVisible() && !edge.getModel().isVEdge)\n return;\n var source = edge.getSource();\n var target = edge.getTarget();\n if (((cnodes.includes(source) || ccombos.includes(source)) &&\n !cnodes.includes(target) &&\n !ccombos.includes(target)) ||\n source.getModel().id === comboModel.id) {\n var edgeModel = edge.getModel();\n if (edgeModel.isVEdge) {\n _this.removeItem(edge, false);\n return;\n }\n var targetModel = target.getModel();\n while (!target.isVisible()) {\n target = _this.findById(targetModel.parentId || targetModel.comboId);\n if (!target || (!targetModel.parentId && !targetModel.comboId))\n return; // all the ancestors are hidden, then ignore the edge\n targetModel = target.getModel();\n }\n var targetId = targetModel.id;\n if (edgeWeightMap[comboModel.id + \"-\" + targetId]) {\n edgeWeightMap[comboModel.id + \"-\" + targetId] += edgeModel.size || 1;\n return;\n }\n // the source is in the combo, the target is not\n var vedge = _this.addItem('vedge', {\n source: comboModel.id,\n target: targetId,\n isVEdge: true,\n }, false);\n edgeWeightMap[comboModel.id + \"-\" + targetId] = edgeModel.size || 1;\n addedVEdges.push(vedge);\n }\n else if ((!cnodes.includes(source) &&\n !ccombos.includes(source) &&\n (cnodes.includes(target) || ccombos.includes(target))) ||\n target.getModel().id === comboModel.id) {\n var edgeModel = edge.getModel();\n if (edgeModel.isVEdge) {\n _this.removeItem(edge, false);\n return;\n }\n var sourceModel = source.getModel();\n while (!source.isVisible()) {\n source = _this.findById(sourceModel.parentId || sourceModel.comboId);\n if (!source || (!sourceModel.parentId && !sourceModel.comboId))\n return; // all the ancestors are hidden, then ignore the edge\n sourceModel = source.getModel();\n }\n var sourceId = sourceModel.id;\n if (edgeWeightMap[sourceId + \"-\" + comboModel.id]) {\n edgeWeightMap[sourceId + \"-\" + comboModel.id] += edgeModel.size || 1;\n return;\n }\n // the target is in the combo, the source is not\n var vedge = _this.addItem('vedge', {\n target: comboModel.id,\n source: sourceId,\n isVEdge: true,\n }, false);\n edgeWeightMap[sourceId + \"-\" + comboModel.id] = edgeModel.size || 1;\n addedVEdges.push(vedge);\n }\n });\n // update the width of the virtual edges, which is the sum of merged actual edges\n // be attention that the actual edges with same endpoints but different directions will be represented by two different virtual edges\n addedVEdges.forEach(function (vedge) {\n var vedgeModel = vedge.getModel();\n _this.updateItem(vedge, {\n size: edgeWeightMap[vedgeModel.source + \"-\" + vedgeModel.target],\n }, false);\n });\n };\n /**\n * 展开指定的 combo\n * @param {string | ICombo} combo combo ID 或 combo item\n */\n AbstractGraph.prototype.expandCombo = function (combo) {\n var _this = this;\n if (isString(combo)) {\n combo = this.findById(combo);\n }\n if (!combo || (combo.getType && combo.getType() !== 'combo')) {\n console.warn('The combo to be collapsed does not exist!');\n return;\n }\n var comboModel = combo.getModel();\n var itemController = this.get('itemController');\n itemController.expandCombo(combo);\n comboModel.collapsed = false;\n // add virtual edges\n var edges = this.getEdges().concat(this.get('vedges'));\n // find all the descendant nodes and combos\n var cnodes = [];\n var ccombos = [];\n var comboTrees = this.get('comboTrees');\n var found = false;\n var brothers = {};\n (comboTrees || []).forEach(function (ctree) {\n brothers[ctree.id] = ctree;\n });\n (comboTrees || []).forEach(function (ctree) {\n if (found)\n return; // if the combo is found, terminate\n traverseTree(ctree, function (subTree) {\n if (found && brothers[subTree.id]) {\n return false;\n }\n if (comboModel.parentId === subTree.id) {\n brothers = {};\n subTree.children.forEach(function (child) {\n brothers[child.id] = child;\n });\n }\n else if (comboModel.id === subTree.id) {\n found = true;\n }\n if (found) {\n var item = _this.findById(subTree.id);\n if (item && item.getType && item.getType() === 'combo') {\n cnodes = cnodes.concat(item.getNodes());\n ccombos = ccombos.concat(item.getCombos());\n }\n }\n return true;\n });\n });\n var edgeWeightMap = {};\n var addedVEdges = {};\n edges.forEach(function (edge) {\n if (edge.isVisible() && !edge.getModel().isVEdge)\n return;\n var source = edge.getSource();\n var target = edge.getTarget();\n var sourceId = source.get('id');\n var targetId = target.get('id');\n if (((cnodes.includes(source) || ccombos.includes(source)) &&\n !cnodes.includes(target) &&\n !ccombos.includes(target)) ||\n sourceId === comboModel.id) {\n // the source is in the combo, the target is not\n // ignore the virtual edges\n if (edge.getModel().isVEdge) {\n _this.removeItem(edge, false);\n return;\n }\n var targetModel = target.getModel();\n // find the nearest visible ancestor\n while (!target.isVisible()) {\n target = _this.findById(targetModel.comboId || targetModel.parentId);\n if (!target || (!targetModel.parentId && !targetModel.comboId)) {\n return; // if all the ancestors of the oppsite are all hidden, ignore the edge\n }\n targetModel = target.getModel();\n }\n targetId = targetModel.id;\n var sourceModel = source.getModel();\n // find the nearest visible ancestor\n while (!source.isVisible()) {\n source = _this.findById(sourceModel.comboId || sourceModel.parentId);\n if (!source || (!sourceModel.parentId && !sourceModel.comboId)) {\n return; // if all the ancestors of the oppsite are all hidden, ignore the edge\n }\n if (sourceModel.comboId === comboModel.id || sourceModel.parentId === comboModel.id) {\n break; // if the next ancestor is the combo, break the while\n }\n sourceModel = source.getModel();\n }\n sourceId = sourceModel.id;\n if (targetId) {\n var vedgeId = sourceId + \"-\" + targetId;\n // update the width of the virtual edges, which is the sum of merged actual edges\n // be attention that the actual edges with same endpoints but different directions will be represented by two different virtual edges\n if (edgeWeightMap[vedgeId]) {\n edgeWeightMap[vedgeId] += edge.getModel().size || 1;\n _this.updateItem(addedVEdges[vedgeId], {\n size: edgeWeightMap[vedgeId],\n }, false);\n return;\n }\n var vedge = _this.addItem('vedge', {\n source: sourceId,\n target: targetId,\n isVEdge: true,\n }, false);\n edgeWeightMap[vedgeId] = edge.getModel().size || 1;\n addedVEdges[vedgeId] = vedge;\n }\n }\n else if ((!cnodes.includes(source) &&\n !ccombos.includes(source) &&\n (cnodes.includes(target) || ccombos.includes(target))) ||\n targetId === comboModel.id) {\n // the target is in the combo, the source is not\n // ignore the virtual edges\n if (edge.getModel().isVEdge) {\n _this.removeItem(edge, false);\n return;\n }\n var sourceModel = source.getModel();\n // find the nearest visible ancestor\n while (!source.isVisible()) {\n source = _this.findById(sourceModel.comboId || sourceModel.parentId);\n if (!source || (!sourceModel.parentId && !sourceModel.comboId)) {\n return; // if all the ancestors of the oppsite are all hidden, ignore the edge\n }\n sourceModel = source.getModel();\n }\n sourceId = sourceModel.id;\n var targetModel = target.getModel();\n // find the nearest visible ancestor\n while (!target.isVisible()) {\n target = _this.findById(targetModel.comboId || targetModel.parentId);\n if (!target || (!targetModel.parentId && !targetModel.comboId)) {\n return; // if all the ancestors of the oppsite are all hidden, ignore the edge\n }\n if (targetModel.comboId === comboModel.id || targetModel.parentId === comboModel.id) {\n break; // if the next ancestor is the combo, break the while\n }\n targetModel = target.getModel();\n }\n targetId = targetModel.id;\n if (sourceId) {\n var vedgeId = sourceId + \"-\" + targetId;\n // update the width of the virtual edges, which is the sum of merged actual edges\n // be attention that the actual edges with same endpoints but different directions will be represented by two different virtual edges\n if (edgeWeightMap[vedgeId]) {\n edgeWeightMap[vedgeId] += edge.getModel().size || 1;\n _this.updateItem(addedVEdges[vedgeId], {\n size: edgeWeightMap[vedgeId],\n }, false);\n return;\n }\n var vedge = _this.addItem('vedge', {\n target: targetId,\n source: sourceId,\n isVEdge: true,\n }, false);\n edgeWeightMap[vedgeId] = edge.getModel().size || 1;\n addedVEdges[vedgeId] = vedge;\n }\n }\n else if ((cnodes.includes(source) || ccombos.includes(source)) &&\n (cnodes.includes(target) || ccombos.includes(target))) {\n // both source and target are in the combo, if the target and source are both visible, show the edge\n if (source.isVisible() && target.isVisible()) {\n edge.show();\n }\n }\n });\n };\n AbstractGraph.prototype.collapseExpandCombo = function (combo) {\n if (isString(combo)) {\n combo = this.findById(combo);\n }\n if (combo.getType && combo.getType() !== 'combo')\n return;\n var comboModel = combo.getModel();\n // if one ancestor combo of the combo is collapsed, it should not be collapsed or expanded\n var parentItem = this.findById(comboModel.parentId);\n while (parentItem) {\n var parentModel = parentItem.getModel();\n if (parentModel.collapsed) {\n console.warn(\"Fail to expand the combo since it's ancestor combo is collapsed.\");\n parentItem = undefined;\n return;\n }\n parentItem = this.findById(parentModel.parentId);\n }\n var collapsed = comboModel.collapsed;\n // 该群组已经处于收起状态,需要展开\n if (collapsed) {\n this.expandCombo(combo);\n }\n else {\n this.collapseCombo(combo);\n }\n this.updateCombo(combo);\n };\n /**\n * 根据 comboTree 结构整理 Combo 相关的图形绘制层级,包括 Combo 本身、节点、边\n * @param {GraphData} data 数据\n */\n AbstractGraph.prototype.sortCombos = function () {\n var _this = this;\n var comboSorted = this.get('comboSorted');\n if (comboSorted)\n return;\n this.set('comboSorted', true);\n var depthMap = [];\n var dataDepthMap = {};\n var comboTrees = this.get('comboTrees');\n (comboTrees || []).forEach(function (cTree) {\n traverseTree(cTree, function (child) {\n if (depthMap[child.depth])\n depthMap[child.depth].push(child.id);\n else\n depthMap[child.depth] = [child.id];\n dataDepthMap[child.id] = child.depth;\n return true;\n });\n });\n var edges = this.getEdges().concat(this.get('vedges'));\n (edges || []).forEach(function (edgeItem) {\n var edge = edgeItem.getModel();\n var sourceDepth = dataDepthMap[edge.source] || 0;\n var targetDepth = dataDepthMap[edge.target] || 0;\n var depth = Math.max(sourceDepth, targetDepth);\n if (depthMap[depth])\n depthMap[depth].push(edge.id);\n else\n depthMap[depth] = [edge.id];\n });\n depthMap.forEach(function (array) {\n if (!array || !array.length)\n return;\n for (var i = array.length - 1; i >= 0; i--) {\n var item = _this.findById(array[i]);\n item && item.toFront();\n }\n });\n };\n /**\n * 获取节点所有的邻居节点\n *\n * @param {(string | INode)} node 节点 ID 或实例\n * @returns {INode[]}\n * @memberof IAbstractGraph\n */\n AbstractGraph.prototype.getNeighbors = function (node, type) {\n var item = node;\n if (isString(node)) {\n item = this.findById(node);\n }\n return item.getNeighbors(type);\n };\n /**\n * 获取 node 的度数\n *\n * @param {(string | INode)} node 节点 ID 或实例\n * @param {('in' | 'out' | 'total' | 'all' | undefined)} 度数类型,in 入度,out 出度,total 总度数,all 返回三种类型度数的对象\n * @returns {Number | Object} 该节点的度数\n * @memberof IAbstractGraph\n */\n AbstractGraph.prototype.getNodeDegree = function (node, type) {\n if (type === void 0) { type = undefined; }\n var item = node;\n if (isString(node)) {\n item = this.findById(node);\n }\n var degrees = this.get('degrees');\n if (!degrees) {\n degrees = getDegree(this.get('data'));\n }\n this.set('degees', degrees);\n var nodeDegrees = degrees[item.getID()];\n var res;\n switch (type) {\n case 'in':\n res = nodeDegrees.inDegree;\n break;\n case 'out':\n res = nodeDegrees.outDegree;\n break;\n case 'all':\n res = nodeDegrees;\n break;\n default:\n res = nodeDegrees.degree;\n break;\n }\n return res;\n };\n AbstractGraph.prototype.getUndoStack = function () {\n return this.undoStack;\n };\n AbstractGraph.prototype.getRedoStack = function () {\n return this.redoStack;\n };\n /**\n * 获取 undo 和 redo 栈的数据\n */\n AbstractGraph.prototype.getStackData = function () {\n if (!this.get('enabledStack')) {\n return null;\n }\n return {\n undoStack: this.undoStack.toArray(),\n redoStack: this.redoStack.toArray(),\n };\n };\n /**\n * 清空 undo stack & redo stack\n */\n AbstractGraph.prototype.clearStack = function () {\n if (this.get('enabledStack')) {\n this.undoStack.clear();\n this.redoStack.clear();\n }\n };\n /**\n * 将操作类型和操作数据入栈\n * @param action 操作类型\n * @param data 入栈的数据\n * @param stackType 栈的类型\n */\n AbstractGraph.prototype.pushStack = function (action, data, stackType) {\n if (action === void 0) { action = 'update'; }\n if (stackType === void 0) { stackType = 'undo'; }\n if (!this.get('enabledStack')) {\n console.warn('请先启用 undo & redo 功能,在实例化 Graph 时候配置 enabledStack: true !');\n return;\n }\n var stackData = data\n ? clone(data)\n : {\n before: {},\n after: clone(this.save()),\n };\n if (stackType === 'redo') {\n this.redoStack.push({\n action: action,\n data: stackData,\n });\n }\n else {\n this.undoStack.push({\n action: action,\n data: stackData,\n });\n }\n this.emit('stackchange', {\n undoStack: this.undoStack,\n redoStack: this.redoStack,\n });\n };\n /**\n * 获取邻接矩阵\n *\n * @param {boolean} cache 是否使用缓存的\n * @param {boolean} directed 是否是有向图,默认取 graph.directed\n * @returns {Matrix} 邻接矩阵\n * @memberof IAbstractGraph\n */\n AbstractGraph.prototype.getAdjMatrix = function (cache, directed) {\n if (cache === void 0) { cache = true; }\n if (directed === undefined)\n directed = this.get('directed');\n var currentAdjMatrix = this.get('adjMatrix');\n if (!currentAdjMatrix || !cache) {\n currentAdjMatrix = getAdjacentMatrix(this.save(), directed);\n this.set('adjMatrix', currentAdjMatrix);\n }\n return currentAdjMatrix;\n };\n /**\n * 获取最短路径矩阵\n *\n * @param {boolean} cache 是否使用缓存的\n * @param {boolean} directed 是否是有向图,默认取 graph.directed\n * @returns {Matrix} 最短路径矩阵\n * @memberof IAbstractGraph\n */\n AbstractGraph.prototype.getShortestPathMatrix = function (cache, directed) {\n if (cache === void 0) { cache = true; }\n if (directed === undefined)\n directed = this.get('directed');\n var currentAdjMatrix = this.get('adjMatrix');\n var currentShourtestPathMatrix = this.get('shortestPathMatrix');\n if (!currentAdjMatrix || !cache) {\n currentAdjMatrix = getAdjacentMatrix(this.save(), directed);\n this.set('adjMatrix', currentAdjMatrix);\n }\n if (!currentShourtestPathMatrix || !cache) {\n currentShourtestPathMatrix = floydWarshall(this.save(), directed);\n this.set('shortestPathMatrix', currentShourtestPathMatrix);\n }\n return currentShourtestPathMatrix;\n };\n /**\n * 重新定义监听函数,复写参数类型\n */\n AbstractGraph.prototype.on = function (eventName, callback, once) {\n return _super.prototype.on.call(this, eventName, callback, once);\n };\n /**\n * 销毁画布\n */\n AbstractGraph.prototype.destroy = function () {\n this.clear();\n // 清空栈数据\n this.clearStack();\n this.get('itemController').destroy();\n this.get('modeController').destroy();\n this.get('viewController').destroy();\n this.get('stateController').destroy();\n this.get('canvas').destroy();\n this.cfg = null;\n this.destroyed = true;\n this.redoStack = null;\n this.undoStack = null;\n };\n /**\n * 创建凸包或凹包轮廓\n * @param cfg HullCfg 轮廓配置项\n */\n AbstractGraph.prototype.createHull = function (cfg) {\n var parent = this.get('hullGroup');\n var hullMap = this.get('hullMap');\n if (!hullMap) {\n hullMap = {};\n this.set('hullMap', hullMap);\n }\n if (!parent) {\n parent = this.get('group').addGroup({\n id: 'hullGroup',\n });\n parent.toBack();\n this.set('hullGroup', parent);\n }\n if (hullMap[cfg.id]) {\n console.warn('Existed hull id.');\n return hullMap[cfg.id];\n }\n var group = parent.addGroup({\n id: cfg.id + \"-container\",\n });\n var hull = new Hull(this, __assign(__assign({}, cfg), { group: group }));\n var hullId = hull.id;\n hullMap[hullId] = hull;\n return hull;\n };\n /**\n * 获取当前 graph 中存在的包裹轮廓\n * @return {[key: string]: Hull} hullId 对应的 hull 实例\n */\n AbstractGraph.prototype.getHulls = function () {\n return this.get('hullMap');\n };\n /**\n * 根据 hullId 获取对应的 hull\n * @return Hull\n */\n AbstractGraph.prototype.getHullById = function (hullId) {\n return this.get('hullMap')[hullId];\n };\n AbstractGraph.prototype.removeHull = function (hull) {\n var hullInstance;\n if (isString(hull)) {\n hullInstance = this.getHullById(hull);\n }\n else {\n hullInstance = hull;\n }\n var hullMap = this.get('hullMap');\n delete hullMap[hullInstance.id];\n hullInstance.destroy();\n };\n return AbstractGraph;\n}(EventEmitter));\nexport default AbstractGraph;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "index": 124, "index2": 209, "size": 210, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "issuerId": null, "issuerName": "./src/graph/graph.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "module": "./src/graph/graph.ts", "moduleName": "./src/graph/graph.ts", "type": "harmony side effect evaluation", "userRequest": "./controller", "loc": "8:0-95" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "module": "./src/graph/graph.ts", "moduleName": "./src/graph/graph.ts", "type": "harmony import specifier", "userRequest": "./controller", "loc": "32:33-47" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "module": "./src/graph/graph.ts", "moduleName": "./src/graph/graph.ts", "type": "harmony import specifier", "userRequest": "./controller", "loc": "33:33-47" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "module": "./src/graph/graph.ts", "moduleName": "./src/graph/graph.ts", "type": "harmony import specifier", "userRequest": "./controller", "loc": "34:33-47" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "module": "./src/graph/graph.ts", "moduleName": "./src/graph/graph.ts", "type": "harmony import specifier", "userRequest": "./controller", "loc": "35:34-49" } ], "usedExports": ["ViewController", "ModeController", "ItemController", "StateController"], "providedExports": [ "ModeController", "ViewController", "ItemController", "StateController" ], "optimizationBailout": [], "depth": 2, "source": "export { default as ModeController } from './mode';\nexport { default as ViewController } from './view';\nexport { default as ItemController } from './item';\nexport { default as StateController } from './state';\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/hull.ts", "name": "./src/item/hull.ts", "index": 212, "index2": 235, "size": 8796, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "issuerId": null, "issuerName": "./src/graph/graph.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "module": "./src/graph/graph.ts", "moduleName": "./src/graph/graph.ts", "type": "harmony side effect evaluation", "userRequest": "../item/hull", "loc": "10:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "module": "./src/graph/graph.ts", "moduleName": "./src/graph/graph.ts", "type": "harmony import specifier", "userRequest": "../item/hull", "loc": "2451:23-27" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 2, "source": "import { __assign } from \"tslib\";\nimport { deepMix, isString } from '@antv/util';\nimport { parsePathString } from '@antv/path-util';\nimport { pathToPoints, getClosedSpline, roundedHull, paddedHull } from '../util/path';\nimport { isPolygonsIntersect } from '../util/math';\nimport { genConvexHull } from '../shape/hull/convexHull';\nimport { genBubbleSet } from '../shape/hull/bubbleset';\n/**\n * 用于包裹内部的成员的轮廓。\n * convex hull(凸包):http://geomalgorithms.com/a10-_hull-1.html#Monotone%20Chain\n * bubble: 使用 bubbleset算法,refer: http://vialab.science.uoit.ca/wp-content/papercite-data/pdf/col2009c.pdf\n * 通过配置 padding 可以调节包裹轮廓对节点的松紧程度\n */\nvar Hull = /** @class */ (function () {\n function Hull(graph, cfg) {\n this.cfg = deepMix(this.getDefaultCfg(), cfg);\n this.graph = graph;\n this.id = this.cfg.id;\n this.group = this.cfg.group;\n this.members = this.cfg.members.map(function (item) { return (isString(item) ? graph.findById(item) : item); });\n this.nonMembers = this.cfg.nonMembers.map(function (item) {\n return isString(item) ? graph.findById(item) : item;\n });\n this.setPadding();\n this.setType();\n this.path = this.calcPath(this.members, this.nonMembers);\n this.render();\n }\n Hull.prototype.getDefaultCfg = function () {\n return {\n id: 'g6-hull',\n type: 'round-convex',\n members: [],\n nonMembers: [],\n style: {\n fill: 'lightblue',\n stroke: 'blue',\n opacity: 0.2,\n },\n padding: 10,\n };\n };\n Hull.prototype.setPadding = function () {\n var nodeSize = this.members.length && this.members[0].getKeyShape().getCanvasBBox().width / 2;\n this.padding = this.cfg.padding > 0 ? this.cfg.padding + nodeSize : 10 + nodeSize;\n this.cfg.bubbleCfg = {\n nodeR0: this.padding - nodeSize,\n nodeR1: this.padding - nodeSize,\n morphBuffer: this.padding - nodeSize,\n };\n };\n Hull.prototype.setType = function () {\n this.type = this.cfg.type;\n if (this.members.length < 3) {\n this.type = 'round-convex';\n }\n if (this.type !== 'round-convex' && this.type !== 'smooth-convex' && this.type !== 'bubble') {\n console.warn('The hull type should be either round-convex, smooth-convex or bubble, round-convex is used by default.');\n this.type = 'round-convex';\n }\n };\n Hull.prototype.calcPath = function (members, nonMembers) {\n var contour, path, hull;\n switch (this.type) {\n case 'round-convex':\n contour = genConvexHull(members);\n hull = roundedHull(contour.map(function (p) { return [p.x, p.y]; }), this.padding);\n path = parsePathString(hull);\n break;\n case 'smooth-convex':\n contour = genConvexHull(members);\n hull = paddedHull(contour.map(function (p) { return [p.x, p.y]; }), this.padding);\n path = contour.length >= 2 && getClosedSpline(hull);\n break;\n case 'bubble':\n contour = genBubbleSet(members, nonMembers, this.cfg.bubbleCfg);\n path = contour.length >= 2 && getClosedSpline(contour);\n break;\n default:\n }\n return path;\n };\n Hull.prototype.render = function () {\n this.group.addShape('path', {\n attrs: __assign({ path: this.path }, this.cfg.style),\n id: this.id,\n name: this.cfg.id,\n });\n this.group.toBack();\n };\n /**\n * 增加hull的成员,同时如果该成员原先在nonMembers中,则从nonMembers中去掉\n * @param item 节点实例\n * @return boolean 添加成功返回 true,否则返回 false\n */\n Hull.prototype.addMember = function (item) {\n if (!item)\n return;\n if (isString(item))\n item = this.graph.findById(item);\n this.members.push(item);\n var index = this.nonMembers.indexOf(item);\n if (index > -1) {\n this.nonMembers.splice(index, 1);\n }\n this.updateData(this.members, this.nonMembers);\n return true;\n };\n /**\n * 增加hull需要排除的节点,同时如果该成员原先在members中,则从members中去掉\n * @param item 节点实例\n * @return boolean 添加成功返回 true,否则返回 false\n */\n Hull.prototype.addNonMember = function (item) {\n if (!item)\n return;\n if (isString(item))\n item = this.graph.findById(item);\n this.nonMembers.push(item);\n var index = this.members.indexOf(item);\n if (index > -1) {\n this.members.splice(index, 1);\n }\n this.updateData(this.members, this.nonMembers);\n return true;\n };\n /**\n * 移除hull中的成员\n * @param node 节点实例\n * @return boolean 移除成功返回 true,否则返回 false\n */\n Hull.prototype.removeMember = function (item) {\n if (!item)\n return;\n if (isString(item))\n item = this.graph.findById(item);\n var index = this.members.indexOf(item);\n if (index > -1) {\n this.members.splice(index, 1);\n this.updateData(this.members, this.nonMembers);\n return true;\n }\n return false;\n };\n /**\n * @param node 节点实例\n * @return boolean 移除成功返回 true,否则返回 false\n */\n Hull.prototype.removeNonMember = function (item) {\n if (!item)\n return;\n if (isString(item))\n item = this.graph.findById(item);\n var index = this.nonMembers.indexOf(item);\n if (index > -1) {\n this.nonMembers.splice(index, 1);\n this.updateData(this.members, this.nonMembers);\n return true;\n }\n return false;\n };\n Hull.prototype.updateData = function (members, nonMembers) {\n var _this = this;\n this.group.findById(this.id).remove();\n if (members)\n this.members = members.map(function (item) {\n return isString(item) ? _this.graph.findById(item) : item;\n });\n if (nonMembers)\n this.nonMembers = nonMembers.map(function (item) {\n return isString(item) ? _this.graph.findById(item) : item;\n });\n this.path = this.calcPath(this.members, this.nonMembers);\n this.render();\n };\n Hull.prototype.updateStyle = function (cfg) {\n var path = this.group.findById(this.id);\n path.attr(__assign({}, cfg));\n };\n Hull.prototype.updateCfg = function (cfg) {\n var _this = this;\n this.cfg = deepMix(this.cfg, cfg);\n this.id = this.cfg.id;\n this.group = this.cfg.group;\n if (cfg.members) {\n this.members = this.cfg.members.map(function (item) {\n return isString(item) ? _this.graph.findById(item) : item;\n });\n }\n if (cfg.nonMembers) {\n this.nonMembers = this.cfg.nonMembers.map(function (item) {\n return isString(item) ? _this.graph.findById(item) : item;\n });\n }\n this.setPadding();\n this.setType();\n this.path = this.calcPath(this.members, this.nonMembers);\n this.render();\n };\n /**\n * 判断是否在hull内部\n * @param item\n */\n Hull.prototype.contain = function (item) {\n var _this = this;\n var nodeItem;\n if (isString(item)) {\n nodeItem = this.graph.findById(item);\n }\n else {\n nodeItem = item;\n }\n var shapePoints;\n var shape = nodeItem.getKeyShape();\n if (nodeItem.get('type') === 'path') {\n shapePoints = pathToPoints(shape.attr('path'));\n }\n else {\n var shapeBBox = shape.getCanvasBBox();\n shapePoints = [\n [shapeBBox.minX, shapeBBox.minY],\n [shapeBBox.maxX, shapeBBox.minY],\n [shapeBBox.maxX, shapeBBox.maxY],\n [shapeBBox.minX, shapeBBox.maxY],\n ];\n }\n shapePoints = shapePoints.map(function (canvasPoint) {\n var point = _this.graph.getPointByCanvas(canvasPoint[0], canvasPoint[1]);\n return [point.x, point.y];\n });\n return isPolygonsIntersect(shapePoints, pathToPoints(this.path));\n };\n Hull.prototype.destroy = function () {\n this.group.remove();\n this.cfg = null;\n };\n return Hull;\n}());\nexport default Hull;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/mode.ts", "name": "./src/graph/controller/mode.ts", "index": 125, "index2": 122, "size": 4939, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "issuerId": null, "issuerName": "./src/graph/controller/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } } ], "profile": { "factory": 281, "building": 793, "dependencies": 404 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "module": "./src/graph/controller/index.ts", "moduleName": "./src/graph/controller/index.ts", "type": "harmony side effect evaluation", "userRequest": "./mode", "loc": "1:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "module": "./src/graph/controller/index.ts", "moduleName": "./src/graph/controller/index.ts", "type": "harmony export imported specifier", "userRequest": "./mode", "loc": "1:0-51" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import { each, isArray, isString } from '@antv/util';\nimport Behavior from '../../behavior/behavior';\nvar ModeController = /** @class */ (function () {\n function ModeController(graph) {\n this.graph = graph;\n this.destroyed = false;\n this.modes = graph.get('modes') || {\n default: [],\n };\n this.formatModes();\n this.mode = graph.get('defaultMode') || 'default';\n this.currentBehaves = [];\n debugger;\n this.setMode(this.mode);\n }\n ModeController.prototype.formatModes = function () {\n var modes = this.modes;\n each(modes, function (mode) {\n each(mode, function (behavior, i) {\n if (isString(behavior)) {\n mode[i] = { type: behavior };\n }\n });\n });\n };\n ModeController.prototype.setBehaviors = function (mode) {\n var graph = this.graph;\n var behaviors = this.modes[mode];\n var behaves = [];\n var behave;\n each(behaviors || [], function (behavior) {\n var BehaviorInstance = Behavior.getBehavior(behavior.type);\n if (!BehaviorInstance) {\n return;\n }\n behave = new BehaviorInstance(behavior);\n if (behave) {\n behave.bind(graph);\n behaves.push(behave);\n }\n });\n this.currentBehaves = behaves;\n };\n ModeController.mergeBehaviors = function (modeBehaviors, behaviors) {\n each(behaviors, function (behavior) {\n if (modeBehaviors.indexOf(behavior) < 0) {\n if (isString(behavior)) {\n behavior = { type: behavior };\n }\n modeBehaviors.push(behavior);\n }\n });\n return modeBehaviors;\n };\n ModeController.filterBehaviors = function (modeBehaviors, behaviors) {\n var result = [];\n modeBehaviors.forEach(function (behavior) {\n var type = '';\n if (isString(behavior)) {\n type = behavior;\n }\n else {\n // eslint-disable-next-line prefer-destructuring\n type = behavior.type;\n }\n if (behaviors.indexOf(type) < 0) {\n result.push(behavior);\n }\n });\n return result;\n };\n ModeController.prototype.setMode = function (mode) {\n var _a = this, modes = _a.modes, graph = _a.graph;\n var current = mode;\n var behaviors = modes[current];\n if (!behaviors) {\n return;\n }\n graph.emit('beforemodechange', { mode: mode });\n each(this.currentBehaves, function (behave) {\n behave.unbind(graph);\n });\n this.setBehaviors(current);\n graph.emit('aftermodechange', { mode: mode });\n this.mode = mode;\n };\n ModeController.prototype.getMode = function () {\n return this.mode;\n };\n /**\n * 动态增加或删除 Behavior\n *\n * @param {ModeType[]} behaviors\n * @param {(ModeType[] | ModeType)} modes\n * @param {boolean} isAdd\n * @returns {Mode}\n * @memberof Mode\n */\n ModeController.prototype.manipulateBehaviors = function (behaviors, modes, isAdd) {\n var _this = this;\n var behaves;\n if (!isArray(behaviors)) {\n behaves = [behaviors];\n }\n else {\n behaves = behaviors;\n }\n if (isArray(modes)) {\n each(modes, function (mode) {\n if (!_this.modes[mode]) {\n if (isAdd) {\n _this.modes[mode] = behaves;\n }\n }\n else if (isAdd) {\n _this.modes[mode] = ModeController.mergeBehaviors(_this.modes[mode] || [], behaves);\n }\n else {\n _this.modes[mode] = ModeController.filterBehaviors(_this.modes[mode] || [], behaves);\n }\n });\n return this;\n }\n var currentMode = modes;\n if (!modes) {\n currentMode = this.mode; // isString(this.mode) ? this.mode : this.mode.type\n }\n if (!this.modes[currentMode]) {\n if (isAdd) {\n this.modes[currentMode] = behaves;\n }\n }\n if (isAdd) {\n this.modes[currentMode] = ModeController.mergeBehaviors(this.modes[currentMode] || [], behaves);\n }\n else {\n this.modes[currentMode] = ModeController.filterBehaviors(this.modes[currentMode] || [], behaves);\n }\n this.setMode(this.mode);\n return this;\n };\n ModeController.prototype.destroy = function () {\n this.graph = null;\n this.modes = null;\n this.currentBehaves = null;\n this.destroyed = true;\n };\n return ModeController;\n}());\nexport default ModeController;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "index": 126, "index2": 198, "size": 7699, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "issuerId": null, "issuerName": "./src/graph/controller/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } } ], "profile": { "factory": 281, "building": 793, "dependencies": 404 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "module": "./src/graph/controller/index.ts", "moduleName": "./src/graph/controller/index.ts", "type": "harmony side effect evaluation", "userRequest": "./view", "loc": "2:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "module": "./src/graph/controller/index.ts", "moduleName": "./src/graph/controller/index.ts", "type": "harmony export imported specifier", "userRequest": "./view", "loc": "2:0-51" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import { __assign } from \"tslib\";\nimport { isNumber, isString } from '@antv/util';\nimport { modifyCSS } from '@antv/dom-util';\nimport { formatPadding } from '../../util/base';\nimport { applyMatrix, invertMatrix } from '../../util/math';\nvar ViewController = /** @class */ (function () {\n function ViewController(graph) {\n this.destroyed = false;\n this.graph = graph;\n this.destroyed = false;\n }\n // get view center coordinate\n ViewController.prototype.getViewCenter = function () {\n var padding = this.getFormatPadding();\n var graph = this.graph;\n var width = this.graph.get('width');\n var height = graph.get('height');\n return {\n x: (width - padding[1] - padding[3]) / 2 + padding[3],\n y: (height - padding[0] - padding[2]) / 2 + padding[0],\n };\n };\n ViewController.prototype.fitCenter = function () {\n var graph = this.graph;\n var group = graph.get('group');\n group.resetMatrix();\n var bbox = group.getCanvasBBox();\n if (bbox.width === 0 || bbox.height === 0)\n return;\n var viewCenter = this.getViewCenter();\n var groupCenter = {\n x: bbox.x + bbox.width / 2,\n y: bbox.y + bbox.height / 2,\n };\n graph.translate(viewCenter.x - groupCenter.x, viewCenter.y - groupCenter.y);\n };\n // fit view graph\n ViewController.prototype.fitView = function () {\n var graph = this.graph;\n var padding = this.getFormatPadding();\n var width = graph.get('width');\n var height = graph.get('height');\n var group = graph.get('group');\n group.resetMatrix();\n var bbox = group.getCanvasBBox();\n if (bbox.width === 0 || bbox.height === 0)\n return;\n var viewCenter = this.getViewCenter();\n var groupCenter = {\n x: bbox.x + bbox.width / 2,\n y: bbox.y + bbox.height / 2,\n };\n graph.translate(viewCenter.x - groupCenter.x, viewCenter.y - groupCenter.y);\n var w = (width - padding[1] - padding[3]) / bbox.width;\n var h = (height - padding[0] - padding[2]) / bbox.height;\n var ratio = w;\n if (w > h) {\n ratio = h;\n }\n graph.zoom(ratio, viewCenter);\n };\n ViewController.prototype.getFormatPadding = function () {\n var padding = this.graph.get('fitViewPadding');\n return formatPadding(padding);\n };\n ViewController.prototype.focusPoint = function (point, animate, animateCfg) {\n var _this = this;\n var viewCenter = this.getViewCenter();\n var modelCenter = this.getPointByCanvas(viewCenter.x, viewCenter.y);\n var viewportMatrix = this.graph.get('group').getMatrix();\n if (!viewportMatrix)\n viewportMatrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n if (animate) {\n var dx_1 = (modelCenter.x - point.x) * viewportMatrix[0];\n var dy_1 = (modelCenter.y - point.y) * viewportMatrix[4];\n var lastX_1 = 0;\n var lastY_1 = 0;\n var newX_1 = 0;\n var newY_1 = 0;\n // 动画每次平移一点,直到目标位置\n this.graph.get('canvas').animate(function (ratio) {\n newX_1 = dx_1 * ratio;\n newY_1 = dy_1 * ratio;\n _this.graph.translate(newX_1 - lastX_1, newY_1 - lastY_1);\n lastX_1 = newX_1;\n lastY_1 = newY_1;\n }, __assign({}, animateCfg));\n }\n else {\n this.graph.translate((modelCenter.x - point.x) * viewportMatrix[0], (modelCenter.y - point.y) * viewportMatrix[4]);\n }\n };\n /**\n * 将 Canvas 坐标转成视口坐标\n * @param canvasX canvas x 坐标\n * @param canvasY canvas y 坐标\n */\n ViewController.prototype.getPointByCanvas = function (canvasX, canvasY) {\n var viewportMatrix = this.graph.get('group').getMatrix();\n if (!viewportMatrix) {\n viewportMatrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n var point = invertMatrix({ x: canvasX, y: canvasY }, viewportMatrix);\n return point;\n };\n /**\n * 将页面坐标转成视口坐标\n * @param clientX 页面 x 坐标\n * @param clientY 页面 y 坐标\n */\n ViewController.prototype.getPointByClient = function (clientX, clientY) {\n var canvas = this.graph.get('canvas');\n var canvasPoint = canvas.getPointByClient(clientX, clientY);\n return this.getPointByCanvas(canvasPoint.x, canvasPoint.y);\n };\n /**\n * 将视口坐标转成页面坐标\n * @param x 视口 x 坐标\n * @param y 视口 y 坐标\n */\n ViewController.prototype.getClientByPoint = function (x, y) {\n var canvas = this.graph.get('canvas');\n var canvasPoint = this.getCanvasByPoint(x, y);\n var point = canvas.getClientByPoint(canvasPoint.x, canvasPoint.y);\n // return { x: point.clientX, y: point.clientY };\n return { x: point.x, y: point.y };\n };\n /**\n * 将视口坐标转成 Canvas 坐标\n * @param x 视口 x 坐标\n * @param y 视口 y 坐标\n */\n ViewController.prototype.getCanvasByPoint = function (x, y) {\n var viewportMatrix = this.graph.get('group').getMatrix();\n if (!viewportMatrix) {\n viewportMatrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n }\n return applyMatrix({ x: x, y: y }, viewportMatrix);\n };\n /**\n * 将元素移动到画布中心\n * @param item Item 实例或 id\n * @param {boolean} animate 是否带有动画地移动\n * @param {GraphAnimateConfig} animateCfg 若带有动画,动画的配置项\n */\n ViewController.prototype.focus = function (item, animate, animateCfg) {\n if (isString(item)) {\n item = this.graph.findById(item);\n }\n var group = item.get('group');\n var matrix = group.getMatrix();\n if (!matrix)\n matrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n if (item) {\n // 用实际位置而不是model中的x,y,防止由于拖拽等的交互导致model的x,y并不是当前的x,y\n this.focusPoint({\n x: matrix[6],\n y: matrix[7],\n }, animate, animateCfg);\n }\n };\n /**\n * 改变 canvas 画布的宽度和高度\n * @param width canvas 宽度\n * @param height canvas 高度\n */\n ViewController.prototype.changeSize = function (width, height) {\n var graph = this.graph;\n if (!isNumber(width) || !isNumber(height)) {\n throw Error('invalid canvas width & height, please make sure width & height type is number');\n }\n graph.set({ width: width, height: height });\n var canvas = graph.get('canvas');\n canvas.changeSize(width, height);\n // change the size of grid plugin if it exists on graph\n var plugins = graph.get('plugins');\n plugins.forEach(function (plugin) {\n if (plugin.get('gridContainer')) {\n var minZoom = graph.get('minZoom');\n modifyCSS(plugin.get('container'), {\n width: width + \"px\",\n height: height + \"px\",\n });\n modifyCSS(plugin.get('gridContainer'), {\n width: width / minZoom + \"px\",\n height: height / minZoom + \"px\",\n left: 0,\n top: 0,\n });\n }\n });\n };\n ViewController.prototype.destroy = function () {\n this.graph = null;\n this.destroyed = false;\n };\n return ViewController;\n}());\nexport default ViewController;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "name": "./src/graph/controller/item.ts", "index": 202, "index2": 207, "size": 20964, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "issuerId": null, "issuerName": "./src/graph/controller/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } } ], "profile": { "factory": 281, "building": 793, "dependencies": 404 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "module": "./src/graph/controller/index.ts", "moduleName": "./src/graph/controller/index.ts", "type": "harmony side effect evaluation", "userRequest": "./item", "loc": "3:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "module": "./src/graph/controller/index.ts", "moduleName": "./src/graph/controller/index.ts", "type": "harmony export imported specifier", "userRequest": "./item", "loc": "3:0-51" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import { __assign } from \"tslib\";\nimport { clone, deepMix, each, isArray, isObject, isString, upperFirst } from '@antv/util';\nimport Edge from '../../item/edge';\nimport Node from '../../item/node';\nimport Combo from '../../item/combo';\nimport { traverseTreeUp, traverseTree, getComboBBox } from '../../util/graphic';\nvar NODE = 'node';\nvar EDGE = 'edge';\nvar VEDGE = 'vedge';\nvar COMBO = 'combo';\nvar CFG_PREFIX = 'default';\nvar MAPPER_SUFFIX = 'Mapper';\nvar STATE_SUFFIX = 'stateStyles';\nvar hasOwnProperty = Object.hasOwnProperty;\nvar ItemController = /** @class */ (function () {\n function ItemController(graph) {\n this.graph = graph;\n this.destroyed = false;\n }\n /**\n * 增加 Item 实例\n *\n * @param {ITEM_TYPE} type 实例类型,node 或 edge\n * @param {(NodeConfig & EdgeConfig)} model 数据模型\n * @returns {(Item)}\n * @memberof ItemController\n */\n ItemController.prototype.addItem = function (type, model) {\n var _this = this;\n var graph = this.graph;\n var vType = type === VEDGE ? EDGE : type;\n var parent = graph.get(vType + \"Group\") || graph.get('group');\n var upperType = upperFirst(vType);\n var item = null;\n // 获取 this.get('styles') 中的值\n var styles = graph.get(vType + upperFirst(STATE_SUFFIX)) || {};\n var defaultModel = graph.get(CFG_PREFIX + upperType);\n if (model[STATE_SUFFIX]) {\n // 设置 this.get('styles') 中的值\n styles = model[STATE_SUFFIX];\n }\n var mapper = graph.get(vType + MAPPER_SUFFIX);\n if (mapper) {\n var mappedModel = mapper(model);\n if (mappedModel[STATE_SUFFIX]) {\n // 设置 this.get('styles') 中的值\n styles = mappedModel[STATE_SUFFIX];\n delete mappedModel[STATE_SUFFIX];\n }\n // 如果配置了 defaultEdge 或 defaultNode,则将默认配置的数据也合并进去\n model = deepMix({}, defaultModel, model, mappedModel);\n }\n else if (defaultModel) {\n // 很多布局会直接修改原数据模型,所以不能用 merge 的形式,逐个写入原 model 中\n each(defaultModel, function (val, cfg) {\n if (!hasOwnProperty.call(model, cfg)) {\n if (isObject(val)) {\n model[cfg] = clone(val);\n }\n else {\n model[cfg] = defaultModel[cfg];\n }\n }\n });\n }\n graph.emit('beforeadditem', { type: type, model: model });\n if (type === EDGE || type === VEDGE) {\n var source = void 0;\n var target = void 0;\n source = model.source; // eslint-disable-line prefer-destructuring\n target = model.target; // eslint-disable-line prefer-destructuring\n if (source && isString(source)) {\n source = graph.findById(source);\n }\n if (target && isString(target)) {\n target = graph.findById(target);\n }\n if (!source || !target) {\n console.warn(\"The source or target node of edge \" + model.id + \" does not exist!\");\n return;\n }\n if (source.getType && source.getType() === 'combo') {\n model.isComboEdge = true;\n graph.updateCombo(source);\n }\n if (target.getType && target.getType() === 'combo') {\n model.isComboEdge = true;\n graph.updateCombo(target);\n }\n item = new Edge({\n model: model,\n source: source,\n target: target,\n styles: styles,\n linkCenter: graph.get('linkCenter'),\n group: parent.addGroup(),\n });\n }\n else if (type === NODE) {\n item = new Node({\n model: model,\n styles: styles,\n group: parent.addGroup(),\n });\n }\n else if (type === COMBO) {\n var children = model.children;\n var comboBBox = getComboBBox(children, graph);\n model.x = comboBBox.x || model.x || Math.random() * 100;\n model.y = comboBBox.y || model.y || Math.random() * 100;\n var comboGroup = parent.addGroup();\n comboGroup.setZIndex(model.depth);\n item = new Combo({\n model: model,\n styles: styles,\n bbox: comboBBox,\n group: comboGroup,\n });\n var comboModel_1 = item.getModel();\n (children || []).forEach(function (child) {\n var childItem = graph.findById(child.id);\n item.addChild(childItem);\n child.depth = comboModel_1.depth + 2;\n });\n // collapse the combo if the collapsed is true in the model\n if (model.collapsed) {\n setTimeout(function () {\n graph.collapseCombo(item);\n _this.updateCombo(item, []);\n }, 250);\n }\n }\n if (item) {\n graph.get(type + \"s\").push(item);\n graph.get('itemMap')[item.get('id')] = item;\n graph.emit('afteradditem', { item: item, model: model });\n // eslint-disable-next-line consistent-return\n return item;\n }\n };\n /**\n * 更新节点或边\n *\n * @param {Item} item ID 或 实例\n * @param {(EdgeConfig | Partial)} cfg 数据模型\n * @returns\n * @memberof ItemController\n */\n ItemController.prototype.updateItem = function (item, cfg) {\n var graph = this.graph;\n if (isString(item)) {\n item = graph.findById(item);\n }\n if (!item || item.destroyed) {\n return;\n }\n // 更新的 item 的类型\n var type = '';\n if (item.getType)\n type = item.getType();\n var mapper = graph.get(type + MAPPER_SUFFIX);\n var model = item.getModel();\n var isOnlyMove = item.isOnlyMove(cfg);\n if (mapper) {\n var result = deepMix({}, model, cfg);\n var mappedModel = mapper(result);\n // 将 update 时候用户传入的参数与mapperModel做deepMix,以便复用之前设置的参数值\n var newModel = deepMix({}, model, mappedModel, cfg);\n if (mappedModel[STATE_SUFFIX]) {\n item.set('styles', newModel[STATE_SUFFIX]);\n delete newModel[STATE_SUFFIX];\n }\n each(newModel, function (val, key) {\n cfg[key] = val;\n });\n }\n else {\n // merge update传进来的对象参数,model中没有的数据不做处理,对象和字符串值也不做处理,直接替换原来的\n each(cfg, function (val, key) {\n if (model[key]) {\n if (isObject(val) && !isArray(val)) {\n cfg[key] = __assign(__assign({}, model[key]), cfg[key]);\n }\n }\n });\n }\n // emit beforeupdateitem 事件\n graph.emit('beforeupdateitem', { item: item, cfg: cfg });\n if (type === EDGE) {\n // 若是边要更新source || target, 为了不影响示例内部model,并且重新计算startPoint和endPoint,手动设置\n if (cfg.source) {\n var source = cfg.source;\n if (isString(source)) {\n source = graph.findById(source);\n }\n item.setSource(source);\n }\n if (cfg.target) {\n var target = cfg.target;\n if (isString(target)) {\n target = graph.findById(target);\n }\n item.setTarget(target);\n }\n item.update(cfg);\n }\n // item.update(cfg);\n if (type === NODE || type === COMBO) {\n item.update(cfg, isOnlyMove);\n var edges = item.getEdges();\n each(edges, function (edge) {\n edge.refresh();\n });\n }\n graph.emit('afterupdateitem', { item: item, cfg: cfg });\n };\n /**\n * 根据 combo 的子元素更新 combo 的位置及大小\n *\n * @param {ICombo} combo ID 或 实例\n * @returns\n * @memberof ItemController\n */\n ItemController.prototype.updateCombo = function (combo, children) {\n var graph = this.graph;\n if (isString(combo)) {\n combo = graph.findById(combo);\n }\n if (!combo || combo.destroyed) {\n return;\n }\n var comboBBox = getComboBBox(children, graph);\n combo.set('bbox', comboBBox);\n combo.update({\n x: comboBBox.x,\n y: comboBBox.y,\n });\n var combEdges = combo.getEdges() || [];\n var length = combEdges.length;\n for (var i = 0; i < length; i++) {\n var edge = combEdges[i];\n edge.refresh();\n }\n };\n /**\n * 收起 combo,隐藏相关元素\n */\n ItemController.prototype.collapseCombo = function (combo) {\n var graph = this.graph;\n if (isString(combo)) {\n combo = graph.findById(combo);\n }\n var children = combo.getChildren();\n children.nodes.forEach(function (node) {\n graph.hideItem(node);\n });\n children.combos.forEach(function (c) {\n graph.hideItem(c);\n });\n };\n /**\n * 展开 combo,相关元素出现\n * 若子 combo 原先是收起状态,则保持它的收起状态\n */\n ItemController.prototype.expandCombo = function (combo) {\n var graph = this.graph;\n if (isString(combo)) {\n combo = graph.findById(combo);\n }\n var children = combo.getChildren();\n children.nodes.forEach(function (node) {\n graph.showItem(node);\n });\n children.combos.forEach(function (c) {\n if (c.getModel().collapsed) {\n c.show();\n }\n else {\n graph.showItem(c);\n }\n });\n };\n /**\n * 删除指定的节点或边\n *\n * @param {Item} item item ID 或实例\n * @returns {void}\n * @memberof ItemController\n */\n ItemController.prototype.removeItem = function (item) {\n var _this = this;\n var graph = this.graph;\n if (isString(item)) {\n item = graph.findById(item);\n }\n if (!item || item.destroyed) {\n return;\n }\n var itemModel = clone(item.getModel());\n graph.emit('beforeremoveitem', { item: itemModel });\n var type = '';\n if (item.getType)\n type = item.getType();\n var items = graph.get(type + \"s\");\n var index = items.indexOf(item);\n if (index > -1)\n items.splice(index, 1);\n if (type === EDGE) {\n var vitems = graph.get(\"v\" + type + \"s\");\n var vindex = vitems.indexOf(item);\n if (vindex > -1)\n vitems.splice(vindex, 1);\n }\n var itemId = item.get('id');\n var itemMap = graph.get('itemMap');\n delete itemMap[itemId];\n var comboTrees = graph.get('comboTrees');\n var id = item.get('id');\n if (type === NODE) {\n var comboId = item.getModel().comboId;\n if (comboTrees) {\n var brothers_1 = comboTrees;\n var found_1 = false; // the flag to terminate the forEach circulation\n // remove the node from the children array of its parent fromt he tree\n comboTrees.forEach(function (ctree) {\n if (found_1)\n return;\n traverseTree(ctree, function (combo) {\n if (combo.id === id && brothers_1) {\n var bidx = brothers_1.indexOf(combo);\n brothers_1.splice(bidx, 1);\n found_1 = true;\n return false; // terminate the traverse\n }\n brothers_1 = combo.children;\n return true;\n });\n });\n }\n // 若移除的是节点,需要将与之相连的边一同删除\n var edges = item.getEdges();\n for (var i = edges.length - 1; i >= 0; i--) {\n graph.removeItem(edges[i], false);\n }\n if (comboId)\n graph.updateCombo(comboId);\n }\n else if (type === COMBO) {\n var parentId = item.getModel().parentId;\n var comboInTree_1;\n // find the subtree rooted at the item to be removed\n var found_2 = false; // the flag to terminate the forEach circulation\n (comboTrees || []).forEach(function (ctree) {\n if (found_2)\n return;\n traverseTree(ctree, function (combo) {\n if (combo.id === id) {\n comboInTree_1 = combo;\n found_2 = true;\n return false; // terminate the traverse\n }\n return true;\n });\n });\n comboInTree_1.removed = true;\n if (comboInTree_1 && comboInTree_1.children) {\n comboInTree_1.children.forEach(function (child) {\n _this.removeItem(child.id);\n });\n }\n // 若移除的是 combo,需要将与之相连的边一同删除\n var edges = item.getEdges();\n for (var i = edges.length; i >= 0; i--) {\n graph.removeItem(edges[i], false);\n }\n if (parentId)\n graph.updateCombo(parentId);\n }\n item.destroy();\n graph.emit('afterremoveitem', { item: itemModel });\n };\n /**\n * 更新 item 状态\n *\n * @param {Item} item Item 实例\n * @param {string} state 状态名称\n * @param {boolean} value 是否启用状态或状态值\n * @returns {void}\n * @memberof ItemController\n */\n ItemController.prototype.setItemState = function (item, state, value) {\n var graph = this.graph;\n var stateName = state;\n if (isString(value)) {\n stateName = state + \":\" + value;\n }\n // 已经存在要设置的 state,或不存在 state 的样式为 undefined\n if (item.hasState(stateName) === value || (isString(value) && item.hasState(stateName))) {\n return;\n }\n graph.emit('beforeitemstatechange', { item: item, state: stateName, enabled: value });\n item.setState(state, value);\n graph.autoPaint();\n graph.emit('afteritemstatechange', { item: item, state: stateName, enabled: value });\n };\n /**\n * 将指定状态的优先级提升为最高优先级\n * @param {Item} item 元素id或元素实例\n * @param state 状态名称\n */\n ItemController.prototype.priorityState = function (item, state) {\n var graph = this.graph;\n var currentItem = item;\n if (isString(item)) {\n currentItem = graph.findById(item);\n }\n // 先取消已有的 state\n this.setItemState(currentItem, state, false);\n // 再设置state,则此时该优先级为最高\n this.setItemState(currentItem, state, true);\n };\n /**\n * 清除所有指定的状态\n *\n * @param {Item} item Item 实例\n * @param {string[]} states 状态名称集合\n * @memberof ItemController\n */\n ItemController.prototype.clearItemStates = function (item, states) {\n var graph = this.graph;\n if (isString(item)) {\n item = graph.findById(item);\n }\n graph.emit('beforeitemstatesclear', { item: item, states: states });\n item.clearStates(states);\n graph.emit('afteritemstatesclear', { item: item, states: states });\n };\n /**\n * 刷新指定的 Item\n *\n * @param {Item} item Item ID 或 实例\n * @memberof ItemController\n */\n ItemController.prototype.refreshItem = function (item) {\n var graph = this.graph;\n if (isString(item)) {\n item = graph.findById(item);\n }\n graph.emit('beforeitemrefresh', { item: item });\n // 调用 Item 的 refresh 方法,实现刷新功能\n item.refresh();\n graph.emit('afteritemrefresh', { item: item });\n };\n /**\n * 根据 graph 上用 combos 数据生成的 comboTree 来增加所有 combos\n *\n * @param {ComboTree[]} comboTrees graph 上用 combos 数据生成的 comboTree\n * @param {ComboConfig[]} comboModels combos 数据\n * @memberof ItemController\n */\n ItemController.prototype.addCombos = function (comboTrees, comboModels) {\n var _this = this;\n var graph = this.graph;\n (comboTrees || []).forEach(function (ctree) {\n traverseTreeUp(ctree, function (child) {\n var comboModel;\n comboModels.forEach(function (model) {\n if (model.id === child.id) {\n model.children = child.children;\n model.depth = child.depth;\n comboModel = model;\n }\n });\n if (comboModel) {\n _this.addItem('combo', comboModel);\n }\n return true;\n });\n });\n var comboGroup = graph.get('comboGroup');\n if (comboGroup)\n comboGroup.sort();\n };\n /**\n * 改变Item的显示状态\n *\n * @param {Item} item Item ID 或 实例\n * @param {boolean} visible 是否显示\n * @memberof ItemController\n */\n ItemController.prototype.changeItemVisibility = function (item, visible) {\n var _this = this;\n var graph = this.graph;\n if (isString(item)) {\n item = graph.findById(item);\n }\n if (!item) {\n console.warn('The item to be shown or hidden does not exist!');\n return;\n }\n graph.emit('beforeitemvisibilitychange', { item: item, visible: visible });\n item.changeVisibility(visible);\n if (item.getType && item.getType() === NODE) {\n var edges = item.getEdges();\n each(edges, function (edge) {\n // 若隐藏节点,则将与之关联的边也隐藏\n // 若显示节点,则将与之关联的边也显示,但是需要判断边两端的节点都是可见的\n if (visible && !(edge.get('source').isVisible() && edge.get('target').isVisible())) {\n return;\n }\n _this.changeItemVisibility(edge, visible);\n });\n }\n else if (item.getType && item.getType() === COMBO) {\n var comboTrees = graph.get('comboTrees');\n var id_1 = item.get('id');\n var children_1 = [];\n var found_3 = false; // flag the terminate the forEach\n (comboTrees || []).forEach(function (ctree) {\n if (found_3)\n return;\n if (!ctree.children || ctree.children.length === 0)\n return;\n traverseTree(ctree, function (combo) {\n if (combo.id === id_1) {\n children_1 = combo.children;\n found_3 = true;\n return false; // terminate the traverse\n }\n return true;\n });\n });\n children_1.forEach(function (child) {\n var childItem = graph.findById(child.id);\n _this.changeItemVisibility(childItem, visible);\n });\n var edges = item.getEdges();\n each(edges, function (edge) {\n // 若隐藏 combo,则将与 combo 本身关联的边也隐藏\n // 若显示 combo,则将与 combo 本身关联的边也显示,但是需要判断边两端的节点都是可见的\n if (visible && !(edge.get('source').isVisible() && edge.get('target').isVisible())) {\n return;\n }\n _this.changeItemVisibility(edge, visible);\n });\n }\n graph.emit('afteritemvisibilitychange', { item: item, visible: visible });\n return item;\n };\n ItemController.prototype.destroy = function () {\n this.graph = null;\n this.destroyed = true;\n };\n return ItemController;\n}());\nexport default ItemController;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/state.ts", "name": "./src/graph/controller/state.ts", "index": 211, "index2": 208, "size": 4634, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "issuerId": null, "issuerName": "./src/graph/controller/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } } ], "profile": { "factory": 281, "building": 793, "dependencies": 404 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "module": "./src/graph/controller/index.ts", "moduleName": "./src/graph/controller/index.ts", "type": "harmony side effect evaluation", "userRequest": "./state", "loc": "4:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "module": "./src/graph/controller/index.ts", "moduleName": "./src/graph/controller/index.ts", "type": "harmony export imported specifier", "userRequest": "./state", "loc": "4:0-53" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import { each, isString } from '@antv/util';\nvar timer = null;\nvar StateController = /** @class */ (function () {\n function StateController(graph) {\n this.graph = graph;\n /**\n * this.cachedStates = {\n * enabled: {\n * hover: [Node]\n * },\n * disabled: {}\n * }\n */\n this.cachedStates = {\n enabled: {},\n disabled: {},\n };\n this.destroyed = false;\n }\n /**\n * 检查 cache 的可用性\n *\n * @private\n * @param {Item} item\n * @param {string} state\n * @param {object} cache\n * @returns\n * @memberof State\n */\n StateController.checkCache = function (item, state, cache) {\n if (!cache[state]) {\n return;\n }\n var index = cache[state].indexOf(item);\n if (index >= 0) {\n cache[state].splice(index, 1);\n }\n };\n /**\n * 缓存 state\n *\n * @private\n * @param {Item} item Item 实例\n * @param {string} state 状态名称\n * @param {object} states\n * @memberof State\n */\n StateController.cacheState = function (item, state, states) {\n if (!states[state]) {\n states[state] = [];\n }\n states[state].push(item);\n };\n /**\n * 更新 Item 的状态\n *\n * @param {Item} item Item实例\n * @param {string} state 状态名称\n * @param {boolean} enabled 状态是否可用\n * @memberof State\n */\n StateController.prototype.updateState = function (item, state, enabled) {\n var _this = this;\n var checkCache = StateController.checkCache, cacheState = StateController.cacheState;\n if (item.destroyed) {\n return;\n }\n var cachedStates = this.cachedStates;\n var enabledStates = cachedStates.enabled;\n var disabledStates = cachedStates.disabled;\n if (enabled) {\n checkCache(item, state, disabledStates);\n cacheState(item, state, enabledStates);\n }\n else {\n checkCache(item, state, enabledStates);\n cacheState(item, state, disabledStates);\n }\n if (timer) {\n clearTimeout(timer);\n }\n timer = setTimeout(function () {\n timer = null;\n _this.updateGraphStates();\n }, 16);\n };\n /**\n * 批量更新 states,兼容 updateState,支持更新一个 state\n *\n * @param {Item} item\n * @param {(string | string[])} states\n * @param {boolean} enabled\n * @memberof State\n */\n StateController.prototype.updateStates = function (item, states, enabled) {\n var _this = this;\n if (isString(states)) {\n this.updateState(item, states, enabled);\n }\n else {\n states.forEach(function (state) {\n _this.updateState(item, state, enabled);\n });\n }\n };\n /**\n * 更新 states\n *\n * @memberof State\n */\n StateController.prototype.updateGraphStates = function () {\n var states = this.graph.get('states');\n var cachedStates = this.cachedStates;\n each(cachedStates.disabled, function (val, key) {\n if (states[key]) {\n states[key] = states[key].filter(function (item) { return val.indexOf(item) < 0 && !val.destroyed; });\n }\n });\n each(cachedStates.enabled, function (val, key) {\n if (!states[key]) {\n states[key] = val;\n }\n else {\n var map_1 = {};\n states[key].forEach(function (item) {\n if (!item.destroyed) {\n map_1[item.get('id')] = true;\n }\n });\n val.forEach(function (item) {\n if (!item.destroyed) {\n var id = item.get('id');\n if (!map_1[id]) {\n map_1[id] = true;\n states[key].push(item);\n }\n }\n });\n }\n });\n this.graph.emit('graphstatechange', { states: states });\n this.cachedStates = {\n enabled: {},\n disabled: {},\n };\n };\n StateController.prototype.destroy = function () {\n this.graph = null;\n this.cachedStates = null;\n if (timer) {\n clearTimeout(timer);\n }\n timer = null;\n this.destroyed = true;\n };\n return StateController;\n}());\nexport default StateController;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/hull/convexHull.ts", "name": "./src/shape/hull/convexHull.ts", "index": 236, "index2": 233, "size": 1482, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/hull.ts", "issuerId": null, "issuerName": "./src/item/hull.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/hull.ts", "name": "./src/item/hull.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } } ], "profile": { "factory": 1223, "building": 572, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/hull.ts", "module": "./src/item/hull.ts", "moduleName": "./src/item/hull.ts", "type": "harmony side effect evaluation", "userRequest": "../shape/hull/convexHull", "loc": "6:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/hull.ts", "module": "./src/item/hull.ts", "moduleName": "./src/item/hull.ts", "type": "harmony import specifier", "userRequest": "../shape/hull/convexHull", "loc": "66:26-39" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/hull.ts", "module": "./src/item/hull.ts", "moduleName": "./src/item/hull.ts", "type": "harmony import specifier", "userRequest": "../shape/hull/convexHull", "loc": "71:26-39" } ], "usedExports": ["genConvexHull"], "providedExports": ["cross", "genConvexHull"], "optimizationBailout": [], "depth": 3, "source": "/**\n * Use cross product to judge the direction of the turn.\n * Returns a positive value, if OAB makes a clockwise turn,\n * negative for counter-clockwise turn, and zero if the points are collinear.\n */\nexport var cross = function (a, b, o) {\n return (a.y - o.y) * (b.x - o.x) - (a.x - o.x) * (b.y - o.y);\n};\n/**\n * Generate a convex hull of given points. Andrew's monotone chain algorithm.\n * @param points An array of [x, y] representing the coordinates of points.\n * @return a list of vertices of the convex hull in counter-clockwise order,\n */\nexport var genConvexHull = function (items) {\n var points = items.map(function (item) { return ({ x: item.getModel().x, y: item.getModel().y }); });\n points.sort(function (a, b) {\n return a.x === b.x ? a.y - b.y : a.x - b.x;\n });\n // build the lower hull\n var lower = [];\n for (var i = 0; i < points.length; i++) {\n while (lower.length >= 2 &&\n cross(lower[lower.length - 2], lower[lower.length - 1], points[i]) <= 0) {\n lower.pop();\n }\n lower.push(points[i]);\n }\n // build the upper hull\n var upper = [];\n for (var i = points.length - 1; i >= 0; i--) {\n while (upper.length >= 2 &&\n cross(upper[upper.length - 2], upper[upper.length - 1], points[i]) <= 0) {\n upper.pop();\n }\n upper.push(points[i]);\n }\n upper.pop();\n lower.pop();\n var strictHull = lower.concat(upper);\n return strictHull;\n};\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/shape/hull/bubbleset.ts", "name": "./src/shape/hull/bubbleset.ts", "index": 237, "index2": 234, "size": 23927, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/hull.ts", "issuerId": null, "issuerName": "./src/item/hull.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/hull.ts", "name": "./src/item/hull.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } } ], "profile": { "factory": 1223, "building": 572, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/hull.ts", "module": "./src/item/hull.ts", "moduleName": "./src/item/hull.ts", "type": "harmony side effect evaluation", "userRequest": "../shape/hull/bubbleset", "loc": "7:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/hull.ts", "module": "./src/item/hull.ts", "moduleName": "./src/item/hull.ts", "type": "harmony import specifier", "userRequest": "../shape/hull/bubbleset", "loc": "76:26-38" } ], "usedExports": ["genBubbleSet"], "providedExports": ["genBubbleSet"], "optimizationBailout": [], "depth": 3, "source": "import { squareDist, pointLineSquareDist, itemIntersectByLine, getPointsCenter, fractionToLine, isPointsOverlap, pointRectSquareDist, Line, isPointInPolygon, } from '../../util/math';\nvar defaultOps = {\n maxRoutingIterations: 100,\n maxMarchingIterations: 100,\n pixelGroupSize: 2,\n edgeR0: 10,\n edgeR1: 10,\n nodeR0: 5,\n nodeR1: 10,\n morphBuffer: 5,\n threshold: 0.001,\n skip: 16,\n nodeInfluenceFactor: 1,\n edgeInfluenceFactor: 1,\n negativeNodeInfluenceFactor: -0.5,\n};\n/**\n * Marching square algorithm for traching the contour of a pixel group\n * https://www.emanueleferonato.com/2013/03/01/using-marching-squares-algorithm-to-trace-the-contour-of-an-image/\n * @param potentialArea\n * @param threshold\n */\nfunction MarchingSquares(contour, potentialArea, threshold) {\n var marched = false;\n var getVal = function (x, y) {\n return potentialArea.cells[x + y * potentialArea.width];\n };\n var getState = function (x, y) {\n var squareVal = 0;\n if (getVal(x - 1, y - 1) >= threshold) {\n squareVal += 1;\n }\n if (getVal(x, y - 1) > threshold) {\n squareVal += 2;\n }\n if (getVal(x - 1, y) > threshold) {\n squareVal += 4;\n }\n if (getVal(x, y) > threshold) {\n squareVal += 8;\n }\n return squareVal;\n };\n var doMarch = function (xPos, yPos) {\n var x = xPos;\n var y = yPos;\n var prevX;\n var prevY;\n for (var i = 0; i < potentialArea.width * potentialArea.height; i++) {\n prevX = x;\n prevY = y;\n if (contour.findIndex(function (item) { return item.x === x && item.y === y; }) > -1) {\n if (contour[0].x !== x || contour[0].y !== y) {\n // encountered a loop but haven't returned to start: change direction using conditionals and continue back to start\n }\n else {\n return true;\n }\n }\n else {\n contour.push({ x: x, y: y });\n }\n var state = getState(x, y);\n // assign the move direction according to state of the square\n switch (state) {\n case -1:\n console.warn('Marched out of bounds');\n return true;\n case 0:\n case 3:\n case 2:\n case 7:\n x++; // go right\n break;\n case 12:\n case 14:\n case 4:\n x--; // go left\n break;\n case 6: // go left if come from up else go right\n if (prevX === 0) {\n if (prevY === -1) {\n x -= 1;\n }\n else {\n x += 1;\n }\n }\n break;\n case 1:\n case 13:\n case 5:\n y--; // go up\n break;\n case 9: // go up if come from right else go down\n if (prevX === 1) {\n if (prevY === 0) {\n y -= 1;\n }\n else {\n y += 1;\n }\n }\n break;\n case 10:\n case 8:\n case 11:\n y++; // go down\n break;\n default:\n console.warn(\"Marching squares invalid state: \" + state);\n return true;\n }\n }\n };\n this.march = function () {\n for (var x = 0; x < potentialArea.width && !marched; x += 1) {\n for (var y = 0; y < potentialArea.height && !marched; y += 1) {\n if (getVal(x, y) > threshold && getState(x, y) !== 15) {\n marched = doMarch(x, y);\n }\n }\n }\n return marched;\n };\n}\n/**\n * Space partition & assign value to each cell\n * @param points\n */\nvar initGridCells = function (width, height, pixelGroupSize) {\n var scaleWidth = Math.ceil(width / pixelGroupSize);\n var scaleHeight = Math.ceil(height / pixelGroupSize);\n var gridCells = new Float32Array(Math.max(0, scaleWidth * scaleHeight)).fill(0);\n return {\n cells: gridCells,\n width: scaleWidth,\n height: scaleHeight,\n };\n};\n/**\n * Find the optimal already visited member to item;\n Optimal: minimize cost(j) = distance(i,j) ∗ countObstacles(i,j)\n * @param item\n * @param visited\n */\nvar pickBestNeighbor = function (item, visited, nonMembers) {\n var closestNeighbour = null;\n var minCost = Number.POSITIVE_INFINITY;\n visited.forEach(function (neighbourItem) {\n var itemP = { x: item.getModel().x, y: item.getModel().y };\n var neighbourItemP = { x: neighbourItem.getModel().x, y: neighbourItem.getModel().y };\n var dist = squareDist(itemP, neighbourItemP);\n var directLine = new Line(itemP.x, itemP.y, neighbourItemP.x, neighbourItemP.y);\n var numberObstacles = nonMembers.reduce(function (count, _item) {\n if (fractionToLine(_item, directLine) > 0) {\n return count + 1;\n }\n return count;\n }, 0);\n if (dist * Math.pow((numberObstacles + 1), 2) < minCost) {\n closestNeighbour = neighbourItem;\n minCost = dist * Math.pow((numberObstacles + 1), 2);\n }\n });\n return closestNeighbour;\n};\n/**\n * 返回和线相交的item中,离边的起点最近的item\n * @param items\n * @param line\n */\nvar getIntersectItem = function (items, line) {\n var minDistance = Number.POSITIVE_INFINITY;\n var closestItem = null;\n items.forEach(function (item) {\n var distance = fractionToLine(item, line);\n // find closest intersection\n if (distance >= 0 && distance < minDistance) {\n closestItem = item;\n minDistance = distance;\n }\n });\n return closestItem;\n};\n/**\n * Modify the directLine and Route virtual edges around obstacles\n */\nvar computeRoute = function (directLine, nonMembers, maxRoutingIterations, morphBuffer) {\n var checkedLines = [];\n var linesToCheck = [];\n linesToCheck.push(directLine);\n var hasIntersection = true;\n var iterations = 0;\n var pointExists = function (point, lines) {\n var flag = false;\n lines.forEach(function (line) {\n if (flag)\n return;\n if (isPointsOverlap(point, { x: line.x1, y: line.y1 }) ||\n isPointsOverlap(point, { x: line.x2, y: line.y2 })) {\n flag = true;\n }\n });\n return flag;\n };\n var isPointInNonMembers = function (point, _nonMembers) {\n for (var _i = 0, _nonMembers_1 = _nonMembers; _i < _nonMembers_1.length; _i++) {\n var item = _nonMembers_1[_i];\n var bbox = item.getBBox();\n var itemContour = [\n [bbox.x, bbox.y],\n [bbox.x + bbox.width, bbox.y],\n [bbox.x, bbox.y + bbox.height],\n [bbox.x + bbox.width, bbox.y + bbox.height],\n ];\n if (isPointInPolygon(itemContour, point.x, point.y)) {\n return true;\n }\n }\n return false;\n };\n // outer loop end when no more intersections or out of iterations\n while (hasIntersection && iterations < maxRoutingIterations) {\n hasIntersection = false;\n var _loop_1 = function () {\n var line = linesToCheck.pop();\n var closestItem = getIntersectItem(nonMembers, line);\n if (closestItem) {\n var _a = itemIntersectByLine(closestItem, line), intersections_1 = _a[0], countIntersections = _a[1];\n // if line passes through item\n if (countIntersections === 2) {\n var testReroute = function (isFirst) {\n var tempMorphBuffer = morphBuffer;\n var virtualNode = rerouteLine(closestItem, tempMorphBuffer, intersections_1, isFirst);\n // test the virtualNode already exists\n var exist = pointExists(virtualNode, linesToCheck) || pointExists(virtualNode, checkedLines);\n var pointInside = isPointInNonMembers(virtualNode, nonMembers);\n while (!exist && pointInside && tempMorphBuffer >= 1) {\n // try a smaller buffer\n tempMorphBuffer /= 1.5;\n virtualNode = rerouteLine(closestItem, tempMorphBuffer, intersections_1, isFirst);\n exist =\n pointExists(virtualNode, linesToCheck) || pointExists(virtualNode, checkedLines);\n pointInside = isPointInNonMembers(virtualNode, nonMembers);\n }\n // 第二次route时不要求pointInside\n if (virtualNode && !exist && (!isFirst || !pointInside)) {\n // add 2 rerouted lines to check\n linesToCheck.push(new Line(line.x1, line.y1, virtualNode.x, virtualNode.y));\n linesToCheck.push(new Line(virtualNode.x, virtualNode.y, line.x2, line.y2));\n hasIntersection = true;\n }\n };\n testReroute(true);\n if (!hasIntersection) {\n // if we didn't find a valid point around the first corner, try the second\n testReroute(false);\n }\n }\n }\n // no intersection found, mark this line as completed\n if (!hasIntersection) {\n checkedLines.push(line);\n }\n iterations += 1;\n };\n // inner loop end when out of lines or found an intersection\n while (!hasIntersection && linesToCheck.length) {\n _loop_1();\n }\n }\n // 加入剩余的线\n while (linesToCheck.length) {\n checkedLines.push(linesToCheck.pop());\n }\n return checkedLines;\n};\n/**\n * Connect item with visited members using direct line or virtual edges\n */\nfunction getRoute(item, nonMembers, visited, maxRoutingIterations, morphBuffer) {\n var optimalNeighbor = pickBestNeighbor(item, visited, nonMembers);\n if (optimalNeighbor === null) {\n return [];\n }\n // merge the consecutive lines\n var mergeLines = function (checkedLines) {\n var finalRoute = [];\n while (checkedLines.length > 0) {\n var line1 = checkedLines.pop();\n if (checkedLines.length === 0) {\n finalRoute.push(line1);\n break;\n }\n var line2 = checkedLines.pop();\n var mergeLine = new Line(line1.x1, line1.y1, line2.x2, line2.y2);\n var closestItem = getIntersectItem(nonMembers, mergeLine);\n // merge most recent line and previous line\n if (!closestItem) {\n checkedLines.push(mergeLine);\n }\n else {\n finalRoute.push(line1);\n checkedLines.push(line2);\n }\n }\n return finalRoute;\n };\n var directLine = new Line(item.getModel().x, item.getModel().y, optimalNeighbor.getModel().x, optimalNeighbor.getModel().y);\n var checkedLines = computeRoute(directLine, nonMembers, maxRoutingIterations, morphBuffer);\n var finalRoute = mergeLines(checkedLines);\n return finalRoute;\n}\n/**\n * Calculate the countor that includes the selected items and exclues the non-selected items\n * @param graph\n * @param members\n * @param nonMembers\n * @param options\n */\nexport var genBubbleSet = function (members, nonMembers, ops) {\n // eslint-disable-next-line no-redeclare\n var options = Object.assign(defaultOps, ops);\n var centroid = getPointsCenter(members.map(function (item) { return ({ x: item.getModel().x, y: item.getModel().y }); }));\n // 按照到中心距离远近排序\n members = members.sort(function (a, b) {\n return squareDist({ x: a.getModel().x, y: a.getModel().y }, centroid) -\n squareDist({ x: b.getModel().x, y: b.getModel().y }, centroid);\n });\n var visited = [];\n var virtualEdges = [];\n members.forEach(function (item) {\n var lines = getRoute(item, nonMembers, visited, options.maxRoutingIterations, options.morphBuffer);\n lines.forEach(function (l) {\n virtualEdges.push(l);\n });\n visited.push(item);\n });\n // 由于edge也可以作为member和nonMember传入,暂时不考虑把edges作为参数传入genBubbleSet\n // edges && edges.forEach(e => {\n // virtualEdges.push(new Line(e.getSource().getModel().x, e.getSource().getModel().y, e.getTarget().getModel().x, e.getTarget().getModel().y));\n // });\n var activeRegion = getActiveRregion(members, virtualEdges, options.nodeR0);\n var potentialArea = initGridCells(activeRegion.width, activeRegion.height, options.pixelGroupSize);\n // Use march squares to generate contour\n var contour = [];\n var hull = [];\n for (var iterations = 0; iterations < options.maxMarchingIterations; iterations++) {\n fillPotentialArea(members, nonMembers, virtualEdges, activeRegion, potentialArea, options);\n contour = [];\n hull = [];\n if (!new MarchingSquares(contour, potentialArea, options.threshold).march())\n continue;\n var marchedPath = contour.map(function (point) { return ({\n x: Math.round(point.x * options.pixelGroupSize + activeRegion.minX),\n y: Math.round(point.y * options.pixelGroupSize + activeRegion.minY),\n }); });\n // const marchedPath = marchingSquares(potentialArea, options.threshold).map(point => ({ x: Math.round(point.x * options.pixelGroupSize + activeRegion.minX), y: Math.round(point.y * options.pixelGroupSize + activeRegion.minY) }))\n if (marchedPath) {\n var size = marchedPath.length;\n if (options.skip > 1) {\n size = Math.floor(marchedPath.length / options.skip);\n // if we reduced too much (fewer than three points in reduced surface) reduce skip and try again\n while (size < 3 && options.skip > 1) {\n options.skip -= 1;\n size = Math.floor(marchedPath.length / options.skip);\n }\n }\n // copy hull values\n for (var i = 0, j = 0; j < size; j += 1, i += options.skip) {\n hull.push({ x: marchedPath[i].x, y: marchedPath[i].y });\n }\n }\n var isContourValid = function () {\n for (var _i = 0, members_1 = members; _i < members_1.length; _i++) {\n var item = members_1[_i];\n var hullPoints = hull.map(function (point) { return [point.x, point.y]; });\n if (!isPointInPolygon(hullPoints, item.getBBox().centerX, item.getBBox().centerY))\n return false;\n }\n // 不强制要求所有nonMembers都没有包含在内\n // for (const item of nonMembers) {\n // if (isPointInPolygon({ x: item.getBBox().centerX, y: item.getBBox().centerY }, contour)) return false\n // }\n return true;\n };\n if (hull && isContourValid()) {\n return hull;\n }\n // update parameters for next iteraction\n options.threshold *= 0.9;\n if (iterations <= options.maxMarchingIterations * 0.5) {\n options.memberInfluenceFactor *= 1.2;\n options.edgeInfluenceFactor *= 1.2;\n }\n else if (options.nonMemberInfluenceFactor !== 0 && nonMembers.length > 0) {\n // after half the iterations, start increasing positive energy and lowering the threshold\n options.nonMemberInfluenceFactor *= 0.8;\n }\n else {\n break;\n }\n }\n return hull;\n};\n/**\n * unionboundingbox\n * @param members\n * @param edges\n */\nfunction getActiveRregion(members, edges, offset) {\n var activeRegion = {\n minX: Number.POSITIVE_INFINITY,\n minY: Number.POSITIVE_INFINITY,\n maxX: Number.NEGATIVE_INFINITY,\n maxY: Number.NEGATIVE_INFINITY,\n width: 0,\n height: 0,\n x: 0,\n y: 0,\n };\n var bboxes = [];\n members.forEach(function (item) {\n bboxes.push(item.getBBox());\n });\n edges.forEach(function (l) {\n bboxes.push(l.getBBox());\n });\n for (var _i = 0, bboxes_1 = bboxes; _i < bboxes_1.length; _i++) {\n var bbox = bboxes_1[_i];\n activeRegion.minX = (bbox.minX < activeRegion.minX ? bbox.minX : activeRegion.minX) - offset;\n activeRegion.minY = (bbox.minY < activeRegion.minY ? bbox.minY : activeRegion.minY) - offset;\n activeRegion.maxX = (bbox.maxX > activeRegion.maxX ? bbox.maxX : activeRegion.maxX) + offset;\n activeRegion.maxY = (bbox.maxY > activeRegion.maxY ? bbox.maxY : activeRegion.maxY) + offset;\n }\n activeRegion.width = activeRegion.maxX - activeRegion.minX;\n activeRegion.height = activeRegion.maxY - activeRegion.minY;\n activeRegion.x = activeRegion.minX;\n activeRegion.y = activeRegion.minY;\n return activeRegion;\n}\nfunction fillPotentialArea(members, nonMembers, edges, activeRegion, potentialArea, options) {\n function pos2GridIx(x, offset) {\n var gridIx = Math.floor((x - offset) / options.pixelGroupSize);\n return gridIx < 0 ? 0 : gridIx;\n }\n function gridIx2Pos(x, offset) {\n return x * options.pixelGroupSize + offset;\n }\n // using inverse a for numerical stability\n var nodeInfA = (options.nodeR0 - options.nodeR1) * (options.nodeR0 - options.nodeR1);\n var edgeInfA = (options.edgeR0 - options.edgeR1) * (options.edgeR0 - options.edgeR1);\n var getAffectedRegion = function (bbox, thresholdR) {\n var startX = Math.min(pos2GridIx(bbox.minX, thresholdR + activeRegion.minX), potentialArea.width);\n var startY = Math.min(pos2GridIx(bbox.minY, thresholdR + activeRegion.minY), potentialArea.height);\n var endX = Math.min(pos2GridIx(bbox.maxX, -thresholdR + activeRegion.minX), potentialArea.width);\n var endY = Math.min(pos2GridIx(bbox.maxY, -thresholdR + activeRegion.minY), potentialArea.height);\n return [startX, startY, endX, endY];\n };\n var addItemInfluence = function (item, influenceFactor) {\n var bbox = item.getBBox();\n var _a = getAffectedRegion(bbox, options.nodeR1), startX = _a[0], startY = _a[1], endX = _a[2], endY = _a[3];\n // calculate item influence for each cell\n for (var y = startY; y < endY; y += 1) {\n for (var x = startX; x < endX; x += 1) {\n if (influenceFactor < 0 && potentialArea[x + y * potentialArea.width] <= 0) {\n continue;\n }\n var tempX = gridIx2Pos(x, activeRegion.minX);\n var tempY = gridIx2Pos(y, activeRegion.minY);\n var distanceSq = pointRectSquareDist({ x: tempX, y: tempY }, { x: bbox.minX, y: bbox.minY, width: bbox.width, height: bbox.height });\n if (distanceSq < Math.pow(options.nodeR1, 2)) {\n var dr = Math.sqrt(distanceSq) - options.nodeR1;\n potentialArea.cells[x + y * potentialArea.width] += influenceFactor * dr * dr;\n }\n }\n }\n };\n var addEdgeInfluence = function (line, influenceFactor) {\n var bbox = line.getBBox();\n var _a = getAffectedRegion(bbox, options.edgeR1), startX = _a[0], startY = _a[1], endX = _a[2], endY = _a[3];\n // for every point in active part of potentialArea, calculate distance to nearest point on line and add influence\n for (var y = startY; y < endY; y += 1) {\n for (var x = startX; x < endX; x += 1) {\n if (influenceFactor < 0 && potentialArea.cells[x + y * potentialArea.width] <= 0) {\n continue;\n }\n var tempX = gridIx2Pos(x, activeRegion.minX);\n var tempY = gridIx2Pos(y, activeRegion.minY);\n var minDistanceSq = pointLineSquareDist({ x: tempX, y: tempY }, line);\n // only influence if less than r1\n if (minDistanceSq < Math.pow(options.edgeR1, 2)) {\n var mdr = Math.sqrt(minDistanceSq) - options.edgeR1;\n potentialArea.cells[x + y * potentialArea.width] += influenceFactor * mdr * mdr;\n }\n }\n }\n };\n if (options.nodeInfluenceFactor) {\n members.forEach(function (item) {\n addItemInfluence(item, options.nodeInfluenceFactor / nodeInfA);\n });\n }\n if (options.edgeInfluenceFactor) {\n edges.forEach(function (edge) {\n addEdgeInfluence(edge, options.edgeInfluenceFactor / edgeInfA);\n });\n }\n if (options.negativeNodeInfluenceFactor) {\n nonMembers.forEach(function (item) {\n addItemInfluence(item, options.negativeNodeInfluenceFactor / nodeInfA);\n });\n }\n}\nfunction rerouteLine(item, buffer, intersections, wrapNormal) {\n var bbox = item.getBBox();\n var topIntersect = intersections[0], leftIntersect = intersections[1], bottomIntersect = intersections[2], rightIntersect = intersections[3];\n var cornerPos = {\n topLeft: { x: bbox.minX - buffer, y: bbox.minY - buffer },\n topRight: { x: bbox.maxX + buffer, y: bbox.minY - buffer },\n bottomLeft: { x: bbox.minX - buffer, y: bbox.maxY + buffer },\n bottomRight: { x: bbox.maxX + buffer, y: bbox.maxY + buffer },\n };\n var totalArea = bbox.height * bbox.width;\n function calcHalfArea(intersect1, intersect2) {\n return bbox.width * ((intersect1.y - bbox.minY + (intersect2.y - bbox.minY)) * 0.5);\n }\n // 根据线和boundingbox相交的情况,确定control point的位置\n if (leftIntersect) {\n // 相交区域有三角形\n if (topIntersect)\n return wrapNormal ? cornerPos.topLeft : cornerPos.bottomRight;\n if (bottomIntersect)\n return wrapNormal ? cornerPos.bottomLeft : cornerPos.topRight;\n // 相交区域分成上下两个梯形,比较面积\n var topArea = calcHalfArea(leftIntersect, rightIntersect);\n if (topArea < totalArea * 0.5) {\n if (leftIntersect.y > rightIntersect.y)\n return wrapNormal ? cornerPos.topLeft : cornerPos.bottomRight;\n return wrapNormal ? cornerPos.topRight : cornerPos.bottomLeft;\n }\n if (leftIntersect.y < rightIntersect.y)\n return wrapNormal ? cornerPos.bottomLeft : cornerPos.topRight;\n return wrapNormal ? cornerPos.bottomRight : cornerPos.topLeft;\n }\n if (rightIntersect) {\n if (topIntersect)\n return wrapNormal ? cornerPos.topRight : cornerPos.bottomLeft;\n if (bottomIntersect)\n return wrapNormal ? cornerPos.bottomRight : cornerPos.topLeft;\n }\n // 相交区域分成左右两个梯形\n var leftArea = calcHalfArea(topIntersect, bottomIntersect);\n if (leftArea < totalArea * 0.5) {\n if (topIntersect.x > bottomIntersect.x)\n return wrapNormal ? cornerPos.topLeft : cornerPos.bottomRight;\n return wrapNormal ? cornerPos.bottomLeft : cornerPos.topRight;\n }\n if (topIntersect.x < bottomIntersect.x)\n return wrapNormal ? cornerPos.topRight : cornerPos.bottomLeft;\n return wrapNormal ? cornerPos.bottomRight : cornerPos.topLeft;\n}\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "index": 127, "index2": 132, "size": 512, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "issuerId": null, "issuerName": "./src/graph/controller/view.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } } ], "profile": { "factory": 1601, "building": 800 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "module": "./src/graph/controller/view.ts", "moduleName": "./src/graph/controller/view.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/dom-util", "loc": "3:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "module": "./src/graph/controller/view.ts", "moduleName": "./src/graph/controller/view.ts", "type": "harmony import specifier", "userRequest": "@antv/dom-util", "loc": "180:16-25" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "module": "./src/graph/controller/view.ts", "moduleName": "./src/graph/controller/view.ts", "type": "harmony import specifier", "userRequest": "@antv/dom-util", "loc": "184:16-25" } ], "usedExports": ["modifyCSS"], "providedExports": [ "addEventListener", "createDom", "getHeight", "getOuterHeight", "getOuterWidth", "getRatio", "getStyle", "getWidth", "modifyCSS" ], "optimizationBailout": [], "depth": 4, "source": "// dom\nexport { default as addEventListener } from './add-event-listener';\nexport { default as createDom } from './create-dom';\nexport { default as getHeight } from './get-height';\nexport { default as getOuterHeight } from './get-outer-height';\nexport { default as getOuterWidth } from './get-outer-width';\nexport { default as getRatio } from './get-ratio';\nexport { default as getStyle } from './get-style';\nexport { default as getWidth } from './get-width';\nexport { default as modifyCSS } from './modify-css';" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/edge.ts", "name": "./src/item/edge.ts", "index": 203, "index2": 204, "size": 8268, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "issuerId": null, "issuerName": "./src/graph/controller/item.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "name": "./src/graph/controller/item.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } } ], "profile": { "factory": 114, "building": 512, "dependencies": 768 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "module": "./src/graph/controller/item.ts", "moduleName": "./src/graph/controller/item.ts", "type": "harmony side effect evaluation", "userRequest": "../../item/edge", "loc": "3:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "module": "./src/graph/controller/item.ts", "moduleName": "./src/graph/controller/item.ts", "type": "harmony import specifier", "userRequest": "../../item/edge", "loc": "90:23-27" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import { __extends } from \"tslib\";\nimport { isString, isPlainObject, isNil, mix } from '@antv/util';\nimport Item from './item';\nvar END_MAP = { source: 'start', target: 'end' };\nvar ITEM_NAME_SUFFIX = 'Node'; // 端点的后缀,如 sourceNode, targetNode\nvar POINT_NAME_SUFFIX = 'Point'; // 起点或者结束点的后缀,如 startPoint, endPoint\nvar ANCHOR_NAME_SUFFIX = 'Anchor';\nvar Edge = /** @class */ (function (_super) {\n __extends(Edge, _super);\n function Edge() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Edge.prototype.getDefaultCfg = function () {\n return {\n type: 'edge',\n sourceNode: null,\n targetNode: null,\n startPoint: null,\n endPoint: null,\n linkCenter: false,\n };\n };\n Edge.prototype.setEnd = function (name, value) {\n var pointName = END_MAP[name] + POINT_NAME_SUFFIX;\n var itemName = name + ITEM_NAME_SUFFIX;\n var preItem = this.get(itemName);\n if (preItem && !preItem.destroyed) {\n // 如果之前存在节点,则移除掉边\n preItem.removeEdge(this);\n }\n if (isPlainObject(value)) {\n // 如果设置成具体的点,则清理节点\n this.set(pointName, value);\n this.set(itemName, null);\n }\n else {\n value.addEdge(this);\n this.set(itemName, value);\n this.set(pointName, null);\n }\n };\n /**\n * 获取连接点的坐标\n * @param name source | target\n * @param model 边的数据模型\n * @param controlPoints 控制点\n */\n Edge.prototype.getLinkPoint = function (name, model, controlPoints) {\n var pointName = END_MAP[name] + POINT_NAME_SUFFIX;\n var itemName = name + ITEM_NAME_SUFFIX;\n var point = this.get(pointName);\n if (!point) {\n var item = this.get(itemName);\n var anchorName = name + ANCHOR_NAME_SUFFIX;\n var prePoint = this.getPrePoint(name, controlPoints);\n var anchorIndex = model[anchorName];\n if (!isNil(anchorIndex)) {\n // 如果有锚点,则使用锚点索引获取连接点\n point = item.getLinkPointByAnchor(anchorIndex);\n }\n // 如果锚点没有对应的点或者没有锚点,则直接计算连接点\n point = point || item.getLinkPoint(prePoint);\n if (!isNil(point.index)) {\n this.set(name + \"AnchorIndex\", point.index);\n }\n }\n return point;\n };\n /**\n * 获取同端点进行连接的点,计算交汇点\n * @param name\n * @param controlPoints\n */\n Edge.prototype.getPrePoint = function (name, controlPoints) {\n if (controlPoints && controlPoints.length) {\n var index = name === 'source' ? 0 : controlPoints.length - 1;\n return controlPoints[index];\n }\n var oppositeName = name === 'source' ? 'target' : 'source'; // 取另一个节点的位置\n return this.getEndPoint(oppositeName);\n };\n /**\n * 获取端点的位置\n * @param name\n */\n Edge.prototype.getEndPoint = function (name) {\n var itemName = name + ITEM_NAME_SUFFIX;\n var pointName = END_MAP[name] + POINT_NAME_SUFFIX;\n var item = this.get(itemName);\n // 如果有端点,直接使用 model\n if (item) {\n return item.get('model');\n } // 否则直接使用点\n return this.get(pointName);\n };\n /**\n * 通过端点的中心获取控制点\n * @param model\n */\n Edge.prototype.getControlPointsByCenter = function (model) {\n var sourcePoint = this.getEndPoint('source');\n var targetPoint = this.getEndPoint('target');\n var shapeFactory = this.get('shapeFactory');\n var type = model.type;\n return shapeFactory.getControlPoints(type, {\n startPoint: sourcePoint,\n endPoint: targetPoint,\n });\n };\n Edge.prototype.getEndCenter = function (name) {\n var itemName = name + ITEM_NAME_SUFFIX;\n var pointName = END_MAP[name] + POINT_NAME_SUFFIX;\n var item = this.get(itemName);\n // 如果有端点,直接使用 model\n if (item) {\n var bbox = item.getBBox();\n return {\n x: bbox.centerX,\n y: bbox.centerY,\n };\n } // 否则直接使用点\n return this.get(pointName);\n };\n Edge.prototype.init = function () {\n _super.prototype.init.call(this);\n // 初始化两个端点\n this.setSource(this.get('source'));\n this.setTarget(this.get('target'));\n };\n Edge.prototype.getShapeCfg = function (model) {\n var self = this;\n var linkCenter = self.get('linkCenter'); // 如果连接到中心,忽视锚点、忽视控制点\n var cfg = _super.prototype.getShapeCfg.call(this, model);\n if (linkCenter) {\n cfg.startPoint = self.getEndCenter('source');\n cfg.endPoint = self.getEndCenter('target');\n }\n else {\n var controlPoints = cfg.controlPoints || self.getControlPointsByCenter(cfg);\n cfg.startPoint = self.getLinkPoint('source', model, controlPoints);\n cfg.endPoint = self.getLinkPoint('target', model, controlPoints);\n }\n cfg.sourceNode = self.get('sourceNode');\n cfg.targetNode = self.get('targetNode');\n return cfg;\n };\n /**\n * 获取边的数据模型\n */\n Edge.prototype.getModel = function () {\n var out = this.get('model');\n var sourceItem = this.get(\"source\" + ITEM_NAME_SUFFIX);\n var targetItem = this.get(\"target\" + ITEM_NAME_SUFFIX);\n if (sourceItem) {\n delete out[\"source\" + ITEM_NAME_SUFFIX];\n }\n else {\n out.source = this.get(\"start\" + POINT_NAME_SUFFIX);\n }\n if (targetItem) {\n delete out[\"target\" + ITEM_NAME_SUFFIX];\n }\n else {\n out.target = this.get(\"end\" + POINT_NAME_SUFFIX);\n }\n if (!isString(out.source) && !isPlainObject(out.source)) {\n out.source = out.source.getID();\n }\n if (!isString(out.target) && !isPlainObject(out.target)) {\n out.target = out.target.getID();\n }\n return out;\n };\n Edge.prototype.setSource = function (source) {\n this.setEnd('source', source);\n this.set('source', source);\n };\n Edge.prototype.setTarget = function (target) {\n this.setEnd('target', target);\n this.set('target', target);\n };\n Edge.prototype.getSource = function () {\n return this.get('source');\n };\n Edge.prototype.getTarget = function () {\n return this.get('target');\n };\n Edge.prototype.updatePosition = function () { };\n /**\n * 边不需要重计算容器位置,直接重新计算 path 位置\n * @param {object} cfg 待更新数据\n */\n Edge.prototype.update = function (cfg, onlyMove) {\n if (onlyMove === void 0) { onlyMove = false; }\n var model = this.get('model');\n var oriVisible = model.visible;\n var cfgVisible = cfg.visible;\n if (oriVisible !== cfgVisible && cfgVisible !== undefined)\n this.changeVisibility(cfgVisible);\n var styles = this.get('styles');\n if (cfg.stateStyles) {\n // 更新 item 时更新 this.get('styles') 中的值\n var stateStyles = cfg.stateStyles;\n mix(styles, stateStyles);\n delete cfg.stateStyles;\n }\n Object.assign(model, cfg);\n this.updateShape();\n this.afterUpdate();\n this.clearCache();\n };\n Edge.prototype.destroy = function () {\n var sourceItem = this.get(\"source\" + ITEM_NAME_SUFFIX);\n var targetItem = this.get(\"target\" + ITEM_NAME_SUFFIX);\n if (sourceItem && !sourceItem.destroyed) {\n sourceItem.removeEdge(this);\n }\n if (targetItem && !targetItem.destroyed) {\n targetItem.removeEdge(this);\n }\n _super.prototype.destroy.call(this);\n };\n return Edge;\n}(Item));\nexport default Edge;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/node.ts", "name": "./src/item/node.ts", "index": 209, "index2": 205, "size": 7548, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "issuerId": null, "issuerName": "./src/graph/controller/item.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "name": "./src/graph/controller/item.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } } ], "profile": { "factory": 114, "building": 512, "dependencies": 768 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/combo.ts", "module": "./src/item/combo.ts", "moduleName": "./src/item/combo.ts", "type": "harmony side effect evaluation", "userRequest": "./node", "loc": "2:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "module": "./src/graph/controller/item.ts", "moduleName": "./src/graph/controller/item.ts", "type": "harmony side effect evaluation", "userRequest": "../../item/node", "loc": "4:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "module": "./src/graph/controller/item.ts", "moduleName": "./src/graph/controller/item.ts", "type": "harmony import specifier", "userRequest": "../../item/node", "loc": "100:23-27" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/combo.ts", "module": "./src/item/combo.ts", "moduleName": "./src/item/combo.ts", "type": "harmony import specifier", "userRequest": "./node", "loc": "238:2-6" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import { __extends } from \"tslib\";\nimport { each, isNil, mix } from '@antv/util';\nimport { distance, getCircleIntersectByPoint, getEllipseIntersectByPoint, getRectIntersectByPoint, } from '../util/math';\nimport Item from './item';\nvar CACHE_ANCHOR_POINTS = 'anchorPointsCache';\nvar CACHE_BBOX = 'bboxCache';\nvar Node = /** @class */ (function (_super) {\n __extends(Node, _super);\n function Node() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Node.prototype.getNearestPoint = function (points, curPoint) {\n var index = 0;\n var nearestPoint = points[0];\n var minDistance = distance(points[0], curPoint);\n for (var i = 0; i < points.length; i++) {\n var point = points[i];\n var dis = distance(point, curPoint);\n if (dis < minDistance) {\n nearestPoint = point;\n minDistance = dis;\n index = i;\n }\n }\n nearestPoint.anchorIndex = index;\n return nearestPoint;\n };\n Node.prototype.getDefaultCfg = function () {\n return {\n type: 'node',\n edges: [],\n };\n };\n /**\n * 获取从节点关联的所有边\n */\n Node.prototype.getEdges = function () {\n return this.get('edges');\n };\n /**\n * 获取所有的入边\n */\n Node.prototype.getInEdges = function () {\n var self = this;\n return this.get('edges').filter(function (edge) { return edge.get('target') === self; });\n };\n /**\n * 获取所有的出边\n */\n Node.prototype.getOutEdges = function () {\n var self = this;\n return this.get('edges').filter(function (edge) { return edge.get('source') === self; });\n };\n /**\n * 获取节点的邻居节点\n *\n * @returns {INode[]}\n * @memberof Node\n */\n Node.prototype.getNeighbors = function (type) {\n var _this = this;\n var edges = this.get('edges');\n if (type === 'target') {\n // 当前节点为 source,它所指向的目标节点\n var neighhborsConverter_1 = function (edge) {\n return edge.getSource() === _this;\n };\n return edges.filter(neighhborsConverter_1).map(function (edge) { return edge.getTarget(); });\n }\n if (type === 'source') {\n // 当前节点为 target,它所指向的源节点\n var neighhborsConverter_2 = function (edge) {\n return edge.getTarget() === _this;\n };\n return edges.filter(neighhborsConverter_2).map(function (edge) { return edge.getSource(); });\n }\n // 若未指定 type ,则返回所有邻居\n var neighhborsConverter = function (edge) {\n return edge.getSource() === _this ? edge.getTarget() : edge.getSource();\n };\n return edges.map(neighhborsConverter);\n };\n /**\n * 根据锚点的索引获取连接点\n * @param {Number} index 索引\n */\n Node.prototype.getLinkPointByAnchor = function (index) {\n var anchorPoints = this.getAnchorPoints();\n return anchorPoints[index];\n };\n /**\n * 获取连接点\n * @param point\n */\n Node.prototype.getLinkPoint = function (point) {\n var keyShape = this.get('keyShape');\n var type = keyShape.get('type');\n var itemType = this.get('type');\n var centerX;\n var centerY;\n var bbox = this.getBBox();\n if (itemType === 'combo') {\n centerX = (bbox.maxX + bbox.minX) / 2;\n centerY = (bbox.maxY + bbox.minY) / 2;\n }\n else {\n centerX = bbox.centerX;\n centerY = bbox.centerY;\n }\n var anchorPoints = this.getAnchorPoints();\n var intersectPoint;\n switch (type) {\n case 'circle':\n intersectPoint = getCircleIntersectByPoint({\n x: centerX,\n y: centerY,\n r: bbox.width / 2,\n }, point);\n break;\n case 'ellipse':\n intersectPoint = getEllipseIntersectByPoint({\n x: centerX,\n y: centerY,\n rx: bbox.width / 2,\n ry: bbox.height / 2,\n }, point);\n break;\n default:\n intersectPoint = getRectIntersectByPoint(bbox, point);\n }\n var linkPoint = intersectPoint;\n // 如果存在锚点,则使用交点计算最近的锚点\n if (anchorPoints.length) {\n if (!linkPoint) {\n // 如果计算不出交点\n linkPoint = point;\n }\n linkPoint = this.getNearestPoint(anchorPoints, linkPoint);\n }\n if (!linkPoint) {\n // 如果最终依然没法找到锚点和连接点,直接返回中心点\n linkPoint = { x: centerX, y: centerY };\n }\n return linkPoint;\n };\n /**\n * 获取锚点的定义\n * @return {array} anchorPoints\n */\n Node.prototype.getAnchorPoints = function () {\n var anchorPoints = this.get(CACHE_ANCHOR_POINTS);\n if (!anchorPoints) {\n anchorPoints = [];\n var shapeFactory = this.get('shapeFactory');\n var bbox_1 = this.getBBox();\n var model = this.get('model');\n var shapeCfg = this.getShapeCfg(model);\n var type = model.type;\n var points = shapeFactory.getAnchorPoints(type, shapeCfg) || [];\n each(points, function (pointArr, index) {\n var point = mix({\n x: bbox_1.minX + pointArr[0] * bbox_1.width,\n y: bbox_1.minY + pointArr[1] * bbox_1.height,\n }, pointArr[2], {\n index: index,\n });\n anchorPoints.push(point);\n });\n this.set(CACHE_ANCHOR_POINTS, anchorPoints);\n }\n return anchorPoints;\n };\n /**\n * add edge\n * @param edge Edge instance\n */\n Node.prototype.addEdge = function (edge) {\n this.get('edges').push(edge);\n };\n /**\n * 锁定节点\n */\n Node.prototype.lock = function () {\n this.set('locked', true);\n };\n /**\n * 解锁锁定的节点\n */\n Node.prototype.unlock = function () {\n this.set('locked', false);\n };\n Node.prototype.hasLocked = function () {\n return this.get('locked');\n };\n /**\n * 移除边\n * @param {Edge} edge 边\n */\n Node.prototype.removeEdge = function (edge) {\n var edges = this.getEdges();\n var index = edges.indexOf(edge);\n if (index > -1) {\n edges.splice(index, 1);\n }\n };\n Node.prototype.clearCache = function () {\n this.set(CACHE_BBOX, null); // 清理缓存的 bbox\n this.set(CACHE_ANCHOR_POINTS, null);\n };\n /**\n * 是否仅仅移动节点,其他属性没变化\n * @param cfg 节点数据模型\n */\n Node.prototype.isOnlyMove = function (cfg) {\n if (!cfg) {\n return false;\n }\n var existX = !isNil(cfg.x);\n var existY = !isNil(cfg.y);\n var keys = Object.keys(cfg);\n // 仅有一个字段,包含 x 或者 包含 y\n // 两个字段,同时有 x,同时有 y\n return (keys.length === 1 && (existX || existY)) || (keys.length === 2 && existX && existY);\n };\n return Node;\n}(Item));\nexport default Node;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/combo.ts", "name": "./src/item/combo.ts", "index": 210, "index2": 206, "size": 7858, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "issuerId": null, "issuerName": "./src/graph/controller/item.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "name": "./src/graph/controller/item.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } } ], "profile": { "factory": 114, "building": 512, "dependencies": 768 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "module": "./src/graph/controller/item.ts", "moduleName": "./src/graph/controller/item.ts", "type": "harmony side effect evaluation", "userRequest": "../../item/combo", "loc": "5:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "module": "./src/graph/controller/item.ts", "moduleName": "./src/graph/controller/item.ts", "type": "harmony import specifier", "userRequest": "../../item/combo", "loc": "113:23-28" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import { __assign, __extends } from \"tslib\";\nimport Node from './node';\nimport Global from '../global';\nimport { getBBox } from '../util/graphic';\nimport { isNumber } from '@antv/util';\nvar CACHE_BBOX = 'bboxCache';\nvar CACHE_CANVAS_BBOX = 'bboxCanvasCache';\nvar CACHE_SIZE = 'sizeCache';\nvar CACHE_ANCHOR_POINTS = 'anchorPointsCache';\nvar Combo = /** @class */ (function (_super) {\n __extends(Combo, _super);\n function Combo() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Combo.prototype.getDefaultCfg = function () {\n return {\n type: 'combo',\n nodes: [],\n edges: [],\n combos: [],\n };\n };\n Combo.prototype.getShapeCfg = function (model) {\n var styles = this.get('styles');\n var bbox = this.get('bbox');\n if (styles && bbox) {\n // merge graph的item样式与数据模型中的样式\n var newModel = model;\n var size = {\n r: Math.hypot(bbox.height, bbox.width) / 2 || Global.defaultCombo.size[0] / 2,\n width: bbox.width || Global.defaultCombo.size[0],\n height: bbox.height || Global.defaultCombo.size[1],\n };\n newModel.style = __assign(__assign(__assign({}, styles), model.style), size);\n var padding = model.padding || Global.defaultCombo.padding;\n if (isNumber(padding)) {\n size.r += padding;\n size.width += padding * 2;\n size.height += padding * 2;\n }\n else {\n size.r += padding[0];\n size.width += padding[1] + padding[3] || padding[1] * 2;\n size.height += padding[0] + padding[2] || padding[0] * 2;\n }\n this.set(CACHE_SIZE, size);\n return newModel;\n }\n return model;\n };\n /**\n * 根据 keyshape 计算包围盒\n */\n Combo.prototype.calculateCanvasBBox = function () {\n var keyShape = this.get('keyShape');\n var group = this.get('group');\n // 因为 group 可能会移动,所以必须通过父元素计算才能计算出正确的包围盒\n var bbox = getBBox(keyShape, group);\n bbox.x = bbox.minX;\n bbox.y = bbox.minY;\n bbox.centerX = (bbox.minX + bbox.maxX) / 2;\n bbox.centerY = (bbox.minY + bbox.maxY) / 2;\n var cacheSize = this.get(CACHE_SIZE);\n if (cacheSize) {\n var type = keyShape.get('type');\n if (type === 'circle') {\n bbox.width = cacheSize.r * 2;\n bbox.height = cacheSize.r * 2;\n }\n else {\n bbox.width = cacheSize.width;\n bbox.height = cacheSize.height;\n }\n bbox.minX = bbox.centerX - bbox.width / 2;\n bbox.minY = bbox.centerY - bbox.height / 2;\n bbox.maxX = bbox.centerX + bbox.width / 2;\n bbox.maxY = bbox.centerY + bbox.height / 2;\n }\n else {\n bbox.width = bbox.maxX - bbox.minX;\n bbox.height = bbox.maxY - bbox.minY;\n bbox.centerX = (bbox.minX + bbox.maxX) / 2;\n bbox.centerY = (bbox.minY + bbox.maxY) / 2;\n }\n return bbox;\n };\n /**\n * 获取 Combo 中所有的子元素,包括 Combo、Node 及 Edge\n */\n Combo.prototype.getChildren = function () {\n var self = this;\n return {\n nodes: self.getNodes(),\n combos: self.getCombos(),\n };\n };\n /**\n * 获取 Combo 中所有子节点\n */\n Combo.prototype.getNodes = function () {\n var self = this;\n return self.get('nodes');\n };\n /**\n * 获取 Combo 中所有子 combo\n */\n Combo.prototype.getCombos = function () {\n var self = this;\n return self.get('combos');\n };\n /**\n * 向 Combo 中增加子 combo 或 node\n * @param item Combo 或节点实例\n * @return boolean 添加成功返回 true,否则返回 false\n */\n Combo.prototype.addChild = function (item) {\n var self = this;\n var itemType = item.getType();\n switch (itemType) {\n case 'node':\n self.addNode(item);\n break;\n case 'combo':\n self.addCombo(item);\n break;\n default:\n console.warn('Only node or combo items are allowed to be added into a combo');\n return false;\n }\n return true;\n };\n /**\n * 向 Combo 中增加 combo\n * @param combo Combo 实例\n * @return boolean 添加成功返回 true,否则返回 false\n */\n Combo.prototype.addCombo = function (combo) {\n var self = this;\n self.get('combos').push(combo);\n return true;\n };\n /**\n * 向 Combo 中添加节点\n * @param node 节点实例\n * @return boolean 添加成功返回 true,否则返回 false\n */\n Combo.prototype.addNode = function (node) {\n var self = this;\n self.get('nodes').push(node);\n return true;\n };\n /**\n * 向 Combo 中增加子 combo 或 node\n * @param item Combo 或节点实例\n * @return boolean 添加成功返回 true,否则返回 false\n */\n Combo.prototype.removeChild = function (item) {\n var self = this;\n var itemType = item.getType();\n switch (itemType) {\n case 'node':\n self.removeNode(item);\n break;\n case 'combo':\n self.removeCombo(item);\n break;\n default:\n console.warn('Only node or combo items are allowed to be added into a combo');\n return false;\n }\n return true;\n };\n /**\n * 从 Combo 中移除指定的 combo\n * @param combo Combo 实例\n * @return boolean 移除成功返回 true,否则返回 false\n */\n Combo.prototype.removeCombo = function (combo) {\n if (!combo)\n return;\n var combos = this.getCombos();\n var index = combos.indexOf(combo);\n if (index > -1) {\n combos.splice(index, 1);\n return true;\n }\n return false;\n };\n /**\n * 向 Combo 中移除指定的节点\n * @param node 节点实例\n * @return boolean 移除成功返回 true,否则返回 false\n */\n Combo.prototype.removeNode = function (node) {\n if (!node)\n return;\n var nodes = this.getNodes();\n var index = nodes.indexOf(node);\n if (index > -1) {\n nodes.splice(index, 1);\n return true;\n }\n return false;\n };\n Combo.prototype.isOnlyMove = function (cfg) {\n return false;\n };\n /**\n * 获取 item 的包围盒,这个包围盒是相对于 item 自己,不会将 matrix 计算在内\n * @return {Object} 包含 x,y,width,height, centerX, centerY\n */\n Combo.prototype.getBBox = function () {\n this.set(CACHE_CANVAS_BBOX, null);\n var bbox = this.calculateCanvasBBox();\n return bbox;\n };\n Combo.prototype.clearCache = function () {\n this.set(CACHE_BBOX, null); // 清理缓存的 bbox\n this.set(CACHE_CANVAS_BBOX, null);\n this.set(CACHE_ANCHOR_POINTS, null);\n };\n Combo.prototype.destroy = function () {\n if (!this.destroyed) {\n var animate = this.get('animate');\n var group = this.get('group');\n if (animate) {\n group.stopAnimate();\n }\n this.clearCache();\n this.set(CACHE_SIZE, null);\n this.set('bbox', null);\n group.remove();\n this._cfg = null;\n this.destroyed = true;\n }\n };\n return Combo;\n}(Node));\nexport default Combo;\n" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/add-event-listener.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/add-event-listener.js", "index": 128, "index2": 123, "size": 650, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "profile": { "factory": 1601, "building": 800 } } ], "profile": { "factory": 443, "building": 527, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./add-event-listener", "loc": "2:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./add-event-listener", "loc": "2:0-67" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 5, "source": "export default function addEventListener(target, eventType, callback) {\n if (target) {\n if (typeof target.addEventListener === 'function') {\n target.addEventListener(eventType, callback, false);\n return {\n remove: function remove() {\n target.removeEventListener(eventType, callback, false);\n }\n }; // @ts-ignore\n }\n\n if (typeof target.attachEvent === 'function') {\n // @ts-ignore\n target.attachEvent('on' + eventType, callback);\n return {\n remove: function remove() {\n // @ts-ignore\n target.detachEvent('on' + eventType, callback);\n }\n };\n }\n }\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/create-dom.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/create-dom.js", "index": 129, "index2": 124, "size": 900, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "profile": { "factory": 1601, "building": 800 } } ], "profile": { "factory": 443, "building": 527, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./create-dom", "loc": "3:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./create-dom", "loc": "3:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 5, "source": "/**\n * 创建DOM 节点\n * @param {String} str Dom 字符串\n * @return {HTMLElement} DOM 节点\n */\nvar TABLE;\nvar TABLE_TR;\nvar FRAGMENT_REG;\nvar CONTAINERS;\n\nfunction initConstants() {\n TABLE = document.createElement('table');\n TABLE_TR = document.createElement('tr');\n FRAGMENT_REG = /^\\s*<(\\w+|!)[^>]*>/;\n CONTAINERS = {\n tr: document.createElement('tbody'),\n tbody: TABLE,\n thead: TABLE,\n tfoot: TABLE,\n td: TABLE_TR,\n th: TABLE_TR,\n '*': document.createElement('div')\n };\n}\n\nexport default function createDom(str) {\n if (!TABLE) {\n initConstants();\n }\n\n var name = FRAGMENT_REG.test(str) && RegExp.$1;\n\n if (!name || !(name in CONTAINERS)) {\n name = '*';\n }\n\n var container = CONTAINERS[name];\n str = str.replace(/(^\\s*)|(\\s*$)/g, '');\n container.innerHTML = '' + str;\n var dom = container.childNodes[0];\n container.removeChild(dom);\n return dom;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-style.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-style.js", "index": 131, "index2": 125, "size": 533, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "profile": { "factory": 1601, "building": 800 } } ], "profile": { "factory": 443, "building": 527, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "type": "harmony side effect evaluation", "userRequest": "./get-style", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-height.js", "type": "harmony side effect evaluation", "userRequest": "./get-style", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "type": "harmony side effect evaluation", "userRequest": "./get-style", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-width.js", "type": "harmony side effect evaluation", "userRequest": "./get-style", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-width.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "3:14-22" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-height.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "3:15-23" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "5:24-32" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "5:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "6:24-32" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "6:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "7:26-34" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "7:27-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-style", "loc": "8:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-style", "loc": "8:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "8:26-34" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "8:27-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "9:24-32" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "9:26-34" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "10:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "type": "harmony import specifier", "userRequest": "./get-style", "loc": "10:27-35" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 5, "source": "/**\n * 获取样式\n * @param {Object} dom DOM节点\n * @param {String} name 样式名\n * @param {Any} defaultValue 默认值\n * @return {String} 属性值\n */\nexport default function getStyle(dom, name, defaultValue) {\n var v;\n\n try {\n v = window.getComputedStyle ? window.getComputedStyle(dom, null)[name] : dom.style[name]; // 一般不会走到这个逻辑,dom.style 获取的是标签 style 属性,也不准确\n } catch (e) {// do nothing\n } finally {\n v = v === undefined ? defaultValue : v;\n }\n\n return v;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-height.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-height.js", "index": 130, "index2": 126, "size": 236, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "profile": { "factory": 1601, "building": 800 } } ], "profile": { "factory": 443, "building": 527, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "type": "harmony side effect evaluation", "userRequest": "./get-height", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-height", "loc": "4:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-height", "loc": "4:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "type": "harmony import specifier", "userRequest": "./get-height", "loc": "4:15-24" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 5, "source": "import getStyle from './get-style';\nexport default function getHeight(el, defaultValue) {\n var height = getStyle(el, 'height', defaultValue);\n\n if (height === 'auto') {\n height = el.offsetHeight;\n }\n\n return parseFloat(height);\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-height.js", "index": 132, "index2": 127, "size": 618, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "profile": { "factory": 1601, "building": 800 } } ], "profile": { "factory": 443, "building": 527, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-outer-height", "loc": "5:0-63" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-outer-height", "loc": "5:0-63" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 5, "source": "import getStyle from './get-style';\nimport getHeight from './get-height';\nexport default function getOuterHeight(el, defaultValue) {\n var height = getHeight(el, defaultValue);\n var bTop = parseFloat(getStyle(el, 'borderTopWidth')) || 0;\n var pTop = parseFloat(getStyle(el, 'paddingTop')) || 0;\n var pBottom = parseFloat(getStyle(el, 'paddingBottom')) || 0;\n var bBottom = parseFloat(getStyle(el, 'borderBottomWidth')) || 0;\n var mTop = parseFloat(getStyle(el, 'marginTop')) || 0;\n var mBottom = parseFloat(getStyle(el, 'marginBottom')) || 0;\n return height + bTop + bBottom + pTop + pBottom + mTop + mBottom;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-width.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-width.js", "index": 134, "index2": 128, "size": 230, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "profile": { "factory": 1601, "building": 800 } } ], "profile": { "factory": 443, "building": 527, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "type": "harmony side effect evaluation", "userRequest": "./get-width", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "type": "harmony import specifier", "userRequest": "./get-width", "loc": "4:14-22" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-width", "loc": "9:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-width", "loc": "9:0-50" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 5, "source": "import getStyle from './get-style';\nexport default function getHeight(el, defaultValue) {\n var width = getStyle(el, 'width', defaultValue);\n\n if (width === 'auto') {\n width = el.offsetWidth;\n }\n\n return parseFloat(width);\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-outer-width.js", "index": 133, "index2": 129, "size": 612, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "profile": { "factory": 1601, "building": 800 } } ], "profile": { "factory": 443, "building": 527, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-outer-width", "loc": "6:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-outer-width", "loc": "6:0-61" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 5, "source": "import getStyle from './get-style';\nimport getWidth from './get-width';\nexport default function getOuterWidth(el, defaultValue) {\n var width = getWidth(el, defaultValue);\n var bLeft = parseFloat(getStyle(el, 'borderLeftWidth')) || 0;\n var pLeft = parseFloat(getStyle(el, 'paddingLeft')) || 0;\n var pRight = parseFloat(getStyle(el, 'paddingRight')) || 0;\n var bRight = parseFloat(getStyle(el, 'borderRightWidth')) || 0;\n var mRight = parseFloat(getStyle(el, 'marginRight')) || 0;\n var mLeft = parseFloat(getStyle(el, 'marginLeft')) || 0;\n return width + bLeft + bRight + pLeft + pRight + mLeft + mRight;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-ratio.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/get-ratio.js", "index": 135, "index2": 130, "size": 102, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "profile": { "factory": 1601, "building": 800 } } ], "profile": { "factory": 443, "building": 527, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./get-ratio", "loc": "7:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./get-ratio", "loc": "7:0-50" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 5, "source": "export default function getRatio() {\n return window.devicePixelRatio ? window.devicePixelRatio : 2;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/modify-css.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/modify-css.js", "index": 136, "index2": 131, "size": 192, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/view.ts", "name": "./src/graph/controller/view.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "name": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "profile": { "factory": 1601, "building": 800 } } ], "profile": { "factory": 443, "building": 527, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./modify-css", "loc": "10:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "module": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "moduleName": "./node_modules/_@antv_dom-util@2.0.2@@antv/dom-util/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./modify-css", "loc": "10:0-52" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 5, "source": "export default function modifyCSS(dom, css) {\n if (dom) {\n for (var key in css) {\n if (css.hasOwnProperty(key)) {\n dom.style[key] = css[key];\n }\n }\n }\n\n return dom;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/item.ts", "name": "./src/item/item.ts", "index": 204, "index2": 203, "size": 23480, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/edge.ts", "issuerId": null, "issuerName": "./src/item/edge.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/index.ts", "name": "./src/graph/controller/index.ts", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/controller/item.ts", "name": "./src/graph/controller/item.ts", "profile": { "factory": 281, "building": 793, "dependencies": 404 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/edge.ts", "name": "./src/item/edge.ts", "profile": { "factory": 114, "building": 512, "dependencies": 768 } } ], "profile": { "factory": 817, "building": 222, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/edge.ts", "module": "./src/item/edge.ts", "moduleName": "./src/item/edge.ts", "type": "harmony side effect evaluation", "userRequest": "./item", "loc": "3:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/node.ts", "module": "./src/item/node.ts", "moduleName": "./src/item/node.ts", "type": "harmony side effect evaluation", "userRequest": "./item", "loc": "4:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/edge.ts", "module": "./src/item/edge.ts", "moduleName": "./src/item/edge.ts", "type": "harmony import specifier", "userRequest": "./item", "loc": "224:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/item/node.ts", "module": "./src/item/node.ts", "moduleName": "./src/item/node.ts", "type": "harmony import specifier", "userRequest": "./item", "loc": "226:2-6" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 5, "source": "import { __assign } from \"tslib\";\nimport { each, isNil, isPlainObject, isString, isBoolean, uniqueId, mix, deepMix, isArray, } from '@antv/util';\nimport Shape from '../shape/shape';\nimport { getBBox } from '../util/graphic';\nimport { translate } from '../util/math';\nimport Global from '../global';\nvar CACHE_BBOX = 'bboxCache';\nvar CACHE_CANVAS_BBOX = 'bboxCanvasCache';\nvar ARROWS = ['startArrow', 'endArrow'];\nvar ItemBase = /** @class */ (function () {\n function ItemBase(cfg) {\n this._cfg = {};\n this.destroyed = false;\n var defaultCfg = {\n /**\n * id\n * @type {string}\n */\n id: undefined,\n /**\n * 类型\n * @type {string}\n */\n type: 'item',\n /**\n * data model\n * @type {object}\n */\n model: {},\n /**\n * g group\n * @type {G.Group}\n */\n group: undefined,\n /**\n * is open animate\n * @type {boolean}\n */\n animate: false,\n /**\n * visible - not group visible\n * @type {boolean}\n */\n visible: true,\n /**\n * locked - lock node\n * @type {boolean}\n */\n locked: false,\n /**\n * capture event\n * @type {boolean}\n */\n event: true,\n /**\n * key shape to calculate item's bbox\n * @type object\n */\n keyShape: undefined,\n /**\n * item's states, such as selected or active\n * @type Array\n */\n states: [],\n };\n this._cfg = Object.assign(defaultCfg, this.getDefaultCfg(), cfg);\n var model = this.get('model');\n var id = model.id;\n var itemType = this.get('type');\n if (!id) {\n id = uniqueId(itemType);\n this.get('model').id = id;\n }\n this.set('id', id);\n var group = cfg.group;\n if (group) {\n group.set('item', this);\n group.set('id', id);\n }\n this.init();\n this.draw();\n var shapeType = model.shape ||\n model.type ||\n (itemType === 'edge' ? 'line' : 'circle');\n var shapeFactory = this.get('shapeFactory');\n if (shapeFactory && shapeFactory[shapeType]) {\n var options = shapeFactory[shapeType].options;\n // merge the stateStyles from item and shape\n if (options && options.stateStyles) {\n var styles = this.get('styles') || model.stateStyles;\n styles = deepMix({}, options.stateStyles, styles);\n this.set('styles', styles);\n }\n }\n }\n /**\n * 根据 keyshape 计算包围盒\n */\n ItemBase.prototype.calculateBBox = function () {\n var keyShape = this.get('keyShape');\n var group = this.get('group');\n // 因为 group 可能会移动,所以必须通过父元素计算才能计算出正确的包围盒\n var bbox = getBBox(keyShape, group);\n bbox.x = bbox.minX;\n bbox.y = bbox.minY;\n bbox.width = bbox.maxX - bbox.minX;\n bbox.height = bbox.maxY - bbox.minY;\n bbox.centerX = (bbox.minX + bbox.maxX) / 2;\n bbox.centerY = (bbox.minY + bbox.maxY) / 2;\n return bbox;\n };\n /**\n * 根据 keyshape 计算包围盒\n */\n ItemBase.prototype.calculateCanvasBBox = function () {\n var keyShape = this.get('keyShape');\n var group = this.get('group');\n // 因为 group 可能会移动,所以必须通过父元素计算才能计算出正确的包围盒\n var bbox = getBBox(keyShape, group);\n bbox.x = bbox.minX;\n bbox.y = bbox.minY;\n bbox.width = bbox.maxX - bbox.minX;\n bbox.height = bbox.maxY - bbox.minY;\n bbox.centerX = (bbox.minX + bbox.maxX) / 2;\n bbox.centerY = (bbox.minY + bbox.maxY) / 2;\n return bbox;\n };\n /**\n * draw shape\n */\n ItemBase.prototype.drawInner = function () {\n var self = this;\n var shapeFactory = self.get('shapeFactory');\n var group = self.get('group');\n var model = self.get('model');\n group.clear();\n var visible = model.visible;\n if (visible !== undefined && !visible)\n self.changeVisibility(visible);\n if (!shapeFactory) {\n return;\n }\n self.updatePosition(model);\n var cfg = self.getShapeCfg(model); // 可能会附加额外信息\n var shapeType = cfg.type;\n var keyShape = shapeFactory.draw(shapeType, cfg, group);\n if (keyShape) {\n self.set('keyShape', keyShape);\n keyShape.set('isKeyShape', true);\n keyShape.set('draggable', true);\n }\n this.setOriginStyle();\n // 防止由于用户外部修改 model 中的 shape 导致 shape 不更新\n this.set('currentShape', shapeType);\n this.restoreStates(shapeFactory, shapeType);\n };\n /**\n * 设置图元素原始样式\n * @param keyShape 图元素 keyShape\n * @param group Group 容器\n */\n ItemBase.prototype.setOriginStyle = function (cfg) {\n var originStyles = {};\n var group = this.get('group');\n var children = group.get('children');\n var keyShape = this.getKeyShape();\n var self = this;\n var keyShapeName = keyShape.get('name');\n if (!this.get('originStyle')) {\n each(children, function (child) {\n var name = child.get('name');\n if (name && name !== keyShapeName) {\n originStyles[name] = self.getShapeStyleByName(name);\n }\n else {\n var keyShapeStyle = self.getShapeStyleByName();\n if (keyShapeStyle.path)\n delete keyShapeStyle.path;\n if (keyShapeStyle.matrix)\n delete keyShapeStyle.matrix;\n if (!keyShapeName) {\n Object.assign(originStyles, keyShapeStyle);\n }\n else {\n originStyles[keyShapeName] = keyShapeStyle;\n }\n }\n });\n }\n var itemType = this.get('type');\n var model = this.getModel();\n var shapeType = model.type;\n if (!shapeType) {\n switch (itemType) {\n case 'edge':\n shapeType = 'line';\n break;\n default:\n shapeType = 'circle';\n break;\n }\n }\n var shapeFactory = Shape.getFactory(itemType)[shapeType];\n if (!shapeFactory)\n shapeFactory = Shape.getFactory(itemType).getShape();\n var shapeOptions = shapeFactory.getOptions ? shapeFactory.getOptions(model) : {};\n var defaultStyle = shapeOptions.style || {};\n var size = shapeOptions.size;\n if (itemType === 'edge') {\n if (!defaultStyle.lineWidth)\n defaultStyle.lineWidth = size || Global.defaultEdge.size;\n }\n else {\n if (!defaultStyle.r)\n defaultStyle.r = size / 2 || Global.defaultNode.size / 2;\n if (!defaultStyle.width)\n defaultStyle.width = (isArray(size) ? size[0] : size) || Global.defaultNode.size / 2;\n if (!defaultStyle.height)\n defaultStyle.height = (isArray(size) ? size[1] : size) || Global.defaultNode.size / 2;\n }\n if (!keyShapeName) {\n Object.assign(originStyles, defaultStyle);\n }\n else {\n var styles_1 = {};\n for (var key in defaultStyle) {\n var style = defaultStyle[key];\n if (!isPlainObject(style) || ARROWS.includes(key))\n styles_1[key] = style;\n }\n if (styles_1.path)\n delete styles_1.path;\n if (styles_1.matrix)\n delete styles_1.matrix;\n if (!originStyles[keyShapeName])\n originStyles[keyShapeName] = styles_1;\n else\n originStyles[keyShapeName] = Object.assign(styles_1, originStyles[keyShapeName]);\n }\n var drawOriginStyle = this.getOriginStyle();\n var styles = {};\n if (cfg) {\n styles = deepMix({}, drawOriginStyle, originStyles, cfg.style, {\n labelCfg: cfg.labelCfg,\n });\n }\n else {\n styles = deepMix({}, drawOriginStyle, originStyles);\n }\n if (styles.path)\n delete styles.path;\n if (styles.matrix)\n delete styles.matrix;\n self.set('originStyle', styles);\n };\n /**\n * restore shape states\n * @param shapeFactory\n * @param shapeType\n */\n ItemBase.prototype.restoreStates = function (shapeFactory, shapeType) {\n var self = this;\n var states = self.get('states');\n each(states, function (state) {\n shapeFactory.setState(shapeType, state, true, self);\n });\n };\n ItemBase.prototype.init = function () {\n var shapeFactory = Shape.getFactory(this.get('type'));\n this.set('shapeFactory', shapeFactory);\n };\n /**\n * 获取属性\n * @internal 仅内部类使用\n * @param {String} key 属性名\n * @return {object | string | number} 属性值\n */\n ItemBase.prototype.get = function (key) {\n return this._cfg[key];\n };\n /**\n * 设置属性\n * @internal 仅内部类使用\n * @param {String|Object} key 属性名,也可以是对象\n * @param {object | string | number} val 属性值\n */\n ItemBase.prototype.set = function (key, val) {\n if (isPlainObject(key)) {\n this._cfg = __assign(__assign({}, this._cfg), key);\n }\n else {\n this._cfg[key] = val;\n }\n };\n ItemBase.prototype.getDefaultCfg = function () {\n return {};\n };\n /**\n * 更新/刷新等操作后,清除 cache\n */\n ItemBase.prototype.clearCache = function () {\n this.set(CACHE_BBOX, null);\n this.set(CACHE_CANVAS_BBOX, null);\n };\n /**\n * 渲染前的逻辑,提供给子类复写\n */\n ItemBase.prototype.beforeDraw = function () { };\n /**\n * 渲染后的逻辑,提供给子类复写\n */\n ItemBase.prototype.afterDraw = function () { };\n /**\n * 更新后做一些工作\n */\n ItemBase.prototype.afterUpdate = function () { };\n /**\n * draw shape\n */\n ItemBase.prototype.draw = function () {\n this.beforeDraw();\n this.drawInner();\n this.afterDraw();\n };\n ItemBase.prototype.getShapeStyleByName = function (name) {\n var group = this.get('group');\n var currentShape = this.getKeyShape();\n if (name) {\n currentShape = group.find(function (element) { return element.get('name') === name; });\n }\n if (currentShape) {\n var styles_2 = {};\n each(currentShape.attr(), function (val, key) {\n // 修改 img 通过 updateItem 实现\n if (key !== 'img') {\n styles_2[key] = val;\n }\n });\n return styles_2;\n }\n return {};\n };\n ItemBase.prototype.getShapeCfg = function (model) {\n var styles = this.get('styles');\n if (styles) {\n // merge graph的item样式与数据模型中的样式\n var newModel = model;\n newModel.style = __assign(__assign({}, styles), model.style);\n return newModel;\n }\n return model;\n };\n /**\n * 获取指定状态的样式,去除了全局样式\n * @param state 状态名称\n */\n ItemBase.prototype.getStateStyle = function (state) {\n var styles = this.get('styles');\n var stateStyle = styles && styles[state];\n return stateStyle;\n };\n /**\n * get keyshape style\n */\n ItemBase.prototype.getOriginStyle = function () {\n return this.get('originStyle');\n };\n ItemBase.prototype.getCurrentStatesStyle = function () {\n var self = this;\n var styles = {};\n var states = self.getStates();\n if (!states || !states.length) {\n return this.getOriginStyle();\n }\n each(self.getStates(), function (state) {\n styles = Object.assign(styles, self.getStateStyle(state));\n });\n return styles;\n };\n /**\n * 更改元素状态, visible 不属于这个范畴\n * @internal 仅提供内部类 graph 使用\n * @param {String} state 状态名\n * @param {Boolean} value 节点状态值\n */\n ItemBase.prototype.setState = function (state, value) {\n var states = this.get('states');\n var shapeFactory = this.get('shapeFactory');\n var stateName = state;\n var filterStateName = state;\n if (isString(value)) {\n stateName = state + \":\" + value;\n filterStateName = state + \":\";\n }\n var newStates = states;\n if (isBoolean(value)) {\n var index = states.indexOf(filterStateName);\n if (value) {\n if (index > -1) {\n return;\n }\n states.push(stateName);\n }\n else if (index > -1) {\n states.splice(index, 1);\n }\n }\n else if (isString(value)) {\n // 过滤掉 states 中 filterStateName 相关的状态\n var filterStates = states.filter(function (name) { return name.includes(filterStateName); });\n if (filterStates.length > 0) {\n this.clearStates(filterStates);\n }\n newStates = newStates.filter(function (name) { return !name.includes(filterStateName); });\n newStates.push(stateName);\n this.set('states', newStates);\n }\n if (shapeFactory) {\n var model = this.get('model');\n var type = model.type;\n // 调用 shape/shape.ts 中的 setState\n shapeFactory.setState(type, state, value, this);\n }\n };\n /**\n * 清除指定的状态,如果参数为空,则不做任务处理\n * @param states 状态名称\n */\n ItemBase.prototype.clearStates = function (states) {\n var self = this;\n var originStates = self.getStates();\n var shapeFactory = self.get('shapeFactory');\n var model = self.get('model');\n var shape = model.type;\n if (!states) {\n states = originStates;\n }\n if (isString(states)) {\n states = [states];\n }\n var newStates = originStates.filter(function (state) { return states.indexOf(state) === -1; });\n self.set('states', newStates);\n states.forEach(function (state) {\n shapeFactory.setState(shape, state, false, self);\n });\n };\n /**\n * 节点的图形容器\n * @return {G.Group} 图形容器\n */\n ItemBase.prototype.getContainer = function () {\n return this.get('group');\n };\n /**\n * 节点的关键形状,用于计算节点大小,连线截距等\n * @return {IShapeBase} 关键形状\n */\n ItemBase.prototype.getKeyShape = function () {\n return this.get('keyShape');\n };\n /**\n * 节点数据模型\n * @return {Object} 数据模型\n */\n ItemBase.prototype.getModel = function () {\n return this.get('model');\n };\n /**\n * 节点类型\n * @return {string} 节点的类型\n */\n ItemBase.prototype.getType = function () {\n return this.get('type');\n };\n /**\n * 获取 Item 的ID\n */\n ItemBase.prototype.getID = function () {\n return this.get('id');\n };\n /**\n * 是否是 Item 对象,悬空边情况下进行判定\n */\n ItemBase.prototype.isItem = function () {\n return true;\n };\n /**\n * 获取当前元素的所有状态\n * @return {Array} 元素的所有状态\n */\n ItemBase.prototype.getStates = function () {\n return this.get('states');\n };\n /**\n * 当前元素是否处于某状态\n * @param {String} state 状态名\n * @return {Boolean} 是否处于某状态\n */\n ItemBase.prototype.hasState = function (state) {\n var states = this.getStates();\n return states.indexOf(state) >= 0;\n };\n /**\n * 刷新一般用于处理几种情况\n * 1. item model 在外部被改变\n * 2. 边的节点位置发生改变,需要重新计算边\n *\n * 因为数据从外部被修改无法判断一些属性是否被修改,直接走位置和 shape 的更新\n */\n ItemBase.prototype.refresh = function () {\n var model = this.get('model');\n // 更新元素位置\n this.updatePosition(model);\n // 更新元素内容,样式\n this.updateShape();\n // 做一些更新之后的操作\n this.afterUpdate();\n // 清除缓存\n this.clearCache();\n };\n ItemBase.prototype.isOnlyMove = function (cfg) {\n return false;\n };\n /**\n * 将更新应用到 model 上,刷新属性\n * @internal 仅提供给 Graph 使用,外部直接调用 graph.update 接口\n * @param {Object} cfg 配置项,可以是增量信息\n */\n ItemBase.prototype.update = function (cfg, onlyMove) {\n if (onlyMove === void 0) { onlyMove = false; }\n var model = this.get('model');\n var oriVisible = model.visible;\n var cfgVisible = cfg.visible;\n if (oriVisible !== cfgVisible && cfgVisible !== undefined)\n this.changeVisibility(cfgVisible);\n var originPosition = { x: model.x, y: model.y };\n cfg.x = isNaN(cfg.x) ? model.x : cfg.x;\n cfg.y = isNaN(cfg.y) ? model.y : cfg.y;\n var styles = this.get('styles');\n if (cfg.stateStyles) {\n // 更新 item 时更新 this.get('styles') 中的值\n var stateStyles = cfg.stateStyles;\n mix(styles, stateStyles);\n delete cfg.stateStyles;\n }\n // 直接将更新合到原数据模型上,可以保证用户在外部修改源数据然后刷新时的样式符合期待。\n Object.assign(model, cfg);\n // isOnlyMove 仅用于node\n // const onlyMove = this.isOnlyMove(cfg);\n // 仅仅移动位置时,既不更新,也不重绘\n if (onlyMove) {\n this.updatePosition(cfg);\n }\n else {\n // 如果 x,y 有变化,先重置位置\n if (originPosition.x !== cfg.x || originPosition.y !== cfg.y) {\n this.updatePosition(cfg);\n }\n this.updateShape();\n }\n this.afterUpdate();\n this.clearCache();\n };\n /**\n * 更新元素内容,样式\n */\n ItemBase.prototype.updateShape = function () {\n var shapeFactory = this.get('shapeFactory');\n var model = this.get('model');\n var shape = model.type;\n // 判定是否允许更新\n // 1. 注册的节点允许更新\n // 2. 更新后的 shape 等于原先的 shape\n if (shapeFactory.shouldUpdate(shape) && shape === this.get('currentShape')) {\n var updateCfg = this.getShapeCfg(model);\n shapeFactory.baseUpdate(shape, updateCfg, this);\n }\n else {\n // 如果不满足上面两种状态,重新绘制\n this.draw();\n }\n // 更新完以后重新设置原始样式\n this.setOriginStyle(model);\n // 更新后重置节点状态\n this.restoreStates(shapeFactory, shape);\n };\n /**\n * 更新位置,避免整体重绘\n * @param {object} cfg 待更新数据\n */\n ItemBase.prototype.updatePosition = function (cfg) {\n var model = this.get('model');\n var x = isNil(cfg.x) ? model.x : cfg.x;\n var y = isNil(cfg.y) ? model.y : cfg.y;\n var group = this.get('group');\n if (isNil(x) || isNil(y)) {\n return;\n }\n group.resetMatrix();\n // G 4.0 element 中移除了矩阵相关方法,详见https://www.yuque.com/antv/blog/kxzk9g#4rMMV\n translate(group, { x: x, y: y });\n model.x = x;\n model.y = y;\n this.clearCache(); // 位置更新后需要清除缓存\n };\n /**\n * 获取 item 的包围盒,这个包围盒是相对于 item 自己,不会将 matrix 计算在内\n * @return {Object} 包含 x,y,width,height, centerX, centerY\n */\n ItemBase.prototype.getBBox = function () {\n // 计算 bbox 开销有些大,缓存\n var bbox = this.get(CACHE_BBOX);\n if (!bbox) {\n bbox = this.calculateBBox();\n this.set(CACHE_BBOX, bbox);\n }\n return bbox;\n };\n /**\n * 获取 item 相对于画布的包围盒,会将从顶层到当前元素的 matrix 都计算在内\n * @return {Object} 包含 x,y,width,height, centerX, centerY\n */\n ItemBase.prototype.getCanvasBBox = function () {\n // 计算 bbox 开销有些大,缓存\n var bbox = this.get(CACHE_CANVAS_BBOX);\n if (!bbox) {\n bbox = this.calculateCanvasBBox();\n this.set(CACHE_CANVAS_BBOX, bbox);\n }\n return bbox;\n };\n /**\n * 将元素放到最前面\n */\n ItemBase.prototype.toFront = function () {\n var group = this.get('group');\n group.toFront();\n };\n /**\n * 将元素放到最后面\n */\n ItemBase.prototype.toBack = function () {\n var group = this.get('group');\n group.toBack();\n };\n /**\n * 显示元素\n */\n ItemBase.prototype.show = function () {\n this.changeVisibility(true);\n };\n /**\n * 隐藏元素\n */\n ItemBase.prototype.hide = function () {\n this.changeVisibility(false);\n };\n /**\n * 更改是否显示\n * @param {Boolean} visible 是否显示\n */\n ItemBase.prototype.changeVisibility = function (visible) {\n var group = this.get('group');\n if (visible) {\n group.show();\n }\n else {\n group.hide();\n }\n this.set('visible', visible);\n };\n /**\n * 元素是否可见\n * @return {Boolean} 返回该元素是否可见\n */\n ItemBase.prototype.isVisible = function () {\n return this.get('visible');\n };\n /**\n * 是否拾取及出发该元素的交互事件\n * @param {Boolean} enable 标识位\n */\n ItemBase.prototype.enableCapture = function (enable) {\n var group = this.get('group');\n if (group) {\n group.set('capture', enable);\n }\n };\n ItemBase.prototype.destroy = function () {\n if (!this.destroyed) {\n var animate = this.get('animate');\n var group = this.get('group');\n if (animate) {\n group.stopAnimate();\n }\n this.clearCache();\n group.remove();\n this._cfg = null;\n this.destroyed = true;\n }\n };\n return ItemBase;\n}());\nexport default ItemBase;\n" } ], "filteredModules": 0 }, { "id": 35, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/behavior/index.ts", "name": "./src/behavior/index.ts", "index": 1, "index2": 108, "size": 60, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./behavior", "loc": "1:0-35" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./behavior", "loc": "12:23-32" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony import specifier", "userRequest": "./behavior", "loc": "26:22-31" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 1, "source": "import Behavior from \"./behavior\";\nexport default Behavior;\n" }, { "id": 36, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/types.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/types.js", "index": 142, "index2": 135, "size": 0, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerId": 49, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } } ], "profile": { "factory": 1680, "building": 569, "dependencies": 582 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./types", "loc": "10:0-24" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./types", "loc": "10:0-24" } ], "usedExports": false, "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 3, "source": "" }, { "id": 37, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/interfaces.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/interfaces.js", "index": 143, "index2": 136, "size": 0, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerId": 49, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } } ], "profile": { "factory": 1680, "building": 569, "dependencies": 582 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./interfaces", "loc": "11:0-29" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./interfaces", "loc": "11:0-29" } ], "usedExports": false, "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 3, "source": "" }, { "id": 38, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-function.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-function.js", "index": 148, "index2": 140, "size": 293, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "issuerId": 7, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": 7, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } } ], "profile": { "factory": 568, "building": 31, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/is-function", "loc": "10:0-67" }, { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony export imported specifier", "userRequest": "@antv/util/lib/is-function", "loc": "10:0-67" } ], "usedExports": ["default"], "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 5, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/**\n * 是否为函数\n * @param {*} fn 对象\n * @return {Boolean} 是否函数\n */\n\nvar is_type_1 = require(\"./is-type\");\n\nexports.default = function (value) {\n return is_type_1.default(value, 'Function');\n};" }, { "id": 39, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/mix.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/mix.js", "index": 153, "index2": 144, "size": 489, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "issuerId": 7, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": 7, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } } ], "profile": { "factory": 568, "building": 31, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/mix", "loc": "14:0-52" }, { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony export imported specifier", "userRequest": "@antv/util/lib/mix", "loc": "14:0-52" } ], "usedExports": ["default"], "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 5, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n}); // FIXME: Mutable param should be forbidden in static lang.\n\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}\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\nexports.default = mix;" }, { "id": 40, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/upper-first.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/upper-first.js", "index": 155, "index2": 147, "size": 300, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "issuerId": 7, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": 7, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } } ], "profile": { "factory": 568, "building": 31, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/upper-first", "loc": "16:0-67" }, { "moduleId": 7, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "type": "harmony export imported specifier", "userRequest": "@antv/util/lib/upper-first", "loc": "16:0-67" } ], "usedExports": ["default"], "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 5, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar to_string_1 = require(\"./to-string\");\n\nvar upperFirst = function upperFirst(value) {\n var str = to_string_1.default(value);\n return str.charAt(0).toUpperCase() + str.substring(1);\n};\n\nexports.default = upperFirst;" }, { "id": 41, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/group.js", "index": 200, "index2": 193, "size": 793, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerId": 49, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } } ], "profile": { "factory": 1680, "building": 569, "dependencies": 582 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./abstract/group", "loc": "15:0-60" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./abstract/group", "loc": "15:0-60" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import { __extends } from \"tslib\";\nimport Container from './container';\n\nvar AbstractGroup =\n/** @class */\nfunction (_super) {\n __extends(AbstractGroup, _super);\n\n function AbstractGroup() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n AbstractGroup.prototype.isGroup = function () {\n return true;\n };\n\n AbstractGroup.prototype.isEntityGroup = function () {\n return false;\n };\n\n AbstractGroup.prototype.clone = function () {\n var clone = _super.prototype.clone.call(this); // 获取构造函数\n\n\n var children = this.getChildren();\n\n for (var i = 0; i < children.length; i++) {\n var child = children[i];\n clone.add(child.clone());\n }\n\n return clone;\n };\n\n return AbstractGroup;\n}(Container);\n\nexport default AbstractGroup;" }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "index": 201, "index2": 194, "size": 5516, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerId": 49, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } } ], "profile": { "factory": 1680, "building": 569, "dependencies": 582 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./abstract/shape", "loc": "16:0-60" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./abstract/shape", "loc": "16:0-60" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import { __extends } from \"tslib\";\nimport Element from './element';\nimport { multiplyVec2 } from '../util/matrix';\n\nvar AbstractShape =\n/** @class */\nfunction (_super) {\n __extends(AbstractShape, _super);\n\n function AbstractShape(cfg) {\n return _super.call(this, cfg) || this;\n } // 是否在包围盒内\n\n\n AbstractShape.prototype._isInBBox = function (refX, refY) {\n var bbox = this.getBBox();\n return bbox.minX <= refX && bbox.maxX >= refX && bbox.minY <= refY && bbox.maxY >= refY;\n };\n /**\n * 属性更改后需要做的事情\n * @protected\n * @param {ShapeAttrs} targetAttrs 渲染的图像属性\n */\n\n\n AbstractShape.prototype.afterAttrsChange = function (targetAttrs) {\n _super.prototype.afterAttrsChange.call(this, targetAttrs);\n\n this.clearCacheBBox();\n }; // 计算包围盒时,需要缓存,这是一个高频的操作\n\n\n AbstractShape.prototype.getBBox = function () {\n var bbox = this.cfg.bbox;\n\n if (!bbox) {\n bbox = this.calculateBBox();\n this.set('bbox', bbox);\n }\n\n return bbox;\n }; // 计算相对于画布的包围盒\n\n\n AbstractShape.prototype.getCanvasBBox = function () {\n var canvasBBox = this.cfg.canvasBBox;\n\n if (!canvasBBox) {\n canvasBBox = this.calculateCanvasBBox();\n this.set('canvasBBox', canvasBBox);\n }\n\n return canvasBBox;\n };\n\n AbstractShape.prototype.applyMatrix = function (matrix) {\n _super.prototype.applyMatrix.call(this, matrix); // 清理掉缓存的包围盒\n\n\n this.set('canvasBBox', null);\n };\n /**\n * 计算相对于画布的包围盒,默认等同于 bbox\n * @return {BBox} 包围盒\n */\n\n\n AbstractShape.prototype.calculateCanvasBBox = function () {\n var bbox = this.getBBox();\n var totalMatrix = this.getTotalMatrix();\n var minX = bbox.minX,\n minY = bbox.minY,\n maxX = bbox.maxX,\n maxY = bbox.maxY;\n\n if (totalMatrix) {\n var topLeft = multiplyVec2(totalMatrix, [bbox.minX, bbox.minY]);\n var topRight = multiplyVec2(totalMatrix, [bbox.maxX, bbox.minY]);\n var bottomLeft = multiplyVec2(totalMatrix, [bbox.minX, bbox.maxY]);\n var bottomRight = multiplyVec2(totalMatrix, [bbox.maxX, bbox.maxY]);\n minX = Math.min(topLeft[0], topRight[0], bottomLeft[0], bottomRight[0]);\n maxX = Math.max(topLeft[0], topRight[0], bottomLeft[0], bottomRight[0]);\n minY = Math.min(topLeft[1], topRight[1], bottomLeft[1], bottomRight[1]);\n maxY = Math.max(topLeft[1], topRight[1], bottomLeft[1], bottomRight[1]);\n }\n\n var attrs = this.attrs; // 如果存在 shadow 则计算 shadow\n\n if (attrs.shadowColor) {\n var _a = attrs.shadowBlur,\n shadowBlur = _a === void 0 ? 0 : _a,\n _b = attrs.shadowOffsetX,\n shadowOffsetX = _b === void 0 ? 0 : _b,\n _c = attrs.shadowOffsetY,\n shadowOffsetY = _c === void 0 ? 0 : _c;\n var shadowLeft = minX - shadowBlur + shadowOffsetX;\n var shadowRight = maxX + shadowBlur + shadowOffsetX;\n var shadowTop = minY - shadowBlur + shadowOffsetY;\n var shadowBottom = maxY + shadowBlur + shadowOffsetY;\n minX = Math.min(minX, shadowLeft);\n maxX = Math.max(maxX, shadowRight);\n minY = Math.min(minY, shadowTop);\n maxY = Math.max(maxY, shadowBottom);\n }\n\n return {\n x: minX,\n y: minY,\n minX: minX,\n minY: minY,\n maxX: maxX,\n maxY: maxY,\n width: maxX - minX,\n height: maxY - minY\n };\n };\n /**\n * @protected\n * 清理缓存的 bbox\n */\n\n\n AbstractShape.prototype.clearCacheBBox = function () {\n this.set('bbox', null);\n this.set('canvasBBox', null);\n }; // 实现接口\n\n\n AbstractShape.prototype.isClipShape = function () {\n return this.get('isClipShape');\n };\n /**\n * @protected\n * 不同的图形自己实现是否在图形内部的逻辑,要判断边和填充区域\n * @param {number} refX 相对于图形的坐标 x\n * @param {number} refY 相对于图形的坐标 Y\n * @return {boolean} 点是否在图形内部\n */\n\n\n AbstractShape.prototype.isInShape = function (refX, refY) {\n return false;\n };\n /**\n * 是否仅仅使用 BBox 检测就可以判定拾取到图形\n * 默认是 false,但是有些图形例如 image、marker 等都可直接使用 BBox 的检测而不需要使用图形拾取\n * @return {Boolean} 仅仅使用 BBox 进行拾取\n */\n\n\n AbstractShape.prototype.isOnlyHitBox = function () {\n return false;\n }; // 不同的 Shape 各自实现\n\n\n AbstractShape.prototype.isHit = function (x, y) {\n var startArrowShape = this.get('startArrowShape');\n var endArrowShape = this.get('endArrowShape');\n var vec = [x, y, 1];\n vec = this.invertFromMatrix(vec);\n var refX = vec[0],\n refY = vec[1];\n\n var inBBox = this._isInBBox(refX, refY); // 跳过图形的拾取,在某些图形中可以省略一倍的检测成本\n\n\n if (this.isOnlyHitBox()) {\n return inBBox;\n } // 被裁减掉的和不在包围盒内的不进行计算\n\n\n if (inBBox && !this.isClipped(refX, refY)) {\n // 对图形进行拾取判断\n if (this.isInShape(refX, refY)) {\n return true;\n } // 对起始箭头进行拾取判断\n\n\n if (startArrowShape && startArrowShape.isHit(refX, refY)) {\n return true;\n } // 对结束箭头进行拾取判断\n\n\n if (endArrowShape && endArrowShape.isHit(refX, refY)) {\n return true;\n }\n }\n\n return false;\n };\n\n return AbstractShape;\n}(Element);\n\nexport default AbstractShape;" }, { "id": 43, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/types/index.ts", "name": "./src/types/index.ts", "index": 255, "index2": 254, "size": 6438, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./types", "loc": "14:0-24" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony export imported specifier", "userRequest": "./types", "loc": "14:0-24" } ], "usedExports": ["G6Event"], "providedExports": ["G6Event"], "optimizationBailout": [], "depth": 1, "source": "// Behavior type file\nexport var G6Event;\n(function (G6Event) {\n // common events\n G6Event[\"CLICK\"] = \"click\";\n G6Event[\"DBLCLICK\"] = \"dblclick\";\n G6Event[\"MOUSEDOWN\"] = \"mousedown\";\n G6Event[\"MOUDEUP\"] = \"mouseup\";\n G6Event[\"CONTEXTMENU\"] = \"contextmenu\";\n G6Event[\"MOUSEENTER\"] = \"mouseenter\";\n G6Event[\"MOUSEOUT\"] = \"mouseout\";\n G6Event[\"MOUSEOVER\"] = \"mouseover\";\n G6Event[\"MOUSEMOVE\"] = \"mousemove\";\n G6Event[\"MOUSELEAVE\"] = \"mouseleave\";\n G6Event[\"DRAGSTART\"] = \"dragstart\";\n G6Event[\"DRAGEND\"] = \"dragend\";\n G6Event[\"DRAG\"] = \"drag\";\n G6Event[\"DRAGENTER\"] = \"dragenter\";\n G6Event[\"DRAGLEAVE\"] = \"dragleave\";\n G6Event[\"DRAGOVER\"] = \"dragover\";\n G6Event[\"DRAGOUT\"] = \"dragout\";\n G6Event[\"DDROP\"] = \"drop\";\n G6Event[\"KEYUP\"] = \"keyup\";\n G6Event[\"KEYDOWN\"] = \"keydown\";\n G6Event[\"WHEEL\"] = \"wheel\";\n G6Event[\"FOCUS\"] = \"focus\";\n G6Event[\"BLUR\"] = \"blur\";\n // touch events\n G6Event[\"TOUCHSTART\"] = \"touchstart\";\n G6Event[\"TOUCHMOVE\"] = \"touchmove\";\n G6Event[\"TOUCHEND\"] = \"touchend\";\n // node events\n G6Event[\"NODE_CONTEXTMENU\"] = \"node:contextmenu\";\n G6Event[\"NODE_CLICK\"] = \"node:click\";\n G6Event[\"NODE_DBLCLICK\"] = \"node:dblclick\";\n G6Event[\"NODE_MOUSEDOWN\"] = \"node:mousedown\";\n G6Event[\"NODE_MOUSEUP\"] = \"node:mouseup\";\n G6Event[\"NODE_MOUSEENTER\"] = \"node:mouseenter\";\n G6Event[\"NODE_MOUSELEAVE\"] = \"node:mouseleave\";\n G6Event[\"NODE_MOUSEMOVE\"] = \"node:mousemove\";\n G6Event[\"NODE_MOUSEOUT\"] = \"node:mouseout\";\n G6Event[\"NODE_MOUSEOVER\"] = \"node:mouseover\";\n G6Event[\"NODE_DROP\"] = \"node:drop\";\n G6Event[\"NODE_DRAGOVER\"] = \"node:dragover\";\n G6Event[\"NODE_DRAGENTER\"] = \"node:dragenter\";\n G6Event[\"NODE_DRAGLEAVE\"] = \"node:dragleave\";\n G6Event[\"NODE_DRAGSTART\"] = \"node:dragstart\";\n G6Event[\"NODE_DRAG\"] = \"node:drag\";\n G6Event[\"NODE_DRAGEND\"] = \"node:dragend\";\n // combo, extends from nodes\n G6Event[\"COMBO_CONTEXTMENU\"] = \"combo:contextmenu\";\n G6Event[\"COMBO_CLICK\"] = \"combo:click\";\n G6Event[\"COMBO_DBLCLICK\"] = \"combo:dblclick\";\n G6Event[\"COMBO_MOUSEDOWN\"] = \"combo:mousedown\";\n G6Event[\"COMBO_MOUSEUP\"] = \"combo:mouseup\";\n G6Event[\"COMBO_MOUSEENTER\"] = \"combo:mouseenter\";\n G6Event[\"COMBO_MOUSELEAVE\"] = \"combo:mouseleave\";\n G6Event[\"COMBO_MOUSEMOVE\"] = \"combo:mousemove\";\n G6Event[\"COMBO_MOUSEOUT\"] = \"combo:mouseout\";\n G6Event[\"COMBO_MOUSEOVER\"] = \"combo:mouseover\";\n G6Event[\"COMBO_DROP\"] = \"combo:drop\";\n G6Event[\"COMBO_DRAGOVER\"] = \"combo:dragover\";\n G6Event[\"COMBO_DRAGENTER\"] = \"combo:dragenter\";\n G6Event[\"COMBO_DRAGLEAVE\"] = \"combo:dragleave\";\n G6Event[\"COMBO_DRAGSTART\"] = \"combo:dragstart\";\n G6Event[\"COMBO_DRAG\"] = \"combo:drag\";\n G6Event[\"COMBO_DRAGEND\"] = \"combo:dragend\";\n // edge events\n G6Event[\"EDGE_CONTEXTMENU\"] = \"edge:contextmenu\";\n G6Event[\"EDGE_CLICK\"] = \"edge:click\";\n G6Event[\"EDGE_DBLCLICK\"] = \"edge:dblclick\";\n G6Event[\"EDGE_MOUSEDOWN\"] = \"edge:mousedown\";\n G6Event[\"EDGE_MOUSEUP\"] = \"edge:mouseup\";\n G6Event[\"EDGE_MOUSEENTER\"] = \"edge:mouseenter\";\n G6Event[\"EDGE_MOUSELEAVE\"] = \"edge:mouseleave\";\n G6Event[\"EDGE_MOUSEMOVE\"] = \"edge:mousemove\";\n G6Event[\"EDGE_MOUSEOUT\"] = \"edge:mouseout\";\n G6Event[\"EDGE_MOUSEOVER\"] = \"edge:mouseover\";\n G6Event[\"EDGE_DROP\"] = \"edge:drop\";\n G6Event[\"EDGE_DRAGOVER\"] = \"edge:dragover\";\n G6Event[\"EDGE_DRAGENTER\"] = \"edge:dragenter\";\n G6Event[\"EDGE_DRAGLEAVE\"] = \"edge:dragleave\";\n // canvas events\n G6Event[\"CANVAS_CONTEXTMENU\"] = \"canvas:contextmenu\";\n G6Event[\"CANVAS_CLICK\"] = \"canvas:click\";\n G6Event[\"CANVAS_DBLCLICK\"] = \"canvas:dblclick\";\n G6Event[\"CANVAS_MOUSEDOWN\"] = \"canvas:mousedown\";\n G6Event[\"CANVAS_MOUSEUP\"] = \"canvas:mouseup\";\n G6Event[\"CANVAS_MOUSEENTER\"] = \"canvas:mouseenter\";\n G6Event[\"CANVAS_MOUSELEAVE\"] = \"canvas:mouseleave\";\n G6Event[\"CANVAS_MOUSEMOVE\"] = \"canvas:mousemove\";\n G6Event[\"CANVAS_MOUSEOUT\"] = \"canvas:mouseout\";\n G6Event[\"CANVAS_MOUSEOVER\"] = \"canvas:mouseover\";\n G6Event[\"CANVAS_DROP\"] = \"canvas:drop\";\n G6Event[\"CANVAS_DRAGENTER\"] = \"canvas:dragenter\";\n G6Event[\"CANVAS_DRAGLEAVE\"] = \"canvas:dragleave\";\n G6Event[\"CANVAS_DRAGSTART\"] = \"canvas:dragstart\";\n G6Event[\"CANVAS_DRAG\"] = \"canvas:drag\";\n G6Event[\"CANVAS_DRAGEND\"] = \"canvas:dragend\";\n // timing events\n G6Event[\"BEFORERENDER\"] = \"beforerender\";\n G6Event[\"AFTERRENDER\"] = \"afterrender\";\n G6Event[\"BEFOREADDITEM\"] = \"beforeadditem\";\n G6Event[\"AFTERADDITEM\"] = \"afteradditem\";\n G6Event[\"BEFOREREMOVEITEM\"] = \"beforeremoveitem\";\n G6Event[\"AFTERREMOVEITEM\"] = \"afterremoveitem\";\n G6Event[\"BEFOREUPDATEITEM\"] = \"beforeupdateitem\";\n G6Event[\"AFTERUPDATEITEM\"] = \"afterupdateitem\";\n G6Event[\"BEFOREITEMVISIBILITYCHANGE\"] = \"beforeitemvisibilitychange\";\n G6Event[\"AFTERITEMVISIBILITYCHANGE\"] = \"afteritemvisibilitychange\";\n G6Event[\"BEFOREITEMSTATECHANGE\"] = \"beforeitemstatechange\";\n G6Event[\"AFTERITEMSTATECHANGE\"] = \"afteritemstatechange\";\n G6Event[\"BEFOREITEMREFRESH\"] = \"beforeitemrefresh\";\n G6Event[\"AFTERITEMREFRESH\"] = \"afteritemrefresh\";\n G6Event[\"BEFOREITEMSTATESCLEAR\"] = \"beforeitemstatesclear\";\n G6Event[\"AFTERITEMSTATESCLEAR\"] = \"afteritemstatesclear\";\n G6Event[\"BEFOREMODECHANGE\"] = \"beforemodechange\";\n G6Event[\"AFTERMODECHANGE\"] = \"aftermodechange\";\n G6Event[\"BEFORELAYOUT\"] = \"beforelayout\";\n G6Event[\"AFTERLAYOUT\"] = \"afterlayout\";\n G6Event[\"BEFORECREATEEDGE\"] = \"beforecreateedge\";\n G6Event[\"AFTERCREATEEDGE\"] = \"aftercreateedge\";\n G6Event[\"BEFOREGRAPHREFRESHPOSITION\"] = \"beforegraphrefreshposition\";\n G6Event[\"AFTERGRAPHREFRESHPOSITION\"] = \"aftergraphrefreshposition\";\n G6Event[\"BEFOREGRAPHREFRESH\"] = \"beforegraphrefresh\";\n G6Event[\"AFTERGRAPHREFRESH\"] = \"aftergraphrefresh\";\n G6Event[\"BEFOREANIMATE\"] = \"beforeanimate\";\n G6Event[\"AFTERANIMATE\"] = \"afteranimate\";\n G6Event[\"BEFOREPAINT\"] = \"beforepaint\";\n G6Event[\"AFTERPAINT\"] = \"afterpaint\";\n G6Event[\"GRAPHSTATECHANGE\"] = \"graphstatechange\";\n G6Event[\"AFTERACTIVATERELATIONS\"] = \"afteractivaterelations\";\n G6Event[\"NODESELECTCHANGE\"] = \"nodeselectchange\";\n G6Event[\"TOOLTIPCHANGE\"] = \"tooltipchange\";\n G6Event[\"WHEELZOOM\"] = \"wheelzoom\";\n G6Event[\"VIEWPORTCHANGE\"] = \"viewportchange\";\n G6Event[\"DRAGNODEEND\"] = \"dragnodeend\";\n G6Event[\"STACKCHANGE\"] = \"stackchange\";\n})(G6Event || (G6Event = {}));\n" }, { "id": 44, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/graph.ts", "name": "./src/interface/graph.ts", "index": 256, "index2": 255, "size": 0, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./interface/graph", "loc": "15:0-34" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony export imported specifier", "userRequest": "./interface/graph", "loc": "15:0-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 1, "source": "" }, { "id": 45, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/item.ts", "name": "./src/interface/item.ts", "index": 257, "index2": 256, "size": 0, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./interface/item", "loc": "16:0-33" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony export imported specifier", "userRequest": "./interface/item", "loc": "16:0-33" } ], "usedExports": true, "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 1, "source": "" }, { "id": 46, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/shape.ts", "name": "./src/interface/shape.ts", "index": 258, "index2": 257, "size": 0, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "issuerId": 62, "issuerName": "./src/index.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } } ], "profile": { "factory": 387, "building": 1242, "dependencies": 3035 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony side effect evaluation", "userRequest": "./interface/shape", "loc": "17:0-34" }, { "moduleId": 62, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "module": "./src/index.ts", "moduleName": "./src/index.ts", "type": "harmony export imported specifier", "userRequest": "./interface/shape", "loc": "17:0-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 1, "source": "" }, { "id": 47, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "index": 158, "index2": 192, "size": 58846, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./abstract/canvas", "loc": "14:0-62" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./abstract/canvas", "loc": "14:0-62" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/container.js because of ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/event/graph-event.js because of ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/path.js because of ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js because of ./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_@antv_util@2.0.9@@antv/util/esm/index.js because of ./src/index.ts", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_detect-browser@5.2.0@detect-browser/es/index.js (<- Module uses injected variables (process))", "ModuleConcatenation bailout: Cannot concat with ./node_modules/_tslib@2.0.3@tslib/tslib.es6.js because of ./src/index.ts" ], "depth": 3, "modules": [ { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "index": 158, "index2": 192, "size": 5932, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerId": 49, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } } ], "profile": { "factory": 1680, "building": 569, "dependencies": 582 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony side effect evaluation", "userRequest": "./abstract/canvas", "loc": "14:0-62" }, { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "harmony export imported specifier", "userRequest": "./abstract/canvas", "loc": "14:0-62" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": [], "depth": 3, "source": "import { __extends } from \"tslib\";\nimport { detect } from 'detect-browser';\nimport Container from './container';\nimport { isBrowser, isNil, isString } from '../util/util';\nimport Timeline from '../animate/timeline';\nimport EventController from '../event/event-contoller';\nvar PX_SUFFIX = 'px';\nvar browser = detect();\nvar isFirefox = browser && browser.name === 'firefox';\n\nvar Canvas =\n/** @class */\nfunction (_super) {\n __extends(Canvas, _super);\n\n function Canvas(cfg) {\n var _this = _super.call(this, cfg) || this;\n\n _this.initContainer();\n\n _this.initDom();\n\n _this.initEvents();\n\n _this.initTimeline();\n\n return _this;\n }\n\n Canvas.prototype.getDefaultCfg = function () {\n var cfg = _super.prototype.getDefaultCfg.call(this); // set default cursor style for canvas\n\n\n cfg['cursor'] = 'default'; // CSS transform 目前尚未经过长时间验证,为了避免影响上层业务,默认关闭,上层按需开启\n\n cfg['supportCSSTransform'] = false;\n return cfg;\n };\n /**\n * @protected\n * 初始化容器\n */\n\n\n Canvas.prototype.initContainer = function () {\n var container = this.get('container');\n\n if (isString(container)) {\n container = document.getElementById(container);\n this.set('container', container);\n }\n };\n /**\n * @protected\n * 初始化 DOM\n */\n\n\n Canvas.prototype.initDom = function () {\n var el = this.createDom();\n this.set('el', el); // 附加到容器\n\n var container = this.get('container');\n container.appendChild(el); // 设置初始宽度\n\n this.setDOMSize(this.get('width'), this.get('height'));\n };\n /**\n * @protected\n * 初始化绑定的事件\n */\n\n\n Canvas.prototype.initEvents = function () {\n var eventController = new EventController({\n canvas: this\n });\n eventController.init();\n this.set('eventController', eventController);\n };\n /**\n * @protected\n * 初始化时间轴\n */\n\n\n Canvas.prototype.initTimeline = function () {\n var timeline = new Timeline(this);\n this.set('timeline', timeline);\n };\n /**\n * @protected\n * 修改画布对应的 DOM 的大小\n * @param {number} width 宽度\n * @param {number} height 高度\n */\n\n\n Canvas.prototype.setDOMSize = function (width, height) {\n var el = this.get('el');\n\n if (isBrowser) {\n el.style.width = width + PX_SUFFIX;\n el.style.height = height + PX_SUFFIX;\n }\n }; // 实现接口\n\n\n Canvas.prototype.changeSize = function (width, height) {\n this.setDOMSize(width, height);\n this.set('width', width);\n this.set('height', height);\n this.onCanvasChange('changeSize');\n };\n /**\n * 获取当前的渲染引擎\n * @return {Renderer} 返回当前的渲染引擎\n */\n\n\n Canvas.prototype.getRenderer = function () {\n return this.get('renderer');\n };\n /**\n * 获取画布的 cursor 样式\n * @return {Cursor}\n */\n\n\n Canvas.prototype.getCursor = function () {\n return this.get('cursor');\n };\n /**\n * 设置画布的 cursor 样式\n * @param {Cursor} cursor cursor 样式\n */\n\n\n Canvas.prototype.setCursor = function (cursor) {\n this.set('cursor', cursor);\n var el = this.get('el');\n\n if (isBrowser && el) {\n // 直接设置样式,不等待鼠标移动时再设置\n el.style.cursor = cursor;\n }\n }; // 实现接口\n\n\n Canvas.prototype.getPointByEvent = function (ev) {\n var supportCSSTransform = this.get('supportCSSTransform');\n\n if (supportCSSTransform) {\n // For Firefox <= 38\n if (isFirefox && !isNil(ev.layerX) && ev.layerX !== ev.offsetX) {\n return {\n x: ev.layerX,\n y: ev.layerY\n };\n }\n\n if (!isNil(ev.offsetX)) {\n // For IE6+, Firefox >= 39, Chrome, Safari, Opera\n return {\n x: ev.offsetX,\n y: ev.offsetY\n };\n }\n } // should calculate by self for other cases, like Safari in ios\n // TODO: support CSS transform\n\n\n var _a = this.getClientByEvent(ev),\n clientX = _a.x,\n clientY = _a.y;\n\n return this.getPointByClient(clientX, clientY);\n }; // 获取 touch 事件的 clientX 和 clientY 需要单独处理\n\n\n Canvas.prototype.getClientByEvent = function (ev) {\n var clientInfo = ev;\n\n if (ev.touches) {\n if (ev.type === 'touchend') {\n clientInfo = ev.changedTouches[0];\n } else {\n clientInfo = ev.touches[0];\n }\n }\n\n return {\n x: clientInfo.clientX,\n y: clientInfo.clientY\n };\n }; // 实现接口\n\n\n Canvas.prototype.getPointByClient = function (clientX, clientY) {\n var el = this.get('el');\n var bbox = el.getBoundingClientRect();\n return {\n x: clientX - bbox.left,\n y: clientY - bbox.top\n };\n }; // 实现接口\n\n\n Canvas.prototype.getClientByPoint = function (x, y) {\n var el = this.get('el');\n var bbox = el.getBoundingClientRect();\n return {\n x: x + bbox.left,\n y: y + bbox.top\n };\n }; // 实现接口\n\n\n Canvas.prototype.draw = function () {};\n /**\n * @protected\n * 销毁 DOM 容器\n */\n\n\n Canvas.prototype.removeDom = function () {\n var el = this.get('el');\n el.parentNode.removeChild(el);\n };\n /**\n * @protected\n * 清理所有的事件\n */\n\n\n Canvas.prototype.clearEvents = function () {\n var eventController = this.get('eventController');\n eventController.destroy();\n };\n\n Canvas.prototype.isCanvas = function () {\n return true;\n };\n\n Canvas.prototype.getParent = function () {\n return null;\n };\n\n Canvas.prototype.destroy = function () {\n var timeline = this.get('timeline');\n\n if (this.get('destroyed')) {\n return;\n }\n\n this.clear(); // 同初始化时相反顺序调用\n\n if (timeline) {\n // 画布销毁时自动停止动画\n timeline.stop();\n }\n\n this.clearEvents();\n this.removeDom();\n\n _super.prototype.destroy.call(this);\n };\n\n return Canvas;\n}(Container);\n\nexport default Canvas;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "index": 168, "index2": 188, "size": 7530, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "issuerId": null, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } } ], "profile": { "factory": 693, "building": 77, "dependencies": 227 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "type": "harmony side effect evaluation", "userRequest": "../animate/timeline", "loc": "5:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "type": "harmony import specifier", "userRequest": "../animate/timeline", "loc": "88:23-31" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "import { isEqual, isNumber, isFunction } from '@antv/util';\nimport * as d3Timer from 'd3-timer';\nimport * as d3Ease from 'd3-ease';\nimport { interpolate, interpolateArray } from 'd3-interpolate'; // 目前整体动画只需要数值和数组的差值计算\n\nimport * as PathUtil from '../util/path';\nimport { isColorProp, isGradientColor } from '../util/color';\nvar IDENTITY_MATRIX = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n/**\n * 使用 ratio 进行插值计算来更新属性\n * @param {IElement} shape 元素\n * @param {Animation} animation 动画\n * @param {number} ratio 比例\n * @return {boolean} 动画是否执行完成\n */\n\nfunction _update(shape, animation, ratio) {\n var cProps = {}; // 此刻属性\n\n var fromAttrs = animation.fromAttrs,\n toAttrs = animation.toAttrs;\n\n if (shape.destroyed) {\n return;\n }\n\n var interf; // 差值函数\n\n for (var k in toAttrs) {\n if (!isEqual(fromAttrs[k], toAttrs[k])) {\n if (k === 'path') {\n var toPath = toAttrs[k];\n var fromPath = fromAttrs[k];\n\n if (toPath.length > fromPath.length) {\n toPath = PathUtil.parsePathString(toAttrs[k]); // 终点状态\n\n fromPath = PathUtil.parsePathString(fromAttrs[k]); // 起始状态\n\n fromPath = PathUtil.fillPathByDiff(fromPath, toPath);\n fromPath = PathUtil.formatPath(fromPath, toPath);\n animation.fromAttrs.path = fromPath;\n animation.toAttrs.path = toPath;\n } else if (!animation.pathFormatted) {\n toPath = PathUtil.parsePathString(toAttrs[k]);\n fromPath = PathUtil.parsePathString(fromAttrs[k]);\n fromPath = PathUtil.formatPath(fromPath, toPath);\n animation.fromAttrs.path = fromPath;\n animation.toAttrs.path = toPath;\n animation.pathFormatted = true;\n }\n\n cProps[k] = [];\n\n for (var i = 0; i < toPath.length; i++) {\n var toPathPoint = toPath[i];\n var fromPathPoint = fromPath[i];\n var cPathPoint = [];\n\n for (var j = 0; j < toPathPoint.length; j++) {\n if (isNumber(toPathPoint[j]) && fromPathPoint && isNumber(fromPathPoint[j])) {\n interf = interpolate(fromPathPoint[j], toPathPoint[j]);\n cPathPoint.push(interf(ratio));\n } else {\n cPathPoint.push(toPathPoint[j]);\n }\n }\n\n cProps[k].push(cPathPoint);\n }\n } else if (k === 'matrix') {\n /*\n 对矩阵进行插值时,需要保证矩阵不为空,为空则使用单位矩阵\n TODO: 二维和三维场景下单位矩阵不同,之后 WebGL 版需要做进一步处理\n */\n var matrixFn = interpolateArray(fromAttrs[k] || IDENTITY_MATRIX, toAttrs[k] || IDENTITY_MATRIX);\n var currentMatrix = matrixFn(ratio);\n cProps[k] = currentMatrix;\n } else if (isColorProp(k) && isGradientColor(toAttrs[k])) {\n cProps[k] = toAttrs[k];\n } else if (!isFunction(toAttrs[k])) {\n // 非函数类型的值才能做插值\n interf = interpolate(fromAttrs[k], toAttrs[k]);\n cProps[k] = interf(ratio);\n }\n }\n }\n\n shape.attr(cProps);\n}\n/**\n * 根据自定义帧动画函数 onFrame 来更新属性\n * @param {IElement} shape 元素\n * @param {Animation} animation 动画\n * @param {number} elapsed 动画执行时间(毫秒)\n * @return {boolean} 动画是否执行完成\n */\n\n\nfunction update(shape, animation, elapsed) {\n var startTime = animation.startTime,\n delay = animation.delay; // 如果还没有开始执行或暂停,先不更新\n\n if (elapsed < startTime + delay || animation._paused) {\n return false;\n }\n\n var ratio;\n var duration = animation.duration;\n var easing = animation.easing; // 已执行时间\n\n elapsed = elapsed - startTime - animation.delay;\n\n if (animation.repeat) {\n // 如果动画重复执行,则 elapsed > duration,计算 ratio 时需取模\n ratio = elapsed % duration / duration;\n ratio = d3Ease[easing](ratio);\n } else {\n ratio = elapsed / duration;\n\n if (ratio < 1) {\n // 动画未执行完\n ratio = d3Ease[easing](ratio);\n } else {\n // 动画已执行完\n if (animation.onFrame) {\n shape.attr(animation.onFrame(1));\n } else {\n shape.attr(animation.toAttrs);\n }\n\n return true;\n }\n }\n\n if (animation.onFrame) {\n var attrs = animation.onFrame(ratio);\n shape.attr(attrs);\n } else {\n _update(shape, animation, ratio);\n }\n\n return false;\n}\n\nvar Timeline =\n/** @class */\nfunction () {\n /**\n * 时间轴构造函数,依赖于画布\n * @param {}\n */\n function Timeline(canvas) {\n /**\n * 执行动画的元素列表\n * @type {IElement[]}\n */\n this.animators = [];\n /**\n * 当前时间\n * @type {number}\n */\n\n this.current = 0;\n /**\n * 定时器\n * @type {d3Timer.Timer}\n */\n\n this.timer = null;\n this.canvas = canvas;\n }\n /**\n * 初始化定时器\n */\n\n\n Timeline.prototype.initTimer = function () {\n var _this = this;\n\n var isFinished = false;\n var shape;\n var animations;\n var animation;\n this.timer = d3Timer.timer(function (elapsed) {\n _this.current = elapsed;\n\n if (_this.animators.length > 0) {\n for (var i = _this.animators.length - 1; i >= 0; i--) {\n shape = _this.animators[i];\n\n if (shape.destroyed) {\n // 如果已经被销毁,直接移出队列\n _this.removeAnimator(i);\n\n continue;\n }\n\n if (!shape.isAnimatePaused()) {\n animations = shape.get('animations');\n\n for (var j = animations.length - 1; j >= 0; j--) {\n animation = animations[j];\n isFinished = update(shape, animation, elapsed);\n\n if (isFinished) {\n animations.splice(j, 1);\n isFinished = false;\n\n if (animation.callback) {\n animation.callback();\n }\n }\n }\n }\n\n if (animations.length === 0) {\n _this.removeAnimator(i);\n }\n }\n\n var autoDraw = _this.canvas.get('autoDraw'); // 非自动渲染模式下,手动调用 canvas.draw() 重新渲染\n\n\n if (!autoDraw) {\n _this.canvas.draw();\n }\n }\n });\n };\n /**\n * 增加动画元素\n */\n\n\n Timeline.prototype.addAnimator = function (shape) {\n this.animators.push(shape);\n };\n /**\n * 移除动画元素\n */\n\n\n Timeline.prototype.removeAnimator = function (index) {\n this.animators.splice(index, 1);\n };\n /**\n * 是否有动画在执行\n */\n\n\n Timeline.prototype.isAnimating = function () {\n return !!this.animators.length;\n };\n /**\n * 停止定时器\n */\n\n\n Timeline.prototype.stop = function () {\n if (this.timer) {\n this.timer.stop();\n }\n };\n /**\n * 停止时间轴上所有元素的动画,并置空动画元素列表\n * @param {boolean} toEnd 是否到动画的最终状态,用来透传给动画元素的 stopAnimate 方法\n */\n\n\n Timeline.prototype.stopAllAnimations = function (toEnd) {\n if (toEnd === void 0) {\n toEnd = true;\n }\n\n this.animators.forEach(function (animator) {\n animator.stopAnimate(toEnd);\n });\n this.animators = [];\n this.canvas.draw();\n };\n /**\n * 获取当前时间\n */\n\n\n Timeline.prototype.getTime = function () {\n return this.current;\n };\n\n return Timeline;\n}();\n\nexport default Timeline;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/event/event-contoller.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/event/event-contoller.js", "index": 197, "index2": 189, "size": 17197, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "issuerId": null, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } } ], "profile": { "factory": 693, "building": 77, "dependencies": 227 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "type": "harmony side effect evaluation", "userRequest": "../event/event-contoller", "loc": "6:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "type": "harmony import specifier", "userRequest": "../event/event-contoller", "loc": "75:30-45" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 4, "source": "/**\n * @fileoverview 事件处理器\n * @author dxq613@gmail.com\n */\nimport GraphEvent from './graph-event';\nimport { each, isParent } from '../util/util';\nvar CLICK_OFFSET = 40;\nvar LEFT_BTN_CODE = 0;\nvar DELEGATION_SPLIT = ':';\nvar EVENTS = ['mousedown', 'mouseup', 'dblclick', 'mouseout', 'mouseover', 'mousemove', 'mouseleave', 'mouseenter', 'touchstart', 'touchmove', 'touchend', 'dragenter', 'dragover', 'dragleave', 'drop', 'contextmenu', 'mousewheel']; // 是否有委托事件监听\n\nfunction hasDelegation(events, type) {\n for (var key in events) {\n if (events.hasOwnProperty(key) && key.indexOf(DELEGATION_SPLIT + type) >= 0) {\n return true;\n }\n }\n\n return false;\n} // 触发目标事件,目标只能是 shape 或 canvas\n\n\nfunction emitTargetEvent(target, type, eventObj) {\n eventObj.name = type;\n eventObj.target = target;\n eventObj.currentTarget = target;\n eventObj.delegateTarget = target;\n target.emit(type, eventObj);\n} // 事件冒泡, enter 和 leave 需要对 fromShape 和 toShape 进行判同\n\n\nfunction bubbleEvent(container, type, eventObj) {\n if (eventObj.bubbles) {\n var relativeShape = void 0;\n var isOverEvent = false;\n\n if (type === 'mouseenter') {\n relativeShape = eventObj.fromShape;\n isOverEvent = true;\n } else if (type === 'mouseleave') {\n isOverEvent = true;\n relativeShape = eventObj.toShape;\n } // canvas 上的 mouseenter, mouseleave 事件,仅当进入或者移出 canvas 时触发\n\n\n if (container.isCanvas() && isOverEvent) {\n return;\n } // 如果相关图形同当前图形在同一个容器内,不触发事件\n\n\n if (relativeShape && isParent(container, relativeShape)) {\n // 阻止继续向上冒泡\n eventObj.bubbles = false;\n return;\n } // 事件名称可能在委托过程中被修改,因此事件冒泡时需要重新设置事件名称\n\n\n eventObj.name = type;\n eventObj.currentTarget = container;\n eventObj.delegateTarget = container;\n container.emit(type, eventObj);\n }\n}\n\nvar EventController =\n/** @class */\nfunction () {\n function EventController(cfg) {\n var _this = this; // 正在被拖拽的图形\n\n\n this.draggingShape = null;\n this.dragging = false; // 当前鼠标/touch所在位置的图形\n\n this.currentShape = null;\n this.mousedownShape = null;\n this.mousedownPoint = null; // 统一处理所有的回调\n\n this._eventCallback = function (ev) {\n var type = ev.type;\n\n _this._triggerEvent(type, ev);\n }; // 在 document 处理拖拽到画布外的事件,处理从图形上移除画布未被捕捉的问题\n\n\n this._onDocumentMove = function (ev) {\n var canvas = _this.canvas;\n var el = canvas.get('el');\n\n if (el !== ev.target) {\n // 不在 canvas 上移动\n if (_this.dragging || _this.currentShape) {\n var pointInfo = _this._getPointInfo(ev); // 还在拖拽过程中\n\n\n if (_this.dragging) {\n _this._emitEvent('drag', ev, pointInfo, _this.draggingShape);\n } // 说明从某个图形直接移动到了画布外面,\n // 修复了 mouseleave 的 bug 后不再出现这种情况\n // if (this.currentShape) {\n // this._emitEvent('mouseleave', ev, pointInfo, this.currentShape, this.currentShape, null);\n // this.currentShape = null;\n // }\n\n }\n }\n }; // 在 document 上处理拖拽到外面,释放鼠标时触发 dragend\n\n\n this._onDocumentMouseUp = function (ev) {\n var canvas = _this.canvas;\n var el = canvas.get('el');\n\n if (el !== ev.target) {\n // 不在 canvas 上移动\n if (_this.dragging) {\n var pointInfo = _this._getPointInfo(ev);\n\n if (_this.draggingShape) {\n // 如果存在拖拽的图形,则也触发 drop 事件\n _this._emitEvent('drop', ev, pointInfo, null);\n }\n\n _this._emitEvent('dragend', ev, pointInfo, _this.draggingShape);\n\n _this._afterDrag(_this.draggingShape, pointInfo, ev);\n }\n }\n };\n\n this.canvas = cfg.canvas;\n }\n\n EventController.prototype.init = function () {\n this._bindEvents();\n }; // 注册事件\n\n\n EventController.prototype._bindEvents = function () {\n var _this = this;\n\n var el = this.canvas.get('el');\n each(EVENTS, function (eventName) {\n el.addEventListener(eventName, _this._eventCallback);\n });\n\n if (document) {\n // 处理移动到外面没有触发 shape mouse leave 的事件\n // 处理拖拽到外部的问题\n document.addEventListener('mousemove', this._onDocumentMove); // 处理拖拽过程中在外部释放鼠标的问题\n\n document.addEventListener('mouseup', this._onDocumentMouseUp);\n }\n }; // 清理事件\n\n\n EventController.prototype._clearEvents = function () {\n var _this = this;\n\n var el = this.canvas.get('el');\n each(EVENTS, function (eventName) {\n el.removeEventListener(eventName, _this._eventCallback);\n });\n\n if (document) {\n document.removeEventListener('mousemove', this._onDocumentMove);\n document.removeEventListener('mouseup', this._onDocumentMouseUp);\n }\n };\n\n EventController.prototype._getEventObj = function (type, event, point, target, fromShape, toShape) {\n var eventObj = new GraphEvent(type, event);\n eventObj.fromShape = fromShape;\n eventObj.toShape = toShape;\n eventObj.x = point.x;\n eventObj.y = point.y;\n eventObj.clientX = point.clientX;\n eventObj.clientY = point.clientY;\n eventObj.propagationPath.push(target); // 事件的x,y应该是基于画布左上角的,与canvas的matrix无关\n\n return eventObj;\n }; // 根据点获取图形,提取成独立方法,便于后续优化\n\n\n EventController.prototype._getShape = function (point, ev) {\n return this.canvas.getShape(point.x, point.y, ev);\n }; // 获取事件的当前点的信息\n\n\n EventController.prototype._getPointInfo = function (ev) {\n var canvas = this.canvas;\n var clientPoint = canvas.getClientByEvent(ev);\n var point = canvas.getPointByEvent(ev);\n return {\n x: point.x,\n y: point.y,\n clientX: clientPoint.x,\n clientY: clientPoint.y\n };\n }; // 触发事件\n\n\n EventController.prototype._triggerEvent = function (type, ev) {\n var pointInfo = this._getPointInfo(ev); // 每次都获取图形有一定成本,后期可以考虑进行缓存策略\n\n\n var shape = this._getShape(pointInfo, ev);\n\n var method = this[\"_on\" + type];\n var leaveCanvas = false;\n\n if (method) {\n method.call(this, pointInfo, shape, ev);\n } else {\n var preShape = this.currentShape; // 如果进入、移出画布时存在图形,则要分别触发事件\n\n if (type === 'mouseenter' || type === 'dragenter' || type === 'mouseover') {\n this._emitEvent(type, ev, pointInfo, null, null, shape); // 先进入画布\n\n\n if (shape) {\n this._emitEvent(type, ev, pointInfo, shape, null, shape); // 再触发图形的事件\n\n }\n\n if (type === 'mouseenter' && this.draggingShape) {\n // 如果正在拖拽图形, 则触发 dragleave\n this._emitEvent('dragenter', ev, pointInfo, null);\n }\n } else if (type === 'mouseleave' || type === 'dragleave' || type === 'mouseout') {\n leaveCanvas = true;\n\n if (preShape) {\n this._emitEvent(type, ev, pointInfo, preShape, preShape, null); // 先触发图形的事件\n\n }\n\n this._emitEvent(type, ev, pointInfo, null, preShape, null); // 再触发离开画布事件\n\n\n if (type === 'mouseleave' && this.draggingShape) {\n this._emitEvent('dragleave', ev, pointInfo, null);\n }\n } else {\n this._emitEvent(type, ev, pointInfo, shape, null, null); // 一般事件中不需要考虑 from, to\n\n }\n }\n\n if (!leaveCanvas) {\n this.currentShape = shape;\n } // 当鼠标从画布移动到 shape 或者从 preShape 移动到 shape 时,应用 shape 上的鼠标样式\n\n\n if (shape && !shape.get('destroyed')) {\n var canvas = this.canvas;\n var el = canvas.get('el');\n el.style.cursor = shape.attr('cursor') || canvas.get('cursor');\n }\n }; // 记录下点击的位置、图形,便于拖拽事件、click 事件的判定\n\n\n EventController.prototype._onmousedown = function (pointInfo, shape, event) {\n // 只有鼠标左键的 mousedown 事件才会设置 mousedownShape 等属性,避免鼠标右键的 mousedown 事件引起其他事件发生\n if (event.button === LEFT_BTN_CODE) {\n this.mousedownShape = shape;\n this.mousedownPoint = pointInfo;\n this.mousedownTimeStamp = event.timeStamp;\n }\n\n this._emitEvent('mousedown', event, pointInfo, shape, null, null); // mousedown 不考虑fromShape, toShape\n\n }; // mouseleave 和 mouseenter 都是成对存在的\n // mouseenter 和 mouseover 同时触发\n\n\n EventController.prototype._emitMouseoverEvents = function (event, pointInfo, fromShape, toShape) {\n var el = this.canvas.get('el');\n\n if (fromShape !== toShape) {\n if (fromShape) {\n this._emitEvent('mouseout', event, pointInfo, fromShape, fromShape, toShape);\n\n this._emitEvent('mouseleave', event, pointInfo, fromShape, fromShape, toShape); // 当鼠标从 fromShape 移动到画布上时,重置鼠标样式\n\n\n if (!toShape || toShape.get('destroyed')) {\n el.style.cursor = this.canvas.get('cursor');\n }\n }\n\n if (toShape) {\n this._emitEvent('mouseover', event, pointInfo, toShape, fromShape, toShape);\n\n this._emitEvent('mouseenter', event, pointInfo, toShape, fromShape, toShape);\n }\n }\n }; // dragover 不等同于 mouseover,而等同于 mousemove\n\n\n EventController.prototype._emitDragoverEvents = function (event, pointInfo, fromShape, toShape, isCanvasEmit) {\n if (toShape) {\n if (toShape !== fromShape) {\n if (fromShape) {\n this._emitEvent('dragleave', event, pointInfo, fromShape, fromShape, toShape);\n }\n\n this._emitEvent('dragenter', event, pointInfo, toShape, fromShape, toShape);\n }\n\n if (!isCanvasEmit) {\n this._emitEvent('dragover', event, pointInfo, toShape);\n }\n } else if (fromShape) {\n // TODO: 此处判断有问题,当 drag 图形时,也会触发一次 dragleave 事件,因为此时 toShape 为 null,这不是所期望的\n // 经过空白区域\n this._emitEvent('dragleave', event, pointInfo, fromShape, fromShape, toShape);\n }\n\n if (isCanvasEmit) {\n this._emitEvent('dragover', event, pointInfo, toShape);\n }\n }; // drag 完成后,需要做一些清理工作\n\n\n EventController.prototype._afterDrag = function (draggingShape, pointInfo, event) {\n if (draggingShape) {\n draggingShape.set('capture', true); // 恢复可以拾取\n\n this.draggingShape = null;\n }\n\n this.dragging = false; // drag 完成后,有可能 draggingShape 已经移动到了当前位置,所以不能直接取当前图形\n\n var shape = this._getShape(pointInfo, event); // 拖拽完成后,进行 enter,leave 的判定\n\n\n if (shape !== draggingShape) {\n this._emitMouseoverEvents(event, pointInfo, draggingShape, shape);\n }\n\n this.currentShape = shape; // 更新当前 shape,如果不处理当前图形的 mouseleave 事件可能会出问题\n }; // 按键抬起时,会终止拖拽、触发点击\n\n\n EventController.prototype._onmouseup = function (pointInfo, shape, event) {\n // eevent.button === 0 表示鼠标左键事件,此处加上判断主要是为了避免右键鼠标会触发 mouseup 和 click 事件\n // ref: https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button\n if (event.button === LEFT_BTN_CODE) {\n var draggingShape = this.draggingShape;\n\n if (this.dragging) {\n // 存在可以拖拽的图形,同时拖拽到其他图形上时触发 drag 事件\n if (draggingShape) {\n this._emitEvent('drop', event, pointInfo, shape);\n }\n\n this._emitEvent('dragend', event, pointInfo, draggingShape);\n\n this._afterDrag(draggingShape, pointInfo, event);\n } else {\n this._emitEvent('mouseup', event, pointInfo, shape); // 先触发 mouseup 再触发 click\n\n\n if (shape === this.mousedownShape) {\n this._emitEvent('click', event, pointInfo, shape);\n }\n\n this.mousedownShape = null;\n this.mousedownPoint = null;\n }\n }\n }; // 当触发浏览器的 dragover 事件时,不会再触发 mousemove ,所以这时候的 dragenter, dragleave 事件需要重新处理\n\n\n EventController.prototype._ondragover = function (pointInfo, shape, event) {\n event.preventDefault(); // 如果不对 dragover 进行 preventDefault,则不会在 canvas 上触发 drop 事件\n\n var preShape = this.currentShape;\n\n this._emitDragoverEvents(event, pointInfo, preShape, shape, true);\n }; // 大量的图形事件,都通过 mousemove 模拟\n\n\n EventController.prototype._onmousemove = function (pointInfo, shape, event) {\n var canvas = this.canvas;\n var preShape = this.currentShape;\n var draggingShape = this.draggingShape; // 正在拖拽时\n\n if (this.dragging) {\n // 正在拖拽中\n if (draggingShape) {\n // 如果拖拽了 shape 会触发 dragenter, dragleave, dragover 和 drag 事件\n this._emitDragoverEvents(event, pointInfo, preShape, shape, false);\n } // 如果存在 draggingShape 则会在 draggingShape 上触发 drag 事件,冒泡到 canvas 上\n // 否则在 canvas 上触发 drag 事件\n\n\n this._emitEvent('drag', event, pointInfo, draggingShape);\n } else {\n var mousedownPoint = this.mousedownPoint;\n\n if (mousedownPoint) {\n // 当鼠标点击下去,同时移动时,进行 drag 判定\n var mousedownShape = this.mousedownShape;\n var now = event.timeStamp;\n var timeWindow = now - this.mousedownTimeStamp;\n var dx = mousedownPoint.clientX - pointInfo.clientX;\n var dy = mousedownPoint.clientY - pointInfo.clientY;\n var dist = dx * dx + dy * dy;\n\n if (timeWindow > 120 || dist > CLICK_OFFSET) {\n if (mousedownShape && mousedownShape.get('draggable')) {\n // 设置了 draggable 的 shape 才能触发 drag 相关的事件\n draggingShape = this.mousedownShape; // 拖动鼠标点下时的 shape\n\n draggingShape.set('capture', false); // 禁止继续拾取,否则无法进行 dragover,dragenter,dragleave,drop的判定\n\n this.draggingShape = draggingShape;\n this.dragging = true;\n\n this._emitEvent('dragstart', event, pointInfo, draggingShape); // 清理按下鼠标时缓存的值\n\n\n this.mousedownShape = null;\n this.mousedownPoint = null;\n } else if (!mousedownShape && canvas.get('draggable')) {\n // 设置了 draggable 的 canvas 才能触发 drag 相关的事件\n this.dragging = true;\n\n this._emitEvent('dragstart', event, pointInfo, null); // 清理按下鼠标时缓存的值\n\n\n this.mousedownShape = null;\n this.mousedownPoint = null;\n } else {\n this._emitMouseoverEvents(event, pointInfo, preShape, shape);\n\n this._emitEvent('mousemove', event, pointInfo, shape);\n }\n } else {\n this._emitMouseoverEvents(event, pointInfo, preShape, shape);\n\n this._emitEvent('mousemove', event, pointInfo, shape);\n }\n } else {\n // 没有按键按下时,则直接触发 mouse over 相关的各种事件\n this._emitMouseoverEvents(event, pointInfo, preShape, shape); // 始终触发移动\n\n\n this._emitEvent('mousemove', event, pointInfo, shape);\n }\n }\n }; // 触发事件\n\n\n EventController.prototype._emitEvent = function (type, event, pointInfo, shape, fromShape, toShape) {\n var eventObj = this._getEventObj(type, event, pointInfo, shape, fromShape, toShape); // 存在 shape 触发,则进行冒泡处理\n\n\n if (shape) {\n eventObj.shape = shape; // 触发 shape 上的事件\n\n emitTargetEvent(shape, type, eventObj);\n var parent_1 = shape.getParent(); // 执行冒泡\n\n while (parent_1) {\n // 委托事件要先触发\n parent_1.emitDelegation(type, eventObj); // 事件冒泡停止,不能妨碍委托事件\n\n if (!eventObj.propagationStopped) {\n bubbleEvent(parent_1, type, eventObj);\n }\n\n eventObj.propagationPath.push(parent_1);\n parent_1 = parent_1.getParent();\n }\n } else {\n // 如果没有 shape 直接在 canvas 上触发\n var canvas = this.canvas; // 直接触发 canvas 上的事件\n\n emitTargetEvent(canvas, type, eventObj);\n }\n };\n\n EventController.prototype.destroy = function () {\n // 清理事件\n this._clearEvents(); // 清理缓存的对象\n\n\n this.canvas = null;\n this.currentShape = null;\n this.draggingShape = null;\n this.mousedownPoint = null;\n this.mousedownShape = null;\n this.mousedownTimeStamp = null;\n };\n\n return EventController;\n}();\n\nexport default EventController;" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "index": 184, "index2": 186, "size": 1226, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "issuerId": null, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } } ], "profile": { "factory": 427, "building": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "type": "harmony side effect evaluation", "userRequest": "d3-ease", "loc": "3:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "type": "harmony import specifier", "userRequest": "d3-ease", "loc": "117:12-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "type": "harmony import specifier", "userRequest": "d3-ease", "loc": "123:14-20" } ], "usedExports": true, "providedExports": [ "easeLinear", "easeQuad", "easeQuadIn", "easeQuadOut", "easeQuadInOut", "easeCubic", "easeCubicIn", "easeCubicOut", "easeCubicInOut", "easePoly", "easePolyIn", "easePolyOut", "easePolyInOut", "easeSin", "easeSinIn", "easeSinOut", "easeSinInOut", "easeExp", "easeExpIn", "easeExpOut", "easeExpInOut", "easeCircle", "easeCircleIn", "easeCircleOut", "easeCircleInOut", "easeBounce", "easeBounceIn", "easeBounceOut", "easeBounceInOut", "easeBack", "easeBackIn", "easeBackOut", "easeBackInOut", "easeElastic", "easeElasticIn", "easeElasticOut", "easeElasticInOut" ], "optimizationBailout": [], "depth": 5, "source": "export { linear as easeLinear } from \"./linear.js\";\nexport { quadInOut as easeQuad, quadIn as easeQuadIn, quadOut as easeQuadOut, quadInOut as easeQuadInOut } from \"./quad.js\";\nexport { cubicInOut as easeCubic, cubicIn as easeCubicIn, cubicOut as easeCubicOut, cubicInOut as easeCubicInOut } from \"./cubic.js\";\nexport { polyInOut as easePoly, polyIn as easePolyIn, polyOut as easePolyOut, polyInOut as easePolyInOut } from \"./poly.js\";\nexport { sinInOut as easeSin, sinIn as easeSinIn, sinOut as easeSinOut, sinInOut as easeSinInOut } from \"./sin.js\";\nexport { expInOut as easeExp, expIn as easeExpIn, expOut as easeExpOut, expInOut as easeExpInOut } from \"./exp.js\";\nexport { circleInOut as easeCircle, circleIn as easeCircleIn, circleOut as easeCircleOut, circleInOut as easeCircleInOut } from \"./circle.js\";\nexport { bounceOut as easeBounce, bounceIn as easeBounceIn, bounceOut as easeBounceOut, bounceInOut as easeBounceInOut } from \"./bounce.js\";\nexport { backInOut as easeBack, backIn as easeBackIn, backOut as easeBackOut, backInOut as easeBackInOut } from \"./back.js\";\nexport { elasticOut as easeElastic, elasticIn as easeElasticIn, elasticOut as easeElasticOut, elasticInOut as easeElasticInOut } from \"./elastic.js\";" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/color.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/color.js", "index": 169, "index2": 160, "size": 235, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "issuerId": null, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } } ], "profile": { "factory": 427, "building": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "type": "harmony side effect evaluation", "userRequest": "../util/color", "loc": "7:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "type": "harmony import specifier", "userRequest": "../util/color", "loc": "79:17-28" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "type": "harmony import specifier", "userRequest": "../util/color", "loc": "79:35-50" } ], "usedExports": ["isColorProp", "isGradientColor"], "providedExports": ["isColorProp", "isGradientColor"], "optimizationBailout": [], "depth": 5, "source": "export var isColorProp = function isColorProp(prop) {\n return ['fill', 'stroke', 'fillStyle', 'strokeStyle'].includes(prop);\n};\nexport var isGradientColor = function isGradientColor(val) {\n return /^[r,R,L,l]{1}[\\s]*\\(/.test(val);\n};" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/timer.js", "name": "./node_modules/_d3-timer@1.0.10@d3-timer/src/timer.js", "index": 196, "index2": 187, "size": 3433, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "issuerId": 69, "issuerName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 69, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "name": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 34, "building": 35, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 69, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./timer.js", "loc": "1:0-52" }, { "moduleId": 69, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "type": "harmony export imported specifier", "userRequest": "./timer.js", "loc": "1:0-52" }, { "moduleId": 69, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "type": "harmony export imported specifier", "userRequest": "./timer.js", "loc": "1:0-52" }, { "moduleId": 69, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "type": "harmony export imported specifier", "userRequest": "./timer.js", "loc": "1:0-52" }, { "moduleId": 86, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js", "type": "harmony side effect evaluation", "userRequest": "./timer.js", "loc": "1:0-40" }, { "moduleId": 86, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js", "type": "harmony import specifier", "userRequest": "./timer.js", "loc": "3:14-19" }, { "moduleId": 86, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js", "type": "harmony import specifier", "userRequest": "./timer.js", "loc": "6:40-43" }, { "moduleId": 87, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/timeout.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/timeout.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/timeout.js", "type": "harmony side effect evaluation", "userRequest": "./timer.js", "loc": "1:0-35" }, { "moduleId": 87, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/timeout.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/timeout.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/timeout.js", "type": "harmony import specifier", "userRequest": "./timer.js", "loc": "3:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-timer", "loc": "185:17-30" } ], "usedExports": ["timer"], "providedExports": ["now", "Timer", "timer", "timerFlush"], "optimizationBailout": [], "depth": 6, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar frame = 0,\n // is an animation frame pending?\ntimeout = 0,\n // is a timeout pending?\ninterval = 0,\n // are any timers active?\npokeDelay = 1000,\n // how frequently we check for clock skew\ntaskHead,\n taskTail,\n clockLast = 0,\n clockNow = 0,\n clockSkew = 0,\n clock = (typeof performance === \"undefined\" ? \"undefined\" : _typeof(performance)) === \"object\" && performance.now ? performance : Date,\n setFrame = (typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === \"object\" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function (f) {\n setTimeout(f, 17);\n};\nexport function now() {\n return clockNow || (setFrame(clearNow), clockNow = clock.now() + clockSkew);\n}\n\nfunction clearNow() {\n clockNow = 0;\n}\n\nexport function Timer() {\n this._call = this._time = this._next = null;\n}\nTimer.prototype = timer.prototype = {\n constructor: Timer,\n restart: function restart(callback, delay, time) {\n if (typeof callback !== \"function\") throw new TypeError(\"callback is not a function\");\n time = (time == null ? now() : +time) + (delay == null ? 0 : +delay);\n\n if (!this._next && taskTail !== this) {\n if (taskTail) taskTail._next = this;else taskHead = this;\n taskTail = this;\n }\n\n this._call = callback;\n this._time = time;\n sleep();\n },\n stop: function stop() {\n if (this._call) {\n this._call = null;\n this._time = Infinity;\n sleep();\n }\n }\n};\nexport function timer(callback, delay, time) {\n var t = new Timer();\n t.restart(callback, delay, time);\n return t;\n}\nexport function timerFlush() {\n now(); // Get the current time, if not already set.\n\n ++frame; // Pretend we’ve set an alarm, if we haven’t already.\n\n var t = taskHead,\n e;\n\n while (t) {\n if ((e = clockNow - t._time) >= 0) t._call.call(null, e);\n t = t._next;\n }\n\n --frame;\n}\n\nfunction wake() {\n clockNow = (clockLast = clock.now()) + clockSkew;\n frame = timeout = 0;\n\n try {\n timerFlush();\n } finally {\n frame = 0;\n nap();\n clockNow = 0;\n }\n}\n\nfunction poke() {\n var now = clock.now(),\n delay = now - clockLast;\n if (delay > pokeDelay) clockSkew -= delay, clockLast = now;\n}\n\nfunction nap() {\n var t0,\n t1 = taskHead,\n t2,\n time = Infinity;\n\n while (t1) {\n if (t1._call) {\n if (time > t1._time) time = t1._time;\n t0 = t1, t1 = t1._next;\n } else {\n t2 = t1._next, t1._next = null;\n t1 = t0 ? t0._next = t2 : taskHead = t2;\n }\n }\n\n taskTail = t0;\n sleep(time);\n}\n\nfunction sleep(time) {\n if (frame) return; // Soonest alarm already set, or will be.\n\n if (timeout) timeout = clearTimeout(timeout);\n var delay = time - clockNow; // Strictly less than if we recomputed clockNow.\n\n if (delay > 24) {\n if (time < Infinity) timeout = setTimeout(wake, time - clock.now() - clockSkew);\n if (interval) interval = clearInterval(interval);\n } else {\n if (!interval) clockLast = clock.now(), interval = setInterval(poke, pokeDelay);\n frame = 1, setFrame(wake);\n }\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/linear.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/linear.js", "index": 185, "index2": 175, "size": 42, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 30, "building": 84, "dependencies": 154 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./linear.js", "loc": "1:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./linear.js", "loc": "1:0-51" } ], "usedExports": ["linear"], "providedExports": ["linear"], "optimizationBailout": [], "depth": 6, "source": "export function linear(t) {\n return +t;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/quad.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/quad.js", "index": 186, "index2": 176, "size": 189, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 30, "building": 84, "dependencies": 154 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./quad.js", "loc": "2:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quad.js", "loc": "2:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quad.js", "loc": "2:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quad.js", "loc": "2:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quad.js", "loc": "2:0-124" } ], "usedExports": ["quadInOut", "quadIn", "quadOut"], "providedExports": ["quadIn", "quadOut", "quadInOut"], "optimizationBailout": [], "depth": 6, "source": "export function quadIn(t) {\n return t * t;\n}\nexport function quadOut(t) {\n return t * (2 - t);\n}\nexport function quadInOut(t) {\n return ((t *= 2) <= 1 ? t * t : --t * (2 - t) + 1) / 2;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/cubic.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/cubic.js", "index": 187, "index2": 177, "size": 207, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 30, "building": 84, "dependencies": 154 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./cubic.js", "loc": "3:0-133" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubic.js", "loc": "3:0-133" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubic.js", "loc": "3:0-133" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubic.js", "loc": "3:0-133" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubic.js", "loc": "3:0-133" } ], "usedExports": ["cubicInOut", "cubicIn", "cubicOut"], "providedExports": ["cubicIn", "cubicOut", "cubicInOut"], "optimizationBailout": [], "depth": 6, "source": "export function cubicIn(t) {\n return t * t * t;\n}\nexport function cubicOut(t) {\n return --t * t * t + 1;\n}\nexport function cubicInOut(t) {\n return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/poly.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/poly.js", "index": 188, "index2": 178, "size": 583, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 30, "building": 84, "dependencies": 154 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./poly.js", "loc": "4:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./poly.js", "loc": "4:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./poly.js", "loc": "4:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./poly.js", "loc": "4:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./poly.js", "loc": "4:0-124" } ], "usedExports": ["polyInOut", "polyIn", "polyOut"], "providedExports": ["polyIn", "polyOut", "polyInOut"], "optimizationBailout": [], "depth": 6, "source": "var exponent = 3;\nexport var polyIn = function custom(e) {\n e = +e;\n\n function polyIn(t) {\n return Math.pow(t, e);\n }\n\n polyIn.exponent = custom;\n return polyIn;\n}(exponent);\nexport var polyOut = function custom(e) {\n e = +e;\n\n function polyOut(t) {\n return 1 - Math.pow(1 - t, e);\n }\n\n polyOut.exponent = custom;\n return polyOut;\n}(exponent);\nexport var polyInOut = function custom(e) {\n e = +e;\n\n function polyInOut(t) {\n return ((t *= 2) <= 1 ? Math.pow(t, e) : 2 - Math.pow(2 - t, e)) / 2;\n }\n\n polyInOut.exponent = custom;\n return polyInOut;\n}(exponent);" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/sin.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/sin.js", "index": 189, "index2": 179, "size": 247, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 30, "building": 84, "dependencies": 154 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sin.js", "loc": "5:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sin.js", "loc": "5:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sin.js", "loc": "5:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sin.js", "loc": "5:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sin.js", "loc": "5:0-115" } ], "usedExports": ["sinInOut", "sinIn", "sinOut"], "providedExports": ["sinIn", "sinOut", "sinInOut"], "optimizationBailout": [], "depth": 6, "source": "var pi = Math.PI,\n halfPi = pi / 2;\nexport function sinIn(t) {\n return +t === 1 ? 1 : 1 - Math.cos(t * halfPi);\n}\nexport function sinOut(t) {\n return Math.sin(t * halfPi);\n}\nexport function sinInOut(t) {\n return (1 - Math.cos(pi * t)) / 2;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "index": 190, "index2": 181, "size": 231, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 30, "building": 84, "dependencies": 154 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./exp.js", "loc": "6:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./exp.js", "loc": "6:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./exp.js", "loc": "6:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./exp.js", "loc": "6:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./exp.js", "loc": "6:0-115" } ], "usedExports": ["expInOut", "expIn", "expOut"], "providedExports": ["expIn", "expOut", "expInOut"], "optimizationBailout": [], "depth": 6, "source": "import { tpmt } from \"./math.js\";\nexport function expIn(t) {\n return tpmt(1 - +t);\n}\nexport function expOut(t) {\n return 1 - tpmt(t);\n}\nexport function expInOut(t) {\n return ((t *= 2) <= 1 ? tpmt(1 - t) : 2 - tpmt(t - 1)) / 2;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/circle.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/circle.js", "index": 192, "index2": 182, "size": 258, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 30, "building": 84, "dependencies": 154 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./circle.js", "loc": "7:0-142" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./circle.js", "loc": "7:0-142" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./circle.js", "loc": "7:0-142" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./circle.js", "loc": "7:0-142" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./circle.js", "loc": "7:0-142" } ], "usedExports": ["circleInOut", "circleIn", "circleOut"], "providedExports": ["circleIn", "circleOut", "circleInOut"], "optimizationBailout": [], "depth": 6, "source": "export function circleIn(t) {\n return 1 - Math.sqrt(1 - t * t);\n}\nexport function circleOut(t) {\n return Math.sqrt(1 - --t * t);\n}\nexport function circleInOut(t) {\n return ((t *= 2) <= 1 ? 1 - Math.sqrt(1 - t * t) : Math.sqrt(1 - (t -= 2) * t) + 1) / 2;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/bounce.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/bounce.js", "index": 193, "index2": 183, "size": 517, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 30, "building": 84, "dependencies": 154 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./bounce.js", "loc": "8:0-140" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bounce.js", "loc": "8:0-140" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bounce.js", "loc": "8:0-140" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bounce.js", "loc": "8:0-140" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bounce.js", "loc": "8:0-140" } ], "usedExports": ["bounceOut", "bounceIn", "bounceInOut"], "providedExports": ["bounceIn", "bounceOut", "bounceInOut"], "optimizationBailout": [], "depth": 6, "source": "var b1 = 4 / 11,\n b2 = 6 / 11,\n b3 = 8 / 11,\n b4 = 3 / 4,\n b5 = 9 / 11,\n b6 = 10 / 11,\n b7 = 15 / 16,\n b8 = 21 / 22,\n b9 = 63 / 64,\n b0 = 1 / b1 / b1;\nexport function bounceIn(t) {\n return 1 - bounceOut(1 - t);\n}\nexport function bounceOut(t) {\n return (t = +t) < b1 ? b0 * t * t : t < b3 ? b0 * (t -= b2) * t + b4 : t < b6 ? b0 * (t -= b5) * t + b7 : b0 * (t -= b8) * t + b9;\n}\nexport function bounceInOut(t) {\n return ((t *= 2) <= 1 ? 1 - bounceOut(1 - t) : bounceOut(t - 1) + 1) / 2;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/back.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/back.js", "index": 194, "index2": 184, "size": 647, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 30, "building": 84, "dependencies": 154 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./back.js", "loc": "9:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./back.js", "loc": "9:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./back.js", "loc": "9:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./back.js", "loc": "9:0-124" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./back.js", "loc": "9:0-124" } ], "usedExports": ["backInOut", "backIn", "backOut"], "providedExports": ["backIn", "backOut", "backInOut"], "optimizationBailout": [], "depth": 6, "source": "var overshoot = 1.70158;\nexport var backIn = function custom(s) {\n s = +s;\n\n function backIn(t) {\n return (t = +t) * t * (s * (t - 1) + t);\n }\n\n backIn.overshoot = custom;\n return backIn;\n}(overshoot);\nexport var backOut = function custom(s) {\n s = +s;\n\n function backOut(t) {\n return --t * t * ((t + 1) * s + t) + 1;\n }\n\n backOut.overshoot = custom;\n return backOut;\n}(overshoot);\nexport var backInOut = function custom(s) {\n s = +s;\n\n function backInOut(t) {\n return ((t *= 2) < 1 ? t * t * ((s + 1) * t - s) : (t -= 2) * t * ((s + 1) * t + s) + 2) / 2;\n }\n\n backInOut.overshoot = custom;\n return backInOut;\n}(overshoot);" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "index": 195, "index2": 185, "size": 1313, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 30, "building": 84, "dependencies": 154 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./elastic.js", "loc": "10:0-149" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./elastic.js", "loc": "10:0-149" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./elastic.js", "loc": "10:0-149" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./elastic.js", "loc": "10:0-149" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./elastic.js", "loc": "10:0-149" } ], "usedExports": ["elasticOut", "elasticIn", "elasticInOut"], "providedExports": ["elasticIn", "elasticOut", "elasticInOut"], "optimizationBailout": [], "depth": 6, "source": "import { tpmt } from \"./math.js\";\nvar tau = 2 * Math.PI,\n amplitude = 1,\n period = 0.3;\nexport var elasticIn = function custom(a, p) {\n var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);\n\n function elasticIn(t) {\n return a * tpmt(- --t) * Math.sin((s - t) / p);\n }\n\n elasticIn.amplitude = function (a) {\n return custom(a, p * tau);\n };\n\n elasticIn.period = function (p) {\n return custom(a, p);\n };\n\n return elasticIn;\n}(amplitude, period);\nexport var elasticOut = function custom(a, p) {\n var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);\n\n function elasticOut(t) {\n return 1 - a * tpmt(t = +t) * Math.sin((t + s) / p);\n }\n\n elasticOut.amplitude = function (a) {\n return custom(a, p * tau);\n };\n\n elasticOut.period = function (p) {\n return custom(a, p);\n };\n\n return elasticOut;\n}(amplitude, period);\nexport var elasticInOut = function custom(a, p) {\n var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);\n\n function elasticInOut(t) {\n return ((t = t * 2 - 1) < 0 ? a * tpmt(-t) * Math.sin((s - t) / p) : 2 - a * tpmt(t) * Math.sin((s + t) / p)) / 2;\n }\n\n elasticInOut.amplitude = function (a) {\n return custom(a, p * tau);\n };\n\n elasticInOut.period = function (p) {\n return custom(a, p);\n };\n\n return elasticInOut;\n}(amplitude, period);" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/basis.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/basis.js", "index": 177, "index2": 166, "size": 586, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./basis.js", "loc": "3:0-57" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./basis.js", "loc": "3:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/basisClosed.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/basisClosed.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/basisClosed.js", "type": "harmony side effect evaluation", "userRequest": "./basis.js", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "type": "harmony side effect evaluation", "userRequest": "./basis.js", "loc": "2:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/basisClosed.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/basisClosed.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/basisClosed.js", "type": "harmony import specifier", "userRequest": "./basis.js", "loc": "10:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "type": "harmony import specifier", "userRequest": "./basis.js", "loc": "55:32-37" } ], "usedExports": ["default", "basis"], "providedExports": ["basis", "default"], "optimizationBailout": [], "depth": 6, "source": "export function basis(t1, v0, v1, v2, v3) {\n var t2 = t1 * t1,\n t3 = t2 * t1;\n return ((1 - 3 * t1 + 3 * t2 - t3) * v0 + (4 - 6 * t2 + 3 * t3) * v1 + (1 + 3 * t1 + 3 * t2 - 3 * t3) * v2 + t3 * v3) / 6;\n}\nexport default function (values) {\n var n = values.length - 1;\n return function (t) {\n var i = t <= 0 ? t = 0 : t >= 1 ? (t = 1, n - 1) : Math.floor(t * n),\n v1 = values[i],\n v2 = values[i + 1],\n v0 = i > 0 ? values[i - 1] : 2 * v1 - v2,\n v3 = i < n - 1 ? values[i + 2] : 2 * v2 - v1;\n return basis((t - i / n) * n, v0, v1, v2, v3);\n };\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/basisClosed.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/basisClosed.js", "index": 178, "index2": 167, "size": 365, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./basisClosed.js", "loc": "4:0-69" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./basisClosed.js", "loc": "4:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "type": "harmony side effect evaluation", "userRequest": "./basisClosed.js", "loc": "3:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "type": "harmony import specifier", "userRequest": "./basisClosed.js", "loc": "56:38-49" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 6, "source": "import { basis } from \"./basis.js\";\nexport default function (values) {\n var n = values.length;\n return function (t) {\n var i = Math.floor(((t %= 1) < 0 ? ++t : t) * n),\n v0 = values[(i + n - 1) % n],\n v1 = values[i % n],\n v2 = values[(i + 1) % n],\n v3 = values[(i + 2) % n];\n return basis((t - i / n) * n, v0, v1, v2, v3);\n };\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "index": 175, "index2": 168, "size": 1311, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./rgb.js", "loc": "15:0-131" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./rgb.js", "loc": "15:0-131" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./rgb.js", "loc": "15:0-131" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./rgb.js", "loc": "15:0-131" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./rgb.js", "loc": "4:0-27" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./rgb.js", "loc": "16:123-126" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./rgb.js", "loc": "16:160-163" } ], "usedExports": ["default"], "providedExports": ["default", "rgbBasis", "rgbBasisClosed"], "optimizationBailout": [], "depth": 6, "source": "import { rgb as colorRgb } from \"d3-color\";\nimport basis from \"./basis.js\";\nimport basisClosed from \"./basisClosed.js\";\nimport nogamma, { gamma } from \"./color.js\";\nexport default (function rgbGamma(y) {\n var color = gamma(y);\n\n function rgb(start, end) {\n var r = color((start = colorRgb(start)).r, (end = colorRgb(end)).r),\n g = color(start.g, end.g),\n b = color(start.b, end.b),\n opacity = nogamma(start.opacity, end.opacity);\n return function (t) {\n start.r = r(t);\n start.g = g(t);\n start.b = b(t);\n start.opacity = opacity(t);\n return start + \"\";\n };\n }\n\n rgb.gamma = rgbGamma;\n return rgb;\n})(1);\n\nfunction rgbSpline(spline) {\n return function (colors) {\n var n = colors.length,\n r = new Array(n),\n g = new Array(n),\n b = new Array(n),\n i,\n color;\n\n for (i = 0; i < n; ++i) {\n color = colorRgb(colors[i]);\n r[i] = color.r || 0;\n g[i] = color.g || 0;\n b[i] = color.b || 0;\n }\n\n r = spline(r);\n g = spline(g);\n b = spline(b);\n color.opacity = 1;\n return function (t) {\n color.r = r(t);\n color.g = g(t);\n color.b = b(t);\n return color + \"\";\n };\n };\n}\n\nexport var rgbBasis = rgbSpline(basis);\nexport var rgbBasisClosed = rgbSpline(basisClosed);" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/numberArray.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/numberArray.js", "index": 181, "index2": 171, "size": 347, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./numberArray.js", "loc": "9:0-69" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./numberArray.js", "loc": "9:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "type": "harmony side effect evaluation", "userRequest": "./numberArray.js", "loc": "2:0-62" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "type": "harmony import specifier", "userRequest": "./numberArray.js", "loc": "4:10-23" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "type": "harmony import specifier", "userRequest": "./numberArray.js", "loc": "4:29-40" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./numberArray.js", "loc": "11:0-62" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./numberArray.js", "loc": "16:193-206" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./numberArray.js", "loc": "16:212-223" } ], "usedExports": ["isNumberArray", "default"], "providedExports": ["default", "isNumberArray"], "optimizationBailout": [], "depth": 6, "source": "export default function (a, b) {\n if (!b) b = [];\n var n = a ? Math.min(b.length, a.length) : 0,\n c = b.slice(),\n i;\n return function (t) {\n for (i = 0; i < n; ++i) {\n c[i] = a[i] * (1 - t) + b[i] * t;\n }\n\n return c;\n };\n}\nexport function isNumberArray(x) {\n return ArrayBuffer.isView(x) && !(x instanceof DataView);\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "index": 182, "index2": 172, "size": 577, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./array.js", "loc": "2:0-57" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./array.js", "loc": "2:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./array.js", "loc": "5:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./array.js", "loc": "16:245-257" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "76:23-39" } ], "usedExports": ["default", "genericArray"], "providedExports": ["default", "genericArray"], "optimizationBailout": [], "depth": 6, "source": "import value from \"./value.js\";\nimport numberArray, { isNumberArray } from \"./numberArray.js\";\nexport default function (a, b) {\n return (isNumberArray(b) ? numberArray : genericArray)(a, b);\n}\nexport function genericArray(a, b) {\n var nb = b ? b.length : 0,\n na = a ? Math.min(nb, a.length) : 0,\n x = new Array(na),\n c = new Array(nb),\n i;\n\n for (i = 0; i < na; ++i) {\n x[i] = value(a[i], b[i]);\n }\n\n for (; i < nb; ++i) {\n c[i] = b[i];\n }\n\n return function (t) {\n for (i = 0; i < na; ++i) {\n c[i] = x[i](t);\n }\n\n return c;\n };\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/date.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/date.js", "index": 180, "index2": 170, "size": 147, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./date.js", "loc": "5:0-55" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./date.js", "loc": "5:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./date.js", "loc": "6:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./date.js", "loc": "16:186-190" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 6, "source": "export default function (a, b) {\n var d = new Date();\n return a = +a, b = +b, function (t) {\n return d.setTime(a * (1 - t) + b * t), d;\n };\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/number.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/number.js", "index": 172, "index2": 162, "size": 111, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./number.js", "loc": "8:0-59" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./number.js", "loc": "8:0-59" }, { "moduleId": 83, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "type": "harmony side effect evaluation", "userRequest": "../number.js", "loc": "1:0-34" }, { "moduleId": 83, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "14:11-17" }, { "moduleId": 83, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "17:11-17" }, { "moduleId": 83, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "30:11-17" }, { "moduleId": 83, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "41:11-17" }, { "moduleId": 83, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "53:11-17" }, { "moduleId": 83, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "56:11-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/string.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/string.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/string.js", "type": "harmony side effect evaluation", "userRequest": "./number.js", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./number.js", "loc": "7:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./number.js", "loc": "16:72-78" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./number.js", "loc": "16:351-357" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/string.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/string.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/string.js", "type": "harmony import specifier", "userRequest": "./number.js", "loc": "52:11-17" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 6, "source": "export default function (a, b) {\n return a = +a, b = +b, function (t) {\n return a * (1 - t) + b * t;\n };\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/object.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/object.js", "index": 183, "index2": 173, "size": 791, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./object.js", "loc": "10:0-59" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./object.js", "loc": "10:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./object.js", "loc": "8:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./object.js", "loc": "16:342-348" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 6, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport value from \"./value.js\";\nexport default function (a, b) {\n var i = {},\n c = {},\n k;\n if (a === null || _typeof(a) !== \"object\") a = {};\n if (b === null || _typeof(b) !== \"object\") b = {};\n\n for (k in b) {\n if (k in a) {\n i[k] = value(a[k], b[k]);\n } else {\n c[k] = b[k];\n }\n }\n\n return function (t) {\n for (k in i) {\n c[k] = i[k](t);\n }\n\n return c;\n };\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/string.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/string.js", "index": 179, "index2": 169, "size": 1786, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./string.js", "loc": "12:0-59" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./string.js", "loc": "12:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./string.js", "loc": "9:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./string.js", "loc": "16:130-136" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 6, "source": "import number from \"./number.js\";\nvar reA = /[-+]?(?:\\d+\\.?\\d*|\\.?\\d+)(?:[eE][-+]?\\d+)?/g,\n reB = new RegExp(reA.source, \"g\");\n\nfunction zero(b) {\n return function () {\n return b;\n };\n}\n\nfunction one(b) {\n return function (t) {\n return b(t) + \"\";\n };\n}\n\nexport default function (a, b) {\n var bi = reA.lastIndex = reB.lastIndex = 0,\n // scan index for next number in b\n am,\n // current match in a\n bm,\n // current match in b\n bs,\n // string preceding current number in b, if any\n i = -1,\n // index in s\n s = [],\n // string constants and placeholders\n q = []; // number interpolators\n // Coerce inputs to strings.\n\n a = a + \"\", b = b + \"\"; // Interpolate pairs of numbers in a & b.\n\n while ((am = reA.exec(a)) && (bm = reB.exec(b))) {\n if ((bs = bm.index) > bi) {\n // a string precedes the next number in b\n bs = b.slice(bi, bs);\n if (s[i]) s[i] += bs; // coalesce with previous string\n else s[++i] = bs;\n }\n\n if ((am = am[0]) === (bm = bm[0])) {\n // numbers in a & b match\n if (s[i]) s[i] += bm; // coalesce with previous string\n else s[++i] = bm;\n } else {\n // interpolate non-matching numbers\n s[++i] = null;\n q.push({\n i: i,\n x: number(am, bm)\n });\n }\n\n bi = reB.lastIndex;\n } // Add remains of b.\n\n\n if (bi < b.length) {\n bs = b.slice(bi);\n if (s[i]) s[i] += bs; // coalesce with previous string\n else s[++i] = bs;\n } // Special optimization for only a single match.\n // Otherwise, interpolate each of the numbers and rejoin the string.\n\n\n return s.length < 2 ? q[0] ? one(q[0].x) : zero(b) : (b = q.length, function (t) {\n for (var i = 0, o; i < b; ++i) {\n s[(o = q[i]).i] = o.x(t);\n }\n\n return s.join(\"\");\n });\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "index": 170, "index2": 174, "size": 1150, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./value.js", "loc": "1:0-52" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./value.js", "loc": "1:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "type": "harmony side effect evaluation", "userRequest": "./value.js", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/object.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/object.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/object.js", "type": "harmony side effect evaluation", "userRequest": "./value.js", "loc": "3:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/object.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/object.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/object.js", "type": "harmony import specifier", "userRequest": "./value.js", "loc": "13:13-18" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/array.js", "type": "harmony import specifier", "userRequest": "./value.js", "loc": "14:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "62:23-34" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "83:17-28" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 6, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { color } from \"d3-color\";\nimport rgb from \"./rgb.js\";\nimport { genericArray } from \"./array.js\";\nimport date from \"./date.js\";\nimport number from \"./number.js\";\nimport object from \"./object.js\";\nimport string from \"./string.js\";\nimport constant from \"./constant.js\";\nimport numberArray, { isNumberArray } from \"./numberArray.js\";\nexport default function (a, b) {\n var t = _typeof(b),\n c;\n\n return b == null || t === \"boolean\" ? constant(b) : (t === \"number\" ? number : t === \"string\" ? (c = color(b)) ? (b = c, rgb) : string : b instanceof color ? rgb : b instanceof Date ? date : isNumberArray(b) ? numberArray : Array.isArray(b) ? genericArray : typeof b.valueOf !== \"function\" && typeof b.toString !== \"function\" || isNaN(b) ? object : number)(a, b);\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/math.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/math.js", "index": 191, "index2": 180, "size": 151, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "issuerId": null, "issuerName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/index.js", "profile": { "factory": 427, "building": 29 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "name": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "profile": { "factory": 30, "building": 84, "dependencies": 154 } } ], "profile": { "factory": 162, "building": 27 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "3:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "6:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "9:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "9:26-30" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/exp.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "9:44-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "26:19-23" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "43:38-42" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "module": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "moduleName": "./node_modules/_d3-ease@1.0.7@d3-ease/src/elastic.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "43:81-85" } ], "usedExports": ["tpmt"], "providedExports": ["tpmt"], "optimizationBailout": [], "depth": 7, "source": "// tpmt is two power minus ten times t scaled to [0,1]\nexport function tpmt(x) {\n return (Math.pow(2, -10 * x) - 0.0009765625) * 1.0009775171065494;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/constant.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/constant.js", "index": 171, "index2": 161, "size": 73, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "issuerId": null, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "profile": { "factory": 23, "building": 208, "dependencies": 122 } } ], "profile": { "factory": 151, "building": 80 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "10:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "16:40-48" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "17:82-90" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "21:42-50" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "26:28-36" } ], "usedExports": ["default"], "providedExports": ["default"], "optimizationBailout": [], "depth": 7, "source": "export default function (x) {\n return function () {\n return x;\n };\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/color.js", "index": 176, "index2": 165, "size": 700, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "issuerId": 77, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } }, { "id": 77, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "profile": { "factory": 23, "building": 208, "dependencies": 122 } } ], "profile": { "factory": 110, "building": 34, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 73, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-40" }, { "moduleId": 73, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "10:14-19" }, { "moduleId": 73, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "11:14-19" }, { "moduleId": 73, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "12:20-25" }, { "moduleId": 73, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "27:25-28" }, { "moduleId": 73, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "28:37-42" }, { "moduleId": 75, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-40" }, { "moduleId": 75, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "7:12-17" }, { "moduleId": 75, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "8:12-17" }, { "moduleId": 75, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "9:18-23" }, { "moduleId": 75, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "20:19-22" }, { "moduleId": 75, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "21:25-30" }, { "moduleId": 76, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-40" }, { "moduleId": 76, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "7:12-17" }, { "moduleId": 76, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "8:12-17" }, { "moduleId": 76, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "9:18-23" }, { "moduleId": 76, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "20:19-22" }, { "moduleId": 76, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "21:25-30" }, { "moduleId": 77, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "1:0-33" }, { "moduleId": 77, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "3:10-13" }, { "moduleId": 78, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-31" }, { "moduleId": 78, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "4:10-15" }, { "moduleId": 78, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "5:10-15" }, { "moduleId": 78, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "6:10-15" }, { "moduleId": 78, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "7:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "4:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "6:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "12:18-25" } ], "usedExports": ["gamma", "default"], "providedExports": ["hue", "gamma", "default"], "optimizationBailout": [], "depth": 7, "source": "import constant from \"./constant.js\";\n\nfunction linear(a, d) {\n return function (t) {\n return a + t * d;\n };\n}\n\nfunction exponential(a, b, y) {\n return a = Math.pow(a, y), b = Math.pow(b, y) - a, y = 1 / y, function (t) {\n return Math.pow(a + t * b, y);\n };\n}\n\nexport function hue(a, b) {\n var d = b - a;\n return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : constant(isNaN(a) ? b : a);\n}\nexport function gamma(y) {\n return (y = +y) === 1 ? nogamma : function (a, b) {\n return b - a ? exponential(a, b, y) : constant(isNaN(a) ? b : a);\n };\n}\nexport default function nogamma(a, b) {\n var d = b - a;\n return d ? linear(a, d) : constant(isNaN(a) ? b : a);\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/color.js", "name": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "index": 173, "index2": 164, "size": 10578, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "issuerId": 54, "issuerName": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "profile": { "factory": 23, "building": 208, "dependencies": 122 } }, { "id": 54, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "name": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "profile": { "factory": 151, "building": 80 } } ], "profile": { "factory": 377, "building": 249, "dependencies": 42 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 54, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "1:0-56" }, { "moduleId": 54, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./color.js", "loc": "1:0-56" }, { "moduleId": 54, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./color.js", "loc": "1:0-56" }, { "moduleId": 54, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./color.js", "loc": "1:0-56" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-94" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "15:21-24" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "15:31-41" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "37:36-41" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "39:20-29" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "39:41-50" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "43:20-27" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "43:39-46" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "52:15-18" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-52" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "17:21-24" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "17:31-41" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "43:24-29" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "57:15-18" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "104:24-29" }, { "moduleId": 76, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "6:25-33" }, { "moduleId": 76, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "6:52-60" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "9:27-35" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "9:54-62" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "16:103-108" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "16:152-157" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/rgb.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "36:14-22" } ], "usedExports": ["default", "rgb"], "providedExports": [ "Color", "darker", "brighter", "default", "rgbConvert", "rgb", "Rgb", "hslConvert", "hsl" ], "optimizationBailout": [], "depth": 8, "source": "import define, { extend } from \"./define.js\";\nexport function Color() {}\nvar _darker = 0.7;\nexport { _darker as darker };\n\nvar _brighter = 1 / _darker;\n\nexport { _brighter as brighter };\nvar reI = \"\\\\s*([+-]?\\\\d+)\\\\s*\",\n reN = \"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)\\\\s*\",\n reP = \"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)%\\\\s*\",\n reHex = /^#([0-9a-f]{3,8})$/,\n reRgbInteger = new RegExp(\"^rgb\\\\(\" + [reI, reI, reI] + \"\\\\)$\"),\n reRgbPercent = new RegExp(\"^rgb\\\\(\" + [reP, reP, reP] + \"\\\\)$\"),\n reRgbaInteger = new RegExp(\"^rgba\\\\(\" + [reI, reI, reI, reN] + \"\\\\)$\"),\n reRgbaPercent = new RegExp(\"^rgba\\\\(\" + [reP, reP, reP, reN] + \"\\\\)$\"),\n reHslPercent = new RegExp(\"^hsl\\\\(\" + [reN, reP, reP] + \"\\\\)$\"),\n reHslaPercent = new RegExp(\"^hsla\\\\(\" + [reN, reP, reP, reN] + \"\\\\)$\");\nvar named = {\n aliceblue: 0xf0f8ff,\n antiquewhite: 0xfaebd7,\n aqua: 0x00ffff,\n aquamarine: 0x7fffd4,\n azure: 0xf0ffff,\n beige: 0xf5f5dc,\n bisque: 0xffe4c4,\n black: 0x000000,\n blanchedalmond: 0xffebcd,\n blue: 0x0000ff,\n blueviolet: 0x8a2be2,\n brown: 0xa52a2a,\n burlywood: 0xdeb887,\n cadetblue: 0x5f9ea0,\n chartreuse: 0x7fff00,\n chocolate: 0xd2691e,\n coral: 0xff7f50,\n cornflowerblue: 0x6495ed,\n cornsilk: 0xfff8dc,\n crimson: 0xdc143c,\n cyan: 0x00ffff,\n darkblue: 0x00008b,\n darkcyan: 0x008b8b,\n darkgoldenrod: 0xb8860b,\n darkgray: 0xa9a9a9,\n darkgreen: 0x006400,\n darkgrey: 0xa9a9a9,\n darkkhaki: 0xbdb76b,\n darkmagenta: 0x8b008b,\n darkolivegreen: 0x556b2f,\n darkorange: 0xff8c00,\n darkorchid: 0x9932cc,\n darkred: 0x8b0000,\n darksalmon: 0xe9967a,\n darkseagreen: 0x8fbc8f,\n darkslateblue: 0x483d8b,\n darkslategray: 0x2f4f4f,\n darkslategrey: 0x2f4f4f,\n darkturquoise: 0x00ced1,\n darkviolet: 0x9400d3,\n deeppink: 0xff1493,\n deepskyblue: 0x00bfff,\n dimgray: 0x696969,\n dimgrey: 0x696969,\n dodgerblue: 0x1e90ff,\n firebrick: 0xb22222,\n floralwhite: 0xfffaf0,\n forestgreen: 0x228b22,\n fuchsia: 0xff00ff,\n gainsboro: 0xdcdcdc,\n ghostwhite: 0xf8f8ff,\n gold: 0xffd700,\n goldenrod: 0xdaa520,\n gray: 0x808080,\n green: 0x008000,\n greenyellow: 0xadff2f,\n grey: 0x808080,\n honeydew: 0xf0fff0,\n hotpink: 0xff69b4,\n indianred: 0xcd5c5c,\n indigo: 0x4b0082,\n ivory: 0xfffff0,\n khaki: 0xf0e68c,\n lavender: 0xe6e6fa,\n lavenderblush: 0xfff0f5,\n lawngreen: 0x7cfc00,\n lemonchiffon: 0xfffacd,\n lightblue: 0xadd8e6,\n lightcoral: 0xf08080,\n lightcyan: 0xe0ffff,\n lightgoldenrodyellow: 0xfafad2,\n lightgray: 0xd3d3d3,\n lightgreen: 0x90ee90,\n lightgrey: 0xd3d3d3,\n lightpink: 0xffb6c1,\n lightsalmon: 0xffa07a,\n lightseagreen: 0x20b2aa,\n lightskyblue: 0x87cefa,\n lightslategray: 0x778899,\n lightslategrey: 0x778899,\n lightsteelblue: 0xb0c4de,\n lightyellow: 0xffffe0,\n lime: 0x00ff00,\n limegreen: 0x32cd32,\n linen: 0xfaf0e6,\n magenta: 0xff00ff,\n maroon: 0x800000,\n mediumaquamarine: 0x66cdaa,\n mediumblue: 0x0000cd,\n mediumorchid: 0xba55d3,\n mediumpurple: 0x9370db,\n mediumseagreen: 0x3cb371,\n mediumslateblue: 0x7b68ee,\n mediumspringgreen: 0x00fa9a,\n mediumturquoise: 0x48d1cc,\n mediumvioletred: 0xc71585,\n midnightblue: 0x191970,\n mintcream: 0xf5fffa,\n mistyrose: 0xffe4e1,\n moccasin: 0xffe4b5,\n navajowhite: 0xffdead,\n navy: 0x000080,\n oldlace: 0xfdf5e6,\n olive: 0x808000,\n olivedrab: 0x6b8e23,\n orange: 0xffa500,\n orangered: 0xff4500,\n orchid: 0xda70d6,\n palegoldenrod: 0xeee8aa,\n palegreen: 0x98fb98,\n paleturquoise: 0xafeeee,\n palevioletred: 0xdb7093,\n papayawhip: 0xffefd5,\n peachpuff: 0xffdab9,\n peru: 0xcd853f,\n pink: 0xffc0cb,\n plum: 0xdda0dd,\n powderblue: 0xb0e0e6,\n purple: 0x800080,\n rebeccapurple: 0x663399,\n red: 0xff0000,\n rosybrown: 0xbc8f8f,\n royalblue: 0x4169e1,\n saddlebrown: 0x8b4513,\n salmon: 0xfa8072,\n sandybrown: 0xf4a460,\n seagreen: 0x2e8b57,\n seashell: 0xfff5ee,\n sienna: 0xa0522d,\n silver: 0xc0c0c0,\n skyblue: 0x87ceeb,\n slateblue: 0x6a5acd,\n slategray: 0x708090,\n slategrey: 0x708090,\n snow: 0xfffafa,\n springgreen: 0x00ff7f,\n steelblue: 0x4682b4,\n tan: 0xd2b48c,\n teal: 0x008080,\n thistle: 0xd8bfd8,\n tomato: 0xff6347,\n turquoise: 0x40e0d0,\n violet: 0xee82ee,\n wheat: 0xf5deb3,\n white: 0xffffff,\n whitesmoke: 0xf5f5f5,\n yellow: 0xffff00,\n yellowgreen: 0x9acd32\n};\ndefine(Color, color, {\n copy: function copy(channels) {\n return Object.assign(new this.constructor(), this, channels);\n },\n displayable: function displayable() {\n return this.rgb().displayable();\n },\n hex: color_formatHex,\n // Deprecated! Use color.formatHex.\n formatHex: color_formatHex,\n formatHsl: color_formatHsl,\n formatRgb: color_formatRgb,\n toString: color_formatRgb\n});\n\nfunction color_formatHex() {\n return this.rgb().formatHex();\n}\n\nfunction color_formatHsl() {\n return hslConvert(this).formatHsl();\n}\n\nfunction color_formatRgb() {\n return this.rgb().formatRgb();\n}\n\nexport default function color(format) {\n var m, l;\n format = (format + \"\").trim().toLowerCase();\n return (m = reHex.exec(format)) ? (l = m[1].length, m = parseInt(m[1], 16), l === 6 ? rgbn(m) // #ff0000\n : l === 3 ? new Rgb(m >> 8 & 0xf | m >> 4 & 0xf0, m >> 4 & 0xf | m & 0xf0, (m & 0xf) << 4 | m & 0xf, 1) // #f00\n : l === 8 ? rgba(m >> 24 & 0xff, m >> 16 & 0xff, m >> 8 & 0xff, (m & 0xff) / 0xff) // #ff000000\n : l === 4 ? rgba(m >> 12 & 0xf | m >> 8 & 0xf0, m >> 8 & 0xf | m >> 4 & 0xf0, m >> 4 & 0xf | m & 0xf0, ((m & 0xf) << 4 | m & 0xf) / 0xff) // #f000\n : null // invalid hex\n ) : (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) // rgb(255, 0, 0)\n : (m = reRgbPercent.exec(format)) ? new Rgb(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) // rgb(100%, 0%, 0%)\n : (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) // rgba(255, 0, 0, 1)\n : (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) // rgb(100%, 0%, 0%, 1)\n : (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) // hsl(120, 50%, 50%)\n : (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) // hsla(120, 50%, 50%, 1)\n : named.hasOwnProperty(format) ? rgbn(named[format]) // eslint-disable-line no-prototype-builtins\n : format === \"transparent\" ? new Rgb(NaN, NaN, NaN, 0) : null;\n}\n\nfunction rgbn(n) {\n return new Rgb(n >> 16 & 0xff, n >> 8 & 0xff, n & 0xff, 1);\n}\n\nfunction rgba(r, g, b, a) {\n if (a <= 0) r = g = b = NaN;\n return new Rgb(r, g, b, a);\n}\n\nexport function rgbConvert(o) {\n if (!(o instanceof Color)) o = color(o);\n if (!o) return new Rgb();\n o = o.rgb();\n return new Rgb(o.r, o.g, o.b, o.opacity);\n}\nexport function rgb(r, g, b, opacity) {\n return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity);\n}\nexport function Rgb(r, g, b, opacity) {\n this.r = +r;\n this.g = +g;\n this.b = +b;\n this.opacity = +opacity;\n}\ndefine(Rgb, rgb, extend(Color, {\n brighter: function brighter(k) {\n k = k == null ? _brighter : Math.pow(_brighter, k);\n return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);\n },\n darker: function darker(k) {\n k = k == null ? _darker : Math.pow(_darker, k);\n return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);\n },\n rgb: function rgb() {\n return this;\n },\n displayable: function displayable() {\n return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;\n },\n hex: rgb_formatHex,\n // Deprecated! Use color.formatHex.\n formatHex: rgb_formatHex,\n formatRgb: rgb_formatRgb,\n toString: rgb_formatRgb\n}));\n\nfunction rgb_formatHex() {\n return \"#\" + hex(this.r) + hex(this.g) + hex(this.b);\n}\n\nfunction rgb_formatRgb() {\n var a = this.opacity;\n a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));\n return (a === 1 ? \"rgb(\" : \"rgba(\") + Math.max(0, Math.min(255, Math.round(this.r) || 0)) + \", \" + Math.max(0, Math.min(255, Math.round(this.g) || 0)) + \", \" + Math.max(0, Math.min(255, Math.round(this.b) || 0)) + (a === 1 ? \")\" : \", \" + a + \")\");\n}\n\nfunction hex(value) {\n value = Math.max(0, Math.min(255, Math.round(value) || 0));\n return (value < 16 ? \"0\" : \"\") + value.toString(16);\n}\n\nfunction hsla(h, s, l, a) {\n if (a <= 0) h = s = l = NaN;else if (l <= 0 || l >= 1) h = s = NaN;else if (s <= 0) h = NaN;\n return new Hsl(h, s, l, a);\n}\n\nexport function hslConvert(o) {\n if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity);\n if (!(o instanceof Color)) o = color(o);\n if (!o) return new Hsl();\n if (o instanceof Hsl) return o;\n o = o.rgb();\n var r = o.r / 255,\n g = o.g / 255,\n b = o.b / 255,\n min = Math.min(r, g, b),\n max = Math.max(r, g, b),\n h = NaN,\n s = max - min,\n l = (max + min) / 2;\n\n if (s) {\n if (r === max) h = (g - b) / s + (g < b) * 6;else if (g === max) h = (b - r) / s + 2;else h = (r - g) / s + 4;\n s /= l < 0.5 ? max + min : 2 - max - min;\n h *= 60;\n } else {\n s = l > 0 && l < 1 ? 0 : h;\n }\n\n return new Hsl(h, s, l, o.opacity);\n}\nexport function hsl(h, s, l, opacity) {\n return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity);\n}\n\nfunction Hsl(h, s, l, opacity) {\n this.h = +h;\n this.s = +s;\n this.l = +l;\n this.opacity = +opacity;\n}\n\ndefine(Hsl, hsl, extend(Color, {\n brighter: function brighter(k) {\n k = k == null ? _brighter : Math.pow(_brighter, k);\n return new Hsl(this.h, this.s, this.l * k, this.opacity);\n },\n darker: function darker(k) {\n k = k == null ? _darker : Math.pow(_darker, k);\n return new Hsl(this.h, this.s, this.l * k, this.opacity);\n },\n rgb: function rgb() {\n var h = this.h % 360 + (this.h < 0) * 360,\n s = isNaN(h) || isNaN(this.s) ? 0 : this.s,\n l = this.l,\n m2 = l + (l < 0.5 ? l : 1 - l) * s,\n m1 = 2 * l - m2;\n return new Rgb(hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2), hsl2rgb(h, m1, m2), hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2), this.opacity);\n },\n displayable: function displayable() {\n return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;\n },\n formatHsl: function formatHsl() {\n var a = this.opacity;\n a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));\n return (a === 1 ? \"hsl(\" : \"hsla(\") + (this.h || 0) + \", \" + (this.s || 0) * 100 + \"%, \" + (this.l || 0) * 100 + \"%\" + (a === 1 ? \")\" : \", \" + a + \")\");\n }\n}));\n/* From FvD 13.37, CSS Color Module Level 3 */\n\nfunction hsl2rgb(h, m1, m2) {\n return (h < 60 ? m1 + (m2 - m1) * h / 60 : h < 180 ? m2 : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60 : m1) * 255;\n}" }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/define.js", "name": "./node_modules/_d3-color@1.4.1@d3-color/src/define.js", "index": 174, "index2": 163, "size": 351, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "issuerId": 70, "issuerName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "profile": { "factory": 23, "building": 208, "dependencies": 122 } }, { "id": 54, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "name": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "profile": { "factory": 151, "building": 80 } }, { "id": 70, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "name": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "profile": { "factory": 377, "building": 249, "dependencies": 42 } } ], "profile": { "factory": 60, "building": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "./define.js", "loc": "1:0-45" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "37:0-6" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "37:29-35" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony side effect evaluation", "userRequest": "./define.js", "loc": "1:0-45" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "43:0-6" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "43:17-23" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "104:0-6" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "104:17-23" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/color.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "type": "harmony side effect evaluation", "userRequest": "./define.js", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/color.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "169:0-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/color.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "238:0-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/color.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "238:17-23" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/color.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "316:0-6" }, { "moduleId": null, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/color.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/color.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "316:17-23" } ], "usedExports": ["default", "extend"], "providedExports": ["default", "extend"], "optimizationBailout": [], "depth": 9, "source": "export default function (constructor, factory, prototype) {\n constructor.prototype = factory.prototype = prototype;\n prototype.constructor = constructor;\n}\nexport function extend(parent, definition) {\n var prototype = Object.create(parent.prototype);\n\n for (var key in definition) {\n prototype[key] = definition[key];\n }\n\n return prototype;\n}" } ], "filteredModules": 0 }, { "id": 48, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec3.js", "name": "./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec3.js", "index": 119, "index2": 115, "size": 19963, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec3.js", "issuerId": null, "issuerName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec3.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/graph/graph.ts", "name": "./src/graph/graph.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js", "profile": { "factory": 2193, "building": 1239, "dependencies": 1223 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec3.js", "name": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/vec3.js", "profile": { "factory": 1667, "building": 225, "dependencies": 394 } } ], "profile": { "factory": 463, "building": 574, "dependencies": 5 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec3", "loc": "1:0-59" }, { "moduleId": 3, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js c05ae75838e4e8a9e2bf9d938cf74644", "module": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "moduleName": "./node_modules/_@antv_matrix-util@2.0.7@@antv/matrix-util/esm/index.js + 4 modules", "type": "harmony import specifier", "userRequest": "@antv/gl-matrix/lib/gl-matrix/vec3", "loc": "2:15-19" } ], "usedExports": true, "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 4, "source": "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.forEach = exports.sqrLen = exports.len = exports.sqrDist = exports.dist = exports.div = exports.mul = exports.sub = undefined;\nexports.create = create;\nexports.clone = clone;\nexports.length = length;\nexports.fromValues = fromValues;\nexports.copy = copy;\nexports.set = set;\nexports.add = add;\nexports.subtract = subtract;\nexports.multiply = multiply;\nexports.divide = divide;\nexports.ceil = ceil;\nexports.floor = floor;\nexports.min = min;\nexports.max = max;\nexports.round = round;\nexports.scale = scale;\nexports.scaleAndAdd = scaleAndAdd;\nexports.distance = distance;\nexports.squaredDistance = squaredDistance;\nexports.squaredLength = squaredLength;\nexports.negate = negate;\nexports.inverse = inverse;\nexports.normalize = normalize;\nexports.dot = dot;\nexports.cross = cross;\nexports.lerp = lerp;\nexports.hermite = hermite;\nexports.bezier = bezier;\nexports.random = random;\nexports.transformMat4 = transformMat4;\nexports.transformMat3 = transformMat3;\nexports.transformQuat = transformQuat;\nexports.rotateX = rotateX;\nexports.rotateY = rotateY;\nexports.rotateZ = rotateZ;\nexports.angle = angle;\nexports.str = str;\nexports.exactEquals = exactEquals;\nexports.equals = equals;\n\nvar _common = require('./common.js');\n\nvar glMatrix = _interopRequireWildcard(_common);\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n\n newObj.default = obj;\n return newObj;\n }\n}\n/**\n * 3 Dimensional Vector\n * @module vec3\n */\n\n/**\n * Creates a new, empty vec3\n *\n * @returns {vec3} a new 3D vector\n */\n\n\nfunction create() {\n var out = new glMatrix.ARRAY_TYPE(3);\n\n if (glMatrix.ARRAY_TYPE != Float32Array) {\n out[0] = 0;\n out[1] = 0;\n out[2] = 0;\n }\n\n return out;\n}\n/**\n * Creates a new vec3 initialized with values from an existing vector\n *\n * @param {vec3} a vector to clone\n * @returns {vec3} a new 3D vector\n */\n\n\nfunction clone(a) {\n var out = new glMatrix.ARRAY_TYPE(3);\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n return out;\n}\n/**\n * Calculates the length of a vec3\n *\n * @param {vec3} a vector to calculate length of\n * @returns {Number} length of a\n */\n\n\nfunction length(a) {\n var x = a[0];\n var y = a[1];\n var z = a[2];\n return Math.sqrt(x * x + y * y + z * z);\n}\n/**\n * Creates a new vec3 initialized with the given values\n *\n * @param {Number} x X component\n * @param {Number} y Y component\n * @param {Number} z Z component\n * @returns {vec3} a new 3D vector\n */\n\n\nfunction fromValues(x, y, z) {\n var out = new glMatrix.ARRAY_TYPE(3);\n out[0] = x;\n out[1] = y;\n out[2] = z;\n return out;\n}\n/**\n * Copy the values from one vec3 to another\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the source vector\n * @returns {vec3} out\n */\n\n\nfunction copy(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n return out;\n}\n/**\n * Set the components of a vec3 to the given values\n *\n * @param {vec3} out the receiving vector\n * @param {Number} x X component\n * @param {Number} y Y component\n * @param {Number} z Z component\n * @returns {vec3} out\n */\n\n\nfunction set(out, x, y, z) {\n out[0] = x;\n out[1] = y;\n out[2] = z;\n return out;\n}\n/**\n * Adds two vec3's\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction add(out, a, b) {\n out[0] = a[0] + b[0];\n out[1] = a[1] + b[1];\n out[2] = a[2] + b[2];\n return out;\n}\n/**\n * Subtracts vector b from vector a\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction subtract(out, a, b) {\n out[0] = a[0] - b[0];\n out[1] = a[1] - b[1];\n out[2] = a[2] - b[2];\n return out;\n}\n/**\n * Multiplies two vec3's\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction multiply(out, a, b) {\n out[0] = a[0] * b[0];\n out[1] = a[1] * b[1];\n out[2] = a[2] * b[2];\n return out;\n}\n/**\n * Divides two vec3's\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction divide(out, a, b) {\n out[0] = a[0] / b[0];\n out[1] = a[1] / b[1];\n out[2] = a[2] / b[2];\n return out;\n}\n/**\n * Math.ceil the components of a vec3\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a vector to ceil\n * @returns {vec3} out\n */\n\n\nfunction ceil(out, a) {\n out[0] = Math.ceil(a[0]);\n out[1] = Math.ceil(a[1]);\n out[2] = Math.ceil(a[2]);\n return out;\n}\n/**\n * Math.floor the components of a vec3\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a vector to floor\n * @returns {vec3} out\n */\n\n\nfunction floor(out, a) {\n out[0] = Math.floor(a[0]);\n out[1] = Math.floor(a[1]);\n out[2] = Math.floor(a[2]);\n return out;\n}\n/**\n * Returns the minimum of two vec3's\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction min(out, a, b) {\n out[0] = Math.min(a[0], b[0]);\n out[1] = Math.min(a[1], b[1]);\n out[2] = Math.min(a[2], b[2]);\n return out;\n}\n/**\n * Returns the maximum of two vec3's\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction max(out, a, b) {\n out[0] = Math.max(a[0], b[0]);\n out[1] = Math.max(a[1], b[1]);\n out[2] = Math.max(a[2], b[2]);\n return out;\n}\n/**\n * Math.round the components of a vec3\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a vector to round\n * @returns {vec3} out\n */\n\n\nfunction round(out, a) {\n out[0] = Math.round(a[0]);\n out[1] = Math.round(a[1]);\n out[2] = Math.round(a[2]);\n return out;\n}\n/**\n * Scales a vec3 by a scalar number\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the vector to scale\n * @param {Number} b amount to scale the vector by\n * @returns {vec3} out\n */\n\n\nfunction scale(out, a, b) {\n out[0] = a[0] * b;\n out[1] = a[1] * b;\n out[2] = a[2] * b;\n return out;\n}\n/**\n * Adds two vec3's after scaling the second operand by a scalar value\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @param {Number} scale the amount to scale b by before adding\n * @returns {vec3} out\n */\n\n\nfunction scaleAndAdd(out, a, b, scale) {\n out[0] = a[0] + b[0] * scale;\n out[1] = a[1] + b[1] * scale;\n out[2] = a[2] + b[2] * scale;\n return out;\n}\n/**\n * Calculates the euclidian distance between two vec3's\n *\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {Number} distance between a and b\n */\n\n\nfunction distance(a, b) {\n var x = b[0] - a[0];\n var y = b[1] - a[1];\n var z = b[2] - a[2];\n return Math.sqrt(x * x + y * y + z * z);\n}\n/**\n * Calculates the squared euclidian distance between two vec3's\n *\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {Number} squared distance between a and b\n */\n\n\nfunction squaredDistance(a, b) {\n var x = b[0] - a[0];\n var y = b[1] - a[1];\n var z = b[2] - a[2];\n return x * x + y * y + z * z;\n}\n/**\n * Calculates the squared length of a vec3\n *\n * @param {vec3} a vector to calculate squared length of\n * @returns {Number} squared length of a\n */\n\n\nfunction squaredLength(a) {\n var x = a[0];\n var y = a[1];\n var z = a[2];\n return x * x + y * y + z * z;\n}\n/**\n * Negates the components of a vec3\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a vector to negate\n * @returns {vec3} out\n */\n\n\nfunction negate(out, a) {\n out[0] = -a[0];\n out[1] = -a[1];\n out[2] = -a[2];\n return out;\n}\n/**\n * Returns the inverse of the components of a vec3\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a vector to invert\n * @returns {vec3} out\n */\n\n\nfunction inverse(out, a) {\n out[0] = 1.0 / a[0];\n out[1] = 1.0 / a[1];\n out[2] = 1.0 / a[2];\n return out;\n}\n/**\n * Normalize a vec3\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a vector to normalize\n * @returns {vec3} out\n */\n\n\nfunction normalize(out, a) {\n var x = a[0];\n var y = a[1];\n var z = a[2];\n var len = x * x + y * y + z * z;\n\n if (len > 0) {\n //TODO: evaluate use of glm_invsqrt here?\n len = 1 / Math.sqrt(len);\n out[0] = a[0] * len;\n out[1] = a[1] * len;\n out[2] = a[2] * len;\n }\n\n return out;\n}\n/**\n * Calculates the dot product of two vec3's\n *\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {Number} dot product of a and b\n */\n\n\nfunction dot(a, b) {\n return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];\n}\n/**\n * Computes the cross product of two vec3's\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction cross(out, a, b) {\n var ax = a[0],\n ay = a[1],\n az = a[2];\n var bx = b[0],\n by = b[1],\n bz = b[2];\n out[0] = ay * bz - az * by;\n out[1] = az * bx - ax * bz;\n out[2] = ax * by - ay * bx;\n return out;\n}\n/**\n * Performs a linear interpolation between two vec3's\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\n * @returns {vec3} out\n */\n\n\nfunction lerp(out, a, b, t) {\n var ax = a[0];\n var ay = a[1];\n var az = a[2];\n out[0] = ax + t * (b[0] - ax);\n out[1] = ay + t * (b[1] - ay);\n out[2] = az + t * (b[2] - az);\n return out;\n}\n/**\n * Performs a hermite interpolation with two control points\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @param {vec3} c the third operand\n * @param {vec3} d the fourth operand\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\n * @returns {vec3} out\n */\n\n\nfunction hermite(out, a, b, c, d, t) {\n var factorTimes2 = t * t;\n var factor1 = factorTimes2 * (2 * t - 3) + 1;\n var factor2 = factorTimes2 * (t - 2) + t;\n var factor3 = factorTimes2 * (t - 1);\n var factor4 = factorTimes2 * (3 - 2 * t);\n out[0] = a[0] * factor1 + b[0] * factor2 + c[0] * factor3 + d[0] * factor4;\n out[1] = a[1] * factor1 + b[1] * factor2 + c[1] * factor3 + d[1] * factor4;\n out[2] = a[2] * factor1 + b[2] * factor2 + c[2] * factor3 + d[2] * factor4;\n return out;\n}\n/**\n * Performs a bezier interpolation with two control points\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @param {vec3} c the third operand\n * @param {vec3} d the fourth operand\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\n * @returns {vec3} out\n */\n\n\nfunction bezier(out, a, b, c, d, t) {\n var inverseFactor = 1 - t;\n var inverseFactorTimesTwo = inverseFactor * inverseFactor;\n var factorTimes2 = t * t;\n var factor1 = inverseFactorTimesTwo * inverseFactor;\n var factor2 = 3 * t * inverseFactorTimesTwo;\n var factor3 = 3 * factorTimes2 * inverseFactor;\n var factor4 = factorTimes2 * t;\n out[0] = a[0] * factor1 + b[0] * factor2 + c[0] * factor3 + d[0] * factor4;\n out[1] = a[1] * factor1 + b[1] * factor2 + c[1] * factor3 + d[1] * factor4;\n out[2] = a[2] * factor1 + b[2] * factor2 + c[2] * factor3 + d[2] * factor4;\n return out;\n}\n/**\n * Generates a random vector with the given scale\n *\n * @param {vec3} out the receiving vector\n * @param {Number} [scale] Length of the resulting vector. If ommitted, a unit vector will be returned\n * @returns {vec3} out\n */\n\n\nfunction random(out, scale) {\n scale = scale || 1.0;\n var r = glMatrix.RANDOM() * 2.0 * Math.PI;\n var z = glMatrix.RANDOM() * 2.0 - 1.0;\n var zScale = Math.sqrt(1.0 - z * z) * scale;\n out[0] = Math.cos(r) * zScale;\n out[1] = Math.sin(r) * zScale;\n out[2] = z * scale;\n return out;\n}\n/**\n * Transforms the vec3 with a mat4.\n * 4th vector component is implicitly '1'\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the vector to transform\n * @param {mat4} m matrix to transform with\n * @returns {vec3} out\n */\n\n\nfunction transformMat4(out, a, m) {\n var x = a[0],\n y = a[1],\n z = a[2];\n var w = m[3] * x + m[7] * y + m[11] * z + m[15];\n w = w || 1.0;\n out[0] = (m[0] * x + m[4] * y + m[8] * z + m[12]) / w;\n out[1] = (m[1] * x + m[5] * y + m[9] * z + m[13]) / w;\n out[2] = (m[2] * x + m[6] * y + m[10] * z + m[14]) / w;\n return out;\n}\n/**\n * Transforms the vec3 with a mat3.\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the vector to transform\n * @param {mat3} m the 3x3 matrix to transform with\n * @returns {vec3} out\n */\n\n\nfunction transformMat3(out, a, m) {\n var x = a[0],\n y = a[1],\n z = a[2];\n out[0] = x * m[0] + y * m[3] + z * m[6];\n out[1] = x * m[1] + y * m[4] + z * m[7];\n out[2] = x * m[2] + y * m[5] + z * m[8];\n return out;\n}\n/**\n * Transforms the vec3 with a quat\n * Can also be used for dual quaternions. (Multiply it with the real part)\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the vector to transform\n * @param {quat} q quaternion to transform with\n * @returns {vec3} out\n */\n\n\nfunction transformQuat(out, a, q) {\n // benchmarks: https://jsperf.com/quaternion-transform-vec3-implementations-fixed\n var qx = q[0],\n qy = q[1],\n qz = q[2],\n qw = q[3];\n var x = a[0],\n y = a[1],\n z = a[2]; // var qvec = [qx, qy, qz];\n // var uv = vec3.cross([], qvec, a);\n\n var uvx = qy * z - qz * y,\n uvy = qz * x - qx * z,\n uvz = qx * y - qy * x; // var uuv = vec3.cross([], qvec, uv);\n\n var uuvx = qy * uvz - qz * uvy,\n uuvy = qz * uvx - qx * uvz,\n uuvz = qx * uvy - qy * uvx; // vec3.scale(uv, uv, 2 * w);\n\n var w2 = qw * 2;\n uvx *= w2;\n uvy *= w2;\n uvz *= w2; // vec3.scale(uuv, uuv, 2);\n\n uuvx *= 2;\n uuvy *= 2;\n uuvz *= 2; // return vec3.add(out, a, vec3.add(out, uv, uuv));\n\n out[0] = x + uvx + uuvx;\n out[1] = y + uvy + uuvy;\n out[2] = z + uvz + uuvz;\n return out;\n}\n/**\n * Rotate a 3D vector around the x-axis\n * @param {vec3} out The receiving vec3\n * @param {vec3} a The vec3 point to rotate\n * @param {vec3} b The origin of the rotation\n * @param {Number} c The angle of rotation\n * @returns {vec3} out\n */\n\n\nfunction rotateX(out, a, b, c) {\n var p = [],\n r = []; //Translate point to the origin\n\n p[0] = a[0] - b[0];\n p[1] = a[1] - b[1];\n p[2] = a[2] - b[2]; //perform rotation\n\n r[0] = p[0];\n r[1] = p[1] * Math.cos(c) - p[2] * Math.sin(c);\n r[2] = p[1] * Math.sin(c) + p[2] * Math.cos(c); //translate to correct position\n\n out[0] = r[0] + b[0];\n out[1] = r[1] + b[1];\n out[2] = r[2] + b[2];\n return out;\n}\n/**\n * Rotate a 3D vector around the y-axis\n * @param {vec3} out The receiving vec3\n * @param {vec3} a The vec3 point to rotate\n * @param {vec3} b The origin of the rotation\n * @param {Number} c The angle of rotation\n * @returns {vec3} out\n */\n\n\nfunction rotateY(out, a, b, c) {\n var p = [],\n r = []; //Translate point to the origin\n\n p[0] = a[0] - b[0];\n p[1] = a[1] - b[1];\n p[2] = a[2] - b[2]; //perform rotation\n\n r[0] = p[2] * Math.sin(c) + p[0] * Math.cos(c);\n r[1] = p[1];\n r[2] = p[2] * Math.cos(c) - p[0] * Math.sin(c); //translate to correct position\n\n out[0] = r[0] + b[0];\n out[1] = r[1] + b[1];\n out[2] = r[2] + b[2];\n return out;\n}\n/**\n * Rotate a 3D vector around the z-axis\n * @param {vec3} out The receiving vec3\n * @param {vec3} a The vec3 point to rotate\n * @param {vec3} b The origin of the rotation\n * @param {Number} c The angle of rotation\n * @returns {vec3} out\n */\n\n\nfunction rotateZ(out, a, b, c) {\n var p = [],\n r = []; //Translate point to the origin\n\n p[0] = a[0] - b[0];\n p[1] = a[1] - b[1];\n p[2] = a[2] - b[2]; //perform rotation\n\n r[0] = p[0] * Math.cos(c) - p[1] * Math.sin(c);\n r[1] = p[0] * Math.sin(c) + p[1] * Math.cos(c);\n r[2] = p[2]; //translate to correct position\n\n out[0] = r[0] + b[0];\n out[1] = r[1] + b[1];\n out[2] = r[2] + b[2];\n return out;\n}\n/**\n * Get the angle between two 3D vectors\n * @param {vec3} a The first operand\n * @param {vec3} b The second operand\n * @returns {Number} The angle in radians\n */\n\n\nfunction angle(a, b) {\n var tempA = fromValues(a[0], a[1], a[2]);\n var tempB = fromValues(b[0], b[1], b[2]);\n normalize(tempA, tempA);\n normalize(tempB, tempB);\n var cosine = dot(tempA, tempB);\n\n if (cosine > 1.0) {\n return 0;\n } else if (cosine < -1.0) {\n return Math.PI;\n } else {\n return Math.acos(cosine);\n }\n}\n/**\n * Returns a string representation of a vector\n *\n * @param {vec3} a vector to represent as a string\n * @returns {String} string representation of the vector\n */\n\n\nfunction str(a) {\n return 'vec3(' + a[0] + ', ' + a[1] + ', ' + a[2] + ')';\n}\n/**\n * Returns whether or not the vectors have exactly the same elements in the same position (when compared with ===)\n *\n * @param {vec3} a The first vector.\n * @param {vec3} b The second vector.\n * @returns {Boolean} True if the vectors are equal, false otherwise.\n */\n\n\nfunction exactEquals(a, b) {\n return a[0] === b[0] && a[1] === b[1] && a[2] === b[2];\n}\n/**\n * Returns whether or not the vectors have approximately the same elements in the same position.\n *\n * @param {vec3} a The first vector.\n * @param {vec3} b The second vector.\n * @returns {Boolean} True if the vectors are equal, false otherwise.\n */\n\n\nfunction equals(a, b) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2];\n var b0 = b[0],\n b1 = b[1],\n b2 = b[2];\n return Math.abs(a0 - b0) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1)) && Math.abs(a2 - b2) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a2), Math.abs(b2));\n}\n/**\n * Alias for {@link vec3.subtract}\n * @function\n */\n\n\nvar sub = exports.sub = subtract;\n/**\n * Alias for {@link vec3.multiply}\n * @function\n */\n\nvar mul = exports.mul = multiply;\n/**\n * Alias for {@link vec3.divide}\n * @function\n */\n\nvar div = exports.div = divide;\n/**\n * Alias for {@link vec3.distance}\n * @function\n */\n\nvar dist = exports.dist = distance;\n/**\n * Alias for {@link vec3.squaredDistance}\n * @function\n */\n\nvar sqrDist = exports.sqrDist = squaredDistance;\n/**\n * Alias for {@link vec3.length}\n * @function\n */\n\nvar len = exports.len = length;\n/**\n * Alias for {@link vec3.squaredLength}\n * @function\n */\n\nvar sqrLen = exports.sqrLen = squaredLength;\n/**\n * Perform some operation over an array of vec3s.\n *\n * @param {Array} a the array of vectors to iterate over\n * @param {Number} stride Number of elements between the start of each vec3. If 0 assumes tightly packed\n * @param {Number} offset Number of elements to skip at the beginning of the array\n * @param {Number} count Number of vec3s to iterate over. If 0 iterates over entire array\n * @param {Function} fn Function to call for each vector in the array\n * @param {Object} [arg] additional argument to pass to fn\n * @returns {Array} a\n * @function\n */\n\nvar forEach = exports.forEach = function () {\n var vec = create();\n return function (a, stride, offset, count, fn, arg) {\n var i = void 0,\n l = void 0;\n\n if (!stride) {\n stride = 3;\n }\n\n if (!offset) {\n offset = 0;\n }\n\n if (count) {\n l = Math.min(count * stride + offset, a.length);\n } else {\n l = a.length;\n }\n\n for (i = offset; i < l; i += stride) {\n vec[0] = a[i];\n vec[1] = a[i + 1];\n vec[2] = a[i + 2];\n fn(vec, vec, arg);\n a[i] = vec[0];\n a[i + 1] = vec[1];\n a[i + 2] = vec[2];\n }\n\n return a;\n };\n}();" }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "index": 139, "index2": 195, "size": 580, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "issuerId": 19, "issuerName": "./src/interface/behavior.ts", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } } ], "profile": { "factory": 3116, "building": 1096 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 19, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "module": "./src/interface/behavior.ts", "moduleName": "./src/interface/behavior.ts", "type": "harmony side effect evaluation", "userRequest": "@antv/g-base", "loc": "2:0-51" }, { "moduleId": 19, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "module": "./src/interface/behavior.ts", "moduleName": "./src/interface/behavior.ts", "type": "harmony import specifier", "userRequest": "@antv/g-base", "loc": "15:2-12" } ], "usedExports": ["Event"], "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module exports are unknown"], "depth": 2, "source": "/**\n * @fileoverview G 的基础接口定义和所有的抽象类\n * @author dxq613@gmail.com\n */\nimport * as PathUtil from './util/path';\n\nvar pkg = require('../package.json');\n\nexport var version = pkg.version;\nexport * from './types';\nexport * from './interfaces';\nexport { default as Event } from './event/graph-event';\nexport { default as Base } from './abstract/base';\nexport { default as AbstractCanvas } from './abstract/canvas';\nexport { default as AbstractGroup } from './abstract/group';\nexport { default as AbstractShape } from './abstract/shape';\nexport { PathUtil };" }, { "id": 50, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_detect-browser@5.2.0@detect-browser/es/index.js", "name": "./node_modules/_detect-browser@5.2.0@detect-browser/es/index.js", "index": 198, "index2": 191, "size": 6685, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "issuerId": null, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } } ], "profile": { "factory": 693, "building": 77, "dependencies": 227 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "detect-browser", "loc": "2:0-40" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony import specifier", "userRequest": "detect-browser", "loc": "8:14-20" } ], "usedExports": ["detect"], "providedExports": [ "BrowserInfo", "NodeInfo", "SearchBotDeviceInfo", "BotInfo", "ReactNativeInfo", "detect", "browserName", "parseUserAgent", "detectOS", "getNodeVersion" ], "optimizationBailout": [ "ModuleConcatenation bailout: Module uses injected variables (process)" ], "depth": 4, "source": "var __spreadArrays = this && this.__spreadArrays || function () {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) {\n s += arguments[i].length;\n }\n\n for (var r = Array(s), k = 0, i = 0; i < il; i++) {\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {\n r[k] = a[j];\n }\n }\n\n return r;\n};\n\nvar BrowserInfo =\n/** @class */\nfunction () {\n function BrowserInfo(name, version, os) {\n this.name = name;\n this.version = version;\n this.os = os;\n this.type = 'browser';\n }\n\n return BrowserInfo;\n}();\n\nexport { BrowserInfo };\n\nvar NodeInfo =\n/** @class */\nfunction () {\n function NodeInfo(version) {\n this.version = version;\n this.type = 'node';\n this.name = 'node';\n this.os = process.platform;\n }\n\n return NodeInfo;\n}();\n\nexport { NodeInfo };\n\nvar SearchBotDeviceInfo =\n/** @class */\nfunction () {\n function SearchBotDeviceInfo(name, version, os, bot) {\n this.name = name;\n this.version = version;\n this.os = os;\n this.bot = bot;\n this.type = 'bot-device';\n }\n\n return SearchBotDeviceInfo;\n}();\n\nexport { SearchBotDeviceInfo };\n\nvar BotInfo =\n/** @class */\nfunction () {\n function BotInfo() {\n this.type = 'bot';\n this.bot = true; // NOTE: deprecated test name instead\n\n this.name = 'bot';\n this.version = null;\n this.os = null;\n }\n\n return BotInfo;\n}();\n\nexport { BotInfo };\n\nvar ReactNativeInfo =\n/** @class */\nfunction () {\n function ReactNativeInfo() {\n this.type = 'react-native';\n this.name = 'react-native';\n this.version = null;\n this.os = null;\n }\n\n return ReactNativeInfo;\n}();\n\nexport { ReactNativeInfo }; // tslint:disable-next-line:max-line-length\n\nvar SEARCHBOX_UA_REGEX = /alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/;\nvar SEARCHBOT_OS_REGEX = /(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\\ Jeeves\\/Teoma|ia_archiver)/;\nvar REQUIRED_VERSION_PARTS = 3;\nvar userAgentRules = [['aol', /AOLShield\\/([0-9\\._]+)/], ['edge', /Edge\\/([0-9\\._]+)/], ['edge-ios', /EdgiOS\\/([0-9\\._]+)/], ['yandexbrowser', /YaBrowser\\/([0-9\\._]+)/], ['kakaotalk', /KAKAOTALK\\s([0-9\\.]+)/], ['samsung', /SamsungBrowser\\/([0-9\\.]+)/], ['silk', /\\bSilk\\/([0-9._-]+)\\b/], ['miui', /MiuiBrowser\\/([0-9\\.]+)$/], ['beaker', /BeakerBrowser\\/([0-9\\.]+)/], ['edge-chromium', /EdgA?\\/([0-9\\.]+)/], ['chromium-webview', /(?!Chrom.*OPR)wv\\).*Chrom(?:e|ium)\\/([0-9\\.]+)(:?\\s|$)/], ['chrome', /(?!Chrom.*OPR)Chrom(?:e|ium)\\/([0-9\\.]+)(:?\\s|$)/], ['phantomjs', /PhantomJS\\/([0-9\\.]+)(:?\\s|$)/], ['crios', /CriOS\\/([0-9\\.]+)(:?\\s|$)/], ['firefox', /Firefox\\/([0-9\\.]+)(?:\\s|$)/], ['fxios', /FxiOS\\/([0-9\\.]+)/], ['opera-mini', /Opera Mini.*Version\\/([0-9\\.]+)/], ['opera', /Opera\\/([0-9\\.]+)(?:\\s|$)/], ['opera', /OPR\\/([0-9\\.]+)(:?\\s|$)/], ['ie', /Trident\\/7\\.0.*rv\\:([0-9\\.]+).*\\).*Gecko$/], ['ie', /MSIE\\s([0-9\\.]+);.*Trident\\/[4-7].0/], ['ie', /MSIE\\s(7\\.0)/], ['bb10', /BB10;\\sTouch.*Version\\/([0-9\\.]+)/], ['android', /Android\\s([0-9\\.]+)/], ['ios', /Version\\/([0-9\\._]+).*Mobile.*Safari.*/], ['safari', /Version\\/([0-9\\._]+).*Safari/], ['facebook', /FBAV\\/([0-9\\.]+)/], ['instagram', /Instagram\\s([0-9\\.]+)/], ['ios-webview', /AppleWebKit\\/([0-9\\.]+).*Mobile/], ['ios-webview', /AppleWebKit\\/([0-9\\.]+).*Gecko\\)$/], ['searchbot', SEARCHBOX_UA_REGEX]];\nvar operatingSystemRules = [['iOS', /iP(hone|od|ad)/], ['Android OS', /Android/], ['BlackBerry OS', /BlackBerry|BB10/], ['Windows Mobile', /IEMobile/], ['Amazon OS', /Kindle/], ['Windows 3.11', /Win16/], ['Windows 95', /(Windows 95)|(Win95)|(Windows_95)/], ['Windows 98', /(Windows 98)|(Win98)/], ['Windows 2000', /(Windows NT 5.0)|(Windows 2000)/], ['Windows XP', /(Windows NT 5.1)|(Windows XP)/], ['Windows Server 2003', /(Windows NT 5.2)/], ['Windows Vista', /(Windows NT 6.0)/], ['Windows 7', /(Windows NT 6.1)/], ['Windows 8', /(Windows NT 6.2)/], ['Windows 8.1', /(Windows NT 6.3)/], ['Windows 10', /(Windows NT 10.0)/], ['Windows ME', /Windows ME/], ['Open BSD', /OpenBSD/], ['Sun OS', /SunOS/], ['Chrome OS', /CrOS/], ['Linux', /(Linux)|(X11)/], ['Mac OS', /(Mac_PowerPC)|(Macintosh)/], ['QNX', /QNX/], ['BeOS', /BeOS/], ['OS/2', /OS\\/2/]];\nexport function detect(userAgent) {\n if (!!userAgent) {\n return parseUserAgent(userAgent);\n }\n\n if (typeof document === 'undefined' && typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {\n return new ReactNativeInfo();\n }\n\n if (typeof navigator !== 'undefined') {\n return parseUserAgent(navigator.userAgent);\n }\n\n return getNodeVersion();\n}\n\nfunction matchUserAgent(ua) {\n // opted for using reduce here rather than Array#first with a regex.test call\n // this is primarily because using the reduce we only perform the regex\n // execution once rather than once for the test and for the exec again below\n // probably something that needs to be benchmarked though\n return ua !== '' && userAgentRules.reduce(function (matched, _a) {\n var browser = _a[0],\n regex = _a[1];\n\n if (matched) {\n return matched;\n }\n\n var uaMatch = regex.exec(ua);\n return !!uaMatch && [browser, uaMatch];\n }, false);\n}\n\nexport function browserName(ua) {\n var data = matchUserAgent(ua);\n return data ? data[0] : null;\n}\nexport function parseUserAgent(ua) {\n var matchedRule = matchUserAgent(ua);\n\n if (!matchedRule) {\n return null;\n }\n\n var name = matchedRule[0],\n match = matchedRule[1];\n\n if (name === 'searchbot') {\n return new BotInfo();\n }\n\n var versionParts = match[1] && match[1].split(/[._]/).slice(0, 3);\n\n if (versionParts) {\n if (versionParts.length < REQUIRED_VERSION_PARTS) {\n versionParts = __spreadArrays(versionParts, createVersionParts(REQUIRED_VERSION_PARTS - versionParts.length));\n }\n } else {\n versionParts = [];\n }\n\n var version = versionParts.join('.');\n var os = detectOS(ua);\n var searchBotMatch = SEARCHBOT_OS_REGEX.exec(ua);\n\n if (searchBotMatch && searchBotMatch[1]) {\n return new SearchBotDeviceInfo(name, version, os, searchBotMatch[1]);\n }\n\n return new BrowserInfo(name, version, os);\n}\nexport function detectOS(ua) {\n for (var ii = 0, count = operatingSystemRules.length; ii < count; ii++) {\n var _a = operatingSystemRules[ii],\n os = _a[0],\n regex = _a[1];\n var match = regex.exec(ua);\n\n if (match) {\n return os;\n }\n }\n\n return null;\n}\nexport function getNodeVersion() {\n var isNode = typeof process !== 'undefined' && process.version;\n return isNode ? new NodeInfo(process.version.slice(1)) : null;\n}\n\nfunction createVersionParts(count) {\n var output = [];\n\n for (var ii = 0; ii < count; ii++) {\n output.push('0');\n }\n\n return output;\n}" }, { "id": 51, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "index": 218, "index2": 215, "size": 1261, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path-by-diff.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path-by-diff.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path-by-diff.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path-by-diff.js", "profile": { "factory": 1578, "building": 488, "dependencies": 365 } } ], "profile": { "factory": 516, "building": 47, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/is-equal", "loc": "1:0-46" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util/lib/is-equal", "loc": "59:10-17" } ], "usedExports": ["default"], "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 5, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar is_object_like_1 = require(\"./is-object-like\");\n\nvar is_array_like_1 = require(\"./is-array-like\");\n\nvar is_string_1 = require(\"./is-string\");\n\nvar isEqual = function isEqual(value, other) {\n if (value === other) {\n return true;\n }\n\n if (!value || !other) {\n return false;\n }\n\n if (is_string_1.default(value) || is_string_1.default(other)) {\n return false;\n }\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\n var rst = true;\n\n for (var i = 0; i < value.length; i++) {\n rst = isEqual(value[i], other[i]);\n\n if (!rst) {\n break;\n }\n }\n\n return rst;\n }\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\n if (valueKeys.length !== otherKeys.length) {\n return false;\n }\n\n var rst = true;\n\n for (var i = 0; i < valueKeys.length; i++) {\n rst = isEqual(value[valueKeys[i]], other[valueKeys[i]]);\n\n if (!rst) {\n break;\n }\n }\n\n return rst;\n }\n\n return false;\n};\n\nexports.default = isEqual;" }, { "id": 52, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/mod.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/mod.js", "index": 229, "index2": 224, "size": 164, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-arc-params.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-arc-params.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-arc-params.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-arc-params.js", "profile": { "factory": 1578, "building": 488, "dependencies": 365 } } ], "profile": { "factory": 603, "building": 132 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/mod", "loc": "1:0-37" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util/lib/mod", "loc": "32:18-21" } ], "usedExports": ["default"], "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 5, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar mod = function mod(n, m) {\n return (n % m + m) % m;\n};\n\nexports.default = mod;" }, { "id": 53, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/to-radian.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/to-radian.js", "index": 230, "index2": 225, "size": 209, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-arc-params.js", "issuerId": null, "issuerName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-arc-params.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-arc-params.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/get-arc-params.js", "profile": { "factory": 1578, "building": 488, "dependencies": 365 } } ], "profile": { "factory": 603, "building": 132 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony side effect evaluation", "userRequest": "@antv/util/lib/to-radian", "loc": "2:0-48" }, { "moduleId": 24, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js 123c71944053fbfc64cb74bfbda09e9a", "module": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "moduleName": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js + 16 modules", "type": "harmony import specifier", "userRequest": "@antv/util/lib/to-radian", "loc": "32:22-30" } ], "usedExports": ["default"], "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 5, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar RADIAN = Math.PI / 180;\n\nvar toRadian = function toRadian(degree) {\n return RADIAN * degree;\n};\n\nexports.default = toRadian;" }, { "id": 54, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "name": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "index": null, "index2": null, "size": 170, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "issuerId": null, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "profile": { "factory": 23, "building": 208, "dependencies": 122 } } ], "profile": { "factory": 151, "building": 80 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-43" }, { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "3:0-33" }, { "moduleId": 73, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-55" }, { "moduleId": 75, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-43" }, { "moduleId": 76, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-43" }, { "moduleId": 78, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-43" } ], "usedExports": false, "providedExports": ["color", "rgb", "hsl", "lab", "hcl", "lch", "gray", "cubehelix"], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 7, "source": "export { default as color, rgb, hsl } from \"./color.js\";\nexport { default as lab, hcl, lch, gray } from \"./lab.js\";\nexport { default as cubehelix } from \"./cubehelix.js\";" }, { "id": 55, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2.js", "index": null, "index2": null, "size": 10181, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "profile": { "factory": 144, "building": 354, "dependencies": 2 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "profile": { "factory": 307, "building": 24 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "profile": { "factory": 281, "building": 10, "dependencies": 23 } } ], "profile": { "factory": 4, "building": 629, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony side effect evaluation", "userRequest": "./mat2.js", "loc": "2:0-34" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony export imported specifier", "userRequest": "./mat2.js", "loc": "11:0-76" } ], "usedExports": false, "providedExports": [ "create", "clone", "copy", "identity", "fromValues", "set", "transpose", "invert", "adjoint", "determinant", "multiply", "rotate", "scale", "fromRotation", "fromScaling", "str", "frob", "LDU", "add", "subtract", "exactEquals", "equals", "multiplyScalar", "multiplyScalarAndAdd", "mul", "sub" ], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 7, "source": "import * as glMatrix from \"./common.js\";\n/**\r\n * 2x2 Matrix\r\n * @module mat2\r\n */\n\n/**\r\n * Creates a new identity mat2\r\n *\r\n * @returns {mat2} a new 2x2 matrix\r\n */\n\nexport function create() {\n var out = new glMatrix.ARRAY_TYPE(4);\n\n if (glMatrix.ARRAY_TYPE != Float32Array) {\n out[1] = 0;\n out[2] = 0;\n }\n\n out[0] = 1;\n out[3] = 1;\n return out;\n}\n/**\r\n * Creates a new mat2 initialized with values from an existing matrix\r\n *\r\n * @param {ReadonlyMat2} a matrix to clone\r\n * @returns {mat2} a new 2x2 matrix\r\n */\n\nexport function clone(a) {\n var out = new glMatrix.ARRAY_TYPE(4);\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[3];\n return out;\n}\n/**\r\n * Copy the values from one mat2 to another\r\n *\r\n * @param {mat2} out the receiving matrix\r\n * @param {ReadonlyMat2} a the source matrix\r\n * @returns {mat2} out\r\n */\n\nexport function copy(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[3];\n return out;\n}\n/**\r\n * Set a mat2 to the identity matrix\r\n *\r\n * @param {mat2} out the receiving matrix\r\n * @returns {mat2} out\r\n */\n\nexport function identity(out) {\n out[0] = 1;\n out[1] = 0;\n out[2] = 0;\n out[3] = 1;\n return out;\n}\n/**\r\n * Create a new mat2 with the given values\r\n *\r\n * @param {Number} m00 Component in column 0, row 0 position (index 0)\r\n * @param {Number} m01 Component in column 0, row 1 position (index 1)\r\n * @param {Number} m10 Component in column 1, row 0 position (index 2)\r\n * @param {Number} m11 Component in column 1, row 1 position (index 3)\r\n * @returns {mat2} out A new 2x2 matrix\r\n */\n\nexport function fromValues(m00, m01, m10, m11) {\n var out = new glMatrix.ARRAY_TYPE(4);\n out[0] = m00;\n out[1] = m01;\n out[2] = m10;\n out[3] = m11;\n return out;\n}\n/**\r\n * Set the components of a mat2 to the given values\r\n *\r\n * @param {mat2} out the receiving matrix\r\n * @param {Number} m00 Component in column 0, row 0 position (index 0)\r\n * @param {Number} m01 Component in column 0, row 1 position (index 1)\r\n * @param {Number} m10 Component in column 1, row 0 position (index 2)\r\n * @param {Number} m11 Component in column 1, row 1 position (index 3)\r\n * @returns {mat2} out\r\n */\n\nexport function set(out, m00, m01, m10, m11) {\n out[0] = m00;\n out[1] = m01;\n out[2] = m10;\n out[3] = m11;\n return out;\n}\n/**\r\n * Transpose the values of a mat2\r\n *\r\n * @param {mat2} out the receiving matrix\r\n * @param {ReadonlyMat2} a the source matrix\r\n * @returns {mat2} out\r\n */\n\nexport function transpose(out, a) {\n // If we are transposing ourselves we can skip a few steps but have to cache\n // some values\n if (out === a) {\n var a1 = a[1];\n out[1] = a[2];\n out[2] = a1;\n } else {\n out[0] = a[0];\n out[1] = a[2];\n out[2] = a[1];\n out[3] = a[3];\n }\n\n return out;\n}\n/**\r\n * Inverts a mat2\r\n *\r\n * @param {mat2} out the receiving matrix\r\n * @param {ReadonlyMat2} a the source matrix\r\n * @returns {mat2} out\r\n */\n\nexport function invert(out, a) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2],\n a3 = a[3]; // Calculate the determinant\n\n var det = a0 * a3 - a2 * a1;\n\n if (!det) {\n return null;\n }\n\n det = 1.0 / det;\n out[0] = a3 * det;\n out[1] = -a1 * det;\n out[2] = -a2 * det;\n out[3] = a0 * det;\n return out;\n}\n/**\r\n * Calculates the adjugate of a mat2\r\n *\r\n * @param {mat2} out the receiving matrix\r\n * @param {ReadonlyMat2} a the source matrix\r\n * @returns {mat2} out\r\n */\n\nexport function adjoint(out, a) {\n // Caching this value is nessecary if out == a\n var a0 = a[0];\n out[0] = a[3];\n out[1] = -a[1];\n out[2] = -a[2];\n out[3] = a0;\n return out;\n}\n/**\r\n * Calculates the determinant of a mat2\r\n *\r\n * @param {ReadonlyMat2} a the source matrix\r\n * @returns {Number} determinant of a\r\n */\n\nexport function determinant(a) {\n return a[0] * a[3] - a[2] * a[1];\n}\n/**\r\n * Multiplies two mat2's\r\n *\r\n * @param {mat2} out the receiving matrix\r\n * @param {ReadonlyMat2} a the first operand\r\n * @param {ReadonlyMat2} b the second operand\r\n * @returns {mat2} out\r\n */\n\nexport function multiply(out, a, b) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2],\n a3 = a[3];\n var b0 = b[0],\n b1 = b[1],\n b2 = b[2],\n b3 = b[3];\n out[0] = a0 * b0 + a2 * b1;\n out[1] = a1 * b0 + a3 * b1;\n out[2] = a0 * b2 + a2 * b3;\n out[3] = a1 * b2 + a3 * b3;\n return out;\n}\n/**\r\n * Rotates a mat2 by the given angle\r\n *\r\n * @param {mat2} out the receiving matrix\r\n * @param {ReadonlyMat2} a the matrix to rotate\r\n * @param {Number} rad the angle to rotate the matrix by\r\n * @returns {mat2} out\r\n */\n\nexport function rotate(out, a, rad) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2],\n a3 = a[3];\n var s = Math.sin(rad);\n var c = Math.cos(rad);\n out[0] = a0 * c + a2 * s;\n out[1] = a1 * c + a3 * s;\n out[2] = a0 * -s + a2 * c;\n out[3] = a1 * -s + a3 * c;\n return out;\n}\n/**\r\n * Scales the mat2 by the dimensions in the given vec2\r\n *\r\n * @param {mat2} out the receiving matrix\r\n * @param {ReadonlyMat2} a the matrix to rotate\r\n * @param {ReadonlyVec2} v the vec2 to scale the matrix by\r\n * @returns {mat2} out\r\n **/\n\nexport function scale(out, a, v) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2],\n a3 = a[3];\n var v0 = v[0],\n v1 = v[1];\n out[0] = a0 * v0;\n out[1] = a1 * v0;\n out[2] = a2 * v1;\n out[3] = a3 * v1;\n return out;\n}\n/**\r\n * Creates a matrix from a given angle\r\n * This is equivalent to (but much faster than):\r\n *\r\n * mat2.identity(dest);\r\n * mat2.rotate(dest, dest, rad);\r\n *\r\n * @param {mat2} out mat2 receiving operation result\r\n * @param {Number} rad the angle to rotate the matrix by\r\n * @returns {mat2} out\r\n */\n\nexport function fromRotation(out, rad) {\n var s = Math.sin(rad);\n var c = Math.cos(rad);\n out[0] = c;\n out[1] = s;\n out[2] = -s;\n out[3] = c;\n return out;\n}\n/**\r\n * Creates a matrix from a vector scaling\r\n * This is equivalent to (but much faster than):\r\n *\r\n * mat2.identity(dest);\r\n * mat2.scale(dest, dest, vec);\r\n *\r\n * @param {mat2} out mat2 receiving operation result\r\n * @param {ReadonlyVec2} v Scaling vector\r\n * @returns {mat2} out\r\n */\n\nexport function fromScaling(out, v) {\n out[0] = v[0];\n out[1] = 0;\n out[2] = 0;\n out[3] = v[1];\n return out;\n}\n/**\r\n * Returns a string representation of a mat2\r\n *\r\n * @param {ReadonlyMat2} a matrix to represent as a string\r\n * @returns {String} string representation of the matrix\r\n */\n\nexport function str(a) {\n return \"mat2(\" + a[0] + \", \" + a[1] + \", \" + a[2] + \", \" + a[3] + \")\";\n}\n/**\r\n * Returns Frobenius norm of a mat2\r\n *\r\n * @param {ReadonlyMat2} a the matrix to calculate Frobenius norm of\r\n * @returns {Number} Frobenius norm\r\n */\n\nexport function frob(a) {\n return Math.hypot(a[0], a[1], a[2], a[3]);\n}\n/**\r\n * Returns L, D and U matrices (Lower triangular, Diagonal and Upper triangular) by factorizing the input matrix\r\n * @param {ReadonlyMat2} L the lower triangular matrix\r\n * @param {ReadonlyMat2} D the diagonal matrix\r\n * @param {ReadonlyMat2} U the upper triangular matrix\r\n * @param {ReadonlyMat2} a the input matrix to factorize\r\n */\n\nexport function LDU(L, D, U, a) {\n L[2] = a[2] / a[0];\n U[0] = a[0];\n U[1] = a[1];\n U[3] = a[3] - L[2] * U[1];\n return [L, D, U];\n}\n/**\r\n * Adds two mat2's\r\n *\r\n * @param {mat2} out the receiving matrix\r\n * @param {ReadonlyMat2} a the first operand\r\n * @param {ReadonlyMat2} b the second operand\r\n * @returns {mat2} out\r\n */\n\nexport function add(out, a, b) {\n out[0] = a[0] + b[0];\n out[1] = a[1] + b[1];\n out[2] = a[2] + b[2];\n out[3] = a[3] + b[3];\n return out;\n}\n/**\r\n * Subtracts matrix b from matrix a\r\n *\r\n * @param {mat2} out the receiving matrix\r\n * @param {ReadonlyMat2} a the first operand\r\n * @param {ReadonlyMat2} b the second operand\r\n * @returns {mat2} out\r\n */\n\nexport function subtract(out, a, b) {\n out[0] = a[0] - b[0];\n out[1] = a[1] - b[1];\n out[2] = a[2] - b[2];\n out[3] = a[3] - b[3];\n return out;\n}\n/**\r\n * Returns whether or not the matrices have exactly the same elements in the same position (when compared with ===)\r\n *\r\n * @param {ReadonlyMat2} a The first matrix.\r\n * @param {ReadonlyMat2} b The second matrix.\r\n * @returns {Boolean} True if the matrices are equal, false otherwise.\r\n */\n\nexport function exactEquals(a, b) {\n return a[0] === b[0] && a[1] === b[1] && a[2] === b[2] && a[3] === b[3];\n}\n/**\r\n * Returns whether or not the matrices have approximately the same elements in the same position.\r\n *\r\n * @param {ReadonlyMat2} a The first matrix.\r\n * @param {ReadonlyMat2} b The second matrix.\r\n * @returns {Boolean} True if the matrices are equal, false otherwise.\r\n */\n\nexport function equals(a, b) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2],\n a3 = a[3];\n var b0 = b[0],\n b1 = b[1],\n b2 = b[2],\n b3 = b[3];\n return Math.abs(a0 - b0) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1)) && Math.abs(a2 - b2) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a2), Math.abs(b2)) && Math.abs(a3 - b3) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a3), Math.abs(b3));\n}\n/**\r\n * Multiply each element of the matrix by a scalar.\r\n *\r\n * @param {mat2} out the receiving matrix\r\n * @param {ReadonlyMat2} a the matrix to scale\r\n * @param {Number} b amount to scale the matrix's elements by\r\n * @returns {mat2} out\r\n */\n\nexport function multiplyScalar(out, a, b) {\n out[0] = a[0] * b;\n out[1] = a[1] * b;\n out[2] = a[2] * b;\n out[3] = a[3] * b;\n return out;\n}\n/**\r\n * Adds two mat2's after multiplying each element of the second operand by a scalar value.\r\n *\r\n * @param {mat2} out the receiving vector\r\n * @param {ReadonlyMat2} a the first operand\r\n * @param {ReadonlyMat2} b the second operand\r\n * @param {Number} scale the amount to scale b's elements by before adding\r\n * @returns {mat2} out\r\n */\n\nexport function multiplyScalarAndAdd(out, a, b, scale) {\n out[0] = a[0] + b[0] * scale;\n out[1] = a[1] + b[1] * scale;\n out[2] = a[2] + b[2] * scale;\n out[3] = a[3] + b[3] * scale;\n return out;\n}\n/**\r\n * Alias for {@link mat2.multiply}\r\n * @function\r\n */\n\nexport var mul = multiply;\n/**\r\n * Alias for {@link mat2.subtract}\r\n * @function\r\n */\n\nexport var sub = subtract;" }, { "id": 56, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat2d.js", "index": null, "index2": null, "size": 11360, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "profile": { "factory": 144, "building": 354, "dependencies": 2 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "profile": { "factory": 307, "building": 24 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "profile": { "factory": 281, "building": 10, "dependencies": 23 } } ], "profile": { "factory": 4, "building": 629, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony side effect evaluation", "userRequest": "./mat2d.js", "loc": "3:0-36" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony export imported specifier", "userRequest": "./mat2d.js", "loc": "11:0-76" } ], "usedExports": false, "providedExports": [ "create", "clone", "copy", "identity", "fromValues", "set", "invert", "determinant", "multiply", "rotate", "scale", "translate", "fromRotation", "fromScaling", "fromTranslation", "str", "frob", "add", "subtract", "multiplyScalar", "multiplyScalarAndAdd", "exactEquals", "equals", "mul", "sub" ], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 7, "source": "import * as glMatrix from \"./common.js\";\n/**\r\n * 2x3 Matrix\r\n * @module mat2d\r\n * @description\r\n * A mat2d contains six elements defined as:\r\n *
\r\n * [a, b,\r\n *  c, d,\r\n *  tx, ty]\r\n * 
\r\n * This is a short form for the 3x3 matrix:\r\n *
\r\n * [a, b, 0,\r\n *  c, d, 0,\r\n *  tx, ty, 1]\r\n * 
\r\n * The last column is ignored so the array is shorter and operations are faster.\r\n */\n\n/**\r\n * Creates a new identity mat2d\r\n *\r\n * @returns {mat2d} a new 2x3 matrix\r\n */\n\nexport function create() {\n var out = new glMatrix.ARRAY_TYPE(6);\n\n if (glMatrix.ARRAY_TYPE != Float32Array) {\n out[1] = 0;\n out[2] = 0;\n out[4] = 0;\n out[5] = 0;\n }\n\n out[0] = 1;\n out[3] = 1;\n return out;\n}\n/**\r\n * Creates a new mat2d initialized with values from an existing matrix\r\n *\r\n * @param {ReadonlyMat2d} a matrix to clone\r\n * @returns {mat2d} a new 2x3 matrix\r\n */\n\nexport function clone(a) {\n var out = new glMatrix.ARRAY_TYPE(6);\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[3];\n out[4] = a[4];\n out[5] = a[5];\n return out;\n}\n/**\r\n * Copy the values from one mat2d to another\r\n *\r\n * @param {mat2d} out the receiving matrix\r\n * @param {ReadonlyMat2d} a the source matrix\r\n * @returns {mat2d} out\r\n */\n\nexport function copy(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[3];\n out[4] = a[4];\n out[5] = a[5];\n return out;\n}\n/**\r\n * Set a mat2d to the identity matrix\r\n *\r\n * @param {mat2d} out the receiving matrix\r\n * @returns {mat2d} out\r\n */\n\nexport function identity(out) {\n out[0] = 1;\n out[1] = 0;\n out[2] = 0;\n out[3] = 1;\n out[4] = 0;\n out[5] = 0;\n return out;\n}\n/**\r\n * Create a new mat2d with the given values\r\n *\r\n * @param {Number} a Component A (index 0)\r\n * @param {Number} b Component B (index 1)\r\n * @param {Number} c Component C (index 2)\r\n * @param {Number} d Component D (index 3)\r\n * @param {Number} tx Component TX (index 4)\r\n * @param {Number} ty Component TY (index 5)\r\n * @returns {mat2d} A new mat2d\r\n */\n\nexport function fromValues(a, b, c, d, tx, ty) {\n var out = new glMatrix.ARRAY_TYPE(6);\n out[0] = a;\n out[1] = b;\n out[2] = c;\n out[3] = d;\n out[4] = tx;\n out[5] = ty;\n return out;\n}\n/**\r\n * Set the components of a mat2d to the given values\r\n *\r\n * @param {mat2d} out the receiving matrix\r\n * @param {Number} a Component A (index 0)\r\n * @param {Number} b Component B (index 1)\r\n * @param {Number} c Component C (index 2)\r\n * @param {Number} d Component D (index 3)\r\n * @param {Number} tx Component TX (index 4)\r\n * @param {Number} ty Component TY (index 5)\r\n * @returns {mat2d} out\r\n */\n\nexport function set(out, a, b, c, d, tx, ty) {\n out[0] = a;\n out[1] = b;\n out[2] = c;\n out[3] = d;\n out[4] = tx;\n out[5] = ty;\n return out;\n}\n/**\r\n * Inverts a mat2d\r\n *\r\n * @param {mat2d} out the receiving matrix\r\n * @param {ReadonlyMat2d} a the source matrix\r\n * @returns {mat2d} out\r\n */\n\nexport function invert(out, a) {\n var aa = a[0],\n ab = a[1],\n ac = a[2],\n ad = a[3];\n var atx = a[4],\n aty = a[5];\n var det = aa * ad - ab * ac;\n\n if (!det) {\n return null;\n }\n\n det = 1.0 / det;\n out[0] = ad * det;\n out[1] = -ab * det;\n out[2] = -ac * det;\n out[3] = aa * det;\n out[4] = (ac * aty - ad * atx) * det;\n out[5] = (ab * atx - aa * aty) * det;\n return out;\n}\n/**\r\n * Calculates the determinant of a mat2d\r\n *\r\n * @param {ReadonlyMat2d} a the source matrix\r\n * @returns {Number} determinant of a\r\n */\n\nexport function determinant(a) {\n return a[0] * a[3] - a[1] * a[2];\n}\n/**\r\n * Multiplies two mat2d's\r\n *\r\n * @param {mat2d} out the receiving matrix\r\n * @param {ReadonlyMat2d} a the first operand\r\n * @param {ReadonlyMat2d} b the second operand\r\n * @returns {mat2d} out\r\n */\n\nexport function multiply(out, a, b) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2],\n a3 = a[3],\n a4 = a[4],\n a5 = a[5];\n var b0 = b[0],\n b1 = b[1],\n b2 = b[2],\n b3 = b[3],\n b4 = b[4],\n b5 = b[5];\n out[0] = a0 * b0 + a2 * b1;\n out[1] = a1 * b0 + a3 * b1;\n out[2] = a0 * b2 + a2 * b3;\n out[3] = a1 * b2 + a3 * b3;\n out[4] = a0 * b4 + a2 * b5 + a4;\n out[5] = a1 * b4 + a3 * b5 + a5;\n return out;\n}\n/**\r\n * Rotates a mat2d by the given angle\r\n *\r\n * @param {mat2d} out the receiving matrix\r\n * @param {ReadonlyMat2d} a the matrix to rotate\r\n * @param {Number} rad the angle to rotate the matrix by\r\n * @returns {mat2d} out\r\n */\n\nexport function rotate(out, a, rad) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2],\n a3 = a[3],\n a4 = a[4],\n a5 = a[5];\n var s = Math.sin(rad);\n var c = Math.cos(rad);\n out[0] = a0 * c + a2 * s;\n out[1] = a1 * c + a3 * s;\n out[2] = a0 * -s + a2 * c;\n out[3] = a1 * -s + a3 * c;\n out[4] = a4;\n out[5] = a5;\n return out;\n}\n/**\r\n * Scales the mat2d by the dimensions in the given vec2\r\n *\r\n * @param {mat2d} out the receiving matrix\r\n * @param {ReadonlyMat2d} a the matrix to translate\r\n * @param {ReadonlyVec2} v the vec2 to scale the matrix by\r\n * @returns {mat2d} out\r\n **/\n\nexport function scale(out, a, v) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2],\n a3 = a[3],\n a4 = a[4],\n a5 = a[5];\n var v0 = v[0],\n v1 = v[1];\n out[0] = a0 * v0;\n out[1] = a1 * v0;\n out[2] = a2 * v1;\n out[3] = a3 * v1;\n out[4] = a4;\n out[5] = a5;\n return out;\n}\n/**\r\n * Translates the mat2d by the dimensions in the given vec2\r\n *\r\n * @param {mat2d} out the receiving matrix\r\n * @param {ReadonlyMat2d} a the matrix to translate\r\n * @param {ReadonlyVec2} v the vec2 to translate the matrix by\r\n * @returns {mat2d} out\r\n **/\n\nexport function translate(out, a, v) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2],\n a3 = a[3],\n a4 = a[4],\n a5 = a[5];\n var v0 = v[0],\n v1 = v[1];\n out[0] = a0;\n out[1] = a1;\n out[2] = a2;\n out[3] = a3;\n out[4] = a0 * v0 + a2 * v1 + a4;\n out[5] = a1 * v0 + a3 * v1 + a5;\n return out;\n}\n/**\r\n * Creates a matrix from a given angle\r\n * This is equivalent to (but much faster than):\r\n *\r\n * mat2d.identity(dest);\r\n * mat2d.rotate(dest, dest, rad);\r\n *\r\n * @param {mat2d} out mat2d receiving operation result\r\n * @param {Number} rad the angle to rotate the matrix by\r\n * @returns {mat2d} out\r\n */\n\nexport function fromRotation(out, rad) {\n var s = Math.sin(rad),\n c = Math.cos(rad);\n out[0] = c;\n out[1] = s;\n out[2] = -s;\n out[3] = c;\n out[4] = 0;\n out[5] = 0;\n return out;\n}\n/**\r\n * Creates a matrix from a vector scaling\r\n * This is equivalent to (but much faster than):\r\n *\r\n * mat2d.identity(dest);\r\n * mat2d.scale(dest, dest, vec);\r\n *\r\n * @param {mat2d} out mat2d receiving operation result\r\n * @param {ReadonlyVec2} v Scaling vector\r\n * @returns {mat2d} out\r\n */\n\nexport function fromScaling(out, v) {\n out[0] = v[0];\n out[1] = 0;\n out[2] = 0;\n out[3] = v[1];\n out[4] = 0;\n out[5] = 0;\n return out;\n}\n/**\r\n * Creates a matrix from a vector translation\r\n * This is equivalent to (but much faster than):\r\n *\r\n * mat2d.identity(dest);\r\n * mat2d.translate(dest, dest, vec);\r\n *\r\n * @param {mat2d} out mat2d receiving operation result\r\n * @param {ReadonlyVec2} v Translation vector\r\n * @returns {mat2d} out\r\n */\n\nexport function fromTranslation(out, v) {\n out[0] = 1;\n out[1] = 0;\n out[2] = 0;\n out[3] = 1;\n out[4] = v[0];\n out[5] = v[1];\n return out;\n}\n/**\r\n * Returns a string representation of a mat2d\r\n *\r\n * @param {ReadonlyMat2d} a matrix to represent as a string\r\n * @returns {String} string representation of the matrix\r\n */\n\nexport function str(a) {\n return \"mat2d(\" + a[0] + \", \" + a[1] + \", \" + a[2] + \", \" + a[3] + \", \" + a[4] + \", \" + a[5] + \")\";\n}\n/**\r\n * Returns Frobenius norm of a mat2d\r\n *\r\n * @param {ReadonlyMat2d} a the matrix to calculate Frobenius norm of\r\n * @returns {Number} Frobenius norm\r\n */\n\nexport function frob(a) {\n return Math.hypot(a[0], a[1], a[2], a[3], a[4], a[5], 1);\n}\n/**\r\n * Adds two mat2d's\r\n *\r\n * @param {mat2d} out the receiving matrix\r\n * @param {ReadonlyMat2d} a the first operand\r\n * @param {ReadonlyMat2d} b the second operand\r\n * @returns {mat2d} out\r\n */\n\nexport function add(out, a, b) {\n out[0] = a[0] + b[0];\n out[1] = a[1] + b[1];\n out[2] = a[2] + b[2];\n out[3] = a[3] + b[3];\n out[4] = a[4] + b[4];\n out[5] = a[5] + b[5];\n return out;\n}\n/**\r\n * Subtracts matrix b from matrix a\r\n *\r\n * @param {mat2d} out the receiving matrix\r\n * @param {ReadonlyMat2d} a the first operand\r\n * @param {ReadonlyMat2d} b the second operand\r\n * @returns {mat2d} out\r\n */\n\nexport function subtract(out, a, b) {\n out[0] = a[0] - b[0];\n out[1] = a[1] - b[1];\n out[2] = a[2] - b[2];\n out[3] = a[3] - b[3];\n out[4] = a[4] - b[4];\n out[5] = a[5] - b[5];\n return out;\n}\n/**\r\n * Multiply each element of the matrix by a scalar.\r\n *\r\n * @param {mat2d} out the receiving matrix\r\n * @param {ReadonlyMat2d} a the matrix to scale\r\n * @param {Number} b amount to scale the matrix's elements by\r\n * @returns {mat2d} out\r\n */\n\nexport function multiplyScalar(out, a, b) {\n out[0] = a[0] * b;\n out[1] = a[1] * b;\n out[2] = a[2] * b;\n out[3] = a[3] * b;\n out[4] = a[4] * b;\n out[5] = a[5] * b;\n return out;\n}\n/**\r\n * Adds two mat2d's after multiplying each element of the second operand by a scalar value.\r\n *\r\n * @param {mat2d} out the receiving vector\r\n * @param {ReadonlyMat2d} a the first operand\r\n * @param {ReadonlyMat2d} b the second operand\r\n * @param {Number} scale the amount to scale b's elements by before adding\r\n * @returns {mat2d} out\r\n */\n\nexport function multiplyScalarAndAdd(out, a, b, scale) {\n out[0] = a[0] + b[0] * scale;\n out[1] = a[1] + b[1] * scale;\n out[2] = a[2] + b[2] * scale;\n out[3] = a[3] + b[3] * scale;\n out[4] = a[4] + b[4] * scale;\n out[5] = a[5] + b[5] * scale;\n return out;\n}\n/**\r\n * Returns whether or not the matrices have exactly the same elements in the same position (when compared with ===)\r\n *\r\n * @param {ReadonlyMat2d} a The first matrix.\r\n * @param {ReadonlyMat2d} b The second matrix.\r\n * @returns {Boolean} True if the matrices are equal, false otherwise.\r\n */\n\nexport function exactEquals(a, b) {\n return a[0] === b[0] && a[1] === b[1] && a[2] === b[2] && a[3] === b[3] && a[4] === b[4] && a[5] === b[5];\n}\n/**\r\n * Returns whether or not the matrices have approximately the same elements in the same position.\r\n *\r\n * @param {ReadonlyMat2d} a The first matrix.\r\n * @param {ReadonlyMat2d} b The second matrix.\r\n * @returns {Boolean} True if the matrices are equal, false otherwise.\r\n */\n\nexport function equals(a, b) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2],\n a3 = a[3],\n a4 = a[4],\n a5 = a[5];\n var b0 = b[0],\n b1 = b[1],\n b2 = b[2],\n b3 = b[3],\n b4 = b[4],\n b5 = b[5];\n return Math.abs(a0 - b0) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1)) && Math.abs(a2 - b2) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a2), Math.abs(b2)) && Math.abs(a3 - b3) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a3), Math.abs(b3)) && Math.abs(a4 - b4) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a4), Math.abs(b4)) && Math.abs(a5 - b5) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a5), Math.abs(b5));\n}\n/**\r\n * Alias for {@link mat2d.multiply}\r\n * @function\r\n */\n\nexport var mul = multiply;\n/**\r\n * Alias for {@link mat2d.subtract}\r\n * @function\r\n */\n\nexport var sub = subtract;" }, { "id": 57, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/mat4.js", "index": null, "index2": null, "size": 48445, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "profile": { "factory": 144, "building": 354, "dependencies": 2 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "profile": { "factory": 307, "building": 24 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "profile": { "factory": 281, "building": 10, "dependencies": 23 } } ], "profile": { "factory": 4, "building": 629, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony side effect evaluation", "userRequest": "./mat4.js", "loc": "5:0-34" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony export imported specifier", "userRequest": "./mat4.js", "loc": "11:0-76" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony side effect evaluation", "userRequest": "./mat4.js", "loc": "3:0-34" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./mat4.js", "loc": "190:2-18" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./mat4.js", "loc": "192:2-21" } ], "usedExports": false, "providedExports": [ "create", "clone", "copy", "fromValues", "set", "identity", "transpose", "invert", "adjoint", "determinant", "multiply", "translate", "scale", "rotate", "rotateX", "rotateY", "rotateZ", "fromTranslation", "fromScaling", "fromRotation", "fromXRotation", "fromYRotation", "fromZRotation", "fromRotationTranslation", "fromQuat2", "getTranslation", "getScaling", "getRotation", "fromRotationTranslationScale", "fromRotationTranslationScaleOrigin", "fromQuat", "frustum", "perspective", "perspectiveFromFieldOfView", "ortho", "lookAt", "targetTo", "str", "frob", "add", "subtract", "multiplyScalar", "multiplyScalarAndAdd", "exactEquals", "equals", "mul", "sub" ], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 7, "source": "import * as glMatrix from \"./common.js\";\n/**\r\n * 4x4 Matrix
Format: column-major, when typed out it looks like row-major
The matrices are being post multiplied.\r\n * @module mat4\r\n */\n\n/**\r\n * Creates a new identity mat4\r\n *\r\n * @returns {mat4} a new 4x4 matrix\r\n */\n\nexport function create() {\n var out = new glMatrix.ARRAY_TYPE(16);\n\n if (glMatrix.ARRAY_TYPE != Float32Array) {\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = 0;\n out[6] = 0;\n out[7] = 0;\n out[8] = 0;\n out[9] = 0;\n out[11] = 0;\n out[12] = 0;\n out[13] = 0;\n out[14] = 0;\n }\n\n out[0] = 1;\n out[5] = 1;\n out[10] = 1;\n out[15] = 1;\n return out;\n}\n/**\r\n * Creates a new mat4 initialized with values from an existing matrix\r\n *\r\n * @param {ReadonlyMat4} a matrix to clone\r\n * @returns {mat4} a new 4x4 matrix\r\n */\n\nexport function clone(a) {\n var out = new glMatrix.ARRAY_TYPE(16);\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[3];\n out[4] = a[4];\n out[5] = a[5];\n out[6] = a[6];\n out[7] = a[7];\n out[8] = a[8];\n out[9] = a[9];\n out[10] = a[10];\n out[11] = a[11];\n out[12] = a[12];\n out[13] = a[13];\n out[14] = a[14];\n out[15] = a[15];\n return out;\n}\n/**\r\n * Copy the values from one mat4 to another\r\n *\r\n * @param {mat4} out the receiving matrix\r\n * @param {ReadonlyMat4} a the source matrix\r\n * @returns {mat4} out\r\n */\n\nexport function copy(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[3];\n out[4] = a[4];\n out[5] = a[5];\n out[6] = a[6];\n out[7] = a[7];\n out[8] = a[8];\n out[9] = a[9];\n out[10] = a[10];\n out[11] = a[11];\n out[12] = a[12];\n out[13] = a[13];\n out[14] = a[14];\n out[15] = a[15];\n return out;\n}\n/**\r\n * Create a new mat4 with the given values\r\n *\r\n * @param {Number} m00 Component in column 0, row 0 position (index 0)\r\n * @param {Number} m01 Component in column 0, row 1 position (index 1)\r\n * @param {Number} m02 Component in column 0, row 2 position (index 2)\r\n * @param {Number} m03 Component in column 0, row 3 position (index 3)\r\n * @param {Number} m10 Component in column 1, row 0 position (index 4)\r\n * @param {Number} m11 Component in column 1, row 1 position (index 5)\r\n * @param {Number} m12 Component in column 1, row 2 position (index 6)\r\n * @param {Number} m13 Component in column 1, row 3 position (index 7)\r\n * @param {Number} m20 Component in column 2, row 0 position (index 8)\r\n * @param {Number} m21 Component in column 2, row 1 position (index 9)\r\n * @param {Number} m22 Component in column 2, row 2 position (index 10)\r\n * @param {Number} m23 Component in column 2, row 3 position (index 11)\r\n * @param {Number} m30 Component in column 3, row 0 position (index 12)\r\n * @param {Number} m31 Component in column 3, row 1 position (index 13)\r\n * @param {Number} m32 Component in column 3, row 2 position (index 14)\r\n * @param {Number} m33 Component in column 3, row 3 position (index 15)\r\n * @returns {mat4} A new mat4\r\n */\n\nexport function fromValues(m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, m30, m31, m32, m33) {\n var out = new glMatrix.ARRAY_TYPE(16);\n out[0] = m00;\n out[1] = m01;\n out[2] = m02;\n out[3] = m03;\n out[4] = m10;\n out[5] = m11;\n out[6] = m12;\n out[7] = m13;\n out[8] = m20;\n out[9] = m21;\n out[10] = m22;\n out[11] = m23;\n out[12] = m30;\n out[13] = m31;\n out[14] = m32;\n out[15] = m33;\n return out;\n}\n/**\r\n * Set the components of a mat4 to the given values\r\n *\r\n * @param {mat4} out the receiving matrix\r\n * @param {Number} m00 Component in column 0, row 0 position (index 0)\r\n * @param {Number} m01 Component in column 0, row 1 position (index 1)\r\n * @param {Number} m02 Component in column 0, row 2 position (index 2)\r\n * @param {Number} m03 Component in column 0, row 3 position (index 3)\r\n * @param {Number} m10 Component in column 1, row 0 position (index 4)\r\n * @param {Number} m11 Component in column 1, row 1 position (index 5)\r\n * @param {Number} m12 Component in column 1, row 2 position (index 6)\r\n * @param {Number} m13 Component in column 1, row 3 position (index 7)\r\n * @param {Number} m20 Component in column 2, row 0 position (index 8)\r\n * @param {Number} m21 Component in column 2, row 1 position (index 9)\r\n * @param {Number} m22 Component in column 2, row 2 position (index 10)\r\n * @param {Number} m23 Component in column 2, row 3 position (index 11)\r\n * @param {Number} m30 Component in column 3, row 0 position (index 12)\r\n * @param {Number} m31 Component in column 3, row 1 position (index 13)\r\n * @param {Number} m32 Component in column 3, row 2 position (index 14)\r\n * @param {Number} m33 Component in column 3, row 3 position (index 15)\r\n * @returns {mat4} out\r\n */\n\nexport function set(out, m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, m30, m31, m32, m33) {\n out[0] = m00;\n out[1] = m01;\n out[2] = m02;\n out[3] = m03;\n out[4] = m10;\n out[5] = m11;\n out[6] = m12;\n out[7] = m13;\n out[8] = m20;\n out[9] = m21;\n out[10] = m22;\n out[11] = m23;\n out[12] = m30;\n out[13] = m31;\n out[14] = m32;\n out[15] = m33;\n return out;\n}\n/**\r\n * Set a mat4 to the identity matrix\r\n *\r\n * @param {mat4} out the receiving matrix\r\n * @returns {mat4} out\r\n */\n\nexport function identity(out) {\n out[0] = 1;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = 0;\n out[5] = 1;\n out[6] = 0;\n out[7] = 0;\n out[8] = 0;\n out[9] = 0;\n out[10] = 1;\n out[11] = 0;\n out[12] = 0;\n out[13] = 0;\n out[14] = 0;\n out[15] = 1;\n return out;\n}\n/**\r\n * Transpose the values of a mat4\r\n *\r\n * @param {mat4} out the receiving matrix\r\n * @param {ReadonlyMat4} a the source matrix\r\n * @returns {mat4} out\r\n */\n\nexport function transpose(out, a) {\n // If we are transposing ourselves we can skip a few steps but have to cache some values\n if (out === a) {\n var a01 = a[1],\n a02 = a[2],\n a03 = a[3];\n var a12 = a[6],\n a13 = a[7];\n var a23 = a[11];\n out[1] = a[4];\n out[2] = a[8];\n out[3] = a[12];\n out[4] = a01;\n out[6] = a[9];\n out[7] = a[13];\n out[8] = a02;\n out[9] = a12;\n out[11] = a[14];\n out[12] = a03;\n out[13] = a13;\n out[14] = a23;\n } else {\n out[0] = a[0];\n out[1] = a[4];\n out[2] = a[8];\n out[3] = a[12];\n out[4] = a[1];\n out[5] = a[5];\n out[6] = a[9];\n out[7] = a[13];\n out[8] = a[2];\n out[9] = a[6];\n out[10] = a[10];\n out[11] = a[14];\n out[12] = a[3];\n out[13] = a[7];\n out[14] = a[11];\n out[15] = a[15];\n }\n\n return out;\n}\n/**\r\n * Inverts a mat4\r\n *\r\n * @param {mat4} out the receiving matrix\r\n * @param {ReadonlyMat4} a the source matrix\r\n * @returns {mat4} out\r\n */\n\nexport function invert(out, a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2],\n a03 = a[3];\n var a10 = a[4],\n a11 = a[5],\n a12 = a[6],\n a13 = a[7];\n var a20 = a[8],\n a21 = a[9],\n a22 = a[10],\n a23 = a[11];\n var a30 = a[12],\n a31 = a[13],\n a32 = a[14],\n a33 = a[15];\n var b00 = a00 * a11 - a01 * a10;\n var b01 = a00 * a12 - a02 * a10;\n var b02 = a00 * a13 - a03 * a10;\n var b03 = a01 * a12 - a02 * a11;\n var b04 = a01 * a13 - a03 * a11;\n var b05 = a02 * a13 - a03 * a12;\n var b06 = a20 * a31 - a21 * a30;\n var b07 = a20 * a32 - a22 * a30;\n var b08 = a20 * a33 - a23 * a30;\n var b09 = a21 * a32 - a22 * a31;\n var b10 = a21 * a33 - a23 * a31;\n var b11 = a22 * a33 - a23 * a32; // Calculate the determinant\n\n var det = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06;\n\n if (!det) {\n return null;\n }\n\n det = 1.0 / det;\n out[0] = (a11 * b11 - a12 * b10 + a13 * b09) * det;\n out[1] = (a02 * b10 - a01 * b11 - a03 * b09) * det;\n out[2] = (a31 * b05 - a32 * b04 + a33 * b03) * det;\n out[3] = (a22 * b04 - a21 * b05 - a23 * b03) * det;\n out[4] = (a12 * b08 - a10 * b11 - a13 * b07) * det;\n out[5] = (a00 * b11 - a02 * b08 + a03 * b07) * det;\n out[6] = (a32 * b02 - a30 * b05 - a33 * b01) * det;\n out[7] = (a20 * b05 - a22 * b02 + a23 * b01) * det;\n out[8] = (a10 * b10 - a11 * b08 + a13 * b06) * det;\n out[9] = (a01 * b08 - a00 * b10 - a03 * b06) * det;\n out[10] = (a30 * b04 - a31 * b02 + a33 * b00) * det;\n out[11] = (a21 * b02 - a20 * b04 - a23 * b00) * det;\n out[12] = (a11 * b07 - a10 * b09 - a12 * b06) * det;\n out[13] = (a00 * b09 - a01 * b07 + a02 * b06) * det;\n out[14] = (a31 * b01 - a30 * b03 - a32 * b00) * det;\n out[15] = (a20 * b03 - a21 * b01 + a22 * b00) * det;\n return out;\n}\n/**\r\n * Calculates the adjugate of a mat4\r\n *\r\n * @param {mat4} out the receiving matrix\r\n * @param {ReadonlyMat4} a the source matrix\r\n * @returns {mat4} out\r\n */\n\nexport function adjoint(out, a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2],\n a03 = a[3];\n var a10 = a[4],\n a11 = a[5],\n a12 = a[6],\n a13 = a[7];\n var a20 = a[8],\n a21 = a[9],\n a22 = a[10],\n a23 = a[11];\n var a30 = a[12],\n a31 = a[13],\n a32 = a[14],\n a33 = a[15];\n out[0] = a11 * (a22 * a33 - a23 * a32) - a21 * (a12 * a33 - a13 * a32) + a31 * (a12 * a23 - a13 * a22);\n out[1] = -(a01 * (a22 * a33 - a23 * a32) - a21 * (a02 * a33 - a03 * a32) + a31 * (a02 * a23 - a03 * a22));\n out[2] = a01 * (a12 * a33 - a13 * a32) - a11 * (a02 * a33 - a03 * a32) + a31 * (a02 * a13 - a03 * a12);\n out[3] = -(a01 * (a12 * a23 - a13 * a22) - a11 * (a02 * a23 - a03 * a22) + a21 * (a02 * a13 - a03 * a12));\n out[4] = -(a10 * (a22 * a33 - a23 * a32) - a20 * (a12 * a33 - a13 * a32) + a30 * (a12 * a23 - a13 * a22));\n out[5] = a00 * (a22 * a33 - a23 * a32) - a20 * (a02 * a33 - a03 * a32) + a30 * (a02 * a23 - a03 * a22);\n out[6] = -(a00 * (a12 * a33 - a13 * a32) - a10 * (a02 * a33 - a03 * a32) + a30 * (a02 * a13 - a03 * a12));\n out[7] = a00 * (a12 * a23 - a13 * a22) - a10 * (a02 * a23 - a03 * a22) + a20 * (a02 * a13 - a03 * a12);\n out[8] = a10 * (a21 * a33 - a23 * a31) - a20 * (a11 * a33 - a13 * a31) + a30 * (a11 * a23 - a13 * a21);\n out[9] = -(a00 * (a21 * a33 - a23 * a31) - a20 * (a01 * a33 - a03 * a31) + a30 * (a01 * a23 - a03 * a21));\n out[10] = a00 * (a11 * a33 - a13 * a31) - a10 * (a01 * a33 - a03 * a31) + a30 * (a01 * a13 - a03 * a11);\n out[11] = -(a00 * (a11 * a23 - a13 * a21) - a10 * (a01 * a23 - a03 * a21) + a20 * (a01 * a13 - a03 * a11));\n out[12] = -(a10 * (a21 * a32 - a22 * a31) - a20 * (a11 * a32 - a12 * a31) + a30 * (a11 * a22 - a12 * a21));\n out[13] = a00 * (a21 * a32 - a22 * a31) - a20 * (a01 * a32 - a02 * a31) + a30 * (a01 * a22 - a02 * a21);\n out[14] = -(a00 * (a11 * a32 - a12 * a31) - a10 * (a01 * a32 - a02 * a31) + a30 * (a01 * a12 - a02 * a11));\n out[15] = a00 * (a11 * a22 - a12 * a21) - a10 * (a01 * a22 - a02 * a21) + a20 * (a01 * a12 - a02 * a11);\n return out;\n}\n/**\r\n * Calculates the determinant of a mat4\r\n *\r\n * @param {ReadonlyMat4} a the source matrix\r\n * @returns {Number} determinant of a\r\n */\n\nexport function determinant(a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2],\n a03 = a[3];\n var a10 = a[4],\n a11 = a[5],\n a12 = a[6],\n a13 = a[7];\n var a20 = a[8],\n a21 = a[9],\n a22 = a[10],\n a23 = a[11];\n var a30 = a[12],\n a31 = a[13],\n a32 = a[14],\n a33 = a[15];\n var b00 = a00 * a11 - a01 * a10;\n var b01 = a00 * a12 - a02 * a10;\n var b02 = a00 * a13 - a03 * a10;\n var b03 = a01 * a12 - a02 * a11;\n var b04 = a01 * a13 - a03 * a11;\n var b05 = a02 * a13 - a03 * a12;\n var b06 = a20 * a31 - a21 * a30;\n var b07 = a20 * a32 - a22 * a30;\n var b08 = a20 * a33 - a23 * a30;\n var b09 = a21 * a32 - a22 * a31;\n var b10 = a21 * a33 - a23 * a31;\n var b11 = a22 * a33 - a23 * a32; // Calculate the determinant\n\n return b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06;\n}\n/**\r\n * Multiplies two mat4s\r\n *\r\n * @param {mat4} out the receiving matrix\r\n * @param {ReadonlyMat4} a the first operand\r\n * @param {ReadonlyMat4} b the second operand\r\n * @returns {mat4} out\r\n */\n\nexport function multiply(out, a, b) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2],\n a03 = a[3];\n var a10 = a[4],\n a11 = a[5],\n a12 = a[6],\n a13 = a[7];\n var a20 = a[8],\n a21 = a[9],\n a22 = a[10],\n a23 = a[11];\n var a30 = a[12],\n a31 = a[13],\n a32 = a[14],\n a33 = a[15]; // Cache only the current line of the second matrix\n\n var b0 = b[0],\n b1 = b[1],\n b2 = b[2],\n b3 = b[3];\n out[0] = b0 * a00 + b1 * a10 + b2 * a20 + b3 * a30;\n out[1] = b0 * a01 + b1 * a11 + b2 * a21 + b3 * a31;\n out[2] = b0 * a02 + b1 * a12 + b2 * a22 + b3 * a32;\n out[3] = b0 * a03 + b1 * a13 + b2 * a23 + b3 * a33;\n b0 = b[4];\n b1 = b[5];\n b2 = b[6];\n b3 = b[7];\n out[4] = b0 * a00 + b1 * a10 + b2 * a20 + b3 * a30;\n out[5] = b0 * a01 + b1 * a11 + b2 * a21 + b3 * a31;\n out[6] = b0 * a02 + b1 * a12 + b2 * a22 + b3 * a32;\n out[7] = b0 * a03 + b1 * a13 + b2 * a23 + b3 * a33;\n b0 = b[8];\n b1 = b[9];\n b2 = b[10];\n b3 = b[11];\n out[8] = b0 * a00 + b1 * a10 + b2 * a20 + b3 * a30;\n out[9] = b0 * a01 + b1 * a11 + b2 * a21 + b3 * a31;\n out[10] = b0 * a02 + b1 * a12 + b2 * a22 + b3 * a32;\n out[11] = b0 * a03 + b1 * a13 + b2 * a23 + b3 * a33;\n b0 = b[12];\n b1 = b[13];\n b2 = b[14];\n b3 = b[15];\n out[12] = b0 * a00 + b1 * a10 + b2 * a20 + b3 * a30;\n out[13] = b0 * a01 + b1 * a11 + b2 * a21 + b3 * a31;\n out[14] = b0 * a02 + b1 * a12 + b2 * a22 + b3 * a32;\n out[15] = b0 * a03 + b1 * a13 + b2 * a23 + b3 * a33;\n return out;\n}\n/**\r\n * Translate a mat4 by the given vector\r\n *\r\n * @param {mat4} out the receiving matrix\r\n * @param {ReadonlyMat4} a the matrix to translate\r\n * @param {ReadonlyVec3} v vector to translate by\r\n * @returns {mat4} out\r\n */\n\nexport function translate(out, a, v) {\n var x = v[0],\n y = v[1],\n z = v[2];\n var a00, a01, a02, a03;\n var a10, a11, a12, a13;\n var a20, a21, a22, a23;\n\n if (a === out) {\n out[12] = a[0] * x + a[4] * y + a[8] * z + a[12];\n out[13] = a[1] * x + a[5] * y + a[9] * z + a[13];\n out[14] = a[2] * x + a[6] * y + a[10] * z + a[14];\n out[15] = a[3] * x + a[7] * y + a[11] * z + a[15];\n } else {\n a00 = a[0];\n a01 = a[1];\n a02 = a[2];\n a03 = a[3];\n a10 = a[4];\n a11 = a[5];\n a12 = a[6];\n a13 = a[7];\n a20 = a[8];\n a21 = a[9];\n a22 = a[10];\n a23 = a[11];\n out[0] = a00;\n out[1] = a01;\n out[2] = a02;\n out[3] = a03;\n out[4] = a10;\n out[5] = a11;\n out[6] = a12;\n out[7] = a13;\n out[8] = a20;\n out[9] = a21;\n out[10] = a22;\n out[11] = a23;\n out[12] = a00 * x + a10 * y + a20 * z + a[12];\n out[13] = a01 * x + a11 * y + a21 * z + a[13];\n out[14] = a02 * x + a12 * y + a22 * z + a[14];\n out[15] = a03 * x + a13 * y + a23 * z + a[15];\n }\n\n return out;\n}\n/**\r\n * Scales the mat4 by the dimensions in the given vec3 not using vectorization\r\n *\r\n * @param {mat4} out the receiving matrix\r\n * @param {ReadonlyMat4} a the matrix to scale\r\n * @param {ReadonlyVec3} v the vec3 to scale the matrix by\r\n * @returns {mat4} out\r\n **/\n\nexport function scale(out, a, v) {\n var x = v[0],\n y = v[1],\n z = v[2];\n out[0] = a[0] * x;\n out[1] = a[1] * x;\n out[2] = a[2] * x;\n out[3] = a[3] * x;\n out[4] = a[4] * y;\n out[5] = a[5] * y;\n out[6] = a[6] * y;\n out[7] = a[7] * y;\n out[8] = a[8] * z;\n out[9] = a[9] * z;\n out[10] = a[10] * z;\n out[11] = a[11] * z;\n out[12] = a[12];\n out[13] = a[13];\n out[14] = a[14];\n out[15] = a[15];\n return out;\n}\n/**\r\n * Rotates a mat4 by the given angle around the given axis\r\n *\r\n * @param {mat4} out the receiving matrix\r\n * @param {ReadonlyMat4} a the matrix to rotate\r\n * @param {Number} rad the angle to rotate the matrix by\r\n * @param {ReadonlyVec3} axis the axis to rotate around\r\n * @returns {mat4} out\r\n */\n\nexport function rotate(out, a, rad, axis) {\n var x = axis[0],\n y = axis[1],\n z = axis[2];\n var len = Math.hypot(x, y, z);\n var s, c, t;\n var a00, a01, a02, a03;\n var a10, a11, a12, a13;\n var a20, a21, a22, a23;\n var b00, b01, b02;\n var b10, b11, b12;\n var b20, b21, b22;\n\n if (len < glMatrix.EPSILON) {\n return null;\n }\n\n len = 1 / len;\n x *= len;\n y *= len;\n z *= len;\n s = Math.sin(rad);\n c = Math.cos(rad);\n t = 1 - c;\n a00 = a[0];\n a01 = a[1];\n a02 = a[2];\n a03 = a[3];\n a10 = a[4];\n a11 = a[5];\n a12 = a[6];\n a13 = a[7];\n a20 = a[8];\n a21 = a[9];\n a22 = a[10];\n a23 = a[11]; // Construct the elements of the rotation matrix\n\n b00 = x * x * t + c;\n b01 = y * x * t + z * s;\n b02 = z * x * t - y * s;\n b10 = x * y * t - z * s;\n b11 = y * y * t + c;\n b12 = z * y * t + x * s;\n b20 = x * z * t + y * s;\n b21 = y * z * t - x * s;\n b22 = z * z * t + c; // Perform rotation-specific matrix multiplication\n\n out[0] = a00 * b00 + a10 * b01 + a20 * b02;\n out[1] = a01 * b00 + a11 * b01 + a21 * b02;\n out[2] = a02 * b00 + a12 * b01 + a22 * b02;\n out[3] = a03 * b00 + a13 * b01 + a23 * b02;\n out[4] = a00 * b10 + a10 * b11 + a20 * b12;\n out[5] = a01 * b10 + a11 * b11 + a21 * b12;\n out[6] = a02 * b10 + a12 * b11 + a22 * b12;\n out[7] = a03 * b10 + a13 * b11 + a23 * b12;\n out[8] = a00 * b20 + a10 * b21 + a20 * b22;\n out[9] = a01 * b20 + a11 * b21 + a21 * b22;\n out[10] = a02 * b20 + a12 * b21 + a22 * b22;\n out[11] = a03 * b20 + a13 * b21 + a23 * b22;\n\n if (a !== out) {\n // If the source and destination differ, copy the unchanged last row\n out[12] = a[12];\n out[13] = a[13];\n out[14] = a[14];\n out[15] = a[15];\n }\n\n return out;\n}\n/**\r\n * Rotates a matrix by the given angle around the X axis\r\n *\r\n * @param {mat4} out the receiving matrix\r\n * @param {ReadonlyMat4} a the matrix to rotate\r\n * @param {Number} rad the angle to rotate the matrix by\r\n * @returns {mat4} out\r\n */\n\nexport function rotateX(out, a, rad) {\n var s = Math.sin(rad);\n var c = Math.cos(rad);\n var a10 = a[4];\n var a11 = a[5];\n var a12 = a[6];\n var a13 = a[7];\n var a20 = a[8];\n var a21 = a[9];\n var a22 = a[10];\n var a23 = a[11];\n\n if (a !== out) {\n // If the source and destination differ, copy the unchanged rows\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[3];\n out[12] = a[12];\n out[13] = a[13];\n out[14] = a[14];\n out[15] = a[15];\n } // Perform axis-specific matrix multiplication\n\n\n out[4] = a10 * c + a20 * s;\n out[5] = a11 * c + a21 * s;\n out[6] = a12 * c + a22 * s;\n out[7] = a13 * c + a23 * s;\n out[8] = a20 * c - a10 * s;\n out[9] = a21 * c - a11 * s;\n out[10] = a22 * c - a12 * s;\n out[11] = a23 * c - a13 * s;\n return out;\n}\n/**\r\n * Rotates a matrix by the given angle around the Y axis\r\n *\r\n * @param {mat4} out the receiving matrix\r\n * @param {ReadonlyMat4} a the matrix to rotate\r\n * @param {Number} rad the angle to rotate the matrix by\r\n * @returns {mat4} out\r\n */\n\nexport function rotateY(out, a, rad) {\n var s = Math.sin(rad);\n var c = Math.cos(rad);\n var a00 = a[0];\n var a01 = a[1];\n var a02 = a[2];\n var a03 = a[3];\n var a20 = a[8];\n var a21 = a[9];\n var a22 = a[10];\n var a23 = a[11];\n\n if (a !== out) {\n // If the source and destination differ, copy the unchanged rows\n out[4] = a[4];\n out[5] = a[5];\n out[6] = a[6];\n out[7] = a[7];\n out[12] = a[12];\n out[13] = a[13];\n out[14] = a[14];\n out[15] = a[15];\n } // Perform axis-specific matrix multiplication\n\n\n out[0] = a00 * c - a20 * s;\n out[1] = a01 * c - a21 * s;\n out[2] = a02 * c - a22 * s;\n out[3] = a03 * c - a23 * s;\n out[8] = a00 * s + a20 * c;\n out[9] = a01 * s + a21 * c;\n out[10] = a02 * s + a22 * c;\n out[11] = a03 * s + a23 * c;\n return out;\n}\n/**\r\n * Rotates a matrix by the given angle around the Z axis\r\n *\r\n * @param {mat4} out the receiving matrix\r\n * @param {ReadonlyMat4} a the matrix to rotate\r\n * @param {Number} rad the angle to rotate the matrix by\r\n * @returns {mat4} out\r\n */\n\nexport function rotateZ(out, a, rad) {\n var s = Math.sin(rad);\n var c = Math.cos(rad);\n var a00 = a[0];\n var a01 = a[1];\n var a02 = a[2];\n var a03 = a[3];\n var a10 = a[4];\n var a11 = a[5];\n var a12 = a[6];\n var a13 = a[7];\n\n if (a !== out) {\n // If the source and destination differ, copy the unchanged last row\n out[8] = a[8];\n out[9] = a[9];\n out[10] = a[10];\n out[11] = a[11];\n out[12] = a[12];\n out[13] = a[13];\n out[14] = a[14];\n out[15] = a[15];\n } // Perform axis-specific matrix multiplication\n\n\n out[0] = a00 * c + a10 * s;\n out[1] = a01 * c + a11 * s;\n out[2] = a02 * c + a12 * s;\n out[3] = a03 * c + a13 * s;\n out[4] = a10 * c - a00 * s;\n out[5] = a11 * c - a01 * s;\n out[6] = a12 * c - a02 * s;\n out[7] = a13 * c - a03 * s;\n return out;\n}\n/**\r\n * Creates a matrix from a vector translation\r\n * This is equivalent to (but much faster than):\r\n *\r\n * mat4.identity(dest);\r\n * mat4.translate(dest, dest, vec);\r\n *\r\n * @param {mat4} out mat4 receiving operation result\r\n * @param {ReadonlyVec3} v Translation vector\r\n * @returns {mat4} out\r\n */\n\nexport function fromTranslation(out, v) {\n out[0] = 1;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = 0;\n out[5] = 1;\n out[6] = 0;\n out[7] = 0;\n out[8] = 0;\n out[9] = 0;\n out[10] = 1;\n out[11] = 0;\n out[12] = v[0];\n out[13] = v[1];\n out[14] = v[2];\n out[15] = 1;\n return out;\n}\n/**\r\n * Creates a matrix from a vector scaling\r\n * This is equivalent to (but much faster than):\r\n *\r\n * mat4.identity(dest);\r\n * mat4.scale(dest, dest, vec);\r\n *\r\n * @param {mat4} out mat4 receiving operation result\r\n * @param {ReadonlyVec3} v Scaling vector\r\n * @returns {mat4} out\r\n */\n\nexport function fromScaling(out, v) {\n out[0] = v[0];\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = 0;\n out[5] = v[1];\n out[6] = 0;\n out[7] = 0;\n out[8] = 0;\n out[9] = 0;\n out[10] = v[2];\n out[11] = 0;\n out[12] = 0;\n out[13] = 0;\n out[14] = 0;\n out[15] = 1;\n return out;\n}\n/**\r\n * Creates a matrix from a given angle around a given axis\r\n * This is equivalent to (but much faster than):\r\n *\r\n * mat4.identity(dest);\r\n * mat4.rotate(dest, dest, rad, axis);\r\n *\r\n * @param {mat4} out mat4 receiving operation result\r\n * @param {Number} rad the angle to rotate the matrix by\r\n * @param {ReadonlyVec3} axis the axis to rotate around\r\n * @returns {mat4} out\r\n */\n\nexport function fromRotation(out, rad, axis) {\n var x = axis[0],\n y = axis[1],\n z = axis[2];\n var len = Math.hypot(x, y, z);\n var s, c, t;\n\n if (len < glMatrix.EPSILON) {\n return null;\n }\n\n len = 1 / len;\n x *= len;\n y *= len;\n z *= len;\n s = Math.sin(rad);\n c = Math.cos(rad);\n t = 1 - c; // Perform rotation-specific matrix multiplication\n\n out[0] = x * x * t + c;\n out[1] = y * x * t + z * s;\n out[2] = z * x * t - y * s;\n out[3] = 0;\n out[4] = x * y * t - z * s;\n out[5] = y * y * t + c;\n out[6] = z * y * t + x * s;\n out[7] = 0;\n out[8] = x * z * t + y * s;\n out[9] = y * z * t - x * s;\n out[10] = z * z * t + c;\n out[11] = 0;\n out[12] = 0;\n out[13] = 0;\n out[14] = 0;\n out[15] = 1;\n return out;\n}\n/**\r\n * Creates a matrix from the given angle around the X axis\r\n * This is equivalent to (but much faster than):\r\n *\r\n * mat4.identity(dest);\r\n * mat4.rotateX(dest, dest, rad);\r\n *\r\n * @param {mat4} out mat4 receiving operation result\r\n * @param {Number} rad the angle to rotate the matrix by\r\n * @returns {mat4} out\r\n */\n\nexport function fromXRotation(out, rad) {\n var s = Math.sin(rad);\n var c = Math.cos(rad); // Perform axis-specific matrix multiplication\n\n out[0] = 1;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = 0;\n out[5] = c;\n out[6] = s;\n out[7] = 0;\n out[8] = 0;\n out[9] = -s;\n out[10] = c;\n out[11] = 0;\n out[12] = 0;\n out[13] = 0;\n out[14] = 0;\n out[15] = 1;\n return out;\n}\n/**\r\n * Creates a matrix from the given angle around the Y axis\r\n * This is equivalent to (but much faster than):\r\n *\r\n * mat4.identity(dest);\r\n * mat4.rotateY(dest, dest, rad);\r\n *\r\n * @param {mat4} out mat4 receiving operation result\r\n * @param {Number} rad the angle to rotate the matrix by\r\n * @returns {mat4} out\r\n */\n\nexport function fromYRotation(out, rad) {\n var s = Math.sin(rad);\n var c = Math.cos(rad); // Perform axis-specific matrix multiplication\n\n out[0] = c;\n out[1] = 0;\n out[2] = -s;\n out[3] = 0;\n out[4] = 0;\n out[5] = 1;\n out[6] = 0;\n out[7] = 0;\n out[8] = s;\n out[9] = 0;\n out[10] = c;\n out[11] = 0;\n out[12] = 0;\n out[13] = 0;\n out[14] = 0;\n out[15] = 1;\n return out;\n}\n/**\r\n * Creates a matrix from the given angle around the Z axis\r\n * This is equivalent to (but much faster than):\r\n *\r\n * mat4.identity(dest);\r\n * mat4.rotateZ(dest, dest, rad);\r\n *\r\n * @param {mat4} out mat4 receiving operation result\r\n * @param {Number} rad the angle to rotate the matrix by\r\n * @returns {mat4} out\r\n */\n\nexport function fromZRotation(out, rad) {\n var s = Math.sin(rad);\n var c = Math.cos(rad); // Perform axis-specific matrix multiplication\n\n out[0] = c;\n out[1] = s;\n out[2] = 0;\n out[3] = 0;\n out[4] = -s;\n out[5] = c;\n out[6] = 0;\n out[7] = 0;\n out[8] = 0;\n out[9] = 0;\n out[10] = 1;\n out[11] = 0;\n out[12] = 0;\n out[13] = 0;\n out[14] = 0;\n out[15] = 1;\n return out;\n}\n/**\r\n * Creates a matrix from a quaternion rotation and vector translation\r\n * This is equivalent to (but much faster than):\r\n *\r\n * mat4.identity(dest);\r\n * mat4.translate(dest, vec);\r\n * let quatMat = mat4.create();\r\n * quat4.toMat4(quat, quatMat);\r\n * mat4.multiply(dest, quatMat);\r\n *\r\n * @param {mat4} out mat4 receiving operation result\r\n * @param {quat4} q Rotation quaternion\r\n * @param {ReadonlyVec3} v Translation vector\r\n * @returns {mat4} out\r\n */\n\nexport function fromRotationTranslation(out, q, v) {\n // Quaternion math\n var x = q[0],\n y = q[1],\n z = q[2],\n w = q[3];\n var x2 = x + x;\n var y2 = y + y;\n var z2 = z + z;\n var xx = x * x2;\n var xy = x * y2;\n var xz = x * z2;\n var yy = y * y2;\n var yz = y * z2;\n var zz = z * z2;\n var wx = w * x2;\n var wy = w * y2;\n var wz = w * z2;\n out[0] = 1 - (yy + zz);\n out[1] = xy + wz;\n out[2] = xz - wy;\n out[3] = 0;\n out[4] = xy - wz;\n out[5] = 1 - (xx + zz);\n out[6] = yz + wx;\n out[7] = 0;\n out[8] = xz + wy;\n out[9] = yz - wx;\n out[10] = 1 - (xx + yy);\n out[11] = 0;\n out[12] = v[0];\n out[13] = v[1];\n out[14] = v[2];\n out[15] = 1;\n return out;\n}\n/**\r\n * Creates a new mat4 from a dual quat.\r\n *\r\n * @param {mat4} out Matrix\r\n * @param {ReadonlyQuat2} a Dual Quaternion\r\n * @returns {mat4} mat4 receiving operation result\r\n */\n\nexport function fromQuat2(out, a) {\n var translation = new glMatrix.ARRAY_TYPE(3);\n var bx = -a[0],\n by = -a[1],\n bz = -a[2],\n bw = a[3],\n ax = a[4],\n ay = a[5],\n az = a[6],\n aw = a[7];\n var magnitude = bx * bx + by * by + bz * bz + bw * bw; //Only scale if it makes sense\n\n if (magnitude > 0) {\n translation[0] = (ax * bw + aw * bx + ay * bz - az * by) * 2 / magnitude;\n translation[1] = (ay * bw + aw * by + az * bx - ax * bz) * 2 / magnitude;\n translation[2] = (az * bw + aw * bz + ax * by - ay * bx) * 2 / magnitude;\n } else {\n translation[0] = (ax * bw + aw * bx + ay * bz - az * by) * 2;\n translation[1] = (ay * bw + aw * by + az * bx - ax * bz) * 2;\n translation[2] = (az * bw + aw * bz + ax * by - ay * bx) * 2;\n }\n\n fromRotationTranslation(out, a, translation);\n return out;\n}\n/**\r\n * Returns the translation vector component of a transformation\r\n * matrix. If a matrix is built with fromRotationTranslation,\r\n * the returned vector will be the same as the translation vector\r\n * originally supplied.\r\n * @param {vec3} out Vector to receive translation component\r\n * @param {ReadonlyMat4} mat Matrix to be decomposed (input)\r\n * @return {vec3} out\r\n */\n\nexport function getTranslation(out, mat) {\n out[0] = mat[12];\n out[1] = mat[13];\n out[2] = mat[14];\n return out;\n}\n/**\r\n * Returns the scaling factor component of a transformation\r\n * matrix. If a matrix is built with fromRotationTranslationScale\r\n * with a normalized Quaternion paramter, the returned vector will be\r\n * the same as the scaling vector\r\n * originally supplied.\r\n * @param {vec3} out Vector to receive scaling factor component\r\n * @param {ReadonlyMat4} mat Matrix to be decomposed (input)\r\n * @return {vec3} out\r\n */\n\nexport function getScaling(out, mat) {\n var m11 = mat[0];\n var m12 = mat[1];\n var m13 = mat[2];\n var m21 = mat[4];\n var m22 = mat[5];\n var m23 = mat[6];\n var m31 = mat[8];\n var m32 = mat[9];\n var m33 = mat[10];\n out[0] = Math.hypot(m11, m12, m13);\n out[1] = Math.hypot(m21, m22, m23);\n out[2] = Math.hypot(m31, m32, m33);\n return out;\n}\n/**\r\n * Returns a quaternion representing the rotational component\r\n * of a transformation matrix. If a matrix is built with\r\n * fromRotationTranslation, the returned quaternion will be the\r\n * same as the quaternion originally supplied.\r\n * @param {quat} out Quaternion to receive the rotation component\r\n * @param {ReadonlyMat4} mat Matrix to be decomposed (input)\r\n * @return {quat} out\r\n */\n\nexport function getRotation(out, mat) {\n var scaling = new glMatrix.ARRAY_TYPE(3);\n getScaling(scaling, mat);\n var is1 = 1 / scaling[0];\n var is2 = 1 / scaling[1];\n var is3 = 1 / scaling[2];\n var sm11 = mat[0] * is1;\n var sm12 = mat[1] * is2;\n var sm13 = mat[2] * is3;\n var sm21 = mat[4] * is1;\n var sm22 = mat[5] * is2;\n var sm23 = mat[6] * is3;\n var sm31 = mat[8] * is1;\n var sm32 = mat[9] * is2;\n var sm33 = mat[10] * is3;\n var trace = sm11 + sm22 + sm33;\n var S = 0;\n\n if (trace > 0) {\n S = Math.sqrt(trace + 1.0) * 2;\n out[3] = 0.25 * S;\n out[0] = (sm23 - sm32) / S;\n out[1] = (sm31 - sm13) / S;\n out[2] = (sm12 - sm21) / S;\n } else if (sm11 > sm22 && sm11 > sm33) {\n S = Math.sqrt(1.0 + sm11 - sm22 - sm33) * 2;\n out[3] = (sm23 - sm32) / S;\n out[0] = 0.25 * S;\n out[1] = (sm12 + sm21) / S;\n out[2] = (sm31 + sm13) / S;\n } else if (sm22 > sm33) {\n S = Math.sqrt(1.0 + sm22 - sm11 - sm33) * 2;\n out[3] = (sm31 - sm13) / S;\n out[0] = (sm12 + sm21) / S;\n out[1] = 0.25 * S;\n out[2] = (sm23 + sm32) / S;\n } else {\n S = Math.sqrt(1.0 + sm33 - sm11 - sm22) * 2;\n out[3] = (sm12 - sm21) / S;\n out[0] = (sm31 + sm13) / S;\n out[1] = (sm23 + sm32) / S;\n out[2] = 0.25 * S;\n }\n\n return out;\n}\n/**\r\n * Creates a matrix from a quaternion rotation, vector translation and vector scale\r\n * This is equivalent to (but much faster than):\r\n *\r\n * mat4.identity(dest);\r\n * mat4.translate(dest, vec);\r\n * let quatMat = mat4.create();\r\n * quat4.toMat4(quat, quatMat);\r\n * mat4.multiply(dest, quatMat);\r\n * mat4.scale(dest, scale)\r\n *\r\n * @param {mat4} out mat4 receiving operation result\r\n * @param {quat4} q Rotation quaternion\r\n * @param {ReadonlyVec3} v Translation vector\r\n * @param {ReadonlyVec3} s Scaling vector\r\n * @returns {mat4} out\r\n */\n\nexport function fromRotationTranslationScale(out, q, v, s) {\n // Quaternion math\n var x = q[0],\n y = q[1],\n z = q[2],\n w = q[3];\n var x2 = x + x;\n var y2 = y + y;\n var z2 = z + z;\n var xx = x * x2;\n var xy = x * y2;\n var xz = x * z2;\n var yy = y * y2;\n var yz = y * z2;\n var zz = z * z2;\n var wx = w * x2;\n var wy = w * y2;\n var wz = w * z2;\n var sx = s[0];\n var sy = s[1];\n var sz = s[2];\n out[0] = (1 - (yy + zz)) * sx;\n out[1] = (xy + wz) * sx;\n out[2] = (xz - wy) * sx;\n out[3] = 0;\n out[4] = (xy - wz) * sy;\n out[5] = (1 - (xx + zz)) * sy;\n out[6] = (yz + wx) * sy;\n out[7] = 0;\n out[8] = (xz + wy) * sz;\n out[9] = (yz - wx) * sz;\n out[10] = (1 - (xx + yy)) * sz;\n out[11] = 0;\n out[12] = v[0];\n out[13] = v[1];\n out[14] = v[2];\n out[15] = 1;\n return out;\n}\n/**\r\n * Creates a matrix from a quaternion rotation, vector translation and vector scale, rotating and scaling around the given origin\r\n * This is equivalent to (but much faster than):\r\n *\r\n * mat4.identity(dest);\r\n * mat4.translate(dest, vec);\r\n * mat4.translate(dest, origin);\r\n * let quatMat = mat4.create();\r\n * quat4.toMat4(quat, quatMat);\r\n * mat4.multiply(dest, quatMat);\r\n * mat4.scale(dest, scale)\r\n * mat4.translate(dest, negativeOrigin);\r\n *\r\n * @param {mat4} out mat4 receiving operation result\r\n * @param {quat4} q Rotation quaternion\r\n * @param {ReadonlyVec3} v Translation vector\r\n * @param {ReadonlyVec3} s Scaling vector\r\n * @param {ReadonlyVec3} o The origin vector around which to scale and rotate\r\n * @returns {mat4} out\r\n */\n\nexport function fromRotationTranslationScaleOrigin(out, q, v, s, o) {\n // Quaternion math\n var x = q[0],\n y = q[1],\n z = q[2],\n w = q[3];\n var x2 = x + x;\n var y2 = y + y;\n var z2 = z + z;\n var xx = x * x2;\n var xy = x * y2;\n var xz = x * z2;\n var yy = y * y2;\n var yz = y * z2;\n var zz = z * z2;\n var wx = w * x2;\n var wy = w * y2;\n var wz = w * z2;\n var sx = s[0];\n var sy = s[1];\n var sz = s[2];\n var ox = o[0];\n var oy = o[1];\n var oz = o[2];\n var out0 = (1 - (yy + zz)) * sx;\n var out1 = (xy + wz) * sx;\n var out2 = (xz - wy) * sx;\n var out4 = (xy - wz) * sy;\n var out5 = (1 - (xx + zz)) * sy;\n var out6 = (yz + wx) * sy;\n var out8 = (xz + wy) * sz;\n var out9 = (yz - wx) * sz;\n var out10 = (1 - (xx + yy)) * sz;\n out[0] = out0;\n out[1] = out1;\n out[2] = out2;\n out[3] = 0;\n out[4] = out4;\n out[5] = out5;\n out[6] = out6;\n out[7] = 0;\n out[8] = out8;\n out[9] = out9;\n out[10] = out10;\n out[11] = 0;\n out[12] = v[0] + ox - (out0 * ox + out4 * oy + out8 * oz);\n out[13] = v[1] + oy - (out1 * ox + out5 * oy + out9 * oz);\n out[14] = v[2] + oz - (out2 * ox + out6 * oy + out10 * oz);\n out[15] = 1;\n return out;\n}\n/**\r\n * Calculates a 4x4 matrix from the given quaternion\r\n *\r\n * @param {mat4} out mat4 receiving operation result\r\n * @param {ReadonlyQuat} q Quaternion to create matrix from\r\n *\r\n * @returns {mat4} out\r\n */\n\nexport function fromQuat(out, q) {\n var x = q[0],\n y = q[1],\n z = q[2],\n w = q[3];\n var x2 = x + x;\n var y2 = y + y;\n var z2 = z + z;\n var xx = x * x2;\n var yx = y * x2;\n var yy = y * y2;\n var zx = z * x2;\n var zy = z * y2;\n var zz = z * z2;\n var wx = w * x2;\n var wy = w * y2;\n var wz = w * z2;\n out[0] = 1 - yy - zz;\n out[1] = yx + wz;\n out[2] = zx - wy;\n out[3] = 0;\n out[4] = yx - wz;\n out[5] = 1 - xx - zz;\n out[6] = zy + wx;\n out[7] = 0;\n out[8] = zx + wy;\n out[9] = zy - wx;\n out[10] = 1 - xx - yy;\n out[11] = 0;\n out[12] = 0;\n out[13] = 0;\n out[14] = 0;\n out[15] = 1;\n return out;\n}\n/**\r\n * Generates a frustum matrix with the given bounds\r\n *\r\n * @param {mat4} out mat4 frustum matrix will be written into\r\n * @param {Number} left Left bound of the frustum\r\n * @param {Number} right Right bound of the frustum\r\n * @param {Number} bottom Bottom bound of the frustum\r\n * @param {Number} top Top bound of the frustum\r\n * @param {Number} near Near bound of the frustum\r\n * @param {Number} far Far bound of the frustum\r\n * @returns {mat4} out\r\n */\n\nexport function frustum(out, left, right, bottom, top, near, far) {\n var rl = 1 / (right - left);\n var tb = 1 / (top - bottom);\n var nf = 1 / (near - far);\n out[0] = near * 2 * rl;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = 0;\n out[5] = near * 2 * tb;\n out[6] = 0;\n out[7] = 0;\n out[8] = (right + left) * rl;\n out[9] = (top + bottom) * tb;\n out[10] = (far + near) * nf;\n out[11] = -1;\n out[12] = 0;\n out[13] = 0;\n out[14] = far * near * 2 * nf;\n out[15] = 0;\n return out;\n}\n/**\r\n * Generates a perspective projection matrix with the given bounds.\r\n * Passing null/undefined/no value for far will generate infinite projection matrix.\r\n *\r\n * @param {mat4} out mat4 frustum matrix will be written into\r\n * @param {number} fovy Vertical field of view in radians\r\n * @param {number} aspect Aspect ratio. typically viewport width/height\r\n * @param {number} near Near bound of the frustum\r\n * @param {number} far Far bound of the frustum, can be null or Infinity\r\n * @returns {mat4} out\r\n */\n\nexport function perspective(out, fovy, aspect, near, far) {\n var f = 1.0 / Math.tan(fovy / 2),\n nf;\n out[0] = f / aspect;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = 0;\n out[5] = f;\n out[6] = 0;\n out[7] = 0;\n out[8] = 0;\n out[9] = 0;\n out[11] = -1;\n out[12] = 0;\n out[13] = 0;\n out[15] = 0;\n\n if (far != null && far !== Infinity) {\n nf = 1 / (near - far);\n out[10] = (far + near) * nf;\n out[14] = 2 * far * near * nf;\n } else {\n out[10] = -1;\n out[14] = -2 * near;\n }\n\n return out;\n}\n/**\r\n * Generates a perspective projection matrix with the given field of view.\r\n * This is primarily useful for generating projection matrices to be used\r\n * with the still experiemental WebVR API.\r\n *\r\n * @param {mat4} out mat4 frustum matrix will be written into\r\n * @param {Object} fov Object containing the following values: upDegrees, downDegrees, leftDegrees, rightDegrees\r\n * @param {number} near Near bound of the frustum\r\n * @param {number} far Far bound of the frustum\r\n * @returns {mat4} out\r\n */\n\nexport function perspectiveFromFieldOfView(out, fov, near, far) {\n var upTan = Math.tan(fov.upDegrees * Math.PI / 180.0);\n var downTan = Math.tan(fov.downDegrees * Math.PI / 180.0);\n var leftTan = Math.tan(fov.leftDegrees * Math.PI / 180.0);\n var rightTan = Math.tan(fov.rightDegrees * Math.PI / 180.0);\n var xScale = 2.0 / (leftTan + rightTan);\n var yScale = 2.0 / (upTan + downTan);\n out[0] = xScale;\n out[1] = 0.0;\n out[2] = 0.0;\n out[3] = 0.0;\n out[4] = 0.0;\n out[5] = yScale;\n out[6] = 0.0;\n out[7] = 0.0;\n out[8] = -((leftTan - rightTan) * xScale * 0.5);\n out[9] = (upTan - downTan) * yScale * 0.5;\n out[10] = far / (near - far);\n out[11] = -1.0;\n out[12] = 0.0;\n out[13] = 0.0;\n out[14] = far * near / (near - far);\n out[15] = 0.0;\n return out;\n}\n/**\r\n * Generates a orthogonal projection matrix with the given bounds\r\n *\r\n * @param {mat4} out mat4 frustum matrix will be written into\r\n * @param {number} left Left bound of the frustum\r\n * @param {number} right Right bound of the frustum\r\n * @param {number} bottom Bottom bound of the frustum\r\n * @param {number} top Top bound of the frustum\r\n * @param {number} near Near bound of the frustum\r\n * @param {number} far Far bound of the frustum\r\n * @returns {mat4} out\r\n */\n\nexport function ortho(out, left, right, bottom, top, near, far) {\n var lr = 1 / (left - right);\n var bt = 1 / (bottom - top);\n var nf = 1 / (near - far);\n out[0] = -2 * lr;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = 0;\n out[5] = -2 * bt;\n out[6] = 0;\n out[7] = 0;\n out[8] = 0;\n out[9] = 0;\n out[10] = 2 * nf;\n out[11] = 0;\n out[12] = (left + right) * lr;\n out[13] = (top + bottom) * bt;\n out[14] = (far + near) * nf;\n out[15] = 1;\n return out;\n}\n/**\r\n * Generates a look-at matrix with the given eye position, focal point, and up axis.\r\n * If you want a matrix that actually makes an object look at another object, you should use targetTo instead.\r\n *\r\n * @param {mat4} out mat4 frustum matrix will be written into\r\n * @param {ReadonlyVec3} eye Position of the viewer\r\n * @param {ReadonlyVec3} center Point the viewer is looking at\r\n * @param {ReadonlyVec3} up vec3 pointing up\r\n * @returns {mat4} out\r\n */\n\nexport function lookAt(out, eye, center, up) {\n var x0, x1, x2, y0, y1, y2, z0, z1, z2, len;\n var eyex = eye[0];\n var eyey = eye[1];\n var eyez = eye[2];\n var upx = up[0];\n var upy = up[1];\n var upz = up[2];\n var centerx = center[0];\n var centery = center[1];\n var centerz = center[2];\n\n if (Math.abs(eyex - centerx) < glMatrix.EPSILON && Math.abs(eyey - centery) < glMatrix.EPSILON && Math.abs(eyez - centerz) < glMatrix.EPSILON) {\n return identity(out);\n }\n\n z0 = eyex - centerx;\n z1 = eyey - centery;\n z2 = eyez - centerz;\n len = 1 / Math.hypot(z0, z1, z2);\n z0 *= len;\n z1 *= len;\n z2 *= len;\n x0 = upy * z2 - upz * z1;\n x1 = upz * z0 - upx * z2;\n x2 = upx * z1 - upy * z0;\n len = Math.hypot(x0, x1, x2);\n\n if (!len) {\n x0 = 0;\n x1 = 0;\n x2 = 0;\n } else {\n len = 1 / len;\n x0 *= len;\n x1 *= len;\n x2 *= len;\n }\n\n y0 = z1 * x2 - z2 * x1;\n y1 = z2 * x0 - z0 * x2;\n y2 = z0 * x1 - z1 * x0;\n len = Math.hypot(y0, y1, y2);\n\n if (!len) {\n y0 = 0;\n y1 = 0;\n y2 = 0;\n } else {\n len = 1 / len;\n y0 *= len;\n y1 *= len;\n y2 *= len;\n }\n\n out[0] = x0;\n out[1] = y0;\n out[2] = z0;\n out[3] = 0;\n out[4] = x1;\n out[5] = y1;\n out[6] = z1;\n out[7] = 0;\n out[8] = x2;\n out[9] = y2;\n out[10] = z2;\n out[11] = 0;\n out[12] = -(x0 * eyex + x1 * eyey + x2 * eyez);\n out[13] = -(y0 * eyex + y1 * eyey + y2 * eyez);\n out[14] = -(z0 * eyex + z1 * eyey + z2 * eyez);\n out[15] = 1;\n return out;\n}\n/**\r\n * Generates a matrix that makes something look at something else.\r\n *\r\n * @param {mat4} out mat4 frustum matrix will be written into\r\n * @param {ReadonlyVec3} eye Position of the viewer\r\n * @param {ReadonlyVec3} center Point the viewer is looking at\r\n * @param {ReadonlyVec3} up vec3 pointing up\r\n * @returns {mat4} out\r\n */\n\nexport function targetTo(out, eye, target, up) {\n var eyex = eye[0],\n eyey = eye[1],\n eyez = eye[2],\n upx = up[0],\n upy = up[1],\n upz = up[2];\n var z0 = eyex - target[0],\n z1 = eyey - target[1],\n z2 = eyez - target[2];\n var len = z0 * z0 + z1 * z1 + z2 * z2;\n\n if (len > 0) {\n len = 1 / Math.sqrt(len);\n z0 *= len;\n z1 *= len;\n z2 *= len;\n }\n\n var x0 = upy * z2 - upz * z1,\n x1 = upz * z0 - upx * z2,\n x2 = upx * z1 - upy * z0;\n len = x0 * x0 + x1 * x1 + x2 * x2;\n\n if (len > 0) {\n len = 1 / Math.sqrt(len);\n x0 *= len;\n x1 *= len;\n x2 *= len;\n }\n\n out[0] = x0;\n out[1] = x1;\n out[2] = x2;\n out[3] = 0;\n out[4] = z1 * x2 - z2 * x1;\n out[5] = z2 * x0 - z0 * x2;\n out[6] = z0 * x1 - z1 * x0;\n out[7] = 0;\n out[8] = z0;\n out[9] = z1;\n out[10] = z2;\n out[11] = 0;\n out[12] = eyex;\n out[13] = eyey;\n out[14] = eyez;\n out[15] = 1;\n return out;\n}\n/**\r\n * Returns a string representation of a mat4\r\n *\r\n * @param {ReadonlyMat4} a matrix to represent as a string\r\n * @returns {String} string representation of the matrix\r\n */\n\nexport function str(a) {\n return \"mat4(\" + a[0] + \", \" + a[1] + \", \" + a[2] + \", \" + a[3] + \", \" + a[4] + \", \" + a[5] + \", \" + a[6] + \", \" + a[7] + \", \" + a[8] + \", \" + a[9] + \", \" + a[10] + \", \" + a[11] + \", \" + a[12] + \", \" + a[13] + \", \" + a[14] + \", \" + a[15] + \")\";\n}\n/**\r\n * Returns Frobenius norm of a mat4\r\n *\r\n * @param {ReadonlyMat4} a the matrix to calculate Frobenius norm of\r\n * @returns {Number} Frobenius norm\r\n */\n\nexport function frob(a) {\n return Math.hypot(a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8], a[9], a[10], a[11], a[12], a[13], a[14], a[15]);\n}\n/**\r\n * Adds two mat4's\r\n *\r\n * @param {mat4} out the receiving matrix\r\n * @param {ReadonlyMat4} a the first operand\r\n * @param {ReadonlyMat4} b the second operand\r\n * @returns {mat4} out\r\n */\n\nexport function add(out, a, b) {\n out[0] = a[0] + b[0];\n out[1] = a[1] + b[1];\n out[2] = a[2] + b[2];\n out[3] = a[3] + b[3];\n out[4] = a[4] + b[4];\n out[5] = a[5] + b[5];\n out[6] = a[6] + b[6];\n out[7] = a[7] + b[7];\n out[8] = a[8] + b[8];\n out[9] = a[9] + b[9];\n out[10] = a[10] + b[10];\n out[11] = a[11] + b[11];\n out[12] = a[12] + b[12];\n out[13] = a[13] + b[13];\n out[14] = a[14] + b[14];\n out[15] = a[15] + b[15];\n return out;\n}\n/**\r\n * Subtracts matrix b from matrix a\r\n *\r\n * @param {mat4} out the receiving matrix\r\n * @param {ReadonlyMat4} a the first operand\r\n * @param {ReadonlyMat4} b the second operand\r\n * @returns {mat4} out\r\n */\n\nexport function subtract(out, a, b) {\n out[0] = a[0] - b[0];\n out[1] = a[1] - b[1];\n out[2] = a[2] - b[2];\n out[3] = a[3] - b[3];\n out[4] = a[4] - b[4];\n out[5] = a[5] - b[5];\n out[6] = a[6] - b[6];\n out[7] = a[7] - b[7];\n out[8] = a[8] - b[8];\n out[9] = a[9] - b[9];\n out[10] = a[10] - b[10];\n out[11] = a[11] - b[11];\n out[12] = a[12] - b[12];\n out[13] = a[13] - b[13];\n out[14] = a[14] - b[14];\n out[15] = a[15] - b[15];\n return out;\n}\n/**\r\n * Multiply each element of the matrix by a scalar.\r\n *\r\n * @param {mat4} out the receiving matrix\r\n * @param {ReadonlyMat4} a the matrix to scale\r\n * @param {Number} b amount to scale the matrix's elements by\r\n * @returns {mat4} out\r\n */\n\nexport function multiplyScalar(out, a, b) {\n out[0] = a[0] * b;\n out[1] = a[1] * b;\n out[2] = a[2] * b;\n out[3] = a[3] * b;\n out[4] = a[4] * b;\n out[5] = a[5] * b;\n out[6] = a[6] * b;\n out[7] = a[7] * b;\n out[8] = a[8] * b;\n out[9] = a[9] * b;\n out[10] = a[10] * b;\n out[11] = a[11] * b;\n out[12] = a[12] * b;\n out[13] = a[13] * b;\n out[14] = a[14] * b;\n out[15] = a[15] * b;\n return out;\n}\n/**\r\n * Adds two mat4's after multiplying each element of the second operand by a scalar value.\r\n *\r\n * @param {mat4} out the receiving vector\r\n * @param {ReadonlyMat4} a the first operand\r\n * @param {ReadonlyMat4} b the second operand\r\n * @param {Number} scale the amount to scale b's elements by before adding\r\n * @returns {mat4} out\r\n */\n\nexport function multiplyScalarAndAdd(out, a, b, scale) {\n out[0] = a[0] + b[0] * scale;\n out[1] = a[1] + b[1] * scale;\n out[2] = a[2] + b[2] * scale;\n out[3] = a[3] + b[3] * scale;\n out[4] = a[4] + b[4] * scale;\n out[5] = a[5] + b[5] * scale;\n out[6] = a[6] + b[6] * scale;\n out[7] = a[7] + b[7] * scale;\n out[8] = a[8] + b[8] * scale;\n out[9] = a[9] + b[9] * scale;\n out[10] = a[10] + b[10] * scale;\n out[11] = a[11] + b[11] * scale;\n out[12] = a[12] + b[12] * scale;\n out[13] = a[13] + b[13] * scale;\n out[14] = a[14] + b[14] * scale;\n out[15] = a[15] + b[15] * scale;\n return out;\n}\n/**\r\n * Returns whether or not the matrices have exactly the same elements in the same position (when compared with ===)\r\n *\r\n * @param {ReadonlyMat4} a The first matrix.\r\n * @param {ReadonlyMat4} b The second matrix.\r\n * @returns {Boolean} True if the matrices are equal, false otherwise.\r\n */\n\nexport function exactEquals(a, b) {\n return a[0] === b[0] && a[1] === b[1] && a[2] === b[2] && a[3] === b[3] && a[4] === b[4] && a[5] === b[5] && a[6] === b[6] && a[7] === b[7] && a[8] === b[8] && a[9] === b[9] && a[10] === b[10] && a[11] === b[11] && a[12] === b[12] && a[13] === b[13] && a[14] === b[14] && a[15] === b[15];\n}\n/**\r\n * Returns whether or not the matrices have approximately the same elements in the same position.\r\n *\r\n * @param {ReadonlyMat4} a The first matrix.\r\n * @param {ReadonlyMat4} b The second matrix.\r\n * @returns {Boolean} True if the matrices are equal, false otherwise.\r\n */\n\nexport function equals(a, b) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2],\n a3 = a[3];\n var a4 = a[4],\n a5 = a[5],\n a6 = a[6],\n a7 = a[7];\n var a8 = a[8],\n a9 = a[9],\n a10 = a[10],\n a11 = a[11];\n var a12 = a[12],\n a13 = a[13],\n a14 = a[14],\n a15 = a[15];\n var b0 = b[0],\n b1 = b[1],\n b2 = b[2],\n b3 = b[3];\n var b4 = b[4],\n b5 = b[5],\n b6 = b[6],\n b7 = b[7];\n var b8 = b[8],\n b9 = b[9],\n b10 = b[10],\n b11 = b[11];\n var b12 = b[12],\n b13 = b[13],\n b14 = b[14],\n b15 = b[15];\n return Math.abs(a0 - b0) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1)) && Math.abs(a2 - b2) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a2), Math.abs(b2)) && Math.abs(a3 - b3) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a3), Math.abs(b3)) && Math.abs(a4 - b4) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a4), Math.abs(b4)) && Math.abs(a5 - b5) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a5), Math.abs(b5)) && Math.abs(a6 - b6) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a6), Math.abs(b6)) && Math.abs(a7 - b7) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a7), Math.abs(b7)) && Math.abs(a8 - b8) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a8), Math.abs(b8)) && Math.abs(a9 - b9) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a9), Math.abs(b9)) && Math.abs(a10 - b10) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a10), Math.abs(b10)) && Math.abs(a11 - b11) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a11), Math.abs(b11)) && Math.abs(a12 - b12) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a12), Math.abs(b12)) && Math.abs(a13 - b13) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a13), Math.abs(b13)) && Math.abs(a14 - b14) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a14), Math.abs(b14)) && Math.abs(a15 - b15) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a15), Math.abs(b15));\n}\n/**\r\n * Alias for {@link mat4.multiply}\r\n * @function\r\n */\n\nexport var mul = multiply;\n/**\r\n * Alias for {@link mat4.subtract}\r\n * @function\r\n */\n\nexport var sub = subtract;" }, { "id": 58, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "index": null, "index2": null, "size": 18488, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "profile": { "factory": 144, "building": 354, "dependencies": 2 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "profile": { "factory": 307, "building": 24 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "profile": { "factory": 281, "building": 10, "dependencies": 23 } } ], "profile": { "factory": 4, "building": 629, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony side effect evaluation", "userRequest": "./quat.js", "loc": "6:0-34" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony export imported specifier", "userRequest": "./quat.js", "loc": "11:0-76" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony side effect evaluation", "userRequest": "./quat.js", "loc": "2:0-34" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./quat.js", "loc": "189:14-25" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./quat.js", "loc": "268:21-30" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./quat.js", "loc": "292:21-30" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./quat.js", "loc": "383:2-14" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./quat.js", "loc": "416:2-14" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./quat.js", "loc": "449:2-14" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./quat.js", "loc": "658:17-25" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./quat.js", "loc": "731:20-31" }, { "moduleId": 59, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "type": "harmony import specifier", "userRequest": "./quat.js", "loc": "746:27-45" } ], "usedExports": false, "providedExports": [ "create", "identity", "setAxisAngle", "getAxisAngle", "getAngle", "multiply", "rotateX", "rotateY", "rotateZ", "calculateW", "exp", "ln", "pow", "slerp", "random", "invert", "conjugate", "fromMat3", "fromEuler", "str", "clone", "fromValues", "copy", "set", "add", "mul", "scale", "dot", "lerp", "length", "len", "squaredLength", "sqrLen", "normalize", "exactEquals", "equals", "rotationTo", "sqlerp", "setAxes" ], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 7, "source": "import * as glMatrix from \"./common.js\";\nimport * as mat3 from \"./mat3.js\";\nimport * as vec3 from \"./vec3.js\";\nimport * as vec4 from \"./vec4.js\";\n/**\r\n * Quaternion\r\n * @module quat\r\n */\n\n/**\r\n * Creates a new identity quat\r\n *\r\n * @returns {quat} a new quaternion\r\n */\n\nexport function create() {\n var out = new glMatrix.ARRAY_TYPE(4);\n\n if (glMatrix.ARRAY_TYPE != Float32Array) {\n out[0] = 0;\n out[1] = 0;\n out[2] = 0;\n }\n\n out[3] = 1;\n return out;\n}\n/**\r\n * Set a quat to the identity quaternion\r\n *\r\n * @param {quat} out the receiving quaternion\r\n * @returns {quat} out\r\n */\n\nexport function identity(out) {\n out[0] = 0;\n out[1] = 0;\n out[2] = 0;\n out[3] = 1;\n return out;\n}\n/**\r\n * Sets a quat from the given angle and rotation axis,\r\n * then returns it.\r\n *\r\n * @param {quat} out the receiving quaternion\r\n * @param {ReadonlyVec3} axis the axis around which to rotate\r\n * @param {Number} rad the angle in radians\r\n * @returns {quat} out\r\n **/\n\nexport function setAxisAngle(out, axis, rad) {\n rad = rad * 0.5;\n var s = Math.sin(rad);\n out[0] = s * axis[0];\n out[1] = s * axis[1];\n out[2] = s * axis[2];\n out[3] = Math.cos(rad);\n return out;\n}\n/**\r\n * Gets the rotation axis and angle for a given\r\n * quaternion. If a quaternion is created with\r\n * setAxisAngle, this method will return the same\r\n * values as providied in the original parameter list\r\n * OR functionally equivalent values.\r\n * Example: The quaternion formed by axis [0, 0, 1] and\r\n * angle -90 is the same as the quaternion formed by\r\n * [0, 0, 1] and 270. This method favors the latter.\r\n * @param {vec3} out_axis Vector receiving the axis of rotation\r\n * @param {ReadonlyQuat} q Quaternion to be decomposed\r\n * @return {Number} Angle, in radians, of the rotation\r\n */\n\nexport function getAxisAngle(out_axis, q) {\n var rad = Math.acos(q[3]) * 2.0;\n var s = Math.sin(rad / 2.0);\n\n if (s > glMatrix.EPSILON) {\n out_axis[0] = q[0] / s;\n out_axis[1] = q[1] / s;\n out_axis[2] = q[2] / s;\n } else {\n // If s is zero, return any axis (no rotation - axis does not matter)\n out_axis[0] = 1;\n out_axis[1] = 0;\n out_axis[2] = 0;\n }\n\n return rad;\n}\n/**\r\n * Gets the angular distance between two unit quaternions\r\n *\r\n * @param {ReadonlyQuat} a Origin unit quaternion\r\n * @param {ReadonlyQuat} b Destination unit quaternion\r\n * @return {Number} Angle, in radians, between the two quaternions\r\n */\n\nexport function getAngle(a, b) {\n var dotproduct = dot(a, b);\n return Math.acos(2 * dotproduct * dotproduct - 1);\n}\n/**\r\n * Multiplies two quat's\r\n *\r\n * @param {quat} out the receiving quaternion\r\n * @param {ReadonlyQuat} a the first operand\r\n * @param {ReadonlyQuat} b the second operand\r\n * @returns {quat} out\r\n */\n\nexport function multiply(out, a, b) {\n var ax = a[0],\n ay = a[1],\n az = a[2],\n aw = a[3];\n var bx = b[0],\n by = b[1],\n bz = b[2],\n bw = b[3];\n out[0] = ax * bw + aw * bx + ay * bz - az * by;\n out[1] = ay * bw + aw * by + az * bx - ax * bz;\n out[2] = az * bw + aw * bz + ax * by - ay * bx;\n out[3] = aw * bw - ax * bx - ay * by - az * bz;\n return out;\n}\n/**\r\n * Rotates a quaternion by the given angle about the X axis\r\n *\r\n * @param {quat} out quat receiving operation result\r\n * @param {ReadonlyQuat} a quat to rotate\r\n * @param {number} rad angle (in radians) to rotate\r\n * @returns {quat} out\r\n */\n\nexport function rotateX(out, a, rad) {\n rad *= 0.5;\n var ax = a[0],\n ay = a[1],\n az = a[2],\n aw = a[3];\n var bx = Math.sin(rad),\n bw = Math.cos(rad);\n out[0] = ax * bw + aw * bx;\n out[1] = ay * bw + az * bx;\n out[2] = az * bw - ay * bx;\n out[3] = aw * bw - ax * bx;\n return out;\n}\n/**\r\n * Rotates a quaternion by the given angle about the Y axis\r\n *\r\n * @param {quat} out quat receiving operation result\r\n * @param {ReadonlyQuat} a quat to rotate\r\n * @param {number} rad angle (in radians) to rotate\r\n * @returns {quat} out\r\n */\n\nexport function rotateY(out, a, rad) {\n rad *= 0.5;\n var ax = a[0],\n ay = a[1],\n az = a[2],\n aw = a[3];\n var by = Math.sin(rad),\n bw = Math.cos(rad);\n out[0] = ax * bw - az * by;\n out[1] = ay * bw + aw * by;\n out[2] = az * bw + ax * by;\n out[3] = aw * bw - ay * by;\n return out;\n}\n/**\r\n * Rotates a quaternion by the given angle about the Z axis\r\n *\r\n * @param {quat} out quat receiving operation result\r\n * @param {ReadonlyQuat} a quat to rotate\r\n * @param {number} rad angle (in radians) to rotate\r\n * @returns {quat} out\r\n */\n\nexport function rotateZ(out, a, rad) {\n rad *= 0.5;\n var ax = a[0],\n ay = a[1],\n az = a[2],\n aw = a[3];\n var bz = Math.sin(rad),\n bw = Math.cos(rad);\n out[0] = ax * bw + ay * bz;\n out[1] = ay * bw - ax * bz;\n out[2] = az * bw + aw * bz;\n out[3] = aw * bw - az * bz;\n return out;\n}\n/**\r\n * Calculates the W component of a quat from the X, Y, and Z components.\r\n * Assumes that quaternion is 1 unit in length.\r\n * Any existing W component will be ignored.\r\n *\r\n * @param {quat} out the receiving quaternion\r\n * @param {ReadonlyQuat} a quat to calculate W component of\r\n * @returns {quat} out\r\n */\n\nexport function calculateW(out, a) {\n var x = a[0],\n y = a[1],\n z = a[2];\n out[0] = x;\n out[1] = y;\n out[2] = z;\n out[3] = Math.sqrt(Math.abs(1.0 - x * x - y * y - z * z));\n return out;\n}\n/**\r\n * Calculate the exponential of a unit quaternion.\r\n *\r\n * @param {quat} out the receiving quaternion\r\n * @param {ReadonlyQuat} a quat to calculate the exponential of\r\n * @returns {quat} out\r\n */\n\nexport function exp(out, a) {\n var x = a[0],\n y = a[1],\n z = a[2],\n w = a[3];\n var r = Math.sqrt(x * x + y * y + z * z);\n var et = Math.exp(w);\n var s = r > 0 ? et * Math.sin(r) / r : 0;\n out[0] = x * s;\n out[1] = y * s;\n out[2] = z * s;\n out[3] = et * Math.cos(r);\n return out;\n}\n/**\r\n * Calculate the natural logarithm of a unit quaternion.\r\n *\r\n * @param {quat} out the receiving quaternion\r\n * @param {ReadonlyQuat} a quat to calculate the exponential of\r\n * @returns {quat} out\r\n */\n\nexport function ln(out, a) {\n var x = a[0],\n y = a[1],\n z = a[2],\n w = a[3];\n var r = Math.sqrt(x * x + y * y + z * z);\n var t = r > 0 ? Math.atan2(r, w) / r : 0;\n out[0] = x * t;\n out[1] = y * t;\n out[2] = z * t;\n out[3] = 0.5 * Math.log(x * x + y * y + z * z + w * w);\n return out;\n}\n/**\r\n * Calculate the scalar power of a unit quaternion.\r\n *\r\n * @param {quat} out the receiving quaternion\r\n * @param {ReadonlyQuat} a quat to calculate the exponential of\r\n * @param {Number} b amount to scale the quaternion by\r\n * @returns {quat} out\r\n */\n\nexport function pow(out, a, b) {\n ln(out, a);\n scale(out, out, b);\n exp(out, out);\n return out;\n}\n/**\r\n * Performs a spherical linear interpolation between two quat\r\n *\r\n * @param {quat} out the receiving quaternion\r\n * @param {ReadonlyQuat} a the first operand\r\n * @param {ReadonlyQuat} b the second operand\r\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\r\n * @returns {quat} out\r\n */\n\nexport function slerp(out, a, b, t) {\n // benchmarks:\n // http://jsperf.com/quaternion-slerp-implementations\n var ax = a[0],\n ay = a[1],\n az = a[2],\n aw = a[3];\n var bx = b[0],\n by = b[1],\n bz = b[2],\n bw = b[3];\n var omega, cosom, sinom, scale0, scale1; // calc cosine\n\n cosom = ax * bx + ay * by + az * bz + aw * bw; // adjust signs (if necessary)\n\n if (cosom < 0.0) {\n cosom = -cosom;\n bx = -bx;\n by = -by;\n bz = -bz;\n bw = -bw;\n } // calculate coefficients\n\n\n if (1.0 - cosom > glMatrix.EPSILON) {\n // standard case (slerp)\n omega = Math.acos(cosom);\n sinom = Math.sin(omega);\n scale0 = Math.sin((1.0 - t) * omega) / sinom;\n scale1 = Math.sin(t * omega) / sinom;\n } else {\n // \"from\" and \"to\" quaternions are very close\n // ... so we can do a linear interpolation\n scale0 = 1.0 - t;\n scale1 = t;\n } // calculate final values\n\n\n out[0] = scale0 * ax + scale1 * bx;\n out[1] = scale0 * ay + scale1 * by;\n out[2] = scale0 * az + scale1 * bz;\n out[3] = scale0 * aw + scale1 * bw;\n return out;\n}\n/**\r\n * Generates a random unit quaternion\r\n *\r\n * @param {quat} out the receiving quaternion\r\n * @returns {quat} out\r\n */\n\nexport function random(out) {\n // Implementation of http://planning.cs.uiuc.edu/node198.html\n // TODO: Calling random 3 times is probably not the fastest solution\n var u1 = glMatrix.RANDOM();\n var u2 = glMatrix.RANDOM();\n var u3 = glMatrix.RANDOM();\n var sqrt1MinusU1 = Math.sqrt(1 - u1);\n var sqrtU1 = Math.sqrt(u1);\n out[0] = sqrt1MinusU1 * Math.sin(2.0 * Math.PI * u2);\n out[1] = sqrt1MinusU1 * Math.cos(2.0 * Math.PI * u2);\n out[2] = sqrtU1 * Math.sin(2.0 * Math.PI * u3);\n out[3] = sqrtU1 * Math.cos(2.0 * Math.PI * u3);\n return out;\n}\n/**\r\n * Calculates the inverse of a quat\r\n *\r\n * @param {quat} out the receiving quaternion\r\n * @param {ReadonlyQuat} a quat to calculate inverse of\r\n * @returns {quat} out\r\n */\n\nexport function invert(out, a) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2],\n a3 = a[3];\n var dot = a0 * a0 + a1 * a1 + a2 * a2 + a3 * a3;\n var invDot = dot ? 1.0 / dot : 0; // TODO: Would be faster to return [0,0,0,0] immediately if dot == 0\n\n out[0] = -a0 * invDot;\n out[1] = -a1 * invDot;\n out[2] = -a2 * invDot;\n out[3] = a3 * invDot;\n return out;\n}\n/**\r\n * Calculates the conjugate of a quat\r\n * If the quaternion is normalized, this function is faster than quat.inverse and produces the same result.\r\n *\r\n * @param {quat} out the receiving quaternion\r\n * @param {ReadonlyQuat} a quat to calculate conjugate of\r\n * @returns {quat} out\r\n */\n\nexport function conjugate(out, a) {\n out[0] = -a[0];\n out[1] = -a[1];\n out[2] = -a[2];\n out[3] = a[3];\n return out;\n}\n/**\r\n * Creates a quaternion from the given 3x3 rotation matrix.\r\n *\r\n * NOTE: The resultant quaternion is not normalized, so you should be sure\r\n * to renormalize the quaternion yourself where necessary.\r\n *\r\n * @param {quat} out the receiving quaternion\r\n * @param {ReadonlyMat3} m rotation matrix\r\n * @returns {quat} out\r\n * @function\r\n */\n\nexport function fromMat3(out, m) {\n // Algorithm in Ken Shoemake's article in 1987 SIGGRAPH course notes\n // article \"Quaternion Calculus and Fast Animation\".\n var fTrace = m[0] + m[4] + m[8];\n var fRoot;\n\n if (fTrace > 0.0) {\n // |w| > 1/2, may as well choose w > 1/2\n fRoot = Math.sqrt(fTrace + 1.0); // 2w\n\n out[3] = 0.5 * fRoot;\n fRoot = 0.5 / fRoot; // 1/(4w)\n\n out[0] = (m[5] - m[7]) * fRoot;\n out[1] = (m[6] - m[2]) * fRoot;\n out[2] = (m[1] - m[3]) * fRoot;\n } else {\n // |w| <= 1/2\n var i = 0;\n if (m[4] > m[0]) i = 1;\n if (m[8] > m[i * 3 + i]) i = 2;\n var j = (i + 1) % 3;\n var k = (i + 2) % 3;\n fRoot = Math.sqrt(m[i * 3 + i] - m[j * 3 + j] - m[k * 3 + k] + 1.0);\n out[i] = 0.5 * fRoot;\n fRoot = 0.5 / fRoot;\n out[3] = (m[j * 3 + k] - m[k * 3 + j]) * fRoot;\n out[j] = (m[j * 3 + i] + m[i * 3 + j]) * fRoot;\n out[k] = (m[k * 3 + i] + m[i * 3 + k]) * fRoot;\n }\n\n return out;\n}\n/**\r\n * Creates a quaternion from the given euler angle x, y, z.\r\n *\r\n * @param {quat} out the receiving quaternion\r\n * @param {x} Angle to rotate around X axis in degrees.\r\n * @param {y} Angle to rotate around Y axis in degrees.\r\n * @param {z} Angle to rotate around Z axis in degrees.\r\n * @returns {quat} out\r\n * @function\r\n */\n\nexport function fromEuler(out, x, y, z) {\n var halfToRad = 0.5 * Math.PI / 180.0;\n x *= halfToRad;\n y *= halfToRad;\n z *= halfToRad;\n var sx = Math.sin(x);\n var cx = Math.cos(x);\n var sy = Math.sin(y);\n var cy = Math.cos(y);\n var sz = Math.sin(z);\n var cz = Math.cos(z);\n out[0] = sx * cy * cz - cx * sy * sz;\n out[1] = cx * sy * cz + sx * cy * sz;\n out[2] = cx * cy * sz - sx * sy * cz;\n out[3] = cx * cy * cz + sx * sy * sz;\n return out;\n}\n/**\r\n * Returns a string representation of a quatenion\r\n *\r\n * @param {ReadonlyQuat} a vector to represent as a string\r\n * @returns {String} string representation of the vector\r\n */\n\nexport function str(a) {\n return \"quat(\" + a[0] + \", \" + a[1] + \", \" + a[2] + \", \" + a[3] + \")\";\n}\n/**\r\n * Creates a new quat initialized with values from an existing quaternion\r\n *\r\n * @param {ReadonlyQuat} a quaternion to clone\r\n * @returns {quat} a new quaternion\r\n * @function\r\n */\n\nexport var clone = vec4.clone;\n/**\r\n * Creates a new quat initialized with the given values\r\n *\r\n * @param {Number} x X component\r\n * @param {Number} y Y component\r\n * @param {Number} z Z component\r\n * @param {Number} w W component\r\n * @returns {quat} a new quaternion\r\n * @function\r\n */\n\nexport var fromValues = vec4.fromValues;\n/**\r\n * Copy the values from one quat to another\r\n *\r\n * @param {quat} out the receiving quaternion\r\n * @param {ReadonlyQuat} a the source quaternion\r\n * @returns {quat} out\r\n * @function\r\n */\n\nexport var copy = vec4.copy;\n/**\r\n * Set the components of a quat to the given values\r\n *\r\n * @param {quat} out the receiving quaternion\r\n * @param {Number} x X component\r\n * @param {Number} y Y component\r\n * @param {Number} z Z component\r\n * @param {Number} w W component\r\n * @returns {quat} out\r\n * @function\r\n */\n\nexport var set = vec4.set;\n/**\r\n * Adds two quat's\r\n *\r\n * @param {quat} out the receiving quaternion\r\n * @param {ReadonlyQuat} a the first operand\r\n * @param {ReadonlyQuat} b the second operand\r\n * @returns {quat} out\r\n * @function\r\n */\n\nexport var add = vec4.add;\n/**\r\n * Alias for {@link quat.multiply}\r\n * @function\r\n */\n\nexport var mul = multiply;\n/**\r\n * Scales a quat by a scalar number\r\n *\r\n * @param {quat} out the receiving vector\r\n * @param {ReadonlyQuat} a the vector to scale\r\n * @param {Number} b amount to scale the vector by\r\n * @returns {quat} out\r\n * @function\r\n */\n\nexport var scale = vec4.scale;\n/**\r\n * Calculates the dot product of two quat's\r\n *\r\n * @param {ReadonlyQuat} a the first operand\r\n * @param {ReadonlyQuat} b the second operand\r\n * @returns {Number} dot product of a and b\r\n * @function\r\n */\n\nexport var dot = vec4.dot;\n/**\r\n * Performs a linear interpolation between two quat's\r\n *\r\n * @param {quat} out the receiving quaternion\r\n * @param {ReadonlyQuat} a the first operand\r\n * @param {ReadonlyQuat} b the second operand\r\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\r\n * @returns {quat} out\r\n * @function\r\n */\n\nexport var lerp = vec4.lerp;\n/**\r\n * Calculates the length of a quat\r\n *\r\n * @param {ReadonlyQuat} a vector to calculate length of\r\n * @returns {Number} length of a\r\n */\n\nexport var length = vec4.length;\n/**\r\n * Alias for {@link quat.length}\r\n * @function\r\n */\n\nexport var len = length;\n/**\r\n * Calculates the squared length of a quat\r\n *\r\n * @param {ReadonlyQuat} a vector to calculate squared length of\r\n * @returns {Number} squared length of a\r\n * @function\r\n */\n\nexport var squaredLength = vec4.squaredLength;\n/**\r\n * Alias for {@link quat.squaredLength}\r\n * @function\r\n */\n\nexport var sqrLen = squaredLength;\n/**\r\n * Normalize a quat\r\n *\r\n * @param {quat} out the receiving quaternion\r\n * @param {ReadonlyQuat} a quaternion to normalize\r\n * @returns {quat} out\r\n * @function\r\n */\n\nexport var normalize = vec4.normalize;\n/**\r\n * Returns whether or not the quaternions have exactly the same elements in the same position (when compared with ===)\r\n *\r\n * @param {ReadonlyQuat} a The first quaternion.\r\n * @param {ReadonlyQuat} b The second quaternion.\r\n * @returns {Boolean} True if the vectors are equal, false otherwise.\r\n */\n\nexport var exactEquals = vec4.exactEquals;\n/**\r\n * Returns whether or not the quaternions have approximately the same elements in the same position.\r\n *\r\n * @param {ReadonlyQuat} a The first vector.\r\n * @param {ReadonlyQuat} b The second vector.\r\n * @returns {Boolean} True if the vectors are equal, false otherwise.\r\n */\n\nexport var equals = vec4.equals;\n/**\r\n * Sets a quaternion to represent the shortest rotation from one\r\n * vector to another.\r\n *\r\n * Both vectors are assumed to be unit length.\r\n *\r\n * @param {quat} out the receiving quaternion.\r\n * @param {ReadonlyVec3} a the initial vector\r\n * @param {ReadonlyVec3} b the destination vector\r\n * @returns {quat} out\r\n */\n\nexport var rotationTo = function () {\n var tmpvec3 = vec3.create();\n var xUnitVec3 = vec3.fromValues(1, 0, 0);\n var yUnitVec3 = vec3.fromValues(0, 1, 0);\n return function (out, a, b) {\n var dot = vec3.dot(a, b);\n\n if (dot < -0.999999) {\n vec3.cross(tmpvec3, xUnitVec3, a);\n if (vec3.len(tmpvec3) < 0.000001) vec3.cross(tmpvec3, yUnitVec3, a);\n vec3.normalize(tmpvec3, tmpvec3);\n setAxisAngle(out, tmpvec3, Math.PI);\n return out;\n } else if (dot > 0.999999) {\n out[0] = 0;\n out[1] = 0;\n out[2] = 0;\n out[3] = 1;\n return out;\n } else {\n vec3.cross(tmpvec3, a, b);\n out[0] = tmpvec3[0];\n out[1] = tmpvec3[1];\n out[2] = tmpvec3[2];\n out[3] = 1 + dot;\n return normalize(out, out);\n }\n };\n}();\n/**\r\n * Performs a spherical linear interpolation with two control points\r\n *\r\n * @param {quat} out the receiving quaternion\r\n * @param {ReadonlyQuat} a the first operand\r\n * @param {ReadonlyQuat} b the second operand\r\n * @param {ReadonlyQuat} c the third operand\r\n * @param {ReadonlyQuat} d the fourth operand\r\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\r\n * @returns {quat} out\r\n */\n\nexport var sqlerp = function () {\n var temp1 = create();\n var temp2 = create();\n return function (out, a, b, c, d, t) {\n slerp(temp1, a, d, t);\n slerp(temp2, b, c, t);\n slerp(out, temp1, temp2, 2 * t * (1 - t));\n return out;\n };\n}();\n/**\r\n * Sets the specified quaternion with values corresponding to the given\r\n * axes. Each axis is a vec3 and is expected to be unit length and\r\n * perpendicular to all other specified axes.\r\n *\r\n * @param {ReadonlyVec3} view the vector representing the viewing direction\r\n * @param {ReadonlyVec3} right the vector representing the local \"right\" direction\r\n * @param {ReadonlyVec3} up the vector representing the local \"up\" direction\r\n * @returns {quat} out\r\n */\n\nexport var setAxes = function () {\n var matr = mat3.create();\n return function (out, view, right, up) {\n matr[0] = right[0];\n matr[3] = right[1];\n matr[6] = right[2];\n matr[1] = up[0];\n matr[4] = up[1];\n matr[7] = up[2];\n matr[2] = -view[0];\n matr[5] = -view[1];\n matr[8] = -view[2];\n return normalize(out, fromMat3(out, matr));\n };\n}();" }, { "id": 59, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat2.js", "index": null, "index2": null, "size": 22402, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "profile": { "factory": 144, "building": 354, "dependencies": 2 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "profile": { "factory": 307, "building": 24 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "profile": { "factory": 281, "building": 10, "dependencies": 23 } } ], "profile": { "factory": 4, "building": 629, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony side effect evaluation", "userRequest": "./quat2.js", "loc": "7:0-36" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony export imported specifier", "userRequest": "./quat2.js", "loc": "11:0-76" } ], "usedExports": false, "providedExports": [ "create", "clone", "fromValues", "fromRotationTranslationValues", "fromRotationTranslation", "fromTranslation", "fromRotation", "fromMat4", "copy", "identity", "set", "getReal", "getDual", "setReal", "setDual", "getTranslation", "translate", "rotateX", "rotateY", "rotateZ", "rotateByQuatAppend", "rotateByQuatPrepend", "rotateAroundAxis", "add", "multiply", "mul", "scale", "dot", "lerp", "invert", "conjugate", "length", "len", "squaredLength", "sqrLen", "normalize", "str", "exactEquals", "equals" ], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 7, "source": "import * as glMatrix from \"./common.js\";\nimport * as quat from \"./quat.js\";\nimport * as mat4 from \"./mat4.js\";\n/**\r\n * Dual Quaternion
\r\n * Format: [real, dual]
\r\n * Quaternion format: XYZW
\r\n * Make sure to have normalized dual quaternions, otherwise the functions may not work as intended.
\r\n * @module quat2\r\n */\n\n/**\r\n * Creates a new identity dual quat\r\n *\r\n * @returns {quat2} a new dual quaternion [real -> rotation, dual -> translation]\r\n */\n\nexport function create() {\n var dq = new glMatrix.ARRAY_TYPE(8);\n\n if (glMatrix.ARRAY_TYPE != Float32Array) {\n dq[0] = 0;\n dq[1] = 0;\n dq[2] = 0;\n dq[4] = 0;\n dq[5] = 0;\n dq[6] = 0;\n dq[7] = 0;\n }\n\n dq[3] = 1;\n return dq;\n}\n/**\r\n * Creates a new quat initialized with values from an existing quaternion\r\n *\r\n * @param {ReadonlyQuat2} a dual quaternion to clone\r\n * @returns {quat2} new dual quaternion\r\n * @function\r\n */\n\nexport function clone(a) {\n var dq = new glMatrix.ARRAY_TYPE(8);\n dq[0] = a[0];\n dq[1] = a[1];\n dq[2] = a[2];\n dq[3] = a[3];\n dq[4] = a[4];\n dq[5] = a[5];\n dq[6] = a[6];\n dq[7] = a[7];\n return dq;\n}\n/**\r\n * Creates a new dual quat initialized with the given values\r\n *\r\n * @param {Number} x1 X component\r\n * @param {Number} y1 Y component\r\n * @param {Number} z1 Z component\r\n * @param {Number} w1 W component\r\n * @param {Number} x2 X component\r\n * @param {Number} y2 Y component\r\n * @param {Number} z2 Z component\r\n * @param {Number} w2 W component\r\n * @returns {quat2} new dual quaternion\r\n * @function\r\n */\n\nexport function fromValues(x1, y1, z1, w1, x2, y2, z2, w2) {\n var dq = new glMatrix.ARRAY_TYPE(8);\n dq[0] = x1;\n dq[1] = y1;\n dq[2] = z1;\n dq[3] = w1;\n dq[4] = x2;\n dq[5] = y2;\n dq[6] = z2;\n dq[7] = w2;\n return dq;\n}\n/**\r\n * Creates a new dual quat from the given values (quat and translation)\r\n *\r\n * @param {Number} x1 X component\r\n * @param {Number} y1 Y component\r\n * @param {Number} z1 Z component\r\n * @param {Number} w1 W component\r\n * @param {Number} x2 X component (translation)\r\n * @param {Number} y2 Y component (translation)\r\n * @param {Number} z2 Z component (translation)\r\n * @returns {quat2} new dual quaternion\r\n * @function\r\n */\n\nexport function fromRotationTranslationValues(x1, y1, z1, w1, x2, y2, z2) {\n var dq = new glMatrix.ARRAY_TYPE(8);\n dq[0] = x1;\n dq[1] = y1;\n dq[2] = z1;\n dq[3] = w1;\n var ax = x2 * 0.5,\n ay = y2 * 0.5,\n az = z2 * 0.5;\n dq[4] = ax * w1 + ay * z1 - az * y1;\n dq[5] = ay * w1 + az * x1 - ax * z1;\n dq[6] = az * w1 + ax * y1 - ay * x1;\n dq[7] = -ax * x1 - ay * y1 - az * z1;\n return dq;\n}\n/**\r\n * Creates a dual quat from a quaternion and a translation\r\n *\r\n * @param {ReadonlyQuat2} dual quaternion receiving operation result\r\n * @param {ReadonlyQuat} q a normalized quaternion\r\n * @param {ReadonlyVec3} t tranlation vector\r\n * @returns {quat2} dual quaternion receiving operation result\r\n * @function\r\n */\n\nexport function fromRotationTranslation(out, q, t) {\n var ax = t[0] * 0.5,\n ay = t[1] * 0.5,\n az = t[2] * 0.5,\n bx = q[0],\n by = q[1],\n bz = q[2],\n bw = q[3];\n out[0] = bx;\n out[1] = by;\n out[2] = bz;\n out[3] = bw;\n out[4] = ax * bw + ay * bz - az * by;\n out[5] = ay * bw + az * bx - ax * bz;\n out[6] = az * bw + ax * by - ay * bx;\n out[7] = -ax * bx - ay * by - az * bz;\n return out;\n}\n/**\r\n * Creates a dual quat from a translation\r\n *\r\n * @param {ReadonlyQuat2} dual quaternion receiving operation result\r\n * @param {ReadonlyVec3} t translation vector\r\n * @returns {quat2} dual quaternion receiving operation result\r\n * @function\r\n */\n\nexport function fromTranslation(out, t) {\n out[0] = 0;\n out[1] = 0;\n out[2] = 0;\n out[3] = 1;\n out[4] = t[0] * 0.5;\n out[5] = t[1] * 0.5;\n out[6] = t[2] * 0.5;\n out[7] = 0;\n return out;\n}\n/**\r\n * Creates a dual quat from a quaternion\r\n *\r\n * @param {ReadonlyQuat2} dual quaternion receiving operation result\r\n * @param {ReadonlyQuat} q the quaternion\r\n * @returns {quat2} dual quaternion receiving operation result\r\n * @function\r\n */\n\nexport function fromRotation(out, q) {\n out[0] = q[0];\n out[1] = q[1];\n out[2] = q[2];\n out[3] = q[3];\n out[4] = 0;\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n return out;\n}\n/**\r\n * Creates a new dual quat from a matrix (4x4)\r\n *\r\n * @param {quat2} out the dual quaternion\r\n * @param {ReadonlyMat4} a the matrix\r\n * @returns {quat2} dual quat receiving operation result\r\n * @function\r\n */\n\nexport function fromMat4(out, a) {\n //TODO Optimize this\n var outer = quat.create();\n mat4.getRotation(outer, a);\n var t = new glMatrix.ARRAY_TYPE(3);\n mat4.getTranslation(t, a);\n fromRotationTranslation(out, outer, t);\n return out;\n}\n/**\r\n * Copy the values from one dual quat to another\r\n *\r\n * @param {quat2} out the receiving dual quaternion\r\n * @param {ReadonlyQuat2} a the source dual quaternion\r\n * @returns {quat2} out\r\n * @function\r\n */\n\nexport function copy(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[3];\n out[4] = a[4];\n out[5] = a[5];\n out[6] = a[6];\n out[7] = a[7];\n return out;\n}\n/**\r\n * Set a dual quat to the identity dual quaternion\r\n *\r\n * @param {quat2} out the receiving quaternion\r\n * @returns {quat2} out\r\n */\n\nexport function identity(out) {\n out[0] = 0;\n out[1] = 0;\n out[2] = 0;\n out[3] = 1;\n out[4] = 0;\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n return out;\n}\n/**\r\n * Set the components of a dual quat to the given values\r\n *\r\n * @param {quat2} out the receiving quaternion\r\n * @param {Number} x1 X component\r\n * @param {Number} y1 Y component\r\n * @param {Number} z1 Z component\r\n * @param {Number} w1 W component\r\n * @param {Number} x2 X component\r\n * @param {Number} y2 Y component\r\n * @param {Number} z2 Z component\r\n * @param {Number} w2 W component\r\n * @returns {quat2} out\r\n * @function\r\n */\n\nexport function set(out, x1, y1, z1, w1, x2, y2, z2, w2) {\n out[0] = x1;\n out[1] = y1;\n out[2] = z1;\n out[3] = w1;\n out[4] = x2;\n out[5] = y2;\n out[6] = z2;\n out[7] = w2;\n return out;\n}\n/**\r\n * Gets the real part of a dual quat\r\n * @param {quat} out real part\r\n * @param {ReadonlyQuat2} a Dual Quaternion\r\n * @return {quat} real part\r\n */\n\nexport var getReal = quat.copy;\n/**\r\n * Gets the dual part of a dual quat\r\n * @param {quat} out dual part\r\n * @param {ReadonlyQuat2} a Dual Quaternion\r\n * @return {quat} dual part\r\n */\n\nexport function getDual(out, a) {\n out[0] = a[4];\n out[1] = a[5];\n out[2] = a[6];\n out[3] = a[7];\n return out;\n}\n/**\r\n * Set the real component of a dual quat to the given quaternion\r\n *\r\n * @param {quat2} out the receiving quaternion\r\n * @param {ReadonlyQuat} q a quaternion representing the real part\r\n * @returns {quat2} out\r\n * @function\r\n */\n\nexport var setReal = quat.copy;\n/**\r\n * Set the dual component of a dual quat to the given quaternion\r\n *\r\n * @param {quat2} out the receiving quaternion\r\n * @param {ReadonlyQuat} q a quaternion representing the dual part\r\n * @returns {quat2} out\r\n * @function\r\n */\n\nexport function setDual(out, q) {\n out[4] = q[0];\n out[5] = q[1];\n out[6] = q[2];\n out[7] = q[3];\n return out;\n}\n/**\r\n * Gets the translation of a normalized dual quat\r\n * @param {vec3} out translation\r\n * @param {ReadonlyQuat2} a Dual Quaternion to be decomposed\r\n * @return {vec3} translation\r\n */\n\nexport function getTranslation(out, a) {\n var ax = a[4],\n ay = a[5],\n az = a[6],\n aw = a[7],\n bx = -a[0],\n by = -a[1],\n bz = -a[2],\n bw = a[3];\n out[0] = (ax * bw + aw * bx + ay * bz - az * by) * 2;\n out[1] = (ay * bw + aw * by + az * bx - ax * bz) * 2;\n out[2] = (az * bw + aw * bz + ax * by - ay * bx) * 2;\n return out;\n}\n/**\r\n * Translates a dual quat by the given vector\r\n *\r\n * @param {quat2} out the receiving dual quaternion\r\n * @param {ReadonlyQuat2} a the dual quaternion to translate\r\n * @param {ReadonlyVec3} v vector to translate by\r\n * @returns {quat2} out\r\n */\n\nexport function translate(out, a, v) {\n var ax1 = a[0],\n ay1 = a[1],\n az1 = a[2],\n aw1 = a[3],\n bx1 = v[0] * 0.5,\n by1 = v[1] * 0.5,\n bz1 = v[2] * 0.5,\n ax2 = a[4],\n ay2 = a[5],\n az2 = a[6],\n aw2 = a[7];\n out[0] = ax1;\n out[1] = ay1;\n out[2] = az1;\n out[3] = aw1;\n out[4] = aw1 * bx1 + ay1 * bz1 - az1 * by1 + ax2;\n out[5] = aw1 * by1 + az1 * bx1 - ax1 * bz1 + ay2;\n out[6] = aw1 * bz1 + ax1 * by1 - ay1 * bx1 + az2;\n out[7] = -ax1 * bx1 - ay1 * by1 - az1 * bz1 + aw2;\n return out;\n}\n/**\r\n * Rotates a dual quat around the X axis\r\n *\r\n * @param {quat2} out the receiving dual quaternion\r\n * @param {ReadonlyQuat2} a the dual quaternion to rotate\r\n * @param {number} rad how far should the rotation be\r\n * @returns {quat2} out\r\n */\n\nexport function rotateX(out, a, rad) {\n var bx = -a[0],\n by = -a[1],\n bz = -a[2],\n bw = a[3],\n ax = a[4],\n ay = a[5],\n az = a[6],\n aw = a[7],\n ax1 = ax * bw + aw * bx + ay * bz - az * by,\n ay1 = ay * bw + aw * by + az * bx - ax * bz,\n az1 = az * bw + aw * bz + ax * by - ay * bx,\n aw1 = aw * bw - ax * bx - ay * by - az * bz;\n quat.rotateX(out, a, rad);\n bx = out[0];\n by = out[1];\n bz = out[2];\n bw = out[3];\n out[4] = ax1 * bw + aw1 * bx + ay1 * bz - az1 * by;\n out[5] = ay1 * bw + aw1 * by + az1 * bx - ax1 * bz;\n out[6] = az1 * bw + aw1 * bz + ax1 * by - ay1 * bx;\n out[7] = aw1 * bw - ax1 * bx - ay1 * by - az1 * bz;\n return out;\n}\n/**\r\n * Rotates a dual quat around the Y axis\r\n *\r\n * @param {quat2} out the receiving dual quaternion\r\n * @param {ReadonlyQuat2} a the dual quaternion to rotate\r\n * @param {number} rad how far should the rotation be\r\n * @returns {quat2} out\r\n */\n\nexport function rotateY(out, a, rad) {\n var bx = -a[0],\n by = -a[1],\n bz = -a[2],\n bw = a[3],\n ax = a[4],\n ay = a[5],\n az = a[6],\n aw = a[7],\n ax1 = ax * bw + aw * bx + ay * bz - az * by,\n ay1 = ay * bw + aw * by + az * bx - ax * bz,\n az1 = az * bw + aw * bz + ax * by - ay * bx,\n aw1 = aw * bw - ax * bx - ay * by - az * bz;\n quat.rotateY(out, a, rad);\n bx = out[0];\n by = out[1];\n bz = out[2];\n bw = out[3];\n out[4] = ax1 * bw + aw1 * bx + ay1 * bz - az1 * by;\n out[5] = ay1 * bw + aw1 * by + az1 * bx - ax1 * bz;\n out[6] = az1 * bw + aw1 * bz + ax1 * by - ay1 * bx;\n out[7] = aw1 * bw - ax1 * bx - ay1 * by - az1 * bz;\n return out;\n}\n/**\r\n * Rotates a dual quat around the Z axis\r\n *\r\n * @param {quat2} out the receiving dual quaternion\r\n * @param {ReadonlyQuat2} a the dual quaternion to rotate\r\n * @param {number} rad how far should the rotation be\r\n * @returns {quat2} out\r\n */\n\nexport function rotateZ(out, a, rad) {\n var bx = -a[0],\n by = -a[1],\n bz = -a[2],\n bw = a[3],\n ax = a[4],\n ay = a[5],\n az = a[6],\n aw = a[7],\n ax1 = ax * bw + aw * bx + ay * bz - az * by,\n ay1 = ay * bw + aw * by + az * bx - ax * bz,\n az1 = az * bw + aw * bz + ax * by - ay * bx,\n aw1 = aw * bw - ax * bx - ay * by - az * bz;\n quat.rotateZ(out, a, rad);\n bx = out[0];\n by = out[1];\n bz = out[2];\n bw = out[3];\n out[4] = ax1 * bw + aw1 * bx + ay1 * bz - az1 * by;\n out[5] = ay1 * bw + aw1 * by + az1 * bx - ax1 * bz;\n out[6] = az1 * bw + aw1 * bz + ax1 * by - ay1 * bx;\n out[7] = aw1 * bw - ax1 * bx - ay1 * by - az1 * bz;\n return out;\n}\n/**\r\n * Rotates a dual quat by a given quaternion (a * q)\r\n *\r\n * @param {quat2} out the receiving dual quaternion\r\n * @param {ReadonlyQuat2} a the dual quaternion to rotate\r\n * @param {ReadonlyQuat} q quaternion to rotate by\r\n * @returns {quat2} out\r\n */\n\nexport function rotateByQuatAppend(out, a, q) {\n var qx = q[0],\n qy = q[1],\n qz = q[2],\n qw = q[3],\n ax = a[0],\n ay = a[1],\n az = a[2],\n aw = a[3];\n out[0] = ax * qw + aw * qx + ay * qz - az * qy;\n out[1] = ay * qw + aw * qy + az * qx - ax * qz;\n out[2] = az * qw + aw * qz + ax * qy - ay * qx;\n out[3] = aw * qw - ax * qx - ay * qy - az * qz;\n ax = a[4];\n ay = a[5];\n az = a[6];\n aw = a[7];\n out[4] = ax * qw + aw * qx + ay * qz - az * qy;\n out[5] = ay * qw + aw * qy + az * qx - ax * qz;\n out[6] = az * qw + aw * qz + ax * qy - ay * qx;\n out[7] = aw * qw - ax * qx - ay * qy - az * qz;\n return out;\n}\n/**\r\n * Rotates a dual quat by a given quaternion (q * a)\r\n *\r\n * @param {quat2} out the receiving dual quaternion\r\n * @param {ReadonlyQuat} q quaternion to rotate by\r\n * @param {ReadonlyQuat2} a the dual quaternion to rotate\r\n * @returns {quat2} out\r\n */\n\nexport function rotateByQuatPrepend(out, q, a) {\n var qx = q[0],\n qy = q[1],\n qz = q[2],\n qw = q[3],\n bx = a[0],\n by = a[1],\n bz = a[2],\n bw = a[3];\n out[0] = qx * bw + qw * bx + qy * bz - qz * by;\n out[1] = qy * bw + qw * by + qz * bx - qx * bz;\n out[2] = qz * bw + qw * bz + qx * by - qy * bx;\n out[3] = qw * bw - qx * bx - qy * by - qz * bz;\n bx = a[4];\n by = a[5];\n bz = a[6];\n bw = a[7];\n out[4] = qx * bw + qw * bx + qy * bz - qz * by;\n out[5] = qy * bw + qw * by + qz * bx - qx * bz;\n out[6] = qz * bw + qw * bz + qx * by - qy * bx;\n out[7] = qw * bw - qx * bx - qy * by - qz * bz;\n return out;\n}\n/**\r\n * Rotates a dual quat around a given axis. Does the normalisation automatically\r\n *\r\n * @param {quat2} out the receiving dual quaternion\r\n * @param {ReadonlyQuat2} a the dual quaternion to rotate\r\n * @param {ReadonlyVec3} axis the axis to rotate around\r\n * @param {Number} rad how far the rotation should be\r\n * @returns {quat2} out\r\n */\n\nexport function rotateAroundAxis(out, a, axis, rad) {\n //Special case for rad = 0\n if (Math.abs(rad) < glMatrix.EPSILON) {\n return copy(out, a);\n }\n\n var axisLength = Math.hypot(axis[0], axis[1], axis[2]);\n rad = rad * 0.5;\n var s = Math.sin(rad);\n var bx = s * axis[0] / axisLength;\n var by = s * axis[1] / axisLength;\n var bz = s * axis[2] / axisLength;\n var bw = Math.cos(rad);\n var ax1 = a[0],\n ay1 = a[1],\n az1 = a[2],\n aw1 = a[3];\n out[0] = ax1 * bw + aw1 * bx + ay1 * bz - az1 * by;\n out[1] = ay1 * bw + aw1 * by + az1 * bx - ax1 * bz;\n out[2] = az1 * bw + aw1 * bz + ax1 * by - ay1 * bx;\n out[3] = aw1 * bw - ax1 * bx - ay1 * by - az1 * bz;\n var ax = a[4],\n ay = a[5],\n az = a[6],\n aw = a[7];\n out[4] = ax * bw + aw * bx + ay * bz - az * by;\n out[5] = ay * bw + aw * by + az * bx - ax * bz;\n out[6] = az * bw + aw * bz + ax * by - ay * bx;\n out[7] = aw * bw - ax * bx - ay * by - az * bz;\n return out;\n}\n/**\r\n * Adds two dual quat's\r\n *\r\n * @param {quat2} out the receiving dual quaternion\r\n * @param {ReadonlyQuat2} a the first operand\r\n * @param {ReadonlyQuat2} b the second operand\r\n * @returns {quat2} out\r\n * @function\r\n */\n\nexport function add(out, a, b) {\n out[0] = a[0] + b[0];\n out[1] = a[1] + b[1];\n out[2] = a[2] + b[2];\n out[3] = a[3] + b[3];\n out[4] = a[4] + b[4];\n out[5] = a[5] + b[5];\n out[6] = a[6] + b[6];\n out[7] = a[7] + b[7];\n return out;\n}\n/**\r\n * Multiplies two dual quat's\r\n *\r\n * @param {quat2} out the receiving dual quaternion\r\n * @param {ReadonlyQuat2} a the first operand\r\n * @param {ReadonlyQuat2} b the second operand\r\n * @returns {quat2} out\r\n */\n\nexport function multiply(out, a, b) {\n var ax0 = a[0],\n ay0 = a[1],\n az0 = a[2],\n aw0 = a[3],\n bx1 = b[4],\n by1 = b[5],\n bz1 = b[6],\n bw1 = b[7],\n ax1 = a[4],\n ay1 = a[5],\n az1 = a[6],\n aw1 = a[7],\n bx0 = b[0],\n by0 = b[1],\n bz0 = b[2],\n bw0 = b[3];\n out[0] = ax0 * bw0 + aw0 * bx0 + ay0 * bz0 - az0 * by0;\n out[1] = ay0 * bw0 + aw0 * by0 + az0 * bx0 - ax0 * bz0;\n out[2] = az0 * bw0 + aw0 * bz0 + ax0 * by0 - ay0 * bx0;\n out[3] = aw0 * bw0 - ax0 * bx0 - ay0 * by0 - az0 * bz0;\n out[4] = ax0 * bw1 + aw0 * bx1 + ay0 * bz1 - az0 * by1 + ax1 * bw0 + aw1 * bx0 + ay1 * bz0 - az1 * by0;\n out[5] = ay0 * bw1 + aw0 * by1 + az0 * bx1 - ax0 * bz1 + ay1 * bw0 + aw1 * by0 + az1 * bx0 - ax1 * bz0;\n out[6] = az0 * bw1 + aw0 * bz1 + ax0 * by1 - ay0 * bx1 + az1 * bw0 + aw1 * bz0 + ax1 * by0 - ay1 * bx0;\n out[7] = aw0 * bw1 - ax0 * bx1 - ay0 * by1 - az0 * bz1 + aw1 * bw0 - ax1 * bx0 - ay1 * by0 - az1 * bz0;\n return out;\n}\n/**\r\n * Alias for {@link quat2.multiply}\r\n * @function\r\n */\n\nexport var mul = multiply;\n/**\r\n * Scales a dual quat by a scalar number\r\n *\r\n * @param {quat2} out the receiving dual quat\r\n * @param {ReadonlyQuat2} a the dual quat to scale\r\n * @param {Number} b amount to scale the dual quat by\r\n * @returns {quat2} out\r\n * @function\r\n */\n\nexport function scale(out, a, b) {\n out[0] = a[0] * b;\n out[1] = a[1] * b;\n out[2] = a[2] * b;\n out[3] = a[3] * b;\n out[4] = a[4] * b;\n out[5] = a[5] * b;\n out[6] = a[6] * b;\n out[7] = a[7] * b;\n return out;\n}\n/**\r\n * Calculates the dot product of two dual quat's (The dot product of the real parts)\r\n *\r\n * @param {ReadonlyQuat2} a the first operand\r\n * @param {ReadonlyQuat2} b the second operand\r\n * @returns {Number} dot product of a and b\r\n * @function\r\n */\n\nexport var dot = quat.dot;\n/**\r\n * Performs a linear interpolation between two dual quats's\r\n * NOTE: The resulting dual quaternions won't always be normalized (The error is most noticeable when t = 0.5)\r\n *\r\n * @param {quat2} out the receiving dual quat\r\n * @param {ReadonlyQuat2} a the first operand\r\n * @param {ReadonlyQuat2} b the second operand\r\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\r\n * @returns {quat2} out\r\n */\n\nexport function lerp(out, a, b, t) {\n var mt = 1 - t;\n if (dot(a, b) < 0) t = -t;\n out[0] = a[0] * mt + b[0] * t;\n out[1] = a[1] * mt + b[1] * t;\n out[2] = a[2] * mt + b[2] * t;\n out[3] = a[3] * mt + b[3] * t;\n out[4] = a[4] * mt + b[4] * t;\n out[5] = a[5] * mt + b[5] * t;\n out[6] = a[6] * mt + b[6] * t;\n out[7] = a[7] * mt + b[7] * t;\n return out;\n}\n/**\r\n * Calculates the inverse of a dual quat. If they are normalized, conjugate is cheaper\r\n *\r\n * @param {quat2} out the receiving dual quaternion\r\n * @param {ReadonlyQuat2} a dual quat to calculate inverse of\r\n * @returns {quat2} out\r\n */\n\nexport function invert(out, a) {\n var sqlen = squaredLength(a);\n out[0] = -a[0] / sqlen;\n out[1] = -a[1] / sqlen;\n out[2] = -a[2] / sqlen;\n out[3] = a[3] / sqlen;\n out[4] = -a[4] / sqlen;\n out[5] = -a[5] / sqlen;\n out[6] = -a[6] / sqlen;\n out[7] = a[7] / sqlen;\n return out;\n}\n/**\r\n * Calculates the conjugate of a dual quat\r\n * If the dual quaternion is normalized, this function is faster than quat2.inverse and produces the same result.\r\n *\r\n * @param {quat2} out the receiving quaternion\r\n * @param {ReadonlyQuat2} a quat to calculate conjugate of\r\n * @returns {quat2} out\r\n */\n\nexport function conjugate(out, a) {\n out[0] = -a[0];\n out[1] = -a[1];\n out[2] = -a[2];\n out[3] = a[3];\n out[4] = -a[4];\n out[5] = -a[5];\n out[6] = -a[6];\n out[7] = a[7];\n return out;\n}\n/**\r\n * Calculates the length of a dual quat\r\n *\r\n * @param {ReadonlyQuat2} a dual quat to calculate length of\r\n * @returns {Number} length of a\r\n * @function\r\n */\n\nexport var length = quat.length;\n/**\r\n * Alias for {@link quat2.length}\r\n * @function\r\n */\n\nexport var len = length;\n/**\r\n * Calculates the squared length of a dual quat\r\n *\r\n * @param {ReadonlyQuat2} a dual quat to calculate squared length of\r\n * @returns {Number} squared length of a\r\n * @function\r\n */\n\nexport var squaredLength = quat.squaredLength;\n/**\r\n * Alias for {@link quat2.squaredLength}\r\n * @function\r\n */\n\nexport var sqrLen = squaredLength;\n/**\r\n * Normalize a dual quat\r\n *\r\n * @param {quat2} out the receiving dual quaternion\r\n * @param {ReadonlyQuat2} a dual quaternion to normalize\r\n * @returns {quat2} out\r\n * @function\r\n */\n\nexport function normalize(out, a) {\n var magnitude = squaredLength(a);\n\n if (magnitude > 0) {\n magnitude = Math.sqrt(magnitude);\n var a0 = a[0] / magnitude;\n var a1 = a[1] / magnitude;\n var a2 = a[2] / magnitude;\n var a3 = a[3] / magnitude;\n var b0 = a[4];\n var b1 = a[5];\n var b2 = a[6];\n var b3 = a[7];\n var a_dot_b = a0 * b0 + a1 * b1 + a2 * b2 + a3 * b3;\n out[0] = a0;\n out[1] = a1;\n out[2] = a2;\n out[3] = a3;\n out[4] = (b0 - a0 * a_dot_b) / magnitude;\n out[5] = (b1 - a1 * a_dot_b) / magnitude;\n out[6] = (b2 - a2 * a_dot_b) / magnitude;\n out[7] = (b3 - a3 * a_dot_b) / magnitude;\n }\n\n return out;\n}\n/**\r\n * Returns a string representation of a dual quatenion\r\n *\r\n * @param {ReadonlyQuat2} a dual quaternion to represent as a string\r\n * @returns {String} string representation of the dual quat\r\n */\n\nexport function str(a) {\n return \"quat2(\" + a[0] + \", \" + a[1] + \", \" + a[2] + \", \" + a[3] + \", \" + a[4] + \", \" + a[5] + \", \" + a[6] + \", \" + a[7] + \")\";\n}\n/**\r\n * Returns whether or not the dual quaternions have exactly the same elements in the same position (when compared with ===)\r\n *\r\n * @param {ReadonlyQuat2} a the first dual quaternion.\r\n * @param {ReadonlyQuat2} b the second dual quaternion.\r\n * @returns {Boolean} true if the dual quaternions are equal, false otherwise.\r\n */\n\nexport function exactEquals(a, b) {\n return a[0] === b[0] && a[1] === b[1] && a[2] === b[2] && a[3] === b[3] && a[4] === b[4] && a[5] === b[5] && a[6] === b[6] && a[7] === b[7];\n}\n/**\r\n * Returns whether or not the dual quaternions have approximately the same elements in the same position.\r\n *\r\n * @param {ReadonlyQuat2} a the first dual quat.\r\n * @param {ReadonlyQuat2} b the second dual quat.\r\n * @returns {Boolean} true if the dual quats are equal, false otherwise.\r\n */\n\nexport function equals(a, b) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2],\n a3 = a[3],\n a4 = a[4],\n a5 = a[5],\n a6 = a[6],\n a7 = a[7];\n var b0 = b[0],\n b1 = b[1],\n b2 = b[2],\n b3 = b[3],\n b4 = b[4],\n b5 = b[5],\n b6 = b[6],\n b7 = b[7];\n return Math.abs(a0 - b0) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1)) && Math.abs(a2 - b2) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a2), Math.abs(b2)) && Math.abs(a3 - b3) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a3), Math.abs(b3)) && Math.abs(a4 - b4) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a4), Math.abs(b4)) && Math.abs(a5 - b5) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a5), Math.abs(b5)) && Math.abs(a6 - b6) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a6), Math.abs(b6)) && Math.abs(a7 - b7) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a7), Math.abs(b7));\n}" }, { "id": 60, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec3.js", "index": null, "index2": null, "size": 19530, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "profile": { "factory": 144, "building": 354, "dependencies": 2 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "profile": { "factory": 307, "building": 24 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "profile": { "factory": 281, "building": 10, "dependencies": 23 } } ], "profile": { "factory": 4, "building": 629, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony side effect evaluation", "userRequest": "./vec3.js", "loc": "9:0-34" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony export imported specifier", "userRequest": "./vec3.js", "loc": "11:0-76" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony side effect evaluation", "userRequest": "./vec3.js", "loc": "3:0-34" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec3.js", "loc": "635:16-27" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec3.js", "loc": "636:18-33" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec3.js", "loc": "637:18-33" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec3.js", "loc": "639:14-22" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec3.js", "loc": "642:6-16" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec3.js", "loc": "643:10-18" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec3.js", "loc": "643:40-50" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec3.js", "loc": "644:6-20" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec3.js", "loc": "654:6-16" } ], "usedExports": false, "providedExports": [ "create", "clone", "length", "fromValues", "copy", "set", "add", "subtract", "multiply", "divide", "ceil", "floor", "min", "max", "round", "scale", "scaleAndAdd", "distance", "squaredDistance", "squaredLength", "negate", "inverse", "normalize", "dot", "cross", "lerp", "hermite", "bezier", "random", "transformMat4", "transformMat3", "transformQuat", "rotateX", "rotateY", "rotateZ", "angle", "zero", "str", "exactEquals", "equals", "sub", "mul", "div", "dist", "sqrDist", "len", "sqrLen", "forEach" ], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 7, "source": "import * as glMatrix from \"./common.js\";\n/**\r\n * 3 Dimensional Vector\r\n * @module vec3\r\n */\n\n/**\r\n * Creates a new, empty vec3\r\n *\r\n * @returns {vec3} a new 3D vector\r\n */\n\nexport function create() {\n var out = new glMatrix.ARRAY_TYPE(3);\n\n if (glMatrix.ARRAY_TYPE != Float32Array) {\n out[0] = 0;\n out[1] = 0;\n out[2] = 0;\n }\n\n return out;\n}\n/**\r\n * Creates a new vec3 initialized with values from an existing vector\r\n *\r\n * @param {ReadonlyVec3} a vector to clone\r\n * @returns {vec3} a new 3D vector\r\n */\n\nexport function clone(a) {\n var out = new glMatrix.ARRAY_TYPE(3);\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n return out;\n}\n/**\r\n * Calculates the length of a vec3\r\n *\r\n * @param {ReadonlyVec3} a vector to calculate length of\r\n * @returns {Number} length of a\r\n */\n\nexport function length(a) {\n var x = a[0];\n var y = a[1];\n var z = a[2];\n return Math.hypot(x, y, z);\n}\n/**\r\n * Creates a new vec3 initialized with the given values\r\n *\r\n * @param {Number} x X component\r\n * @param {Number} y Y component\r\n * @param {Number} z Z component\r\n * @returns {vec3} a new 3D vector\r\n */\n\nexport function fromValues(x, y, z) {\n var out = new glMatrix.ARRAY_TYPE(3);\n out[0] = x;\n out[1] = y;\n out[2] = z;\n return out;\n}\n/**\r\n * Copy the values from one vec3 to another\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a the source vector\r\n * @returns {vec3} out\r\n */\n\nexport function copy(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n return out;\n}\n/**\r\n * Set the components of a vec3 to the given values\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {Number} x X component\r\n * @param {Number} y Y component\r\n * @param {Number} z Z component\r\n * @returns {vec3} out\r\n */\n\nexport function set(out, x, y, z) {\n out[0] = x;\n out[1] = y;\n out[2] = z;\n return out;\n}\n/**\r\n * Adds two vec3's\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a the first operand\r\n * @param {ReadonlyVec3} b the second operand\r\n * @returns {vec3} out\r\n */\n\nexport function add(out, a, b) {\n out[0] = a[0] + b[0];\n out[1] = a[1] + b[1];\n out[2] = a[2] + b[2];\n return out;\n}\n/**\r\n * Subtracts vector b from vector a\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a the first operand\r\n * @param {ReadonlyVec3} b the second operand\r\n * @returns {vec3} out\r\n */\n\nexport function subtract(out, a, b) {\n out[0] = a[0] - b[0];\n out[1] = a[1] - b[1];\n out[2] = a[2] - b[2];\n return out;\n}\n/**\r\n * Multiplies two vec3's\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a the first operand\r\n * @param {ReadonlyVec3} b the second operand\r\n * @returns {vec3} out\r\n */\n\nexport function multiply(out, a, b) {\n out[0] = a[0] * b[0];\n out[1] = a[1] * b[1];\n out[2] = a[2] * b[2];\n return out;\n}\n/**\r\n * Divides two vec3's\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a the first operand\r\n * @param {ReadonlyVec3} b the second operand\r\n * @returns {vec3} out\r\n */\n\nexport function divide(out, a, b) {\n out[0] = a[0] / b[0];\n out[1] = a[1] / b[1];\n out[2] = a[2] / b[2];\n return out;\n}\n/**\r\n * Math.ceil the components of a vec3\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a vector to ceil\r\n * @returns {vec3} out\r\n */\n\nexport function ceil(out, a) {\n out[0] = Math.ceil(a[0]);\n out[1] = Math.ceil(a[1]);\n out[2] = Math.ceil(a[2]);\n return out;\n}\n/**\r\n * Math.floor the components of a vec3\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a vector to floor\r\n * @returns {vec3} out\r\n */\n\nexport function floor(out, a) {\n out[0] = Math.floor(a[0]);\n out[1] = Math.floor(a[1]);\n out[2] = Math.floor(a[2]);\n return out;\n}\n/**\r\n * Returns the minimum of two vec3's\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a the first operand\r\n * @param {ReadonlyVec3} b the second operand\r\n * @returns {vec3} out\r\n */\n\nexport function min(out, a, b) {\n out[0] = Math.min(a[0], b[0]);\n out[1] = Math.min(a[1], b[1]);\n out[2] = Math.min(a[2], b[2]);\n return out;\n}\n/**\r\n * Returns the maximum of two vec3's\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a the first operand\r\n * @param {ReadonlyVec3} b the second operand\r\n * @returns {vec3} out\r\n */\n\nexport function max(out, a, b) {\n out[0] = Math.max(a[0], b[0]);\n out[1] = Math.max(a[1], b[1]);\n out[2] = Math.max(a[2], b[2]);\n return out;\n}\n/**\r\n * Math.round the components of a vec3\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a vector to round\r\n * @returns {vec3} out\r\n */\n\nexport function round(out, a) {\n out[0] = Math.round(a[0]);\n out[1] = Math.round(a[1]);\n out[2] = Math.round(a[2]);\n return out;\n}\n/**\r\n * Scales a vec3 by a scalar number\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a the vector to scale\r\n * @param {Number} b amount to scale the vector by\r\n * @returns {vec3} out\r\n */\n\nexport function scale(out, a, b) {\n out[0] = a[0] * b;\n out[1] = a[1] * b;\n out[2] = a[2] * b;\n return out;\n}\n/**\r\n * Adds two vec3's after scaling the second operand by a scalar value\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a the first operand\r\n * @param {ReadonlyVec3} b the second operand\r\n * @param {Number} scale the amount to scale b by before adding\r\n * @returns {vec3} out\r\n */\n\nexport function scaleAndAdd(out, a, b, scale) {\n out[0] = a[0] + b[0] * scale;\n out[1] = a[1] + b[1] * scale;\n out[2] = a[2] + b[2] * scale;\n return out;\n}\n/**\r\n * Calculates the euclidian distance between two vec3's\r\n *\r\n * @param {ReadonlyVec3} a the first operand\r\n * @param {ReadonlyVec3} b the second operand\r\n * @returns {Number} distance between a and b\r\n */\n\nexport function distance(a, b) {\n var x = b[0] - a[0];\n var y = b[1] - a[1];\n var z = b[2] - a[2];\n return Math.hypot(x, y, z);\n}\n/**\r\n * Calculates the squared euclidian distance between two vec3's\r\n *\r\n * @param {ReadonlyVec3} a the first operand\r\n * @param {ReadonlyVec3} b the second operand\r\n * @returns {Number} squared distance between a and b\r\n */\n\nexport function squaredDistance(a, b) {\n var x = b[0] - a[0];\n var y = b[1] - a[1];\n var z = b[2] - a[2];\n return x * x + y * y + z * z;\n}\n/**\r\n * Calculates the squared length of a vec3\r\n *\r\n * @param {ReadonlyVec3} a vector to calculate squared length of\r\n * @returns {Number} squared length of a\r\n */\n\nexport function squaredLength(a) {\n var x = a[0];\n var y = a[1];\n var z = a[2];\n return x * x + y * y + z * z;\n}\n/**\r\n * Negates the components of a vec3\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a vector to negate\r\n * @returns {vec3} out\r\n */\n\nexport function negate(out, a) {\n out[0] = -a[0];\n out[1] = -a[1];\n out[2] = -a[2];\n return out;\n}\n/**\r\n * Returns the inverse of the components of a vec3\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a vector to invert\r\n * @returns {vec3} out\r\n */\n\nexport function inverse(out, a) {\n out[0] = 1.0 / a[0];\n out[1] = 1.0 / a[1];\n out[2] = 1.0 / a[2];\n return out;\n}\n/**\r\n * Normalize a vec3\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a vector to normalize\r\n * @returns {vec3} out\r\n */\n\nexport function normalize(out, a) {\n var x = a[0];\n var y = a[1];\n var z = a[2];\n var len = x * x + y * y + z * z;\n\n if (len > 0) {\n //TODO: evaluate use of glm_invsqrt here?\n len = 1 / Math.sqrt(len);\n }\n\n out[0] = a[0] * len;\n out[1] = a[1] * len;\n out[2] = a[2] * len;\n return out;\n}\n/**\r\n * Calculates the dot product of two vec3's\r\n *\r\n * @param {ReadonlyVec3} a the first operand\r\n * @param {ReadonlyVec3} b the second operand\r\n * @returns {Number} dot product of a and b\r\n */\n\nexport function dot(a, b) {\n return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];\n}\n/**\r\n * Computes the cross product of two vec3's\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a the first operand\r\n * @param {ReadonlyVec3} b the second operand\r\n * @returns {vec3} out\r\n */\n\nexport function cross(out, a, b) {\n var ax = a[0],\n ay = a[1],\n az = a[2];\n var bx = b[0],\n by = b[1],\n bz = b[2];\n out[0] = ay * bz - az * by;\n out[1] = az * bx - ax * bz;\n out[2] = ax * by - ay * bx;\n return out;\n}\n/**\r\n * Performs a linear interpolation between two vec3's\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a the first operand\r\n * @param {ReadonlyVec3} b the second operand\r\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\r\n * @returns {vec3} out\r\n */\n\nexport function lerp(out, a, b, t) {\n var ax = a[0];\n var ay = a[1];\n var az = a[2];\n out[0] = ax + t * (b[0] - ax);\n out[1] = ay + t * (b[1] - ay);\n out[2] = az + t * (b[2] - az);\n return out;\n}\n/**\r\n * Performs a hermite interpolation with two control points\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a the first operand\r\n * @param {ReadonlyVec3} b the second operand\r\n * @param {ReadonlyVec3} c the third operand\r\n * @param {ReadonlyVec3} d the fourth operand\r\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\r\n * @returns {vec3} out\r\n */\n\nexport function hermite(out, a, b, c, d, t) {\n var factorTimes2 = t * t;\n var factor1 = factorTimes2 * (2 * t - 3) + 1;\n var factor2 = factorTimes2 * (t - 2) + t;\n var factor3 = factorTimes2 * (t - 1);\n var factor4 = factorTimes2 * (3 - 2 * t);\n out[0] = a[0] * factor1 + b[0] * factor2 + c[0] * factor3 + d[0] * factor4;\n out[1] = a[1] * factor1 + b[1] * factor2 + c[1] * factor3 + d[1] * factor4;\n out[2] = a[2] * factor1 + b[2] * factor2 + c[2] * factor3 + d[2] * factor4;\n return out;\n}\n/**\r\n * Performs a bezier interpolation with two control points\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a the first operand\r\n * @param {ReadonlyVec3} b the second operand\r\n * @param {ReadonlyVec3} c the third operand\r\n * @param {ReadonlyVec3} d the fourth operand\r\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\r\n * @returns {vec3} out\r\n */\n\nexport function bezier(out, a, b, c, d, t) {\n var inverseFactor = 1 - t;\n var inverseFactorTimesTwo = inverseFactor * inverseFactor;\n var factorTimes2 = t * t;\n var factor1 = inverseFactorTimesTwo * inverseFactor;\n var factor2 = 3 * t * inverseFactorTimesTwo;\n var factor3 = 3 * factorTimes2 * inverseFactor;\n var factor4 = factorTimes2 * t;\n out[0] = a[0] * factor1 + b[0] * factor2 + c[0] * factor3 + d[0] * factor4;\n out[1] = a[1] * factor1 + b[1] * factor2 + c[1] * factor3 + d[1] * factor4;\n out[2] = a[2] * factor1 + b[2] * factor2 + c[2] * factor3 + d[2] * factor4;\n return out;\n}\n/**\r\n * Generates a random vector with the given scale\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {Number} [scale] Length of the resulting vector. If ommitted, a unit vector will be returned\r\n * @returns {vec3} out\r\n */\n\nexport function random(out, scale) {\n scale = scale || 1.0;\n var r = glMatrix.RANDOM() * 2.0 * Math.PI;\n var z = glMatrix.RANDOM() * 2.0 - 1.0;\n var zScale = Math.sqrt(1.0 - z * z) * scale;\n out[0] = Math.cos(r) * zScale;\n out[1] = Math.sin(r) * zScale;\n out[2] = z * scale;\n return out;\n}\n/**\r\n * Transforms the vec3 with a mat4.\r\n * 4th vector component is implicitly '1'\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a the vector to transform\r\n * @param {ReadonlyMat4} m matrix to transform with\r\n * @returns {vec3} out\r\n */\n\nexport function transformMat4(out, a, m) {\n var x = a[0],\n y = a[1],\n z = a[2];\n var w = m[3] * x + m[7] * y + m[11] * z + m[15];\n w = w || 1.0;\n out[0] = (m[0] * x + m[4] * y + m[8] * z + m[12]) / w;\n out[1] = (m[1] * x + m[5] * y + m[9] * z + m[13]) / w;\n out[2] = (m[2] * x + m[6] * y + m[10] * z + m[14]) / w;\n return out;\n}\n/**\r\n * Transforms the vec3 with a mat3.\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a the vector to transform\r\n * @param {ReadonlyMat3} m the 3x3 matrix to transform with\r\n * @returns {vec3} out\r\n */\n\nexport function transformMat3(out, a, m) {\n var x = a[0],\n y = a[1],\n z = a[2];\n out[0] = x * m[0] + y * m[3] + z * m[6];\n out[1] = x * m[1] + y * m[4] + z * m[7];\n out[2] = x * m[2] + y * m[5] + z * m[8];\n return out;\n}\n/**\r\n * Transforms the vec3 with a quat\r\n * Can also be used for dual quaternions. (Multiply it with the real part)\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @param {ReadonlyVec3} a the vector to transform\r\n * @param {ReadonlyQuat} q quaternion to transform with\r\n * @returns {vec3} out\r\n */\n\nexport function transformQuat(out, a, q) {\n // benchmarks: https://jsperf.com/quaternion-transform-vec3-implementations-fixed\n var qx = q[0],\n qy = q[1],\n qz = q[2],\n qw = q[3];\n var x = a[0],\n y = a[1],\n z = a[2]; // var qvec = [qx, qy, qz];\n // var uv = vec3.cross([], qvec, a);\n\n var uvx = qy * z - qz * y,\n uvy = qz * x - qx * z,\n uvz = qx * y - qy * x; // var uuv = vec3.cross([], qvec, uv);\n\n var uuvx = qy * uvz - qz * uvy,\n uuvy = qz * uvx - qx * uvz,\n uuvz = qx * uvy - qy * uvx; // vec3.scale(uv, uv, 2 * w);\n\n var w2 = qw * 2;\n uvx *= w2;\n uvy *= w2;\n uvz *= w2; // vec3.scale(uuv, uuv, 2);\n\n uuvx *= 2;\n uuvy *= 2;\n uuvz *= 2; // return vec3.add(out, a, vec3.add(out, uv, uuv));\n\n out[0] = x + uvx + uuvx;\n out[1] = y + uvy + uuvy;\n out[2] = z + uvz + uuvz;\n return out;\n}\n/**\r\n * Rotate a 3D vector around the x-axis\r\n * @param {vec3} out The receiving vec3\r\n * @param {ReadonlyVec3} a The vec3 point to rotate\r\n * @param {ReadonlyVec3} b The origin of the rotation\r\n * @param {Number} rad The angle of rotation in radians\r\n * @returns {vec3} out\r\n */\n\nexport function rotateX(out, a, b, rad) {\n var p = [],\n r = []; //Translate point to the origin\n\n p[0] = a[0] - b[0];\n p[1] = a[1] - b[1];\n p[2] = a[2] - b[2]; //perform rotation\n\n r[0] = p[0];\n r[1] = p[1] * Math.cos(rad) - p[2] * Math.sin(rad);\n r[2] = p[1] * Math.sin(rad) + p[2] * Math.cos(rad); //translate to correct position\n\n out[0] = r[0] + b[0];\n out[1] = r[1] + b[1];\n out[2] = r[2] + b[2];\n return out;\n}\n/**\r\n * Rotate a 3D vector around the y-axis\r\n * @param {vec3} out The receiving vec3\r\n * @param {ReadonlyVec3} a The vec3 point to rotate\r\n * @param {ReadonlyVec3} b The origin of the rotation\r\n * @param {Number} rad The angle of rotation in radians\r\n * @returns {vec3} out\r\n */\n\nexport function rotateY(out, a, b, rad) {\n var p = [],\n r = []; //Translate point to the origin\n\n p[0] = a[0] - b[0];\n p[1] = a[1] - b[1];\n p[2] = a[2] - b[2]; //perform rotation\n\n r[0] = p[2] * Math.sin(rad) + p[0] * Math.cos(rad);\n r[1] = p[1];\n r[2] = p[2] * Math.cos(rad) - p[0] * Math.sin(rad); //translate to correct position\n\n out[0] = r[0] + b[0];\n out[1] = r[1] + b[1];\n out[2] = r[2] + b[2];\n return out;\n}\n/**\r\n * Rotate a 3D vector around the z-axis\r\n * @param {vec3} out The receiving vec3\r\n * @param {ReadonlyVec3} a The vec3 point to rotate\r\n * @param {ReadonlyVec3} b The origin of the rotation\r\n * @param {Number} rad The angle of rotation in radians\r\n * @returns {vec3} out\r\n */\n\nexport function rotateZ(out, a, b, rad) {\n var p = [],\n r = []; //Translate point to the origin\n\n p[0] = a[0] - b[0];\n p[1] = a[1] - b[1];\n p[2] = a[2] - b[2]; //perform rotation\n\n r[0] = p[0] * Math.cos(rad) - p[1] * Math.sin(rad);\n r[1] = p[0] * Math.sin(rad) + p[1] * Math.cos(rad);\n r[2] = p[2]; //translate to correct position\n\n out[0] = r[0] + b[0];\n out[1] = r[1] + b[1];\n out[2] = r[2] + b[2];\n return out;\n}\n/**\r\n * Get the angle between two 3D vectors\r\n * @param {ReadonlyVec3} a The first operand\r\n * @param {ReadonlyVec3} b The second operand\r\n * @returns {Number} The angle in radians\r\n */\n\nexport function angle(a, b) {\n var ax = a[0],\n ay = a[1],\n az = a[2],\n bx = b[0],\n by = b[1],\n bz = b[2],\n mag1 = Math.sqrt(ax * ax + ay * ay + az * az),\n mag2 = Math.sqrt(bx * bx + by * by + bz * bz),\n mag = mag1 * mag2,\n cosine = mag && dot(a, b) / mag;\n return Math.acos(Math.min(Math.max(cosine, -1), 1));\n}\n/**\r\n * Set the components of a vec3 to zero\r\n *\r\n * @param {vec3} out the receiving vector\r\n * @returns {vec3} out\r\n */\n\nexport function zero(out) {\n out[0] = 0.0;\n out[1] = 0.0;\n out[2] = 0.0;\n return out;\n}\n/**\r\n * Returns a string representation of a vector\r\n *\r\n * @param {ReadonlyVec3} a vector to represent as a string\r\n * @returns {String} string representation of the vector\r\n */\n\nexport function str(a) {\n return \"vec3(\" + a[0] + \", \" + a[1] + \", \" + a[2] + \")\";\n}\n/**\r\n * Returns whether or not the vectors have exactly the same elements in the same position (when compared with ===)\r\n *\r\n * @param {ReadonlyVec3} a The first vector.\r\n * @param {ReadonlyVec3} b The second vector.\r\n * @returns {Boolean} True if the vectors are equal, false otherwise.\r\n */\n\nexport function exactEquals(a, b) {\n return a[0] === b[0] && a[1] === b[1] && a[2] === b[2];\n}\n/**\r\n * Returns whether or not the vectors have approximately the same elements in the same position.\r\n *\r\n * @param {ReadonlyVec3} a The first vector.\r\n * @param {ReadonlyVec3} b The second vector.\r\n * @returns {Boolean} True if the vectors are equal, false otherwise.\r\n */\n\nexport function equals(a, b) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2];\n var b0 = b[0],\n b1 = b[1],\n b2 = b[2];\n return Math.abs(a0 - b0) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1)) && Math.abs(a2 - b2) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a2), Math.abs(b2));\n}\n/**\r\n * Alias for {@link vec3.subtract}\r\n * @function\r\n */\n\nexport var sub = subtract;\n/**\r\n * Alias for {@link vec3.multiply}\r\n * @function\r\n */\n\nexport var mul = multiply;\n/**\r\n * Alias for {@link vec3.divide}\r\n * @function\r\n */\n\nexport var div = divide;\n/**\r\n * Alias for {@link vec3.distance}\r\n * @function\r\n */\n\nexport var dist = distance;\n/**\r\n * Alias for {@link vec3.squaredDistance}\r\n * @function\r\n */\n\nexport var sqrDist = squaredDistance;\n/**\r\n * Alias for {@link vec3.length}\r\n * @function\r\n */\n\nexport var len = length;\n/**\r\n * Alias for {@link vec3.squaredLength}\r\n * @function\r\n */\n\nexport var sqrLen = squaredLength;\n/**\r\n * Perform some operation over an array of vec3s.\r\n *\r\n * @param {Array} a the array of vectors to iterate over\r\n * @param {Number} stride Number of elements between the start of each vec3. If 0 assumes tightly packed\r\n * @param {Number} offset Number of elements to skip at the beginning of the array\r\n * @param {Number} count Number of vec3s to iterate over. If 0 iterates over entire array\r\n * @param {Function} fn Function to call for each vector in the array\r\n * @param {Object} [arg] additional argument to pass to fn\r\n * @returns {Array} a\r\n * @function\r\n */\n\nexport var forEach = function () {\n var vec = create();\n return function (a, stride, offset, count, fn, arg) {\n var i, l;\n\n if (!stride) {\n stride = 3;\n }\n\n if (!offset) {\n offset = 0;\n }\n\n if (count) {\n l = Math.min(count * stride + offset, a.length);\n } else {\n l = a.length;\n }\n\n for (i = offset; i < l; i += stride) {\n vec[0] = a[i];\n vec[1] = a[i + 1];\n vec[2] = a[i + 2];\n fn(vec, vec, arg);\n a[i] = vec[0];\n a[i + 1] = vec[1];\n a[i + 2] = vec[2];\n }\n\n return a;\n };\n}();" }, { "id": 61, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/vec4.js", "index": null, "index2": null, "size": 15614, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerId": null, "issuerName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": 42, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/shape.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js", "profile": { "factory": 144, "building": 354, "dependencies": 2 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "name": "./node_modules/_@antv_matrix-util@3.1.0-beta.2@@antv/matrix-util/esm/index.js", "profile": { "factory": 307, "building": 24 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "name": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/index.js", "profile": { "factory": 281, "building": 10, "dependencies": 23 } } ], "profile": { "factory": 4, "building": 629, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony side effect evaluation", "userRequest": "./vec4.js", "loc": "10:0-34" }, { "moduleId": 25, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js 3886518b84665dae238171053069608e", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/element.js + 6 modules", "type": "harmony export imported specifier", "userRequest": "./vec4.js", "loc": "11:0-76" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony side effect evaluation", "userRequest": "./vec4.js", "loc": "4:0-34" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec4.js", "loc": "479:19-29" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec4.js", "loc": "491:24-39" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec4.js", "loc": "501:18-27" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec4.js", "loc": "514:17-25" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec4.js", "loc": "525:17-25" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec4.js", "loc": "542:19-29" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec4.js", "loc": "552:17-25" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec4.js", "loc": "564:18-27" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec4.js", "loc": "572:20-31" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec4.js", "loc": "587:27-45" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec4.js", "loc": "603:23-37" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec4.js", "loc": "612:25-41" }, { "moduleId": 58, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "module": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "moduleName": "./node_modules/_gl-matrix@3.3.0@gl-matrix/esm/quat.js", "type": "harmony import specifier", "userRequest": "./vec4.js", "loc": "621:20-31" } ], "usedExports": false, "providedExports": [ "create", "clone", "fromValues", "copy", "set", "add", "subtract", "multiply", "divide", "ceil", "floor", "min", "max", "round", "scale", "scaleAndAdd", "distance", "squaredDistance", "length", "squaredLength", "negate", "inverse", "normalize", "dot", "cross", "lerp", "random", "transformMat4", "transformQuat", "zero", "str", "exactEquals", "equals", "sub", "mul", "div", "dist", "sqrDist", "len", "sqrLen", "forEach" ], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 7, "source": "import * as glMatrix from \"./common.js\";\n/**\r\n * 4 Dimensional Vector\r\n * @module vec4\r\n */\n\n/**\r\n * Creates a new, empty vec4\r\n *\r\n * @returns {vec4} a new 4D vector\r\n */\n\nexport function create() {\n var out = new glMatrix.ARRAY_TYPE(4);\n\n if (glMatrix.ARRAY_TYPE != Float32Array) {\n out[0] = 0;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n }\n\n return out;\n}\n/**\r\n * Creates a new vec4 initialized with values from an existing vector\r\n *\r\n * @param {ReadonlyVec4} a vector to clone\r\n * @returns {vec4} a new 4D vector\r\n */\n\nexport function clone(a) {\n var out = new glMatrix.ARRAY_TYPE(4);\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[3];\n return out;\n}\n/**\r\n * Creates a new vec4 initialized with the given values\r\n *\r\n * @param {Number} x X component\r\n * @param {Number} y Y component\r\n * @param {Number} z Z component\r\n * @param {Number} w W component\r\n * @returns {vec4} a new 4D vector\r\n */\n\nexport function fromValues(x, y, z, w) {\n var out = new glMatrix.ARRAY_TYPE(4);\n out[0] = x;\n out[1] = y;\n out[2] = z;\n out[3] = w;\n return out;\n}\n/**\r\n * Copy the values from one vec4 to another\r\n *\r\n * @param {vec4} out the receiving vector\r\n * @param {ReadonlyVec4} a the source vector\r\n * @returns {vec4} out\r\n */\n\nexport function copy(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[3];\n return out;\n}\n/**\r\n * Set the components of a vec4 to the given values\r\n *\r\n * @param {vec4} out the receiving vector\r\n * @param {Number} x X component\r\n * @param {Number} y Y component\r\n * @param {Number} z Z component\r\n * @param {Number} w W component\r\n * @returns {vec4} out\r\n */\n\nexport function set(out, x, y, z, w) {\n out[0] = x;\n out[1] = y;\n out[2] = z;\n out[3] = w;\n return out;\n}\n/**\r\n * Adds two vec4's\r\n *\r\n * @param {vec4} out the receiving vector\r\n * @param {ReadonlyVec4} a the first operand\r\n * @param {ReadonlyVec4} b the second operand\r\n * @returns {vec4} out\r\n */\n\nexport function add(out, a, b) {\n out[0] = a[0] + b[0];\n out[1] = a[1] + b[1];\n out[2] = a[2] + b[2];\n out[3] = a[3] + b[3];\n return out;\n}\n/**\r\n * Subtracts vector b from vector a\r\n *\r\n * @param {vec4} out the receiving vector\r\n * @param {ReadonlyVec4} a the first operand\r\n * @param {ReadonlyVec4} b the second operand\r\n * @returns {vec4} out\r\n */\n\nexport function subtract(out, a, b) {\n out[0] = a[0] - b[0];\n out[1] = a[1] - b[1];\n out[2] = a[2] - b[2];\n out[3] = a[3] - b[3];\n return out;\n}\n/**\r\n * Multiplies two vec4's\r\n *\r\n * @param {vec4} out the receiving vector\r\n * @param {ReadonlyVec4} a the first operand\r\n * @param {ReadonlyVec4} b the second operand\r\n * @returns {vec4} out\r\n */\n\nexport function multiply(out, a, b) {\n out[0] = a[0] * b[0];\n out[1] = a[1] * b[1];\n out[2] = a[2] * b[2];\n out[3] = a[3] * b[3];\n return out;\n}\n/**\r\n * Divides two vec4's\r\n *\r\n * @param {vec4} out the receiving vector\r\n * @param {ReadonlyVec4} a the first operand\r\n * @param {ReadonlyVec4} b the second operand\r\n * @returns {vec4} out\r\n */\n\nexport function divide(out, a, b) {\n out[0] = a[0] / b[0];\n out[1] = a[1] / b[1];\n out[2] = a[2] / b[2];\n out[3] = a[3] / b[3];\n return out;\n}\n/**\r\n * Math.ceil the components of a vec4\r\n *\r\n * @param {vec4} out the receiving vector\r\n * @param {ReadonlyVec4} a vector to ceil\r\n * @returns {vec4} out\r\n */\n\nexport function ceil(out, a) {\n out[0] = Math.ceil(a[0]);\n out[1] = Math.ceil(a[1]);\n out[2] = Math.ceil(a[2]);\n out[3] = Math.ceil(a[3]);\n return out;\n}\n/**\r\n * Math.floor the components of a vec4\r\n *\r\n * @param {vec4} out the receiving vector\r\n * @param {ReadonlyVec4} a vector to floor\r\n * @returns {vec4} out\r\n */\n\nexport function floor(out, a) {\n out[0] = Math.floor(a[0]);\n out[1] = Math.floor(a[1]);\n out[2] = Math.floor(a[2]);\n out[3] = Math.floor(a[3]);\n return out;\n}\n/**\r\n * Returns the minimum of two vec4's\r\n *\r\n * @param {vec4} out the receiving vector\r\n * @param {ReadonlyVec4} a the first operand\r\n * @param {ReadonlyVec4} b the second operand\r\n * @returns {vec4} out\r\n */\n\nexport function min(out, a, b) {\n out[0] = Math.min(a[0], b[0]);\n out[1] = Math.min(a[1], b[1]);\n out[2] = Math.min(a[2], b[2]);\n out[3] = Math.min(a[3], b[3]);\n return out;\n}\n/**\r\n * Returns the maximum of two vec4's\r\n *\r\n * @param {vec4} out the receiving vector\r\n * @param {ReadonlyVec4} a the first operand\r\n * @param {ReadonlyVec4} b the second operand\r\n * @returns {vec4} out\r\n */\n\nexport function max(out, a, b) {\n out[0] = Math.max(a[0], b[0]);\n out[1] = Math.max(a[1], b[1]);\n out[2] = Math.max(a[2], b[2]);\n out[3] = Math.max(a[3], b[3]);\n return out;\n}\n/**\r\n * Math.round the components of a vec4\r\n *\r\n * @param {vec4} out the receiving vector\r\n * @param {ReadonlyVec4} a vector to round\r\n * @returns {vec4} out\r\n */\n\nexport function round(out, a) {\n out[0] = Math.round(a[0]);\n out[1] = Math.round(a[1]);\n out[2] = Math.round(a[2]);\n out[3] = Math.round(a[3]);\n return out;\n}\n/**\r\n * Scales a vec4 by a scalar number\r\n *\r\n * @param {vec4} out the receiving vector\r\n * @param {ReadonlyVec4} a the vector to scale\r\n * @param {Number} b amount to scale the vector by\r\n * @returns {vec4} out\r\n */\n\nexport function scale(out, a, b) {\n out[0] = a[0] * b;\n out[1] = a[1] * b;\n out[2] = a[2] * b;\n out[3] = a[3] * b;\n return out;\n}\n/**\r\n * Adds two vec4's after scaling the second operand by a scalar value\r\n *\r\n * @param {vec4} out the receiving vector\r\n * @param {ReadonlyVec4} a the first operand\r\n * @param {ReadonlyVec4} b the second operand\r\n * @param {Number} scale the amount to scale b by before adding\r\n * @returns {vec4} out\r\n */\n\nexport function scaleAndAdd(out, a, b, scale) {\n out[0] = a[0] + b[0] * scale;\n out[1] = a[1] + b[1] * scale;\n out[2] = a[2] + b[2] * scale;\n out[3] = a[3] + b[3] * scale;\n return out;\n}\n/**\r\n * Calculates the euclidian distance between two vec4's\r\n *\r\n * @param {ReadonlyVec4} a the first operand\r\n * @param {ReadonlyVec4} b the second operand\r\n * @returns {Number} distance between a and b\r\n */\n\nexport function distance(a, b) {\n var x = b[0] - a[0];\n var y = b[1] - a[1];\n var z = b[2] - a[2];\n var w = b[3] - a[3];\n return Math.hypot(x, y, z, w);\n}\n/**\r\n * Calculates the squared euclidian distance between two vec4's\r\n *\r\n * @param {ReadonlyVec4} a the first operand\r\n * @param {ReadonlyVec4} b the second operand\r\n * @returns {Number} squared distance between a and b\r\n */\n\nexport function squaredDistance(a, b) {\n var x = b[0] - a[0];\n var y = b[1] - a[1];\n var z = b[2] - a[2];\n var w = b[3] - a[3];\n return x * x + y * y + z * z + w * w;\n}\n/**\r\n * Calculates the length of a vec4\r\n *\r\n * @param {ReadonlyVec4} a vector to calculate length of\r\n * @returns {Number} length of a\r\n */\n\nexport function length(a) {\n var x = a[0];\n var y = a[1];\n var z = a[2];\n var w = a[3];\n return Math.hypot(x, y, z, w);\n}\n/**\r\n * Calculates the squared length of a vec4\r\n *\r\n * @param {ReadonlyVec4} a vector to calculate squared length of\r\n * @returns {Number} squared length of a\r\n */\n\nexport function squaredLength(a) {\n var x = a[0];\n var y = a[1];\n var z = a[2];\n var w = a[3];\n return x * x + y * y + z * z + w * w;\n}\n/**\r\n * Negates the components of a vec4\r\n *\r\n * @param {vec4} out the receiving vector\r\n * @param {ReadonlyVec4} a vector to negate\r\n * @returns {vec4} out\r\n */\n\nexport function negate(out, a) {\n out[0] = -a[0];\n out[1] = -a[1];\n out[2] = -a[2];\n out[3] = -a[3];\n return out;\n}\n/**\r\n * Returns the inverse of the components of a vec4\r\n *\r\n * @param {vec4} out the receiving vector\r\n * @param {ReadonlyVec4} a vector to invert\r\n * @returns {vec4} out\r\n */\n\nexport function inverse(out, a) {\n out[0] = 1.0 / a[0];\n out[1] = 1.0 / a[1];\n out[2] = 1.0 / a[2];\n out[3] = 1.0 / a[3];\n return out;\n}\n/**\r\n * Normalize a vec4\r\n *\r\n * @param {vec4} out the receiving vector\r\n * @param {ReadonlyVec4} a vector to normalize\r\n * @returns {vec4} out\r\n */\n\nexport function normalize(out, a) {\n var x = a[0];\n var y = a[1];\n var z = a[2];\n var w = a[3];\n var len = x * x + y * y + z * z + w * w;\n\n if (len > 0) {\n len = 1 / Math.sqrt(len);\n }\n\n out[0] = x * len;\n out[1] = y * len;\n out[2] = z * len;\n out[3] = w * len;\n return out;\n}\n/**\r\n * Calculates the dot product of two vec4's\r\n *\r\n * @param {ReadonlyVec4} a the first operand\r\n * @param {ReadonlyVec4} b the second operand\r\n * @returns {Number} dot product of a and b\r\n */\n\nexport function dot(a, b) {\n return a[0] * b[0] + a[1] * b[1] + a[2] * b[2] + a[3] * b[3];\n}\n/**\r\n * Returns the cross-product of three vectors in a 4-dimensional space\r\n *\r\n * @param {ReadonlyVec4} result the receiving vector\r\n * @param {ReadonlyVec4} U the first vector\r\n * @param {ReadonlyVec4} V the second vector\r\n * @param {ReadonlyVec4} W the third vector\r\n * @returns {vec4} result\r\n */\n\nexport function cross(out, u, v, w) {\n var A = v[0] * w[1] - v[1] * w[0],\n B = v[0] * w[2] - v[2] * w[0],\n C = v[0] * w[3] - v[3] * w[0],\n D = v[1] * w[2] - v[2] * w[1],\n E = v[1] * w[3] - v[3] * w[1],\n F = v[2] * w[3] - v[3] * w[2];\n var G = u[0];\n var H = u[1];\n var I = u[2];\n var J = u[3];\n out[0] = H * F - I * E + J * D;\n out[1] = -(G * F) + I * C - J * B;\n out[2] = G * E - H * C + J * A;\n out[3] = -(G * D) + H * B - I * A;\n return out;\n}\n/**\r\n * Performs a linear interpolation between two vec4's\r\n *\r\n * @param {vec4} out the receiving vector\r\n * @param {ReadonlyVec4} a the first operand\r\n * @param {ReadonlyVec4} b the second operand\r\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\r\n * @returns {vec4} out\r\n */\n\nexport function lerp(out, a, b, t) {\n var ax = a[0];\n var ay = a[1];\n var az = a[2];\n var aw = a[3];\n out[0] = ax + t * (b[0] - ax);\n out[1] = ay + t * (b[1] - ay);\n out[2] = az + t * (b[2] - az);\n out[3] = aw + t * (b[3] - aw);\n return out;\n}\n/**\r\n * Generates a random vector with the given scale\r\n *\r\n * @param {vec4} out the receiving vector\r\n * @param {Number} [scale] Length of the resulting vector. If ommitted, a unit vector will be returned\r\n * @returns {vec4} out\r\n */\n\nexport function random(out, scale) {\n scale = scale || 1.0; // Marsaglia, George. Choosing a Point from the Surface of a\n // Sphere. Ann. Math. Statist. 43 (1972), no. 2, 645--646.\n // http://projecteuclid.org/euclid.aoms/1177692644;\n\n var v1, v2, v3, v4;\n var s1, s2;\n\n do {\n v1 = glMatrix.RANDOM() * 2 - 1;\n v2 = glMatrix.RANDOM() * 2 - 1;\n s1 = v1 * v1 + v2 * v2;\n } while (s1 >= 1);\n\n do {\n v3 = glMatrix.RANDOM() * 2 - 1;\n v4 = glMatrix.RANDOM() * 2 - 1;\n s2 = v3 * v3 + v4 * v4;\n } while (s2 >= 1);\n\n var d = Math.sqrt((1 - s1) / s2);\n out[0] = scale * v1;\n out[1] = scale * v2;\n out[2] = scale * v3 * d;\n out[3] = scale * v4 * d;\n return out;\n}\n/**\r\n * Transforms the vec4 with a mat4.\r\n *\r\n * @param {vec4} out the receiving vector\r\n * @param {ReadonlyVec4} a the vector to transform\r\n * @param {ReadonlyMat4} m matrix to transform with\r\n * @returns {vec4} out\r\n */\n\nexport function transformMat4(out, a, m) {\n var x = a[0],\n y = a[1],\n z = a[2],\n w = a[3];\n out[0] = m[0] * x + m[4] * y + m[8] * z + m[12] * w;\n out[1] = m[1] * x + m[5] * y + m[9] * z + m[13] * w;\n out[2] = m[2] * x + m[6] * y + m[10] * z + m[14] * w;\n out[3] = m[3] * x + m[7] * y + m[11] * z + m[15] * w;\n return out;\n}\n/**\r\n * Transforms the vec4 with a quat\r\n *\r\n * @param {vec4} out the receiving vector\r\n * @param {ReadonlyVec4} a the vector to transform\r\n * @param {ReadonlyQuat} q quaternion to transform with\r\n * @returns {vec4} out\r\n */\n\nexport function transformQuat(out, a, q) {\n var x = a[0],\n y = a[1],\n z = a[2];\n var qx = q[0],\n qy = q[1],\n qz = q[2],\n qw = q[3]; // calculate quat * vec\n\n var ix = qw * x + qy * z - qz * y;\n var iy = qw * y + qz * x - qx * z;\n var iz = qw * z + qx * y - qy * x;\n var iw = -qx * x - qy * y - qz * z; // calculate result * inverse quat\n\n out[0] = ix * qw + iw * -qx + iy * -qz - iz * -qy;\n out[1] = iy * qw + iw * -qy + iz * -qx - ix * -qz;\n out[2] = iz * qw + iw * -qz + ix * -qy - iy * -qx;\n out[3] = a[3];\n return out;\n}\n/**\r\n * Set the components of a vec4 to zero\r\n *\r\n * @param {vec4} out the receiving vector\r\n * @returns {vec4} out\r\n */\n\nexport function zero(out) {\n out[0] = 0.0;\n out[1] = 0.0;\n out[2] = 0.0;\n out[3] = 0.0;\n return out;\n}\n/**\r\n * Returns a string representation of a vector\r\n *\r\n * @param {ReadonlyVec4} a vector to represent as a string\r\n * @returns {String} string representation of the vector\r\n */\n\nexport function str(a) {\n return \"vec4(\" + a[0] + \", \" + a[1] + \", \" + a[2] + \", \" + a[3] + \")\";\n}\n/**\r\n * Returns whether or not the vectors have exactly the same elements in the same position (when compared with ===)\r\n *\r\n * @param {ReadonlyVec4} a The first vector.\r\n * @param {ReadonlyVec4} b The second vector.\r\n * @returns {Boolean} True if the vectors are equal, false otherwise.\r\n */\n\nexport function exactEquals(a, b) {\n return a[0] === b[0] && a[1] === b[1] && a[2] === b[2] && a[3] === b[3];\n}\n/**\r\n * Returns whether or not the vectors have approximately the same elements in the same position.\r\n *\r\n * @param {ReadonlyVec4} a The first vector.\r\n * @param {ReadonlyVec4} b The second vector.\r\n * @returns {Boolean} True if the vectors are equal, false otherwise.\r\n */\n\nexport function equals(a, b) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2],\n a3 = a[3];\n var b0 = b[0],\n b1 = b[1],\n b2 = b[2],\n b3 = b[3];\n return Math.abs(a0 - b0) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1)) && Math.abs(a2 - b2) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a2), Math.abs(b2)) && Math.abs(a3 - b3) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a3), Math.abs(b3));\n}\n/**\r\n * Alias for {@link vec4.subtract}\r\n * @function\r\n */\n\nexport var sub = subtract;\n/**\r\n * Alias for {@link vec4.multiply}\r\n * @function\r\n */\n\nexport var mul = multiply;\n/**\r\n * Alias for {@link vec4.divide}\r\n * @function\r\n */\n\nexport var div = divide;\n/**\r\n * Alias for {@link vec4.distance}\r\n * @function\r\n */\n\nexport var dist = distance;\n/**\r\n * Alias for {@link vec4.squaredDistance}\r\n * @function\r\n */\n\nexport var sqrDist = squaredDistance;\n/**\r\n * Alias for {@link vec4.length}\r\n * @function\r\n */\n\nexport var len = length;\n/**\r\n * Alias for {@link vec4.squaredLength}\r\n * @function\r\n */\n\nexport var sqrLen = squaredLength;\n/**\r\n * Perform some operation over an array of vec4s.\r\n *\r\n * @param {Array} a the array of vectors to iterate over\r\n * @param {Number} stride Number of elements between the start of each vec4. If 0 assumes tightly packed\r\n * @param {Number} offset Number of elements to skip at the beginning of the array\r\n * @param {Number} count Number of vec4s to iterate over. If 0 iterates over entire array\r\n * @param {Function} fn Function to call for each vector in the array\r\n * @param {Object} [arg] additional argument to pass to fn\r\n * @returns {Array} a\r\n * @function\r\n */\n\nexport var forEach = function () {\n var vec = create();\n return function (a, stride, offset, count, fn, arg) {\n var i, l;\n\n if (!stride) {\n stride = 4;\n }\n\n if (!offset) {\n offset = 0;\n }\n\n if (count) {\n l = Math.min(count * stride + offset, a.length);\n } else {\n l = a.length;\n }\n\n for (i = offset; i < l; i += stride) {\n vec[0] = a[i];\n vec[1] = a[i + 1];\n vec[2] = a[i + 2];\n vec[3] = a[i + 3];\n fn(vec, vec, arg);\n a[i] = vec[0];\n a[i + 1] = vec[1];\n a[i + 2] = vec[2];\n a[i + 3] = vec[3];\n }\n\n return a;\n };\n}();" }, { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "index": 0, "index2": 258, "size": 1204, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "profile": { "factory": 43, "building": 386 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": null, "module": null, "moduleName": null, "type": "single entry", "userRequest": "./src/index.ts", "loc": "g6-core" } ], "usedExports": true, "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module exports are unknown"], "depth": 0, "source": "import Behaviors from './behavior';\nimport AbstractGraph from './graph/graph';\nimport Shape, { Arrow, Marker } from './shape';\nimport Global from './global';\nimport Util from './util';\n// 用于 PC 和 Mobile 端分别实现 layout 和 updateLayoutCfg 方法\nimport AbstractLayout from './graph/controller/layout';\nimport AbstractEvent from './graph/controller/event';\nvar registerNode = Shape.registerNode;\nvar registerEdge = Shape.registerEdge;\nvar registerCombo = Shape.registerCombo;\nvar registerBehavior = Behaviors.registerBehavior;\nexport { registerNode, registerCombo, AbstractGraph, Util, registerEdge, registerBehavior, AbstractLayout, AbstractEvent, };\nexport * from './types';\nexport * from './interface/graph';\nexport * from './interface/item';\nexport * from './interface/shape';\nexport * from './interface/behavior';\nexport default {\n version: Global.version,\n AbstractGraph: AbstractGraph,\n Util: Util,\n registerNode: Shape.registerNode,\n registerEdge: Shape.registerEdge,\n registerCombo: Shape.registerCombo,\n registerBehavior: Behaviors.registerBehavior,\n Arrow: Arrow,\n Marker: Marker,\n AbstractLayout: AbstractLayout,\n AbstractEvent: AbstractEvent,\n};\n" }, { "id": 63, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/package.json", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/package.json", "index": 141, "index2": 134, "size": 2249, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerId": 49, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } } ], "profile": { "factory": 1680, "building": 569, "dependencies": 582 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 49, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "type": "cjs require", "userRequest": "../package.json", "loc": "7:10-36" } ], "usedExports": true, "providedExports": [ "name", "version", "description", "main", "module", "types", "files", "scripts", "repository", "keywords", "publishConfig", "author", "license", "bugs", "devDependencies", "homepage", "dependencies", "__npminstall_done", "gitHead", "_from", "_resolved", "default" ], "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 3, "source": "{\n \"name\": \"@antv/g-base\",\n \"version\": \"0.5.1\",\n \"description\": \"A common util collection for antv projects\",\n \"main\": \"lib/index.js\",\n \"module\": \"esm/index.js\",\n \"types\": \"lib/index.d.ts\",\n \"files\": [\n \"package.json\",\n \"esm\",\n \"lib\",\n \"LICENSE\",\n \"README.md\"\n ],\n \"scripts\": {\n \"build\": \"npm run clean && run-p build:*\",\n \"build:esm\": \"tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm\",\n \"build:cjs\": \"tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib\",\n \"clean\": \"rm -rf esm lib\",\n \"watch:cjs\": \"tsc-watch -p tsconfig.json --target ES5 --module commonjs --outDir lib --compiler typescript/bin/tsc\",\n \"coverage\": \"npm run coverage-generator && npm run coverage-viewer\",\n \"coverage-generator\": \"torch --coverage --compile --source-pattern src/*.js,src/**/*.js --opts tests/mocha.opts\",\n \"coverage-viewer\": \"torch-coverage\",\n \"test\": \"torch --renderer --compile --opts tests/mocha.opts\",\n \"test-live\": \"torch --compile --interactive tests/unit\",\n \"tsc\": \"tsc --noEmit\",\n \"typecheck\": \"tsc --noEmit\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/antvis/util.git\"\n },\n \"keywords\": [\n \"util\",\n \"antv\",\n \"g\"\n ],\n \"publishConfig\": {\n \"access\": \"public\"\n },\n \"author\": \"https://github.com/orgs/antvis/people\",\n \"license\": \"ISC\",\n \"bugs\": {\n \"url\": \"https://github.com/antvis/util/issues\"\n },\n \"devDependencies\": {\n \"@antv/torch\": \"^1.0.0\",\n \"gl-matrix\": \"^3.0.0\",\n \"less\": \"^3.9.0\",\n \"npm-run-all\": \"^4.1.5\",\n \"tsc-watch\": \"^4.0.0\"\n },\n \"homepage\": \"https://github.com/antvis/util#readme\",\n \"dependencies\": {\n \"@antv/event-emitter\": \"^0.1.1\",\n \"@antv/g-math\": \"^0.1.5\",\n \"@antv/matrix-util\": \"^3.1.0-beta.1\",\n \"@antv/path-util\": \"~2.0.5\",\n \"@antv/util\": \"~2.0.0\",\n \"@types/d3-timer\": \"^1.0.9\",\n \"d3-ease\": \"^1.0.5\",\n \"d3-interpolate\": \"^1.3.2\",\n \"d3-timer\": \"^1.0.9\",\n \"detect-browser\": \"^5.1.0\"\n },\n \"__npminstall_done\": \"Mon Dec 14 2020 11:11:47 GMT+0800 (GMT+08:00)\",\n \"gitHead\": \"ba7ecf8b8deac37682414ac0b7fc2c3e903398bd\",\n \"_from\": \"@antv/g-base@0.5.1\",\n \"_resolved\": \"https://registry.npm.alibaba-inc.com/@antv/g-base/download/@antv/g-base-0.5.1.tgz\"\n}" }, { "id": 64, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/to-string.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/to-string.js", "index": 156, "index2": 146, "size": 226, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/upper-first.js", "issuerId": 40, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/upper-first.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": 7, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/util/util.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 40, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/upper-first.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/upper-first.js", "profile": { "factory": 568, "building": 31, "dependencies": 0 } } ], "profile": { "factory": 48, "building": 7, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 40, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/upper-first.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/upper-first.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/upper-first.js", "type": "cjs require", "userRequest": "./to-string", "loc": "7:18-40" } ], "usedExports": true, "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 6, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar is_nil_1 = require(\"./is-nil\");\n\nexports.default = function (value) {\n if (is_nil_1.default(value)) return '';\n return value.toString();\n};" }, { "id": 65, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_process@0.11.10@process/browser.js", "name": "./node_modules/_process@0.11.10@process/browser.js", "index": 199, "index2": 190, "size": 5081, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_detect-browser@5.2.0@detect-browser/es/index.js", "issuerId": 50, "issuerName": "./node_modules/_detect-browser@5.2.0@detect-browser/es/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": 50, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_detect-browser@5.2.0@detect-browser/es/index.js", "name": "./node_modules/_detect-browser@5.2.0@detect-browser/es/index.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } } ], "profile": { "factory": 5, "building": 45 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 50, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_detect-browser@5.2.0@detect-browser/es/index.js", "module": "./node_modules/_detect-browser@5.2.0@detect-browser/es/index.js", "moduleName": "./node_modules/_detect-browser@5.2.0@detect-browser/es/index.js", "type": "cjs require", "userRequest": "process", "loc": "1:0-54" } ], "usedExports": true, "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 5, "source": "// shim for using process in browser\nvar process = module.exports = {}; // cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\n\nfunction defaultClearTimeout() {\n throw new Error('clearTimeout has not been defined');\n}\n\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n})();\n\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n } // if setTimeout wasn't available but was latter defined\n\n\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n}\n\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n } // if clearTimeout wasn't available but was latter defined\n\n\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n}\n\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n\n draining = false;\n\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n var len = queue.length;\n\n while (len) {\n currentQueue = queue;\n queue = [];\n\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n\n queueIndex = -1;\n len = queue.length;\n }\n\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n\n queue.push(new Item(fun, args));\n\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n}; // v8 likes predictible objects\n\n\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\n\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\n\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\n\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) {\n return [];\n};\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () {\n return '/';\n};\n\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\n\nprocess.umask = function () {\n return 0;\n};" }, { "id": 66, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-object-like.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-object-like.js", "index": 219, "index2": 213, "size": 751, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "issuerId": 51, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path-by-diff.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path-by-diff.js", "profile": { "factory": 1578, "building": 488, "dependencies": 365 } }, { "id": 51, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "profile": { "factory": 516, "building": 47, "dependencies": 1 } } ], "profile": { "factory": 529, "building": 15 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 51, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "type": "cjs require", "userRequest": "./is-object-like", "loc": "7:23-50" } ], "usedExports": true, "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 6, "source": "\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar isObjectLike = function isObjectLike(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\nexports.default = isObjectLike;" }, { "id": 67, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array-like.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-array-like.js", "index": 220, "index2": 214, "size": 410, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [0], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "issuerId": 51, "issuerName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 31, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/index.ts", "name": "./src/util/index.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 9, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/util/path.ts", "name": "./src/util/path.ts", "profile": { "factory": 3034, "building": 905, "dependencies": 1815 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/index.js", "profile": { "factory": 1816, "building": 790 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path-by-diff.js", "name": "./node_modules/_@antv_path-util@2.0.8@@antv/path-util/esm/fill-path-by-diff.js", "profile": { "factory": 1578, "building": 488, "dependencies": 365 } }, { "id": 51, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "name": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "profile": { "factory": 516, "building": 47, "dependencies": 1 } } ], "profile": { "factory": 529, "building": 15 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 51, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "module": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "moduleName": "./node_modules/_@antv_util@2.0.9@@antv/util/lib/is-equal.js", "type": "cjs require", "userRequest": "./is-array-like", "loc": "9:22-48" } ], "usedExports": true, "providedExports": null, "optimizationBailout": ["ModuleConcatenation bailout: Module is not an ECMAScript module"], "depth": 6, "source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar isArrayLike = function isArrayLike(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\nexports.default = isArrayLike;" }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "index": null, "index2": null, "size": 1438, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "issuerId": null, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } } ], "profile": { "factory": 427, "building": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "d3-interpolate", "loc": "4:0-63" } ], "usedExports": false, "providedExports": [ "interpolate", "interpolateArray", "interpolateBasis", "interpolateBasisClosed", "interpolateDate", "interpolateDiscrete", "interpolateHue", "interpolateNumber", "interpolateNumberArray", "interpolateObject", "interpolateRound", "interpolateString", "interpolateTransformCss", "interpolateTransformSvg", "interpolateZoom", "interpolateRgb", "interpolateRgbBasis", "interpolateRgbBasisClosed", "interpolateHsl", "interpolateHslLong", "interpolateLab", "interpolateHcl", "interpolateHclLong", "interpolateCubehelix", "interpolateCubehelixLong", "piecewise", "quantize" ], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 5, "source": "export { default as interpolate } from \"./value.js\";\nexport { default as interpolateArray } from \"./array.js\";\nexport { default as interpolateBasis } from \"./basis.js\";\nexport { default as interpolateBasisClosed } from \"./basisClosed.js\";\nexport { default as interpolateDate } from \"./date.js\";\nexport { default as interpolateDiscrete } from \"./discrete.js\";\nexport { default as interpolateHue } from \"./hue.js\";\nexport { default as interpolateNumber } from \"./number.js\";\nexport { default as interpolateNumberArray } from \"./numberArray.js\";\nexport { default as interpolateObject } from \"./object.js\";\nexport { default as interpolateRound } from \"./round.js\";\nexport { default as interpolateString } from \"./string.js\";\nexport { interpolateTransformCss, interpolateTransformSvg } from \"./transform/index.js\";\nexport { default as interpolateZoom } from \"./zoom.js\";\nexport { default as interpolateRgb, rgbBasis as interpolateRgbBasis, rgbBasisClosed as interpolateRgbBasisClosed } from \"./rgb.js\";\nexport { default as interpolateHsl, hslLong as interpolateHslLong } from \"./hsl.js\";\nexport { default as interpolateLab } from \"./lab.js\";\nexport { default as interpolateHcl, hclLong as interpolateHclLong } from \"./hcl.js\";\nexport { default as interpolateCubehelix, cubehelixLong as interpolateCubehelixLong } from \"./cubehelix.js\";\nexport { default as piecewise } from \"./piecewise.js\";\nexport { default as quantize } from \"./quantize.js\";" }, { "id": 69, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "name": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "index": null, "index2": null, "size": 156, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "issuerId": null, "issuerName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } } ], "profile": { "factory": 427, "building": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 47, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js 57da4049988bcb1c0b4908a0d9beaa92", "module": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "moduleName": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js + 30 modules", "type": "harmony side effect evaluation", "userRequest": "d3-timer", "loc": "2:0-36" } ], "usedExports": false, "providedExports": ["now", "timer", "timerFlush", "timeout", "interval"], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 5, "source": "export { now, timer, timerFlush } from \"./timer.js\";\nexport { default as timeout } from \"./timeout.js\";\nexport { default as interval } from \"./interval.js\";" }, { "id": 70, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "name": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "index": null, "index2": null, "size": 1886, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "issuerId": 54, "issuerName": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "profile": { "factory": 23, "building": 208, "dependencies": 122 } }, { "id": 54, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "name": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "profile": { "factory": 151, "building": 80 } } ], "profile": { "factory": 377, "building": 249, "dependencies": 42 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 54, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./cubehelix.js", "loc": "3:0-54" }, { "moduleId": 54, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubehelix.js", "loc": "3:0-54" }, { "moduleId": 73, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "9:27-41" }, { "moduleId": 73, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "9:60-74" } ], "usedExports": false, "providedExports": ["default", "Cubehelix"], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 8, "source": "import define, { extend } from \"./define.js\";\nimport { Color, rgbConvert, Rgb, darker as _darker, brighter as _brighter } from \"./color.js\";\nimport { deg2rad, rad2deg } from \"./math.js\";\nvar A = -0.14861,\n B = +1.78277,\n C = -0.29227,\n D = -0.90649,\n E = +1.97294,\n ED = E * D,\n EB = E * B,\n BC_DA = B * C - D * A;\n\nfunction cubehelixConvert(o) {\n if (o instanceof Cubehelix) return new Cubehelix(o.h, o.s, o.l, o.opacity);\n if (!(o instanceof Rgb)) o = rgbConvert(o);\n var r = o.r / 255,\n g = o.g / 255,\n b = o.b / 255,\n l = (BC_DA * b + ED * r - EB * g) / (BC_DA + ED - EB),\n bl = b - l,\n k = (E * (g - l) - C * bl) / D,\n s = Math.sqrt(k * k + bl * bl) / (E * l * (1 - l)),\n // NaN if l=0 or l=1\n h = s ? Math.atan2(k, bl) * rad2deg - 120 : NaN;\n return new Cubehelix(h < 0 ? h + 360 : h, s, l, o.opacity);\n}\n\nexport default function cubehelix(h, s, l, opacity) {\n return arguments.length === 1 ? cubehelixConvert(h) : new Cubehelix(h, s, l, opacity == null ? 1 : opacity);\n}\nexport function Cubehelix(h, s, l, opacity) {\n this.h = +h;\n this.s = +s;\n this.l = +l;\n this.opacity = +opacity;\n}\ndefine(Cubehelix, cubehelix, extend(Color, {\n brighter: function brighter(k) {\n k = k == null ? _brighter : Math.pow(_brighter, k);\n return new Cubehelix(this.h, this.s, this.l * k, this.opacity);\n },\n darker: function darker(k) {\n k = k == null ? _darker : Math.pow(_darker, k);\n return new Cubehelix(this.h, this.s, this.l * k, this.opacity);\n },\n rgb: function rgb() {\n var h = isNaN(this.h) ? 0 : (this.h + 120) * deg2rad,\n l = +this.l,\n a = isNaN(this.s) ? 0 : this.s * l * (1 - l),\n cosh = Math.cos(h),\n sinh = Math.sin(h);\n return new Rgb(255 * (l + a * (A * cosh + B * sinh)), 255 * (l + a * (C * cosh + D * sinh)), 255 * (l + a * (E * cosh)), this.opacity);\n }\n}));" }, { "id": 71, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "name": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "index": null, "index2": null, "size": 3680, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "issuerId": 54, "issuerName": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "profile": { "factory": 23, "building": 208, "dependencies": 122 } }, { "id": 54, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "name": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "profile": { "factory": 151, "building": 80 } } ], "profile": { "factory": 377, "building": 249, "dependencies": 42 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 54, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./lab.js", "loc": "2:0-58" }, { "moduleId": 54, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./lab.js", "loc": "2:0-58" }, { "moduleId": 54, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./lab.js", "loc": "2:0-58" }, { "moduleId": 54, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./lab.js", "loc": "2:0-58" }, { "moduleId": 54, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./lab.js", "loc": "2:0-58" }, { "moduleId": 75, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "6:25-33" }, { "moduleId": 75, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "6:52-60" }, { "moduleId": 78, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "4:25-33" }, { "moduleId": 78, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "4:52-60" } ], "usedExports": false, "providedExports": ["gray", "default", "Lab", "lch", "hcl", "Hcl"], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 8, "source": "import define, { extend } from \"./define.js\";\nimport { Color, rgbConvert, Rgb } from \"./color.js\";\nimport { deg2rad, rad2deg } from \"./math.js\"; // https://observablehq.com/@mbostock/lab-and-rgb\n\nvar K = 18,\n Xn = 0.96422,\n Yn = 1,\n Zn = 0.82521,\n t0 = 4 / 29,\n t1 = 6 / 29,\n t2 = 3 * t1 * t1,\n t3 = t1 * t1 * t1;\n\nfunction labConvert(o) {\n if (o instanceof Lab) return new Lab(o.l, o.a, o.b, o.opacity);\n if (o instanceof Hcl) return hcl2lab(o);\n if (!(o instanceof Rgb)) o = rgbConvert(o);\n var r = rgb2lrgb(o.r),\n g = rgb2lrgb(o.g),\n b = rgb2lrgb(o.b),\n y = xyz2lab((0.2225045 * r + 0.7168786 * g + 0.0606169 * b) / Yn),\n x,\n z;\n if (r === g && g === b) x = z = y;else {\n x = xyz2lab((0.4360747 * r + 0.3850649 * g + 0.1430804 * b) / Xn);\n z = xyz2lab((0.0139322 * r + 0.0971045 * g + 0.7141733 * b) / Zn);\n }\n return new Lab(116 * y - 16, 500 * (x - y), 200 * (y - z), o.opacity);\n}\n\nexport function gray(l, opacity) {\n return new Lab(l, 0, 0, opacity == null ? 1 : opacity);\n}\nexport default function lab(l, a, b, opacity) {\n return arguments.length === 1 ? labConvert(l) : new Lab(l, a, b, opacity == null ? 1 : opacity);\n}\nexport function Lab(l, a, b, opacity) {\n this.l = +l;\n this.a = +a;\n this.b = +b;\n this.opacity = +opacity;\n}\ndefine(Lab, lab, extend(Color, {\n brighter: function brighter(k) {\n return new Lab(this.l + K * (k == null ? 1 : k), this.a, this.b, this.opacity);\n },\n darker: function darker(k) {\n return new Lab(this.l - K * (k == null ? 1 : k), this.a, this.b, this.opacity);\n },\n rgb: function rgb() {\n var y = (this.l + 16) / 116,\n x = isNaN(this.a) ? y : y + this.a / 500,\n z = isNaN(this.b) ? y : y - this.b / 200;\n x = Xn * lab2xyz(x);\n y = Yn * lab2xyz(y);\n z = Zn * lab2xyz(z);\n return new Rgb(lrgb2rgb(3.1338561 * x - 1.6168667 * y - 0.4906146 * z), lrgb2rgb(-0.9787684 * x + 1.9161415 * y + 0.0334540 * z), lrgb2rgb(0.0719453 * x - 0.2289914 * y + 1.4052427 * z), this.opacity);\n }\n}));\n\nfunction xyz2lab(t) {\n return t > t3 ? Math.pow(t, 1 / 3) : t / t2 + t0;\n}\n\nfunction lab2xyz(t) {\n return t > t1 ? t * t * t : t2 * (t - t0);\n}\n\nfunction lrgb2rgb(x) {\n return 255 * (x <= 0.0031308 ? 12.92 * x : 1.055 * Math.pow(x, 1 / 2.4) - 0.055);\n}\n\nfunction rgb2lrgb(x) {\n return (x /= 255) <= 0.04045 ? x / 12.92 : Math.pow((x + 0.055) / 1.055, 2.4);\n}\n\nfunction hclConvert(o) {\n if (o instanceof Hcl) return new Hcl(o.h, o.c, o.l, o.opacity);\n if (!(o instanceof Lab)) o = labConvert(o);\n if (o.a === 0 && o.b === 0) return new Hcl(NaN, 0 < o.l && o.l < 100 ? 0 : NaN, o.l, o.opacity);\n var h = Math.atan2(o.b, o.a) * rad2deg;\n return new Hcl(h < 0 ? h + 360 : h, Math.sqrt(o.a * o.a + o.b * o.b), o.l, o.opacity);\n}\n\nexport function lch(l, c, h, opacity) {\n return arguments.length === 1 ? hclConvert(l) : new Hcl(h, c, l, opacity == null ? 1 : opacity);\n}\nexport function hcl(h, c, l, opacity) {\n return arguments.length === 1 ? hclConvert(h) : new Hcl(h, c, l, opacity == null ? 1 : opacity);\n}\nexport function Hcl(h, c, l, opacity) {\n this.h = +h;\n this.c = +c;\n this.l = +l;\n this.opacity = +opacity;\n}\n\nfunction hcl2lab(o) {\n if (isNaN(o.h)) return new Lab(o.l, 0, 0, o.opacity);\n var h = o.h * deg2rad;\n return new Lab(o.l, Math.cos(h) * o.c, Math.sin(h) * o.c, o.opacity);\n}\n\ndefine(Hcl, hcl, extend(Color, {\n brighter: function brighter(k) {\n return new Hcl(this.h, this.c, this.l + K * (k == null ? 1 : k), this.opacity);\n },\n darker: function darker(k) {\n return new Hcl(this.h, this.c, this.l - K * (k == null ? 1 : k), this.opacity);\n },\n rgb: function rgb() {\n return hcl2lab(this).rgb();\n }\n}));" }, { "id": 72, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/math.js", "name": "./node_modules/_d3-color@1.4.1@d3-color/src/math.js", "index": null, "index2": null, "size": 71, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "issuerId": 70, "issuerName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/value.js", "profile": { "factory": 23, "building": 208, "dependencies": 122 } }, { "id": 54, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/index.js", "name": "./node_modules/_d3-color@1.4.1@d3-color/src/index.js", "profile": { "factory": 151, "building": 80 } }, { "id": 70, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "name": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "profile": { "factory": 377, "building": 249, "dependencies": 42 } } ], "profile": { "factory": 60, "building": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "3:0-45" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "24:30-37" }, { "moduleId": 70, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "47:49-56" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "3:0-45" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "81:33-40" }, { "moduleId": 71, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "module": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "moduleName": "./node_modules/_d3-color@1.4.1@d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "100:16-23" } ], "usedExports": false, "providedExports": ["deg2rad", "rad2deg"], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 9, "source": "export var deg2rad = Math.PI / 180;\nexport var rad2deg = 180 / Math.PI;" }, { "id": 73, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/cubehelix.js", "index": null, "index2": null, "size": 764, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./cubehelix.js", "loc": "19:0-108" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubehelix.js", "loc": "19:0-108" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubehelix.js", "loc": "19:0-108" } ], "usedExports": false, "providedExports": ["default", "cubehelixLong"], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 6, "source": "import { cubehelix as colorCubehelix } from \"d3-color\";\nimport color, { hue } from \"./color.js\";\n\nfunction cubehelix(hue) {\n return function cubehelixGamma(y) {\n y = +y;\n\n function cubehelix(start, end) {\n var h = hue((start = colorCubehelix(start)).h, (end = colorCubehelix(end)).h),\n s = color(start.s, end.s),\n l = color(start.l, end.l),\n opacity = color(start.opacity, end.opacity);\n return function (t) {\n start.h = h(t);\n start.s = s(t);\n start.l = l(Math.pow(t, y));\n start.opacity = opacity(t);\n return start + \"\";\n };\n }\n\n cubehelix.gamma = cubehelixGamma;\n return cubehelix;\n }(1);\n}\n\nexport default cubehelix(hue);\nexport var cubehelixLong = cubehelix(color);" }, { "id": 74, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/discrete.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/discrete.js", "index": null, "index2": null, "size": 155, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./discrete.js", "loc": "6:0-63" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./discrete.js", "loc": "6:0-63" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 6, "source": "export default function (range) {\n var n = range.length;\n return function (t) {\n return range[Math.max(0, Math.min(n - 1, Math.floor(t * n)))];\n };\n}" }, { "id": 75, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hcl.js", "index": null, "index2": null, "size": 556, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./hcl.js", "loc": "18:0-84" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hcl.js", "loc": "18:0-84" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hcl.js", "loc": "18:0-84" } ], "usedExports": false, "providedExports": ["default", "hclLong"], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 6, "source": "import { hcl as colorHcl } from \"d3-color\";\nimport color, { hue } from \"./color.js\";\n\nfunction hcl(hue) {\n return function (start, end) {\n var h = hue((start = colorHcl(start)).h, (end = colorHcl(end)).h),\n c = color(start.c, end.c),\n l = color(start.l, end.l),\n opacity = color(start.opacity, end.opacity);\n return function (t) {\n start.h = h(t);\n start.c = c(t);\n start.l = l(t);\n start.opacity = opacity(t);\n return start + \"\";\n };\n };\n}\n\nexport default hcl(hue);\nexport var hclLong = hcl(color);" }, { "id": 76, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hsl.js", "index": null, "index2": null, "size": 556, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./hsl.js", "loc": "16:0-84" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hsl.js", "loc": "16:0-84" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hsl.js", "loc": "16:0-84" } ], "usedExports": false, "providedExports": ["default", "hslLong"], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 6, "source": "import { hsl as colorHsl } from \"d3-color\";\nimport color, { hue } from \"./color.js\";\n\nfunction hsl(hue) {\n return function (start, end) {\n var h = hue((start = colorHsl(start)).h, (end = colorHsl(end)).h),\n s = color(start.s, end.s),\n l = color(start.l, end.l),\n opacity = color(start.opacity, end.opacity);\n return function (t) {\n start.h = h(t);\n start.s = s(t);\n start.l = l(t);\n start.opacity = opacity(t);\n return start + \"\";\n };\n };\n}\n\nexport default hsl(hue);\nexport var hslLong = hsl(color);" }, { "id": 77, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/hue.js", "index": null, "index2": null, "size": 180, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./hue.js", "loc": "7:0-53" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hue.js", "loc": "7:0-53" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 6, "source": "import { hue } from \"./color.js\";\nexport default function (a, b) {\n var i = hue(+a, +b);\n return function (t) {\n var x = i(t);\n return x - 360 * Math.floor(x / 360);\n };\n}" }, { "id": 78, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/lab.js", "index": null, "index2": null, "size": 451, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./lab.js", "loc": "17:0-53" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./lab.js", "loc": "17:0-53" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 6, "source": "import { lab as colorLab } from \"d3-color\";\nimport color from \"./color.js\";\nexport default function lab(start, end) {\n var l = color((start = colorLab(start)).l, (end = colorLab(end)).l),\n a = color(start.a, end.a),\n b = color(start.b, end.b),\n opacity = color(start.opacity, end.opacity);\n return function (t) {\n start.l = l(t);\n start.a = a(t);\n start.b = b(t);\n start.opacity = opacity(t);\n return start + \"\";\n };\n}" }, { "id": 79, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/piecewise.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/piecewise.js", "index": null, "index2": null, "size": 340, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./piecewise.js", "loc": "20:0-54" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./piecewise.js", "loc": "20:0-54" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 6, "source": "export default function piecewise(interpolate, values) {\n var i = 0,\n n = values.length - 1,\n v = values[0],\n I = new Array(n < 0 ? 0 : n);\n\n while (i < n) {\n I[i] = interpolate(v, v = values[++i]);\n }\n\n return function (t) {\n var i = Math.max(0, Math.min(n - 1, Math.floor(t *= n)));\n return I[i](t - i);\n };\n}" }, { "id": 80, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/quantize.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/quantize.js", "index": null, "index2": null, "size": 175, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./quantize.js", "loc": "21:0-52" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quantize.js", "loc": "21:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 6, "source": "export default function (interpolator, n) {\n var samples = new Array(n);\n\n for (var i = 0; i < n; ++i) {\n samples[i] = interpolator(i / (n - 1));\n }\n\n return samples;\n}" }, { "id": 81, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/round.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/round.js", "index": null, "index2": null, "size": 123, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./round.js", "loc": "11:0-57" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./round.js", "loc": "11:0-57" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 6, "source": "export default function (a, b) {\n return a = +a, b = +b, function (t) {\n return Math.round(a * (1 - t) + b * t);\n };\n}" }, { "id": 82, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/decompose.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/decompose.js", "index": null, "index2": null, "size": 670, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "issuerId": 84, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } }, { "id": 83, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "profile": { "factory": 23, "building": 208, "dependencies": 122 } }, { "id": 84, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "profile": { "factory": 24, "building": 20 } } ], "profile": { "factory": 2, "building": 7 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 84, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "type": "harmony side effect evaluation", "userRequest": "./decompose.js", "loc": "1:0-53" }, { "moduleId": 84, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "type": "harmony import specifier", "userRequest": "./decompose.js", "loc": "4:31-39" }, { "moduleId": 84, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "type": "harmony import specifier", "userRequest": "./decompose.js", "loc": "10:9-18" }, { "moduleId": 84, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "type": "harmony import specifier", "userRequest": "./decompose.js", "loc": "13:28-36" }, { "moduleId": 84, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "type": "harmony import specifier", "userRequest": "./decompose.js", "loc": "16:65-73" }, { "moduleId": 84, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "type": "harmony import specifier", "userRequest": "./decompose.js", "loc": "18:9-18" } ], "usedExports": false, "providedExports": ["identity", "default"], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 8, "source": "var degrees = 180 / Math.PI;\nexport var identity = {\n translateX: 0,\n translateY: 0,\n rotate: 0,\n skewX: 0,\n scaleX: 1,\n scaleY: 1\n};\nexport default function (a, b, c, d, e, f) {\n var scaleX, scaleY, skewX;\n if (scaleX = Math.sqrt(a * a + b * b)) a /= scaleX, b /= scaleX;\n if (skewX = a * c + b * d) c -= a * skewX, d -= b * skewX;\n if (scaleY = Math.sqrt(c * c + d * d)) c /= scaleY, d /= scaleY, skewX /= scaleY;\n if (a * d < b * c) a = -a, b = -b, skewX = -skewX, scaleX = -scaleX;\n return {\n translateX: e,\n translateY: f,\n rotate: Math.atan2(b, a) * degrees,\n skewX: Math.atan(skewX) * degrees,\n scaleX: scaleX,\n scaleY: scaleY\n };\n}" }, { "id": 83, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "index": null, "index2": null, "size": 2262, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./transform/index.js", "loc": "13:0-88" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./transform/index.js", "loc": "13:0-88" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./transform/index.js", "loc": "13:0-88" } ], "usedExports": false, "providedExports": ["interpolateTransformCss", "interpolateTransformSvg"], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 6, "source": "import number from \"../number.js\";\nimport { parseCss, parseSvg } from \"./parse.js\";\n\nfunction interpolateTransform(parse, pxComma, pxParen, degParen) {\n function pop(s) {\n return s.length ? s.pop() + \" \" : \"\";\n }\n\n function translate(xa, ya, xb, yb, s, q) {\n if (xa !== xb || ya !== yb) {\n var i = s.push(\"translate(\", null, pxComma, null, pxParen);\n q.push({\n i: i - 4,\n x: number(xa, xb)\n }, {\n i: i - 2,\n x: number(ya, yb)\n });\n } else if (xb || yb) {\n s.push(\"translate(\" + xb + pxComma + yb + pxParen);\n }\n }\n\n function rotate(a, b, s, q) {\n if (a !== b) {\n if (a - b > 180) b += 360;else if (b - a > 180) a += 360; // shortest path\n\n q.push({\n i: s.push(pop(s) + \"rotate(\", null, degParen) - 2,\n x: number(a, b)\n });\n } else if (b) {\n s.push(pop(s) + \"rotate(\" + b + degParen);\n }\n }\n\n function skewX(a, b, s, q) {\n if (a !== b) {\n q.push({\n i: s.push(pop(s) + \"skewX(\", null, degParen) - 2,\n x: number(a, b)\n });\n } else if (b) {\n s.push(pop(s) + \"skewX(\" + b + degParen);\n }\n }\n\n function scale(xa, ya, xb, yb, s, q) {\n if (xa !== xb || ya !== yb) {\n var i = s.push(pop(s) + \"scale(\", null, \",\", null, \")\");\n q.push({\n i: i - 4,\n x: number(xa, xb)\n }, {\n i: i - 2,\n x: number(ya, yb)\n });\n } else if (xb !== 1 || yb !== 1) {\n s.push(pop(s) + \"scale(\" + xb + \",\" + yb + \")\");\n }\n }\n\n return function (a, b) {\n var s = [],\n // string constants and placeholders\n q = []; // number interpolators\n\n a = parse(a), b = parse(b);\n translate(a.translateX, a.translateY, b.translateX, b.translateY, s, q);\n rotate(a.rotate, b.rotate, s, q);\n skewX(a.skewX, b.skewX, s, q);\n scale(a.scaleX, a.scaleY, b.scaleX, b.scaleY, s, q);\n a = b = null; // gc\n\n return function (t) {\n var i = -1,\n n = q.length,\n o;\n\n while (++i < n) {\n s[(o = q[i]).i] = o.x(t);\n }\n\n return s.join(\"\");\n };\n };\n}\n\nexport var interpolateTransformCss = interpolateTransform(parseCss, \"px, \", \"px)\", \"deg)\");\nexport var interpolateTransformSvg = interpolateTransform(parseSvg, \", \", \")\", \")\");" }, { "id": 84, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/parse.js", "index": null, "index2": null, "size": 969, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "issuerId": 83, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } }, { "id": 83, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "profile": { "factory": 23, "building": 208, "dependencies": 122 } } ], "profile": { "factory": 24, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 83, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "type": "harmony side effect evaluation", "userRequest": "./parse.js", "loc": "2:0-48" }, { "moduleId": 83, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "./parse.js", "loc": "89:58-66" }, { "moduleId": 83, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "./parse.js", "loc": "90:58-66" } ], "usedExports": false, "providedExports": ["parseCss", "parseSvg"], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 7, "source": "import decompose, { identity } from \"./decompose.js\";\nvar cssNode, cssRoot, cssView, svgNode;\nexport function parseCss(value) {\n if (value === \"none\") return identity;\n if (!cssNode) cssNode = document.createElement(\"DIV\"), cssRoot = document.documentElement, cssView = document.defaultView;\n cssNode.style.transform = value;\n value = cssView.getComputedStyle(cssRoot.appendChild(cssNode), null).getPropertyValue(\"transform\");\n cssRoot.removeChild(cssNode);\n value = value.slice(7, -1).split(\",\");\n return decompose(+value[0], +value[1], +value[2], +value[3], +value[4], +value[5]);\n}\nexport function parseSvg(value) {\n if (value == null) return identity;\n if (!svgNode) svgNode = document.createElementNS(\"http://www.w3.org/2000/svg\", \"g\");\n svgNode.setAttribute(\"transform\", value);\n if (!(value = svgNode.transform.baseVal.consolidate())) return identity;\n value = value.matrix;\n return decompose(value.a, value.b, value.c, value.d, value.e, value.f);\n}" }, { "id": 85, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/zoom.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/zoom.js", "index": null, "index2": null, "size": 1376, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerId": 68, "issuerName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 68, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "name": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 23, "building": 208, "dependencies": 122 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./zoom.js", "loc": "14:0-55" }, { "moduleId": 68, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "module": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "moduleName": "./node_modules/_d3-interpolate@1.4.0@d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./zoom.js", "loc": "14:0-55" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 6, "source": "var rho = Math.SQRT2,\n rho2 = 2,\n rho4 = 4,\n epsilon2 = 1e-12;\n\nfunction cosh(x) {\n return ((x = Math.exp(x)) + 1 / x) / 2;\n}\n\nfunction sinh(x) {\n return ((x = Math.exp(x)) - 1 / x) / 2;\n}\n\nfunction tanh(x) {\n return ((x = Math.exp(2 * x)) - 1) / (x + 1);\n} // p0 = [ux0, uy0, w0]\n// p1 = [ux1, uy1, w1]\n\n\nexport default function (p0, p1) {\n var ux0 = p0[0],\n uy0 = p0[1],\n w0 = p0[2],\n ux1 = p1[0],\n uy1 = p1[1],\n w1 = p1[2],\n dx = ux1 - ux0,\n dy = uy1 - uy0,\n d2 = dx * dx + dy * dy,\n i,\n S; // Special case for u0 ≅ u1.\n\n if (d2 < epsilon2) {\n S = Math.log(w1 / w0) / rho;\n\n i = function i(t) {\n return [ux0 + t * dx, uy0 + t * dy, w0 * Math.exp(rho * t * S)];\n };\n } // General case.\n else {\n var d1 = Math.sqrt(d2),\n b0 = (w1 * w1 - w0 * w0 + rho4 * d2) / (2 * w0 * rho2 * d1),\n b1 = (w1 * w1 - w0 * w0 - rho4 * d2) / (2 * w1 * rho2 * d1),\n r0 = Math.log(Math.sqrt(b0 * b0 + 1) - b0),\n r1 = Math.log(Math.sqrt(b1 * b1 + 1) - b1);\n S = (r1 - r0) / rho;\n\n i = function i(t) {\n var s = t * S,\n coshr0 = cosh(r0),\n u = w0 / (rho2 * d1) * (coshr0 * tanh(rho * s + r0) - sinh(r0));\n return [ux0 + u * dx, uy0 + u * dy, w0 * coshr0 / cosh(rho * s + r0)];\n };\n }\n\n i.duration = S * 1000;\n return i;\n}" }, { "id": 86, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js", "name": "./node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js", "index": null, "index2": null, "size": 412, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "issuerId": 69, "issuerName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 69, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "name": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 34, "building": 35, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 69, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "3:0-52" }, { "moduleId": 69, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "type": "harmony export imported specifier", "userRequest": "./interval.js", "loc": "3:0-52" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 6, "source": "import { Timer, now } from \"./timer.js\";\nexport default function (callback, delay, time) {\n var t = new Timer(),\n total = delay;\n if (delay == null) return t.restart(callback, delay, time), t;\n delay = +delay, time = time == null ? now() : +time;\n t.restart(function tick(elapsed) {\n elapsed += total;\n t.restart(tick, total += delay, time);\n callback(elapsed);\n }, delay, time);\n return t;\n}" }, { "id": 87, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/timeout.js", "name": "./node_modules/_d3-timer@1.0.10@d3-timer/src/timeout.js", "index": null, "index2": null, "size": 257, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "issuerId": 69, "issuerName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "issuerPath": [ { "id": 62, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/index.ts", "name": "./src/index.ts", "profile": { "factory": 43, "building": 386 } }, { "id": 19, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_ts-loader@7.0.5@ts-loader/index.js??ref--6!/Users/moyee/ant-repo/github/G6/packages/core/src/interface/behavior.ts", "name": "./src/interface/behavior.ts", "profile": { "factory": 387, "building": 1242, "dependencies": 3035 } }, { "id": 49, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/index.js", "profile": { "factory": 3116, "building": 1096 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/abstract/canvas.js", "profile": { "factory": 1680, "building": 569, "dependencies": 582 } }, { "id": null, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "name": "./node_modules/_@antv_g-base@0.5.1@@antv/g-base/esm/animate/timeline.js", "profile": { "factory": 693, "building": 77, "dependencies": 227 } }, { "id": 69, "identifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "name": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "profile": { "factory": 427, "building": 29 } } ], "profile": { "factory": 34, "building": 35, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 69, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./timeout.js", "loc": "2:0-50" }, { "moduleId": 69, "moduleIdentifier": "/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js??ref--5!/Users/moyee/ant-repo/github/G6/packages/core/node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "module": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "moduleName": "./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js", "type": "harmony export imported specifier", "userRequest": "./timeout.js", "loc": "2:0-50" } ], "usedExports": false, "providedExports": ["default"], "optimizationBailout": ["ModuleConcatenation bailout: Module is not in any chunk"], "depth": 6, "source": "import { Timer } from \"./timer.js\";\nexport default function (callback, delay, time) {\n var t = new Timer();\n delay = delay == null ? 0 : +delay;\n t.restart(function (elapsed) {\n t.stop();\n callback(elapsed + delay);\n }, delay, time);\n return t;\n}" } ], "filteredModules": 0, "logging": { "webpack.buildChunkGraph.visitModules": { "entries": [], "filteredEntries": 2, "debug": false } }, "children": [] }