@logicflow/extension 1.0.0-alpha.0 → 1.0.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/cjs/NodeResize/Control/Control.js +4 -4
  2. package/cjs/NodeResize/Control/ControlGroup.js +4 -3
  3. package/cjs/NodeResize/Node/DiamondResize.js +10 -8
  4. package/cjs/NodeResize/Node/EllipseResize.js +11 -9
  5. package/cjs/NodeResize/Node/RectResize.js +3 -15
  6. package/cjs/bpmn/events/EndEvent.js +19 -10
  7. package/cjs/bpmn/events/StartEvent.js +4 -16
  8. package/cjs/bpmn/gateways/ExclusiveGateway.js +16 -14
  9. package/cjs/bpmn/index.js +1 -1
  10. package/cjs/bpmn/tasks/ServiceTask.js +20 -17
  11. package/cjs/bpmn/tasks/UserTask.js +20 -16
  12. package/cjs/bpmn-adapter/index.js +1 -1
  13. package/cjs/components/context-menu/index.js +3 -3
  14. package/cjs/components/menu/index.js +6 -6
  15. package/cjs/components/mini-map/index.js +2 -2
  16. package/cjs/components/selection-select/index.js +1 -1
  17. package/cjs/index.js +1 -0
  18. package/cjs/insert-node-in-polyline/index.js +3 -3
  19. package/cjs/materials/curved-edge/index.js +2 -1
  20. package/cjs/materials/group/GroupNode.js +1 -5
  21. package/cjs/materials/group/index.js +4 -4
  22. package/cjs/tools/auto-layout/index.js +8 -8
  23. package/cjs/tools/snapshot/index.js +3 -3
  24. package/es/NodeResize/Control/Control.d.ts +1 -3
  25. package/es/NodeResize/Control/Control.js +4 -4
  26. package/es/NodeResize/Control/ControlGroup.d.ts +1 -8
  27. package/es/NodeResize/Control/ControlGroup.js +4 -3
  28. package/es/NodeResize/Node/DiamondResize.d.ts +2 -2
  29. package/es/NodeResize/Node/DiamondResize.js +10 -8
  30. package/es/NodeResize/Node/EllipseResize.d.ts +2 -2
  31. package/es/NodeResize/Node/EllipseResize.js +11 -9
  32. package/es/NodeResize/Node/RectResize.d.ts +1 -1
  33. package/es/NodeResize/Node/RectResize.js +3 -15
  34. package/es/bpmn/events/EndEvent.d.ts +1 -0
  35. package/es/bpmn/events/EndEvent.js +19 -10
  36. package/es/bpmn/events/StartEvent.d.ts +1 -25
  37. package/es/bpmn/events/StartEvent.js +4 -16
  38. package/es/bpmn/gateways/ExclusiveGateway.js +16 -14
  39. package/es/bpmn/index.js +1 -1
  40. package/es/bpmn/tasks/ServiceTask.js +20 -17
  41. package/es/bpmn/tasks/UserTask.js +20 -16
  42. package/es/bpmn-adapter/index.js +1 -1
  43. package/es/components/context-menu/index.js +3 -3
  44. package/es/components/menu/index.js +6 -6
  45. package/es/components/mini-map/index.js +2 -2
  46. package/es/components/selection-select/index.js +1 -1
  47. package/es/index.js +1 -0
  48. package/es/insert-node-in-polyline/index.js +3 -3
  49. package/es/materials/curved-edge/index.js +2 -1
  50. package/es/materials/group/GroupNode.d.ts +0 -12
  51. package/es/materials/group/GroupNode.js +1 -5
  52. package/es/materials/group/index.js +4 -4
  53. package/es/tools/auto-layout/index.d.ts +4 -4
  54. package/es/tools/auto-layout/index.js +8 -8
  55. package/es/tools/snapshot/index.js +3 -3
  56. package/lib/AutoLayout.js +1 -1
  57. package/lib/BpmnAdapter.js +1 -1
  58. package/lib/BpmnElement.js +1 -1
  59. package/lib/ContextMenu.js +1 -1
  60. package/lib/Control.js +1 -1
  61. package/lib/CurvedEdge.js +1 -1
  62. package/lib/DndPanel.js +1 -1
  63. package/lib/FlowPath.js +1 -1
  64. package/lib/Group.js +1 -1
  65. package/lib/InsertNodeInPolyline.js +1 -1
  66. package/lib/Menu.js +1 -1
  67. package/lib/MiniMap.js +1 -1
  68. package/lib/NodeResize.js +1 -1
  69. package/lib/RectLabelNode.js +1 -1
  70. package/lib/SelectionSelect.js +1 -1
  71. package/lib/Snapshot.js +1 -1
  72. package/lib/TurboAdapter.js +1 -1
  73. package/package.json +2 -2
  74. package/types/NodeResize/Control/Control.d.ts +1 -3
  75. package/types/NodeResize/Control/ControlGroup.d.ts +1 -8
  76. package/types/NodeResize/Node/DiamondResize.d.ts +2 -2
  77. package/types/NodeResize/Node/EllipseResize.d.ts +2 -2
  78. package/types/NodeResize/Node/RectResize.d.ts +1 -1
  79. package/types/bpmn/events/EndEvent.d.ts +1 -0
  80. package/types/bpmn/events/StartEvent.d.ts +1 -25
  81. package/types/materials/group/GroupNode.d.ts +0 -12
  82. package/types/tools/auto-layout/index.d.ts +4 -4
@@ -11,6 +11,17 @@ var __extends = (this && this.__extends) || (function () {
11
11
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
12
  };
13
13
  })();
14
+ var __assign = (this && this.__assign) || function () {
15
+ __assign = Object.assign || function(t) {
16
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
17
+ s = arguments[i];
18
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
19
+ t[p] = s[p];
20
+ }
21
+ return t;
22
+ };
23
+ return __assign.apply(this, arguments);
24
+ };
14
25
  import { h, RectNode, RectNodeModel } from '@logicflow/core';
15
26
  import { getBpmnId } from '../getBpmnId';
16
27
  var UserTaskModel = /** @class */ (function (_super) {
@@ -32,8 +43,9 @@ var UserTaskView = /** @class */ (function (_super) {
32
43
  return _super !== null && _super.apply(this, arguments) || this;
33
44
  }
34
45
  UserTaskView.prototype.getLabelShape = function () {
35
- var attributes = _super.prototype.getAttributes.call(this);
36
- var x = attributes.x, y = attributes.y, width = attributes.width, height = attributes.height, stroke = attributes.stroke;
46
+ var model = this.props.model;
47
+ var x = model.x, y = model.y, width = model.width, height = model.height;
48
+ var style = model.getNodeStyle();
37
49
  return h('svg', {
38
50
  x: x - width / 2 + 5,
39
51
  y: y - height / 2 + 5,
@@ -41,26 +53,18 @@ var UserTaskView = /** @class */ (function (_super) {
41
53
  height: 25,
42
54
  viewBox: '0 0 1274 1024',
43
55
  }, h('path', {
44
- fill: stroke,
56
+ fill: style.stroke,
45
57
  d: 'M655.807326 287.35973m-223.989415 0a218.879 218.879 0 1 0 447.978829 0 218.879 218.879 0 1 0-447.978829 0ZM1039.955839 895.482975c-0.490184-212.177424-172.287821-384.030443-384.148513-384.030443-211.862739 0-383.660376 171.85302-384.15056 384.030443L1039.955839 895.482975z',
46
58
  }));
47
59
  };
48
60
  UserTaskView.prototype.getShape = function () {
49
- var attributes = _super.prototype.getAttributes.call(this);
50
- var x = attributes.x, y = attributes.y, width = attributes.width, height = attributes.height, fill = attributes.fill, stroke = attributes.stroke, strokeWidth = attributes.strokeWidth, radius = attributes.radius;
61
+ var model = this.props.model;
62
+ var x = model.x, y = model.y, width = model.width, height = model.height, radius = model.radius;
63
+ var style = model.getNodeStyle();
51
64
  // todo: 将basic-shape对外暴露,在这里可以直接用。现在纯手写有点麻烦。
52
65
  return h('g', {}, [
53
- h('rect', {
54
- x: x - width / 2,
55
- y: y - height / 2,
56
- rx: radius,
57
- ry: radius,
58
- fill: fill,
59
- stroke: stroke,
60
- strokeWidth: strokeWidth,
61
- width: width,
62
- height: height,
63
- }),
66
+ h('rect', __assign(__assign({}, style), { x: x - width / 2, y: y - height / 2, rx: radius, ry: radius, width: width,
67
+ height: height })),
64
68
  this.getLabelShape(),
65
69
  ]);
66
70
  };
@@ -357,7 +357,7 @@ function getEdgeConfig(edgeValue, processValue) {
357
357
  var textVal = processValue['-name'];
358
358
  if (textVal) {
359
359
  var textBounds = edgeValue['bpmndi:BPMNLabel']['dc:Bounds'];
360
- // 如果连线文本换行,则其偏移量应该是最长一行的位置
360
+ // 如果边文本换行,则其偏移量应该是最长一行的位置
361
361
  var textLength_1 = 0;
362
362
  textVal.split('\n').forEach(function (textSpan) {
363
363
  if (textLength_1 < textSpan.length) {
@@ -97,7 +97,7 @@ var ContextMenu = /** @class */ (function () {
97
97
  x = data.x + Model.width / 2;
98
98
  y = data.y - Model.height / 2;
99
99
  }
100
- return this.lf.graphModel.transformMatrix.CanvasPointToHtmlPoint([x, y]);
100
+ return this.lf.graphModel.transformModel.CanvasPointToHtmlPoint([x, y]);
101
101
  };
102
102
  ContextMenu.prototype.createContextMenu = function () {
103
103
  var _this = this;
@@ -145,7 +145,7 @@ var ContextMenu = /** @class */ (function () {
145
145
  if (y === undefined) {
146
146
  y = node.y;
147
147
  }
148
- var nodeModel = this.lf.getNodeModel(node.sourceId);
148
+ var nodeModel = this.lf.getNodeModelById(node.sourceId);
149
149
  var leftTopX = node.x - nodeModel.width + NEXT_X_DISTANCE;
150
150
  var leftTopY = y - node.y / 2 - 20;
151
151
  var rightBottomX = node.x + nodeModel.width + NEXT_X_DISTANCE;
@@ -174,7 +174,7 @@ var ContextMenu = /** @class */ (function () {
174
174
  y: newNode.y,
175
175
  };
176
176
  }
177
- this.lf.createEdge({
177
+ this.lf.addEdge({
178
178
  sourceNodeId: node.sourceId,
179
179
  targetNodeId: newNode.id,
180
180
  startPoint: startPoint,
@@ -55,7 +55,7 @@ var Menu = /** @class */ (function () {
55
55
  {
56
56
  text: '编辑文本',
57
57
  callback: function (node) {
58
- _this.lf.graphModel.setTextEditable(node.id);
58
+ _this.lf.graphModel.editText(node.id);
59
59
  },
60
60
  },
61
61
  {
@@ -76,7 +76,7 @@ var Menu = /** @class */ (function () {
76
76
  {
77
77
  text: '编辑文本',
78
78
  callback: function (edge) {
79
- _this.lf.graphModel.setTextEditable(edge.id);
79
+ _this.lf.graphModel.editText(edge.id);
80
80
  },
81
81
  },
82
82
  ];
@@ -128,7 +128,7 @@ var Menu = /** @class */ (function () {
128
128
  var data = _a.data, position = _a.position;
129
129
  var _b = position.domOverlayPosition, x = _b.x, y = _b.y;
130
130
  var id = data.id;
131
- var model = _this.lf.graphModel.getNodeModel(id);
131
+ var model = _this.lf.graphModel.getNodeModelById(id);
132
132
  var menuList = [];
133
133
  var typeMenus = _this.menuTypeMap.get(model.type);
134
134
  // 如果单个节点自定义了节点,以单个节点自定义为准
@@ -148,14 +148,14 @@ var Menu = /** @class */ (function () {
148
148
  var data = _a.data, position = _a.position;
149
149
  var _b = position.domOverlayPosition, x = _b.x, y = _b.y;
150
150
  var id = data.id;
151
- var model = _this.lf.graphModel.getEdgeModel(id);
151
+ var model = _this.lf.graphModel.getEdgeModelById(id);
152
152
  var menuList = [];
153
153
  var typeMenus = _this.menuTypeMap.get(model.type);
154
- // 如果单个节点自定义了连线
154
+ // 如果单个节点自定义了边
155
155
  if (model && model.menu && Array.isArray(model.menu)) {
156
156
  menuList = model.menu;
157
157
  }
158
- else if (typeMenus) { // 如果定义当前连线类型的元素
158
+ else if (typeMenus) { // 如果定义当前边类型的元素
159
159
  menuList = typeMenus;
160
160
  }
161
161
  else { // 最后取全局默认
@@ -39,8 +39,8 @@ var MiniMap = {
39
39
  __disabledPlugins: ['minimap', 'control', 'selection-select'],
40
40
  install: function (lf, LogicFlow) {
41
41
  MiniMap.__lf = lf;
42
- MiniMap.__miniMapWidth = lf.width;
43
- MiniMap.__miniMapHeight = (lf.width * 220) / 150;
42
+ MiniMap.__miniMapWidth = lf.graphModel.width;
43
+ MiniMap.__miniMapHeight = (lf.graphModel.width * 220) / 150;
44
44
  MiniMap.__LogicFlow = LogicFlow;
45
45
  this.__init();
46
46
  // 避免多次install的时候, _isShow状态被修改了
@@ -36,7 +36,7 @@ var SelectionSelect = /** @class */ (function () {
36
36
  var rt = [Math.max(x, x1), Math.max(y, y1)];
37
37
  var elements = _this.lf.getAreaElement(lt, rt);
38
38
  elements.forEach(function (element) {
39
- _this.lf.select(element.id, true);
39
+ _this.lf.selectElementById(element.id, true);
40
40
  });
41
41
  _this.lf.emit('selection:selected', elements);
42
42
  };
package/es/index.js CHANGED
@@ -15,3 +15,4 @@ export * from './materials/group';
15
15
  export * from './NodeResize';
16
16
  export * from './tools/flow-path';
17
17
  export * from './tools/auto-layout';
18
+ // export * from './materials/node-selection';
@@ -57,19 +57,19 @@ var InsertNodeInPolyline = {
57
57
  },
58
58
  insetNode: function (nodeData) {
59
59
  var edges = this._lf.graphModel.edges;
60
- var nodeModel = this._lf.getNodeModel(nodeData.id);
60
+ var nodeModel = this._lf.getNodeModelById(nodeData.id);
61
61
  for (var i = 0; i < edges.length; i++) {
62
62
  // eslint-disable-next-line max-len
63
63
  var _a = isNodeInSegement(nodeModel, edges[i]), crossIndex = _a.crossIndex, crossPoints = _a.crossPoints;
64
64
  if (crossIndex >= 0) {
65
65
  var _b = edges[i], sourceNodeId = _b.sourceNodeId, targetNodeId = _b.targetNodeId, id = _b.id, type = _b.type, pointsList = _b.pointsList;
66
- this._lf.createEdge({
66
+ this._lf.addEdge({
67
67
  type: type,
68
68
  sourceNodeId: sourceNodeId,
69
69
  targetNodeId: nodeData.id,
70
70
  pointsList: __spread(pointsList.slice(0, crossIndex), [crossPoints.startCrossPoint]),
71
71
  });
72
- this._lf.createEdge({
72
+ this._lf.addEdge({
73
73
  type: type,
74
74
  sourceNodeId: nodeData.id,
75
75
  targetNodeId: targetNodeId,
@@ -34,7 +34,8 @@ var CurvedEdgeView = /** @class */ (function (_super) {
34
34
  return _super !== null && _super.apply(this, arguments) || this;
35
35
  }
36
36
  CurvedEdgeView.prototype.getEdge = function () {
37
- var _a = this.getAttributes(), points = _a.points, strokeWidth = _a.strokeWidth, stroke = _a.stroke, strokeDashArray = _a.strokeDashArray;
37
+ var _a = this.props.model.getEdgeStyle(), strokeWidth = _a.strokeWidth, stroke = _a.stroke, strokeDashArray = _a.strokeDashArray;
38
+ var points = this.props.model.points;
38
39
  var points2 = points.split(' ').map(function (p) { return p.split(',').map(function (a) { return Number(a); }); });
39
40
  var _b = __read(points2[0], 2), startX = _b[0], startY = _b[1];
40
41
  var d = "M" + startX + " " + startY;
@@ -24,18 +24,6 @@ declare class GroupNode extends RectNode {
24
24
  * 重新toFront,阻止其置顶
25
25
  */
26
26
  toFront(): void;
27
- getShapeStyle(): {
28
- radius: number;
29
- width: number;
30
- height: number;
31
- fill: string;
32
- fillOpacity?: number;
33
- strokeWidth?: number;
34
- stroke: string;
35
- strokeOpacity?: number;
36
- opacity?: number;
37
- outlineColor?: string;
38
- };
39
27
  }
40
28
  declare const _default: {
41
29
  type: string;
@@ -46,6 +46,7 @@ var GroupNodeModel = /** @class */ (function (_super) {
46
46
  this.height = 200;
47
47
  this.strokeWidth = 1;
48
48
  this.zIndex = 0;
49
+ this.radius = 0;
49
50
  };
50
51
  /**
51
52
  * 设置是否允许子节点被拖动移除分组
@@ -91,11 +92,6 @@ var GroupNode = /** @class */ (function (_super) {
91
92
  * 重新toFront,阻止其置顶
92
93
  */
93
94
  GroupNode.prototype.toFront = function () { };
94
- GroupNode.prototype.getShapeStyle = function () {
95
- var shape = _super.prototype.getShapeStyle.call(this);
96
- shape.radius = 0;
97
- return shape;
98
- };
99
95
  return GroupNode;
100
96
  }(RectNode));
101
97
  export default {
@@ -29,13 +29,13 @@ var Group = /** @class */ (function () {
29
29
  // 如果这个节点之前已经在group中了,则将其从之前的group中移除
30
30
  var preGroupId = _this.nodeGroupMap.get(data.id);
31
31
  if (preGroupId) {
32
- var preGroup = _this.lf.getNodeModel(preGroupId);
32
+ var preGroup = _this.lf.getNodeModelById(preGroupId);
33
33
  preGroup.removeChild(data.id);
34
34
  _this.nodeGroupMap.delete(data.id);
35
35
  preGroup.setAllowAppendChild(false);
36
36
  }
37
37
  // 然后再判断这个节点是否在某个group中,如果在,则将其添加到对应的group中
38
- var bounds = _this.lf.getNodeModel(data.id).getBounds();
38
+ var bounds = _this.lf.getNodeModelById(data.id).getBounds();
39
39
  var group = _this.getGroup(bounds);
40
40
  if (group && data.id !== group.id) {
41
41
  group.addChild(data.id);
@@ -49,7 +49,7 @@ var Group = /** @class */ (function () {
49
49
  _this.activeGroup.setAllowAppendChild(false);
50
50
  _this.activeGroup = undefined;
51
51
  }
52
- var bounds = _this.lf.getNodeModel(data.id).getBounds();
52
+ var bounds = _this.lf.getNodeModelById(data.id).getBounds();
53
53
  _this.activeGroup = _this.getGroup(bounds);
54
54
  if (_this.activeGroup && _this.activeGroup.id !== data.id) {
55
55
  _this.activeGroup.setAllowAppendChild(true);
@@ -62,7 +62,7 @@ var Group = /** @class */ (function () {
62
62
  lf.graphModel.moveNodes(__spread(model.children), deltaX, deltaY, true);
63
63
  return true;
64
64
  }
65
- var groupModel = lf.getNodeModel(_this.nodeGroupMap.get(model.id));
65
+ var groupModel = lf.getNodeModelById(_this.nodeGroupMap.get(model.id));
66
66
  if (groupModel && groupModel.isRestrict) { // 如果移动的节点存在分组中,且这个分组禁止子节点移出去。
67
67
  var _a = model.getBounds(), x1 = _a.x1, y1 = _a.y1, x2 = _a.x2, y2 = _a.y2;
68
68
  var r = groupModel.isInRange({
@@ -15,13 +15,13 @@ declare class AutoLayout {
15
15
  layout(data: any, path: any): void;
16
16
  private setNodePosition;
17
17
  /**
18
- * 1. 处理连线上的文本
19
- * 2. 主干节点之间直接的连线
18
+ * 1. 处理边上的文本
19
+ * 2. 主干节点之间直接的边
20
20
  * 3. 一个节点被多个连接作为目标节点,合理分配锚点位置。
21
21
  */
22
22
  private getEdgeDataPoints;
23
23
  /**
24
- * 获取连线的连接节点相对位置。
24
+ * 获取边的连接节点相对位置。
25
25
  * source一定在target左边。
26
26
  * 1. 如果source和target在同一x, y坐标内容。
27
27
  * 2. 如果source在target左上方。
@@ -29,7 +29,7 @@ declare class AutoLayout {
29
29
  */
30
30
  private getRelativePosition;
31
31
  /**
32
- * 获取连线节点图形的宽高。
32
+ * 获取边节点图形的宽高。
33
33
  */
34
34
  private getShape;
35
35
  private formatData;
@@ -34,7 +34,7 @@ var AutoLayout = /** @class */ (function () {
34
34
  return _this.layout(data, path);
35
35
  };
36
36
  }
37
- // 1) 将所有节点和连线的坐标删除。节点上的文本改成偏移量。
37
+ // 1) 将所有节点和边的坐标删除。节点上的文本改成偏移量。
38
38
  // 2) 找到长度最长的路径,作为基准路径。
39
39
  // 3) 依次计算
40
40
  // 拿到最长的路径。
@@ -94,9 +94,9 @@ var AutoLayout = /** @class */ (function () {
94
94
  _this.setNodePosition(nextInfo.nodeId, nodeMap, newGraphData, xLevel + 1, nextYLevel + 1);
95
95
  }
96
96
  else {
97
- // todo: 如果下一个节点是已经定位的,则需要考虑连线的规避
97
+ // todo: 如果下一个节点是已经定位的,则需要考虑边的规避
98
98
  }
99
- // 设置连接到下一个节点的连线
99
+ // 设置连接到下一个节点的边
100
100
  // 1) 起始位置为source节点的下方,结束位置为target节点左边。
101
101
  // 2) 计算折线
102
102
  newGraphData.edges.push(__assign({ id: nextInfo.edgeId, type: nextInfo.edgeType, sourceNodeId: nodeId, targetNodeId: nextInfo.nodeId, properties: nextInfo.properties, text: nextInfo.text }, _this.getEdgeDataPoints(nodeId, nextInfo.nodeId)));
@@ -105,8 +105,8 @@ var AutoLayout = /** @class */ (function () {
105
105
  return nodeData;
106
106
  };
107
107
  /**
108
- * 1. 处理连线上的文本
109
- * 2. 主干节点之间直接的连线
108
+ * 1. 处理边上的文本
109
+ * 2. 主干节点之间直接的边
110
110
  * 3. 一个节点被多个连接作为目标节点,合理分配锚点位置。
111
111
  */
112
112
  AutoLayout.prototype.getEdgeDataPoints = function (sourceNodeId, targetNodeId) {
@@ -145,7 +145,7 @@ var AutoLayout = /** @class */ (function () {
145
145
  };
146
146
  };
147
147
  /**
148
- * 获取连线的连接节点相对位置。
148
+ * 获取边的连接节点相对位置。
149
149
  * source一定在target左边。
150
150
  * 1. 如果source和target在同一x, y坐标内容。
151
151
  * 2. 如果source在target左上方。
@@ -167,10 +167,10 @@ var AutoLayout = /** @class */ (function () {
167
167
  return postionType;
168
168
  };
169
169
  /**
170
- * 获取连线节点图形的宽高。
170
+ * 获取边节点图形的宽高。
171
171
  */
172
172
  AutoLayout.prototype.getShape = function (nodeId) {
173
- var nodeModel = this.lf.getNodeModel(nodeId);
173
+ var nodeModel = this.lf.getNodeModelById(nodeId);
174
174
  return {
175
175
  height: nodeModel.height,
176
176
  width: nodeModel.width,
@@ -122,7 +122,7 @@ var Snapshot = {
122
122
  if (childLength) {
123
123
  for (var i = 0; i < childLength; i++) {
124
124
  var lfLayer = graph.childNodes[i];
125
- // 只保留包含节点和连线的基础图层进行下载,其他图层删除
125
+ // 只保留包含节点和边的基础图层进行下载,其他图层删除
126
126
  var layerClassList = lfLayer.classList && Array.from(lfLayer.classList);
127
127
  if (layerClassList && layerClassList.indexOf('lf-base') < 0) {
128
128
  graph.removeChild(graph.childNodes[i]);
@@ -151,8 +151,8 @@ var Snapshot = {
151
151
  var base = document.getElementsByClassName('lf-base')[0];
152
152
  var bbox = base.getBoundingClientRect();
153
153
  var graphModel = this.lf.graphModel;
154
- var transformMatrix = graphModel.transformMatrix;
155
- var SCALE_X = transformMatrix.SCALE_X, SCALE_Y = transformMatrix.SCALE_Y;
154
+ var transformModel = graphModel.transformModel;
155
+ var SCALE_X = transformModel.SCALE_X, SCALE_Y = transformModel.SCALE_Y;
156
156
  var bboxWidth = Math.ceil(bbox.width / SCALE_X);
157
157
  var bboxHeight = Math.ceil(bbox.height / SCALE_Y);
158
158
  // width,height 值加40,保证图形不会紧贴着下载图片的右边和下边
package/lib/AutoLayout.js CHANGED
@@ -1 +1 @@
1
- !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r=e();for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}}(window,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=199)}([function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,r(83))},function(t,e,r){var n=r(0),o=r(35),i=r(5),u=r(29),c=r(36),f=r(47),a=o("wks"),s=n.Symbol,l=f?s:s&&s.withoutSetter||u;t.exports=function(t){return i(a,t)&&(c||"string"==typeof a[t])||(c&&i(s,t)?a[t]=s[t]:a[t]=l("Symbol."+t)),a[t]}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,r){var n=r(0),o=r(18).f,i=r(9),u=r(13),c=r(33),f=r(57),a=r(58);t.exports=function(t,e){var r,s,l,p,v,y=t.target,d=t.global,h=t.stat;if(r=d?n:h?n[y]||c(y,{}):(n[y]||{}).prototype)for(s in e){if(p=e[s],l=t.noTargetGet?(v=o(r,s))&&v.value:r[s],!a(d?s:y+(h?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;f(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(r,s,p,t)}}},function(t,e,r){var n=r(11),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(n(t),e)}},function(t,e,r){var n=r(7),o=r(48),i=r(8),u=r(21),c=Object.defineProperty;e.f=n?c:function(t,e,r){if(i(t),e=u(e),i(r),o)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(2);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,r){var n=r(3);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,r){var n=r(7),o=r(6),i=r(15);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(41),o=r(27);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(27);t.exports=function(t){return Object(n(t))}},function(t,e,r){var n=r(0),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t]):n[t]&&n[t][e]}},function(t,e,r){var n=r(0),o=r(9),i=r(5),u=r(33),c=r(44),f=r(17),a=f.get,s=f.enforce,l=String(String).split("String");(t.exports=function(t,e,r,c){var f,a=!!c&&!!c.unsafe,p=!!c&&!!c.enumerable,v=!!c&&!!c.noTargetGet;"function"==typeof r&&("string"!=typeof e||i(r,"name")||o(r,"name",e),(f=s(r)).source||(f.source=l.join("string"==typeof e?e:""))),t!==n?(a?!v&&t[e]&&(p=!0):delete t[e],p?t[e]=r:o(t,e,r)):p?t[e]=r:u(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&a(this).source||c(this)}))},function(t,e,r){var n=r(34),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports={}},function(t,e,r){var n,o,i,u=r(85),c=r(0),f=r(3),a=r(9),s=r(5),l=r(32),p=r(26),v=r(16),y=c.WeakMap;if(u||l.state){var d=l.state||(l.state=new y),h=d.get,g=d.has,b=d.set;n=function(t,e){if(g.call(d,t))throw new TypeError("Object already initialized");return e.facade=t,b.call(d,t,e),e},o=function(t){return h.call(d,t)||{}},i=function(t){return g.call(d,t)}}else{var x=p("state");v[x]=!0,n=function(t,e){if(s(t,x))throw new TypeError("Object already initialized");return e.facade=t,a(t,x,e),e},o=function(t){return s(t,x)?t[x]:{}},i=function(t){return s(t,x)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!f(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},function(t,e,r){var n=r(7),o=r(50),i=r(15),u=r(10),c=r(21),f=r(5),a=r(48),s=Object.getOwnPropertyDescriptor;e.f=n?s:function(t,e){if(t=u(t),e=c(e),a)try{return s(t,e)}catch(t){}if(f(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e,r){var n=r(12),o=r(47);t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return"function"==typeof e&&Object(t)instanceof e}},function(t,e,r){var n,o=r(8),i=r(82),u=r(37),c=r(16),f=r(92),a=r(51),s=r(26),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},y=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},d=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;d="undefined"!=typeof document?document.domain&&n?y(n):((e=a("iframe")).style.display="none",f.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):y(n);for(var r=u.length;r--;)delete d.prototype[u[r]];return d()};c[l]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(p.prototype=o(t),r=new p,p.prototype=null,r[l]=t):r=d(),void 0===e?r:i(r,e)}},function(t,e,r){var n=r(76),o=r(19);t.exports=function(t){var e=n(t,"string");return o(e)?e:String(e)}},function(t,e){t.exports={}},,function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e){t.exports=!1},function(t,e,r){var n=r(35),o=r(29),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,r){var n=r(24);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}},function(t,e,r){var n=r(53),o=r(37).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},function(t,e,r){var n=r(19);t.exports=function(t){if(n(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},function(t,e,r){var n=r(0),o=r(33),i=n["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,r){var n=r(0);t.exports=function(t,e){try{Object.defineProperty(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(25),o=r(32);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.17.2",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e,r){var n=r(38),o=r(2);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,r){var n,o,i=r(0),u=r(66),c=i.process,f=i.Deno,a=c&&c.versions||f&&f.version,s=a&&a.v8;s?o=(n=s.split("."))[0]<4?1:n[0]+n[1]:u&&(!(n=u.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=u.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},function(t,e,r){var n=r(6).f,o=r(5),i=r(1)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},function(t,e,r){var n=r(45);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,r){var n=r(2),o=r(24),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e,r){var n=r(40),o=r(41),i=r(11),u=r(14),c=r(59),f=[].push,a=function(t){var e=1==t,r=2==t,a=3==t,s=4==t,l=6==t,p=7==t,v=5==t||l;return function(y,d,h,g){for(var b,x,m=i(y),S=o(m),w=n(d,h,3),O=u(S.length),j=0,P=g||c,E=e?P(y,O):r||p?P(y,0):void 0;O>j;j++)if((v||j in S)&&(x=w(b=S[j],j,m),t))if(e)E[j]=x;else if(x)switch(t){case 3:return!0;case 5:return b;case 6:return j;case 2:f.call(E,b)}else switch(t){case 4:return!1;case 7:f.call(E,b)}return l?-1:a||s?s:E}};t.exports={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}},function(t,e,r){var n={};n[r(1)("toStringTag")]="z",t.exports="[object z]"===String(n)},function(t,e,r){var n=r(32),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,r){var n=r(53),o=r(37);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e,r){var n=r(36);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,r){var n=r(7),o=r(2),i=r(51);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,r){"use strict";var n=r(10),o=r(91),i=r(22),u=r(17),c=r(56),f=u.set,a=u.getterFor("Array Iterator");t.exports=c(Array,"Array",(function(t,e){f(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=a(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},function(t,e,r){var n=r(0),o=r(3),i=n.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,e,r){var n=r(5),o=r(11),i=r(26),u=r(87),c=i("IE_PROTO"),f=Object.prototype;t.exports=u?Object.getPrototypeOf:function(t){return t=o(t),n(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?f:null}},function(t,e,r){var n=r(5),o=r(10),i=r(72).indexOf,u=r(16);t.exports=function(t,e){var r,c=o(t),f=0,a=[];for(r in c)!n(u,r)&&n(c,r)&&a.push(r);for(;e.length>f;)n(c,r=e[f++])&&(~i(a,r)||a.push(r));return a}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,r){"use strict";var n=r(21),o=r(6),i=r(15);t.exports=function(t,e,r){var u=n(e);u in t?o.f(t,u,i(0,r)):t[u]=r}},function(t,e,r){"use strict";var n=r(4),o=r(94),i=r(52),u=r(64),c=r(39),f=r(9),a=r(13),s=r(1),l=r(25),p=r(22),v=r(65),y=v.IteratorPrototype,d=v.BUGGY_SAFARI_ITERATORS,h=s("iterator"),g=function(){return this};t.exports=function(t,e,r,s,v,b,x){o(r,e,s);var m,S,w,O=function(t){if(t===v&&k)return k;if(!d&&t in E)return E[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},j=e+" Iterator",P=!1,E=t.prototype,T=E[h]||E["@@iterator"]||v&&E[v],k=!d&&T||O(v),A="Array"==e&&E.entries||T;if(A&&(m=i(A.call(new t)),y!==Object.prototype&&m.next&&(l||i(m)===y||(u?u(m,y):"function"!=typeof m[h]&&f(m,h,g)),c(m,j,!0,!0),l&&(p[j]=g))),"values"==v&&T&&"values"!==T.name&&(P=!0,k=function(){return T.call(this)}),l&&!x||E[h]===k||f(E,h,k),p[e]=k,v)if(S={values:O("values"),keys:b?k:O("keys"),entries:O("entries")},x)for(w in S)(d||P||!(w in E))&&a(E,w,S[w]);else n({target:e,proto:!0,forced:d||P},S);return S}},function(t,e,r){var n=r(5),o=r(71),i=r(18),u=r(6);t.exports=function(t,e){for(var r=o(e),c=u.f,f=i.f,a=0;a<r.length;a++){var s=r[a];n(t,s)||c(t,s,f(e,s))}}},function(t,e,r){var n=r(2),o=/#|\.prototype\./,i=function(t,e){var r=c[u(t)];return r==a||r!=f&&("function"==typeof e?n(e):!!e)},u=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},f=i.NATIVE="N",a=i.POLYFILL="P";t.exports=i},function(t,e,r){var n=r(86);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},function(t,e,r){var n=r(34),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},function(t,e,r){"use strict";var n=r(42).forEach,o=r(67)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,r){var n=r(2),o=r(1),i=r(38),u=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[u]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,r){var n=r(8),o=r(95);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,i){return n(r),o(i),e?t.call(r,i):r.__proto__=i,r}}():void 0)},function(t,e,r){"use strict";var n,o,i,u=r(2),c=r(52),f=r(9),a=r(5),s=r(1),l=r(25),p=s("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(n=o):v=!0);var y=null==n||u((function(){var t={};return n[p].call(t)!==t}));y&&(n={}),l&&!y||a(n,p)||f(n,p,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},function(t,e,r){var n=r(12);t.exports=n("navigator","userAgent")||""},function(t,e,r){"use strict";var n=r(2);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},function(t,e,r){var n=r(43),o=r(13),i=r(100);n||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,r){"use strict";var n=r(93).charAt,o=r(31),i=r(17),u=r(56),c=i.set,f=i.getterFor("String Iterator");u(String,"String",(function(t){c(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,e=f(this),r=e.string,o=e.index;return o>=r.length?{value:void 0,done:!0}:(t=n(r,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,r){"use strict";var n=r(4),o=r(0),i=r(12),u=r(25),c=r(7),f=r(36),a=r(2),s=r(5),l=r(28),p=r(3),v=r(19),y=r(8),d=r(11),h=r(10),g=r(21),b=r(31),x=r(15),m=r(20),S=r(46),w=r(30),O=r(88),j=r(54),P=r(18),E=r(6),T=r(50),k=r(9),A=r(13),I=r(35),L=r(26),_=r(16),M=r(29),N=r(1),D=r(75),R=r(78),F=r(39),C=r(17),H=r(42).forEach,z=L("hidden"),G=N("toPrimitive"),V=C.set,W=C.getterFor("Symbol"),B=Object.prototype,U=o.Symbol,K=i("JSON","stringify"),Y=P.f,q=E.f,J=O.f,$=T.f,Q=I("symbols"),X=I("op-symbols"),Z=I("string-to-symbol-registry"),tt=I("symbol-to-string-registry"),et=I("wks"),rt=o.QObject,nt=!rt||!rt.prototype||!rt.prototype.findChild,ot=c&&a((function(){return 7!=m(q({},"a",{get:function(){return q(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=Y(B,e);n&&delete B[e],q(t,e,r),n&&t!==B&&q(B,e,n)}:q,it=function(t,e){var r=Q[t]=m(U.prototype);return V(r,{type:"Symbol",tag:t,description:e}),c||(r.description=e),r},ut=function(t,e,r){t===B&&ut(X,e,r),y(t);var n=g(e);return y(r),s(Q,n)?(r.enumerable?(s(t,z)&&t[z][n]&&(t[z][n]=!1),r=m(r,{enumerable:x(0,!1)})):(s(t,z)||q(t,z,x(1,{})),t[z][n]=!0),ot(t,n,r)):q(t,n,r)},ct=function(t,e){y(t);var r=h(e),n=S(r).concat(lt(r));return H(n,(function(e){c&&!ft.call(r,e)||ut(t,e,r[e])})),t},ft=function(t){var e=g(t),r=$.call(this,e);return!(this===B&&s(Q,e)&&!s(X,e))&&(!(r||!s(this,e)||!s(Q,e)||s(this,z)&&this[z][e])||r)},at=function(t,e){var r=h(t),n=g(e);if(r!==B||!s(Q,n)||s(X,n)){var o=Y(r,n);return!o||!s(Q,n)||s(r,z)&&r[z][n]||(o.enumerable=!0),o}},st=function(t){var e=J(h(t)),r=[];return H(e,(function(t){s(Q,t)||s(_,t)||r.push(t)})),r},lt=function(t){var e=t===B,r=J(e?X:h(t)),n=[];return H(r,(function(t){!s(Q,t)||e&&!s(B,t)||n.push(Q[t])})),n};(f||(A((U=function(){if(this instanceof U)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?b(arguments[0]):void 0,e=M(t),r=function(t){this===B&&r.call(X,t),s(this,z)&&s(this[z],e)&&(this[z][e]=!1),ot(this,e,x(1,t))};return c&&nt&&ot(B,e,{configurable:!0,set:r}),it(e,t)}).prototype,"toString",(function(){return W(this).tag})),A(U,"withoutSetter",(function(t){return it(M(t),t)})),T.f=ft,E.f=ut,P.f=at,w.f=O.f=st,j.f=lt,D.f=function(t){return it(N(t),t)},c&&(q(U.prototype,"description",{configurable:!0,get:function(){return W(this).description}}),u||A(B,"propertyIsEnumerable",ft,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:U}),H(S(et),(function(t){R(t)})),n({target:"Symbol",stat:!0,forced:!f},{for:function(t){var e=b(t);if(s(Z,e))return Z[e];var r=U(e);return Z[e]=r,tt[r]=e,r},keyFor:function(t){if(!v(t))throw TypeError(t+" is not a symbol");if(s(tt,t))return tt[t]},useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),n({target:"Object",stat:!0,forced:!f,sham:!c},{create:function(t,e){return void 0===e?m(t):ct(m(t),e)},defineProperty:ut,defineProperties:ct,getOwnPropertyDescriptor:at}),n({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:st,getOwnPropertySymbols:lt}),n({target:"Object",stat:!0,forced:a((function(){j.f(1)}))},{getOwnPropertySymbols:function(t){return j.f(d(t))}}),K)&&n({target:"JSON",stat:!0,forced:!f||a((function(){var t=U();return"[null]"!=K([t])||"{}"!=K({a:t})||"{}"!=K(Object(t))}))},{stringify:function(t,e,r){for(var n,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=e,(p(e)||void 0!==t)&&!v(t))return l(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!v(e))return e}),o[1]=e,K.apply(null,o)}});U.prototype[G]||k(U.prototype,G,U.prototype.valueOf),F(U,"Symbol"),_[z]=!0},function(t,e,r){var n=r(12),o=r(30),i=r(54),u=r(8);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(u(t)),r=i.f;return r?e.concat(r(t)):e}},function(t,e,r){var n=r(10),o=r(14),i=r(60),u=function(t){return function(e,r,u){var c,f=n(e),a=o(f.length),s=i(u,a);if(t&&r!=r){for(;a>s;)if((c=f[s++])!=c)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===r)return t||s||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},function(t,e,r){var n=r(74),o=r(22),i=r(1)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[n(t)]}},function(t,e,r){var n=r(43),o=r(24),i=r(1)("toStringTag"),u="Arguments"==o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?r:u?o(e):"Object"==(n=o(e))&&"function"==typeof e.callee?"Arguments":n}},function(t,e,r){var n=r(1);e.f=n},function(t,e,r){var n=r(3),o=r(19),i=r(84),u=r(1)("toPrimitive");t.exports=function(t,e){if(!n(t)||o(t))return t;var r,c=t[u];if(void 0!==c){if(void 0===e&&(e="default"),r=c.call(t,e),!n(r)||o(r))return r;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(t,e)}},function(t,e,r){var n=r(0),o=r(62),i=r(49),u=r(9),c=r(1),f=c("iterator"),a=c("toStringTag"),s=i.values;for(var l in o){var p=n[l],v=p&&p.prototype;if(v){if(v[f]!==s)try{u(v,f,s)}catch(t){v[f]=s}if(v[a]||u(v,a,l),o[l])for(var y in i)if(v[y]!==i[y])try{u(v,y,i[y])}catch(t){v[y]=i[y]}}}},function(t,e,r){var n=r(101),o=r(5),i=r(75),u=r(6).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||u(e,t,{value:i.f(t)})}},function(t,e,r){var n=r(4),o=r(7);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:r(6).f})},function(t,e,r){"use strict";var n=r(4),o=r(7),i=r(0),u=r(5),c=r(3),f=r(6).f,a=r(57),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var l={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new s(t):void 0===t?s():s(t);return""===t&&(l[e]=!0),e};a(p,s);var v=p.prototype=s.prototype;v.constructor=p;var y=v.toString,d="Symbol(test)"==String(s("test")),h=/^Symbol\((.*)\)[^)]+$/;f(v,"description",{configurable:!0,get:function(){var t=c(this)?this.valueOf():this,e=y.call(t);if(u(l,t))return"";var r=d?e.slice(7,-1):e.replace(h,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:p})}},function(t,e,r){r(78)("iterator")},function(t,e,r){var n=r(7),o=r(6),i=r(8),u=r(46);t.exports=n?Object.defineProperties:function(t,e){i(t);for(var r,n=u(e),c=n.length,f=0;c>f;)o.f(t,r=n[f++],e[r]);return t}},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){var n=r(3);t.exports=function(t,e){var r,o;if("string"===e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if("string"!==e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,r){var n=r(0),o=r(44),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,e,r){var n=r(3),o=r(28),i=r(1)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)?n(e)&&null===(e=e[i])&&(e=void 0):e=void 0),void 0===e?Array:e}},function(t,e,r){var n=r(2);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,r){var n=r(10),o=r(30).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(n(t))}},function(t,e,r){"use strict";var n=r(4),o=r(61);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,r){var n=r(0),o=r(62),i=r(61),u=r(9);for(var c in o){var f=n[c],a=f&&f.prototype;if(a&&a.forEach!==i)try{u(a,"forEach",i)}catch(t){a.forEach=i}}},function(t,e,r){var n=r(1),o=r(20),i=r(6),u=n("unscopables"),c=Array.prototype;null==c[u]&&i.f(c,u,{configurable:!0,value:o(null)}),t.exports=function(t){c[u][t]=!0}},function(t,e,r){var n=r(12);t.exports=n("document","documentElement")},function(t,e,r){var n=r(34),o=r(31),i=r(27),u=function(t){return function(e,r){var u,c,f=o(i(e)),a=n(r),s=f.length;return a<0||a>=s?t?"":void 0:(u=f.charCodeAt(a))<55296||u>56319||a+1===s||(c=f.charCodeAt(a+1))<56320||c>57343?t?f.charAt(a):u:t?f.slice(a,a+2):c-56320+(u-55296<<10)+65536}};t.exports={codeAt:u(!1),charAt:u(!0)}},function(t,e,r){"use strict";var n=r(65).IteratorPrototype,o=r(20),i=r(15),u=r(39),c=r(22),f=function(){return this};t.exports=function(t,e,r){var a=e+" Iterator";return t.prototype=o(n,{next:i(1,r)}),u(t,a,!1,!0),c[a]=f,t}},function(t,e,r){var n=r(3);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,r){var n=r(1),o=r(22),i=n("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||u[i]===t)}},function(t,e,r){var n=r(8),o=r(73);t.exports=function(t,e){var r=arguments.length<2?o(t):e;if("function"!=typeof r)throw TypeError(String(t)+" is not iterable");return n(r.call(t))}},function(t,e,r){var n=r(8);t.exports=function(t,e,r){var o,i;n(t);try{if(void 0===(o=t.return)){if("throw"===e)throw r;return r}o=o.call(t)}catch(t){i=!0,o=t}if("throw"===e)throw r;if(i)throw o;return n(o),r}},function(t,e,r){var n=r(1)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[n]=function(){return this},Array.from(u,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},function(t,e,r){"use strict";var n=r(43),o=r(74);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e,r){var n=r(0);t.exports=n},function(t,e,r){var n=r(8),o=r(96),i=r(14),u=r(40),c=r(97),f=r(73),a=r(98),s=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,r){var l,p,v,y,d,h,g,b=r&&r.that,x=!(!r||!r.AS_ENTRIES),m=!(!r||!r.IS_ITERATOR),S=!(!r||!r.INTERRUPTED),w=u(e,b,1+x+S),O=function(t){return l&&a(l,"normal",t),new s(!0,t)},j=function(t){return x?(n(t),S?w(t[0],t[1],O):w(t[0],t[1])):S?w(t,O):w(t)};if(m)l=t;else{if("function"!=typeof(p=f(t)))throw TypeError("Target is not iterable");if(o(p)){for(v=0,y=i(t.length);y>v;v++)if((d=j(t[v]))&&d instanceof s)return d;return new s(!1)}l=c(t,p)}for(h=l.next;!(g=h.call(l)).done;){try{d=j(g.value)}catch(t){a(l,"throw",t)}if("object"==typeof d&&d&&d instanceof s)return d}return new s(!1)}},function(t,e){t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},,function(t,e,r){var n=r(4),o=r(16),i=r(3),u=r(5),c=r(6).f,f=r(30),a=r(88),s=r(29),l=r(125),p=!1,v=s("meta"),y=0,d=Object.isExtensible||function(){return!0},h=function(t){c(t,v,{value:{objectID:"O"+y++,weakData:{}}})},g=t.exports={enable:function(){g.enable=function(){},p=!0;var t=f.f,e=[].splice,r={};r[v]=1,t(r).length&&(f.f=function(r){for(var n=t(r),o=0,i=n.length;o<i;o++)if(n[o]===v){e.call(n,o,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!u(t,v)){if(!d(t))return"F";if(!e)return"E";h(t)}return t[v].objectID},getWeakData:function(t,e){if(!u(t,v)){if(!d(t))return!0;if(!e)return!1;h(t)}return t[v].weakData},onFreeze:function(t){return l&&p&&d(t)&&!u(t,v)&&h(t),t}};o[v]=!0},function(t,e,r){var n=r(4),o=r(2),i=r(10),u=r(18).f,c=r(7),f=o((function(){u(1)}));n({target:"Object",stat:!0,forced:!c||f,sham:!c},{getOwnPropertyDescriptor:function(t,e){return u(i(t),e)}})},function(t,e,r){var n=r(3),o=r(64);t.exports=function(t,e,r){var i,u;return o&&"function"==typeof(i=e.constructor)&&i!==r&&n(u=i.prototype)&&u!==r.prototype&&o(t,u),t}},,,,,,,,,,,function(t,e,r){"use strict";var n=r(4),o=r(0),i=r(58),u=r(13),c=r(105),f=r(102),a=r(103),s=r(3),l=r(2),p=r(99),v=r(39),y=r(107);t.exports=function(t,e,r){var d=-1!==t.indexOf("Map"),h=-1!==t.indexOf("Weak"),g=d?"set":"add",b=o[t],x=b&&b.prototype,m=b,S={},w=function(t){var e=x[t];u(x,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(h&&!s(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return h&&!s(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(h&&!s(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(i(t,"function"!=typeof b||!(h||x.forEach&&!l((function(){(new b).entries().next()})))))m=r.getConstructor(e,t,d,g),c.enable();else if(i(t,!0)){var O=new m,j=O[g](h?{}:-0,1)!=O,P=l((function(){O.has(1)})),E=p((function(t){new b(t)})),T=!h&&l((function(){for(var t=new b,e=5;e--;)t[g](e,e);return!t.has(-0)}));E||((m=e((function(e,r){a(e,m,t);var n=y(new b,e,m);return null!=r&&f(r,n[g],{that:n,AS_ENTRIES:d}),n}))).prototype=x,x.constructor=m),(P||T)&&(w("delete"),w("has"),d&&w("get")),(T||j)&&w(g),h&&x.clear&&delete x.clear}return S[t]=m,n({global:!0,forced:m!=b},S),v(m,t),h||r.setStrong(m,t,d),m}},function(t,e,r){"use strict";var n=r(6).f,o=r(20),i=r(120),u=r(40),c=r(103),f=r(102),a=r(56),s=r(121),l=r(7),p=r(105).fastKey,v=r(17),y=v.set,d=v.getterFor;t.exports={getConstructor:function(t,e,r,a){var s=t((function(t,n){c(t,s,e),y(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=n&&f(n,t[a],{that:t,AS_ENTRIES:r})})),v=d(e),h=function(t,e,r){var n,o,i=v(t),u=g(t,e);return u?u.value=r:(i.last=u={index:o=p(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=u),n&&(n.next=u),l?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t},g=function(t,e){var r,n=v(t),o=p(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return i(s.prototype,{clear:function(){for(var t=v(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=v(this),r=g(this,t);if(r){var n=r.next,o=r.previous;delete e.index[r.index],r.removed=!0,o&&(o.next=n),n&&(n.previous=o),e.first==r&&(e.first=n),e.last==r&&(e.last=o),l?e.size--:this.size--}return!!r},forEach:function(t){for(var e,r=v(this),n=u(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!g(this,t)}}),i(s.prototype,r?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return h(this,0===t?0:t,e)}}:{add:function(t){return h(this,t=0===t?0:t,t)}}),l&&n(s.prototype,"size",{get:function(){return v(this).size}}),s},setStrong:function(t,e,r){var n=e+" Iterator",o=d(e),i=d(n);a(t,e,(function(t,e){y(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),s(e)}}},function(t,e,r){var n=r(13);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},function(t,e,r){"use strict";var n=r(12),o=r(6),i=r(1),u=r(7),c=i("species");t.exports=function(t){var e=n(t),r=o.f;u&&e&&!e[c]&&r(e,c,{configurable:!0,get:function(){return this}})}},,,function(t,e,r){"use strict";var n=r(118),o=r(119);t.exports=n("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},function(t,e,r){var n=r(2);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(t,e,r){var n=r(4),o=r(11),i=r(46);n({target:"Object",stat:!0,forced:r(2)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},,function(t,e,r){"use strict";var n=r(4),o=r(42).filter;n({target:"Array",proto:!0,forced:!r(63)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(4),o=r(7),i=r(71),u=r(10),c=r(18),f=r(55);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,r,n=u(t),o=c.f,a=i(n),s={},l=0;a.length>l;)void 0!==(r=o(n,e=a[l++]))&&f(s,e,r);return s}})},function(t,e,r){var n=r(4),o=r(7);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:r(82)})},,,,,,,,,,,,,,,,,,,,,function(t,e,r){var n=r(24),o=r(0);t.exports="process"==n(o.process)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";r.r(e),r.d(e,"AutoLayout",(function(){return l}));r(49),r(124),r(68),r(69),r(77),r(89),r(90),r(200),r(79),r(70),r(80),r(81),r(126),r(128),r(106),r(129),r(130);function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var f=-1,a=0,s=1,l=function(){function t(e){var r=this,n=e.lf;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,"lf",void 0),c(this,"levelHeight",void 0),c(this,"newNodeMap",void 0),this.lf=n,n.layout=function(t){var e=r.lf.getGraphRawData();r.lf.setStartNodeType(t);var n=r.lf.getPathes();return r.levelHeight=[],r.newNodeMap=new Map,r.layout(e,n)}}var e,r,n;return e=t,(r=[{key:"layout",value:function(t,e){var r=[];e.forEach((function(t){t.elements.length>r.length&&(r=t.elements)}));for(var n=this.formatData(t),o={nodes:[],edges:[]},i=r.length-1;i>=0;i--)this.setNodePosition(r[i],n,o,i,1);this.lf.graphModel.graphDataToModel(o)}},{key:"setNodePosition",value:function(t,e,r,n,u){var c=this,f=e[t],a=f.text,s=f.type,l=f.next,p=f.properties,v=160*n+40,y=120*u,d={id:t,x:v,text:a,y:y,type:s,properties:p};return a&&"object"===i(a)&&(d.text=o(o({},a),{},{x:v+a.x,y:y+a.y})),this.newNodeMap.set(d.id,{x:d.x,y:d.y,type:s}),r.nodes.push(d),f.isFixed=!0,this.addLevelHeight(n,1),l&&l.length>0&&l.forEach((function(i){if(!e[i.nodeId].isFixed){var u=c.getLevelHeight(n+1);c.addLevelHeight(n,1),c.setNodePosition(i.nodeId,e,r,n+1,u+1)}r.edges.push(o({id:i.edgeId,type:i.edgeType,sourceNodeId:t,targetNodeId:i.nodeId,properties:i.properties,text:i.text},c.getEdgeDataPoints(t,i.nodeId)))})),d}},{key:"getEdgeDataPoints",value:function(t,e){var r=this.newNodeMap.get(t),n=this.newNodeMap.get(e),o=this.getShape(t),i=o.width,u=o.height,c=this.getShape(e),l=c.width,p=c.height,v=this.getRelativePosition(r,n),y={x:r.x,y:r.y},d={x:n.x,y:n.y};switch(v){case a:y.x=r.x+i/2,d.x=n.x-l/2;break;case f:y.y=r.y+u/2,d.x=n.x-l/2;break;case s:y.x=r.x+i/2,d.y=n.y+p/2}return{startPoint:y,endPoint:d}}},{key:"getRelativePosition",value:function(t,e){var r=t.y,n=e.y;return r<n?-1:r===n?0:1}},{key:"getShape",value:function(t){var e=this.lf.getNodeModel(t);return{height:e.height,width:e.width}}},{key:"formatData",value:function(t){var e=t.nodes.reduce((function(t,e){var r=e.type,n=e.properties,o=e.text,u=e.x,c=e.y;return o&&"object"===i(o)&&(o.x=o.x-u,o.y=o.y-c),t[e.id]={type:r,properties:n,text:o,prev:[],next:[]},t}),{});return t.edges.forEach((function(t){var r=t.sourceNodeId,n=t.targetNodeId,o=t.id,u=t.properties,c=t.text,f=c;"object"===i(c)&&(f=c.value),e[r].next.push({edgeId:o,nodeId:n,edgeType:t.type,properties:u,text:f}),e[n].prev.push({edgeId:o,nodeId:r,properties:u,text:f})})),e}},{key:"addLevelHeight",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=this.levelHeight[t];n||(n={positiveHeight:0,negativeHeight:0},this.levelHeight[t]=n),r?n.negativeHeight-=e:n.positiveHeight+=e}},{key:"getLevelHeight",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.levelHeight[t];return r?e?r.negativeHeight:r.positiveHeight:0}}])&&u(e.prototype,r),n&&u(e,n),t}();c(l,"pluginName","AutoLayout")},function(t,e,r){"use strict";var n=r(4),o=r(201).left,i=r(67),u=r(38),c=r(151);n({target:"Array",proto:!0,forced:!i("reduce")||!c&&u>79&&u<83},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(45),o=r(11),i=r(41),u=r(14),c=function(t){return function(e,r,c,f){n(r);var a=o(e),s=i(a),l=u(a.length),p=t?l-1:0,v=t?-1:1;if(c<2)for(;;){if(p in s){f=s[p],p+=v;break}if(p+=v,t?p<0:l<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:l>p;p+=v)p in s&&(f=r(f,s[p],p,a));return f}};t.exports={left:c(!1),right:c(!0)}}])}));
1
+ !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r=e();for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}}(window,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=199)}([function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,r(85))},function(t,e,r){var n=r(0),o=r(35),i=r(5),u=r(29),c=r(36),f=r(47),a=o("wks"),s=n.Symbol,l=f?s:s&&s.withoutSetter||u;t.exports=function(t){return i(a,t)&&(c||"string"==typeof a[t])||(c&&i(s,t)?a[t]=s[t]:a[t]=l("Symbol."+t)),a[t]}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,r){var n=r(0),o=r(18).f,i=r(9),u=r(13),c=r(33),f=r(57),a=r(58);t.exports=function(t,e){var r,s,l,p,v,y=t.target,d=t.global,h=t.stat;if(r=d?n:h?n[y]||c(y,{}):(n[y]||{}).prototype)for(s in e){if(p=e[s],l=t.noTargetGet?(v=o(r,s))&&v.value:r[s],!a(d?s:y+(h?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;f(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(r,s,p,t)}}},function(t,e,r){var n=r(11),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(n(t),e)}},function(t,e,r){var n=r(7),o=r(48),i=r(8),u=r(21),c=Object.defineProperty;e.f=n?c:function(t,e,r){if(i(t),e=u(e),i(r),o)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(2);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,r){var n=r(3);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,r){var n=r(7),o=r(6),i=r(15);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(41),o=r(27);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(27);t.exports=function(t){return Object(n(t))}},function(t,e,r){var n=r(0),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t]):n[t]&&n[t][e]}},function(t,e,r){var n=r(0),o=r(9),i=r(5),u=r(33),c=r(44),f=r(17),a=f.get,s=f.enforce,l=String(String).split("String");(t.exports=function(t,e,r,c){var f,a=!!c&&!!c.unsafe,p=!!c&&!!c.enumerable,v=!!c&&!!c.noTargetGet;"function"==typeof r&&("string"!=typeof e||i(r,"name")||o(r,"name",e),(f=s(r)).source||(f.source=l.join("string"==typeof e?e:""))),t!==n?(a?!v&&t[e]&&(p=!0):delete t[e],p?t[e]=r:o(t,e,r)):p?t[e]=r:u(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&a(this).source||c(this)}))},function(t,e,r){var n=r(34),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports={}},function(t,e,r){var n,o,i,u=r(87),c=r(0),f=r(3),a=r(9),s=r(5),l=r(32),p=r(26),v=r(16),y=c.WeakMap;if(u||l.state){var d=l.state||(l.state=new y),h=d.get,g=d.has,b=d.set;n=function(t,e){if(g.call(d,t))throw new TypeError("Object already initialized");return e.facade=t,b.call(d,t,e),e},o=function(t){return h.call(d,t)||{}},i=function(t){return g.call(d,t)}}else{var x=p("state");v[x]=!0,n=function(t,e){if(s(t,x))throw new TypeError("Object already initialized");return e.facade=t,a(t,x,e),e},o=function(t){return s(t,x)?t[x]:{}},i=function(t){return s(t,x)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!f(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},function(t,e,r){var n=r(7),o=r(50),i=r(15),u=r(10),c=r(21),f=r(5),a=r(48),s=Object.getOwnPropertyDescriptor;e.f=n?s:function(t,e){if(t=u(t),e=c(e),a)try{return s(t,e)}catch(t){}if(f(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e,r){var n=r(12),o=r(47);t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return"function"==typeof e&&Object(t)instanceof e}},function(t,e,r){var n,o=r(8),i=r(84),u=r(37),c=r(16),f=r(91),a=r(51),s=r(26),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},y=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},d=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;d="undefined"!=typeof document?document.domain&&n?y(n):((e=a("iframe")).style.display="none",f.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):y(n);for(var r=u.length;r--;)delete d.prototype[u[r]];return d()};c[l]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(p.prototype=o(t),r=new p,p.prototype=null,r[l]=t):r=d(),void 0===e?r:i(r,e)}},function(t,e,r){var n=r(76),o=r(19);t.exports=function(t){var e=n(t,"string");return o(e)?e:String(e)}},function(t,e){t.exports={}},,function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e){t.exports=!1},function(t,e,r){var n=r(35),o=r(29),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,r){var n=r(24);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}},function(t,e,r){var n=r(53),o=r(37).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},function(t,e,r){var n=r(19);t.exports=function(t){if(n(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},function(t,e,r){var n=r(0),o=r(33),i=n["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,r){var n=r(0);t.exports=function(t,e){try{Object.defineProperty(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(25),o=r(32);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.17.2",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e,r){var n=r(38),o=r(2);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,r){var n,o,i=r(0),u=r(66),c=i.process,f=i.Deno,a=c&&c.versions||f&&f.version,s=a&&a.v8;s?o=(n=s.split("."))[0]<4?1:n[0]+n[1]:u&&(!(n=u.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=u.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},function(t,e,r){var n=r(6).f,o=r(5),i=r(1)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},function(t,e,r){var n=r(45);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,r){var n=r(2),o=r(24),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e,r){var n=r(40),o=r(41),i=r(11),u=r(14),c=r(59),f=[].push,a=function(t){var e=1==t,r=2==t,a=3==t,s=4==t,l=6==t,p=7==t,v=5==t||l;return function(y,d,h,g){for(var b,x,m=i(y),S=o(m),O=n(d,h,3),w=u(S.length),j=0,P=g||c,E=e?P(y,w):r||p?P(y,0):void 0;w>j;j++)if((v||j in S)&&(x=O(b=S[j],j,m),t))if(e)E[j]=x;else if(x)switch(t){case 3:return!0;case 5:return b;case 6:return j;case 2:f.call(E,b)}else switch(t){case 4:return!1;case 7:f.call(E,b)}return l?-1:a||s?s:E}};t.exports={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}},function(t,e,r){var n={};n[r(1)("toStringTag")]="z",t.exports="[object z]"===String(n)},function(t,e,r){var n=r(32),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,r){var n=r(53),o=r(37);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e,r){var n=r(36);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,r){var n=r(7),o=r(2),i=r(51);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,r){"use strict";var n=r(10),o=r(93),i=r(22),u=r(17),c=r(56),f=u.set,a=u.getterFor("Array Iterator");t.exports=c(Array,"Array",(function(t,e){f(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=a(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},function(t,e,r){var n=r(0),o=r(3),i=n.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,e,r){var n=r(5),o=r(11),i=r(26),u=r(89),c=i("IE_PROTO"),f=Object.prototype;t.exports=u?Object.getPrototypeOf:function(t){return t=o(t),n(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?f:null}},function(t,e,r){var n=r(5),o=r(10),i=r(72).indexOf,u=r(16);t.exports=function(t,e){var r,c=o(t),f=0,a=[];for(r in c)!n(u,r)&&n(c,r)&&a.push(r);for(;e.length>f;)n(c,r=e[f++])&&(~i(a,r)||a.push(r));return a}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,r){"use strict";var n=r(21),o=r(6),i=r(15);t.exports=function(t,e,r){var u=n(e);u in t?o.f(t,u,i(0,r)):t[u]=r}},function(t,e,r){"use strict";var n=r(4),o=r(94),i=r(52),u=r(64),c=r(39),f=r(9),a=r(13),s=r(1),l=r(25),p=r(22),v=r(65),y=v.IteratorPrototype,d=v.BUGGY_SAFARI_ITERATORS,h=s("iterator"),g=function(){return this};t.exports=function(t,e,r,s,v,b,x){o(r,e,s);var m,S,O,w=function(t){if(t===v&&k)return k;if(!d&&t in E)return E[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},j=e+" Iterator",P=!1,E=t.prototype,T=E[h]||E["@@iterator"]||v&&E[v],k=!d&&T||w(v),I="Array"==e&&E.entries||T;if(I&&(m=i(I.call(new t)),y!==Object.prototype&&m.next&&(l||i(m)===y||(u?u(m,y):"function"!=typeof m[h]&&f(m,h,g)),c(m,j,!0,!0),l&&(p[j]=g))),"values"==v&&T&&"values"!==T.name&&(P=!0,k=function(){return T.call(this)}),l&&!x||E[h]===k||f(E,h,k),p[e]=k,v)if(S={values:w("values"),keys:b?k:w("keys"),entries:w("entries")},x)for(O in S)(d||P||!(O in E))&&a(E,O,S[O]);else n({target:e,proto:!0,forced:d||P},S);return S}},function(t,e,r){var n=r(5),o=r(71),i=r(18),u=r(6);t.exports=function(t,e){for(var r=o(e),c=u.f,f=i.f,a=0;a<r.length;a++){var s=r[a];n(t,s)||c(t,s,f(e,s))}}},function(t,e,r){var n=r(2),o=/#|\.prototype\./,i=function(t,e){var r=c[u(t)];return r==a||r!=f&&("function"==typeof e?n(e):!!e)},u=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},f=i.NATIVE="N",a=i.POLYFILL="P";t.exports=i},function(t,e,r){var n=r(88);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},function(t,e,r){"use strict";var n=r(42).forEach,o=r(67)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,r){var n=r(34),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},function(t,e,r){var n=r(2),o=r(1),i=r(38),u=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[u]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,r){var n=r(8),o=r(95);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,i){return n(r),o(i),e?t.call(r,i):r.__proto__=i,r}}():void 0)},function(t,e,r){"use strict";var n,o,i,u=r(2),c=r(52),f=r(9),a=r(5),s=r(1),l=r(25),p=s("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(n=o):v=!0);var y=null==n||u((function(){var t={};return n[p].call(t)!==t}));y&&(n={}),l&&!y||a(n,p)||f(n,p,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},function(t,e,r){var n=r(12);t.exports=n("navigator","userAgent")||""},function(t,e,r){"use strict";var n=r(2);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},function(t,e,r){var n=r(43),o=r(13),i=r(100);n||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,r){"use strict";var n=r(92).charAt,o=r(31),i=r(17),u=r(56),c=i.set,f=i.getterFor("String Iterator");u(String,"String",(function(t){c(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,e=f(this),r=e.string,o=e.index;return o>=r.length?{value:void 0,done:!0}:(t=n(r,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,r){"use strict";var n=r(4),o=r(0),i=r(12),u=r(25),c=r(7),f=r(36),a=r(2),s=r(5),l=r(28),p=r(3),v=r(19),y=r(8),d=r(11),h=r(10),g=r(21),b=r(31),x=r(15),m=r(20),S=r(46),O=r(30),w=r(90),j=r(54),P=r(18),E=r(6),T=r(50),k=r(9),I=r(13),A=r(35),L=r(26),_=r(16),M=r(29),N=r(1),D=r(75),R=r(78),F=r(39),C=r(17),H=r(42).forEach,z=L("hidden"),G=N("toPrimitive"),V=C.set,W=C.getterFor("Symbol"),B=Object.prototype,U=o.Symbol,K=i("JSON","stringify"),Y=P.f,q=E.f,J=w.f,$=T.f,Q=A("symbols"),X=A("op-symbols"),Z=A("string-to-symbol-registry"),tt=A("symbol-to-string-registry"),et=A("wks"),rt=o.QObject,nt=!rt||!rt.prototype||!rt.prototype.findChild,ot=c&&a((function(){return 7!=m(q({},"a",{get:function(){return q(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=Y(B,e);n&&delete B[e],q(t,e,r),n&&t!==B&&q(B,e,n)}:q,it=function(t,e){var r=Q[t]=m(U.prototype);return V(r,{type:"Symbol",tag:t,description:e}),c||(r.description=e),r},ut=function(t,e,r){t===B&&ut(X,e,r),y(t);var n=g(e);return y(r),s(Q,n)?(r.enumerable?(s(t,z)&&t[z][n]&&(t[z][n]=!1),r=m(r,{enumerable:x(0,!1)})):(s(t,z)||q(t,z,x(1,{})),t[z][n]=!0),ot(t,n,r)):q(t,n,r)},ct=function(t,e){y(t);var r=h(e),n=S(r).concat(lt(r));return H(n,(function(e){c&&!ft.call(r,e)||ut(t,e,r[e])})),t},ft=function(t){var e=g(t),r=$.call(this,e);return!(this===B&&s(Q,e)&&!s(X,e))&&(!(r||!s(this,e)||!s(Q,e)||s(this,z)&&this[z][e])||r)},at=function(t,e){var r=h(t),n=g(e);if(r!==B||!s(Q,n)||s(X,n)){var o=Y(r,n);return!o||!s(Q,n)||s(r,z)&&r[z][n]||(o.enumerable=!0),o}},st=function(t){var e=J(h(t)),r=[];return H(e,(function(t){s(Q,t)||s(_,t)||r.push(t)})),r},lt=function(t){var e=t===B,r=J(e?X:h(t)),n=[];return H(r,(function(t){!s(Q,t)||e&&!s(B,t)||n.push(Q[t])})),n};(f||(I((U=function(){if(this instanceof U)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?b(arguments[0]):void 0,e=M(t),r=function(t){this===B&&r.call(X,t),s(this,z)&&s(this[z],e)&&(this[z][e]=!1),ot(this,e,x(1,t))};return c&&nt&&ot(B,e,{configurable:!0,set:r}),it(e,t)}).prototype,"toString",(function(){return W(this).tag})),I(U,"withoutSetter",(function(t){return it(M(t),t)})),T.f=ft,E.f=ut,P.f=at,O.f=w.f=st,j.f=lt,D.f=function(t){return it(N(t),t)},c&&(q(U.prototype,"description",{configurable:!0,get:function(){return W(this).description}}),u||I(B,"propertyIsEnumerable",ft,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:U}),H(S(et),(function(t){R(t)})),n({target:"Symbol",stat:!0,forced:!f},{for:function(t){var e=b(t);if(s(Z,e))return Z[e];var r=U(e);return Z[e]=r,tt[r]=e,r},keyFor:function(t){if(!v(t))throw TypeError(t+" is not a symbol");if(s(tt,t))return tt[t]},useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),n({target:"Object",stat:!0,forced:!f,sham:!c},{create:function(t,e){return void 0===e?m(t):ct(m(t),e)},defineProperty:ut,defineProperties:ct,getOwnPropertyDescriptor:at}),n({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:st,getOwnPropertySymbols:lt}),n({target:"Object",stat:!0,forced:a((function(){j.f(1)}))},{getOwnPropertySymbols:function(t){return j.f(d(t))}}),K)&&n({target:"JSON",stat:!0,forced:!f||a((function(){var t=U();return"[null]"!=K([t])||"{}"!=K({a:t})||"{}"!=K(Object(t))}))},{stringify:function(t,e,r){for(var n,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=e,(p(e)||void 0!==t)&&!v(t))return l(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!v(e))return e}),o[1]=e,K.apply(null,o)}});U.prototype[G]||k(U.prototype,G,U.prototype.valueOf),F(U,"Symbol"),_[z]=!0},function(t,e,r){var n=r(12),o=r(30),i=r(54),u=r(8);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(u(t)),r=i.f;return r?e.concat(r(t)):e}},function(t,e,r){var n=r(10),o=r(14),i=r(62),u=function(t){return function(e,r,u){var c,f=n(e),a=o(f.length),s=i(u,a);if(t&&r!=r){for(;a>s;)if((c=f[s++])!=c)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===r)return t||s||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},function(t,e,r){var n=r(74),o=r(22),i=r(1)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[n(t)]}},function(t,e,r){var n=r(43),o=r(24),i=r(1)("toStringTag"),u="Arguments"==o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?r:u?o(e):"Object"==(n=o(e))&&"function"==typeof e.callee?"Arguments":n}},function(t,e,r){var n=r(1);e.f=n},function(t,e,r){var n=r(3),o=r(19),i=r(86),u=r(1)("toPrimitive");t.exports=function(t,e){if(!n(t)||o(t))return t;var r,c=t[u];if(void 0!==c){if(void 0===e&&(e="default"),r=c.call(t,e),!n(r)||o(r))return r;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(t,e)}},function(t,e,r){var n=r(0),o=r(61),i=r(49),u=r(9),c=r(1),f=c("iterator"),a=c("toStringTag"),s=i.values;for(var l in o){var p=n[l],v=p&&p.prototype;if(v){if(v[f]!==s)try{u(v,f,s)}catch(t){v[f]=s}if(v[a]||u(v,a,l),o[l])for(var y in i)if(v[y]!==i[y])try{u(v,y,i[y])}catch(t){v[y]=i[y]}}}},function(t,e,r){var n=r(101),o=r(5),i=r(75),u=r(6).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||u(e,t,{value:i.f(t)})}},function(t,e,r){var n=r(4),o=r(7);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:r(6).f})},function(t,e,r){"use strict";var n=r(4),o=r(7),i=r(0),u=r(5),c=r(3),f=r(6).f,a=r(57),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var l={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new s(t):void 0===t?s():s(t);return""===t&&(l[e]=!0),e};a(p,s);var v=p.prototype=s.prototype;v.constructor=p;var y=v.toString,d="Symbol(test)"==String(s("test")),h=/^Symbol\((.*)\)[^)]+$/;f(v,"description",{configurable:!0,get:function(){var t=c(this)?this.valueOf():this,e=y.call(t);if(u(l,t))return"";var r=d?e.slice(7,-1):e.replace(h,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:p})}},function(t,e,r){r(78)("iterator")},function(t,e,r){"use strict";var n=r(4),o=r(60);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,r){var n=r(0),o=r(61),i=r(60),u=r(9);for(var c in o){var f=n[c],a=f&&f.prototype;if(a&&a.forEach!==i)try{u(a,"forEach",i)}catch(t){a.forEach=i}}},function(t,e,r){var n=r(7),o=r(6),i=r(8),u=r(46);t.exports=n?Object.defineProperties:function(t,e){i(t);for(var r,n=u(e),c=n.length,f=0;c>f;)o.f(t,r=n[f++],e[r]);return t}},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){var n=r(3);t.exports=function(t,e){var r,o;if("string"===e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if("string"!==e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,r){var n=r(0),o=r(44),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,e,r){var n=r(3),o=r(28),i=r(1)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)?n(e)&&null===(e=e[i])&&(e=void 0):e=void 0),void 0===e?Array:e}},function(t,e,r){var n=r(2);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,r){var n=r(10),o=r(30).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(n(t))}},function(t,e,r){var n=r(12);t.exports=n("document","documentElement")},function(t,e,r){var n=r(34),o=r(31),i=r(27),u=function(t){return function(e,r){var u,c,f=o(i(e)),a=n(r),s=f.length;return a<0||a>=s?t?"":void 0:(u=f.charCodeAt(a))<55296||u>56319||a+1===s||(c=f.charCodeAt(a+1))<56320||c>57343?t?f.charAt(a):u:t?f.slice(a,a+2):c-56320+(u-55296<<10)+65536}};t.exports={codeAt:u(!1),charAt:u(!0)}},function(t,e,r){var n=r(1),o=r(20),i=r(6),u=n("unscopables"),c=Array.prototype;null==c[u]&&i.f(c,u,{configurable:!0,value:o(null)}),t.exports=function(t){c[u][t]=!0}},function(t,e,r){"use strict";var n=r(65).IteratorPrototype,o=r(20),i=r(15),u=r(39),c=r(22),f=function(){return this};t.exports=function(t,e,r){var a=e+" Iterator";return t.prototype=o(n,{next:i(1,r)}),u(t,a,!1,!0),c[a]=f,t}},function(t,e,r){var n=r(3);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,r){var n=r(1),o=r(22),i=n("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||u[i]===t)}},function(t,e,r){var n=r(8),o=r(73);t.exports=function(t,e){var r=arguments.length<2?o(t):e;if("function"!=typeof r)throw TypeError(String(t)+" is not iterable");return n(r.call(t))}},function(t,e,r){var n=r(8);t.exports=function(t,e,r){var o,i;n(t);try{if(void 0===(o=t.return)){if("throw"===e)throw r;return r}o=o.call(t)}catch(t){i=!0,o=t}if("throw"===e)throw r;if(i)throw o;return n(o),r}},function(t,e,r){var n=r(1)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[n]=function(){return this},Array.from(u,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},function(t,e,r){"use strict";var n=r(43),o=r(74);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e,r){var n=r(0);t.exports=n},function(t,e,r){var n=r(8),o=r(96),i=r(14),u=r(40),c=r(97),f=r(73),a=r(98),s=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,r){var l,p,v,y,d,h,g,b=r&&r.that,x=!(!r||!r.AS_ENTRIES),m=!(!r||!r.IS_ITERATOR),S=!(!r||!r.INTERRUPTED),O=u(e,b,1+x+S),w=function(t){return l&&a(l,"normal",t),new s(!0,t)},j=function(t){return x?(n(t),S?O(t[0],t[1],w):O(t[0],t[1])):S?O(t,w):O(t)};if(m)l=t;else{if("function"!=typeof(p=f(t)))throw TypeError("Target is not iterable");if(o(p)){for(v=0,y=i(t.length);y>v;v++)if((d=j(t[v]))&&d instanceof s)return d;return new s(!1)}l=c(t,p)}for(h=l.next;!(g=h.call(l)).done;){try{d=j(g.value)}catch(t){a(l,"throw",t)}if("object"==typeof d&&d&&d instanceof s)return d}return new s(!1)}},function(t,e){t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},,function(t,e,r){var n=r(4),o=r(16),i=r(3),u=r(5),c=r(6).f,f=r(30),a=r(90),s=r(29),l=r(129),p=!1,v=s("meta"),y=0,d=Object.isExtensible||function(){return!0},h=function(t){c(t,v,{value:{objectID:"O"+y++,weakData:{}}})},g=t.exports={enable:function(){g.enable=function(){},p=!0;var t=f.f,e=[].splice,r={};r[v]=1,t(r).length&&(f.f=function(r){for(var n=t(r),o=0,i=n.length;o<i;o++)if(n[o]===v){e.call(n,o,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!u(t,v)){if(!d(t))return"F";if(!e)return"E";h(t)}return t[v].objectID},getWeakData:function(t,e){if(!u(t,v)){if(!d(t))return!0;if(!e)return!1;h(t)}return t[v].weakData},onFreeze:function(t){return l&&p&&d(t)&&!u(t,v)&&h(t),t}};o[v]=!0},function(t,e,r){var n=r(3),o=r(64);t.exports=function(t,e,r){var i,u;return o&&"function"==typeof(i=e.constructor)&&i!==r&&n(u=i.prototype)&&u!==r.prototype&&o(t,u),t}},,function(t,e,r){var n=r(4),o=r(2),i=r(10),u=r(18).f,c=r(7),f=o((function(){u(1)}));n({target:"Object",stat:!0,forced:!c||f,sham:!c},{getOwnPropertyDescriptor:function(t,e){return u(i(t),e)}})},,,,,,,,function(t,e,r){var n=r(4),o=r(11),i=r(46);n({target:"Object",stat:!0,forced:r(2)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},,,function(t,e,r){"use strict";var n=r(4),o=r(0),i=r(58),u=r(13),c=r(105),f=r(102),a=r(103),s=r(3),l=r(2),p=r(99),v=r(39),y=r(106);t.exports=function(t,e,r){var d=-1!==t.indexOf("Map"),h=-1!==t.indexOf("Weak"),g=d?"set":"add",b=o[t],x=b&&b.prototype,m=b,S={},O=function(t){var e=x[t];u(x,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(h&&!s(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return h&&!s(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(h&&!s(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(i(t,"function"!=typeof b||!(h||x.forEach&&!l((function(){(new b).entries().next()})))))m=r.getConstructor(e,t,d,g),c.enable();else if(i(t,!0)){var w=new m,j=w[g](h?{}:-0,1)!=w,P=l((function(){w.has(1)})),E=p((function(t){new b(t)})),T=!h&&l((function(){for(var t=new b,e=5;e--;)t[g](e,e);return!t.has(-0)}));E||((m=e((function(e,r){a(e,m,t);var n=y(new b,e,m);return null!=r&&f(r,n[g],{that:n,AS_ENTRIES:d}),n}))).prototype=x,x.constructor=m),(P||T)&&(O("delete"),O("has"),d&&O("get")),(T||j)&&O(g),h&&x.clear&&delete x.clear}return S[t]=m,n({global:!0,forced:m!=b},S),v(m,t),h||r.setStrong(m,t,d),m}},function(t,e,r){"use strict";var n=r(6).f,o=r(20),i=r(121),u=r(40),c=r(103),f=r(102),a=r(56),s=r(122),l=r(7),p=r(105).fastKey,v=r(17),y=v.set,d=v.getterFor;t.exports={getConstructor:function(t,e,r,a){var s=t((function(t,n){c(t,s,e),y(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=n&&f(n,t[a],{that:t,AS_ENTRIES:r})})),v=d(e),h=function(t,e,r){var n,o,i=v(t),u=g(t,e);return u?u.value=r:(i.last=u={index:o=p(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=u),n&&(n.next=u),l?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t},g=function(t,e){var r,n=v(t),o=p(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return i(s.prototype,{clear:function(){for(var t=v(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=v(this),r=g(this,t);if(r){var n=r.next,o=r.previous;delete e.index[r.index],r.removed=!0,o&&(o.next=n),n&&(n.previous=o),e.first==r&&(e.first=n),e.last==r&&(e.last=o),l?e.size--:this.size--}return!!r},forEach:function(t){for(var e,r=v(this),n=u(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!g(this,t)}}),i(s.prototype,r?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return h(this,0===t?0:t,e)}}:{add:function(t){return h(this,t=0===t?0:t,t)}}),l&&n(s.prototype,"size",{get:function(){return v(this).size}}),s},setStrong:function(t,e,r){var n=e+" Iterator",o=d(e),i=d(n);a(t,e,(function(t,e){y(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),s(e)}}},function(t,e,r){var n=r(13);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},function(t,e,r){"use strict";var n=r(12),o=r(6),i=r(1),u=r(7),c=i("species");t.exports=function(t){var e=n(t),r=o.f;u&&e&&!e[c]&&r(e,c,{configurable:!0,get:function(){return this}})}},,function(t,e,r){"use strict";var n=r(4),o=r(42).filter;n({target:"Array",proto:!0,forced:!r(63)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(4),o=r(7),i=r(71),u=r(10),c=r(18),f=r(55);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,r,n=u(t),o=c.f,a=i(n),s={},l=0;a.length>l;)void 0!==(r=o(n,e=a[l++]))&&f(s,e,r);return s}})},function(t,e,r){var n=r(4),o=r(7);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:r(84)})},,function(t,e,r){"use strict";var n=r(119),o=r(120);t.exports=n("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},function(t,e,r){var n=r(2);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},,,,,,,,,,,,,,,,,,,,,function(t,e,r){var n=r(24),o=r(0);t.exports="process"==n(o.process)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";r.r(e),r.d(e,"AutoLayout",(function(){return l}));r(49),r(128),r(68),r(69),r(77),r(82),r(83),r(200),r(79),r(70),r(80),r(81),r(116),r(124),r(108),r(125),r(126);function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var f=-1,a=0,s=1,l=function(){function t(e){var r=this,n=e.lf;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.lf=n,n.layout=function(t){var e=r.lf.getGraphRawData();r.lf.setStartNodeType(t);var n=r.lf.getPathes();return r.levelHeight=[],r.newNodeMap=new Map,r.layout(e,n)}}var e,r,n;return e=t,(r=[{key:"layout",value:function(t,e){var r=[];e.forEach((function(t){t.elements.length>r.length&&(r=t.elements)}));for(var n=this.formatData(t),o={nodes:[],edges:[]},i=r.length-1;i>=0;i--)this.setNodePosition(r[i],n,o,i,1);this.lf.graphModel.graphDataToModel(o)}},{key:"setNodePosition",value:function(t,e,r,n,u){var c=this,f=e[t],a=f.text,s=f.type,l=f.next,p=f.properties,v=160*n+40,y=120*u,d={id:t,x:v,text:a,y:y,type:s,properties:p};return a&&"object"===i(a)&&(d.text=o(o({},a),{},{x:v+a.x,y:y+a.y})),this.newNodeMap.set(d.id,{x:d.x,y:d.y,type:s}),r.nodes.push(d),f.isFixed=!0,this.addLevelHeight(n,1),l&&l.length>0&&l.forEach((function(i){if(!e[i.nodeId].isFixed){var u=c.getLevelHeight(n+1);c.addLevelHeight(n,1),c.setNodePosition(i.nodeId,e,r,n+1,u+1)}r.edges.push(o({id:i.edgeId,type:i.edgeType,sourceNodeId:t,targetNodeId:i.nodeId,properties:i.properties,text:i.text},c.getEdgeDataPoints(t,i.nodeId)))})),d}},{key:"getEdgeDataPoints",value:function(t,e){var r=this.newNodeMap.get(t),n=this.newNodeMap.get(e),o=this.getShape(t),i=o.width,u=o.height,c=this.getShape(e),l=c.width,p=c.height,v=this.getRelativePosition(r,n),y={x:r.x,y:r.y},d={x:n.x,y:n.y};switch(v){case a:y.x=r.x+i/2,d.x=n.x-l/2;break;case f:y.y=r.y+u/2,d.x=n.x-l/2;break;case s:y.x=r.x+i/2,d.y=n.y+p/2}return{startPoint:y,endPoint:d}}},{key:"getRelativePosition",value:function(t,e){var r=t.y,n=e.y;return r<n?-1:r===n?0:1}},{key:"getShape",value:function(t){var e=this.lf.getNodeModelById(t);return{height:e.height,width:e.width}}},{key:"formatData",value:function(t){var e=t.nodes.reduce((function(t,e){var r=e.type,n=e.properties,o=e.text,u=e.x,c=e.y;return o&&"object"===i(o)&&(o.x=o.x-u,o.y=o.y-c),t[e.id]={type:r,properties:n,text:o,prev:[],next:[]},t}),{});return t.edges.forEach((function(t){var r=t.sourceNodeId,n=t.targetNodeId,o=t.id,u=t.properties,c=t.text,f=c;"object"===i(c)&&(f=c.value),e[r].next.push({edgeId:o,nodeId:n,edgeType:t.type,properties:u,text:f}),e[n].prev.push({edgeId:o,nodeId:r,properties:u,text:f})})),e}},{key:"addLevelHeight",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=this.levelHeight[t];n||(n={positiveHeight:0,negativeHeight:0},this.levelHeight[t]=n),r?n.negativeHeight-=e:n.positiveHeight+=e}},{key:"getLevelHeight",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.levelHeight[t];return r?e?r.negativeHeight:r.positiveHeight:0}}])&&u(e.prototype,r),n&&u(e,n),t}();c(l,"pluginName","AutoLayout")},function(t,e,r){"use strict";var n=r(4),o=r(201).left,i=r(67),u=r(38),c=r(150);n({target:"Array",proto:!0,forced:!i("reduce")||!c&&u>79&&u<83},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(45),o=r(11),i=r(41),u=r(14),c=function(t){return function(e,r,c,f){n(r);var a=o(e),s=i(a),l=u(a.length),p=t?l-1:0,v=t?-1:1;if(c<2)for(;;){if(p in s){f=s[p],p+=v;break}if(p+=v,t?p<0:l<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:l>p;p+=v)p in s&&(f=r(f,s[p],p,a));return f}};t.exports={left:c(!1),right:c(!0)}}])}));