@logicflow/extension 0.7.10 → 0.7.13-alpha.1

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 (45) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/cjs/components/dnd-panel/index.js +5 -0
  3. package/cjs/index.js +1 -0
  4. package/cjs/materials/node-selection/index.js +272 -0
  5. package/es/bpmn/events/StartEvent.d.ts +8 -11
  6. package/es/components/dnd-panel/index.d.ts +1 -0
  7. package/es/components/dnd-panel/index.js +5 -0
  8. package/es/index.d.ts +1 -0
  9. package/es/index.js +1 -0
  10. package/es/materials/group/GroupNode.d.ts +5 -5
  11. package/es/materials/node-selection/index.d.ts +33 -0
  12. package/es/materials/node-selection/index.js +269 -0
  13. package/lib/AutoLayout.js +1 -1
  14. package/lib/BpmnAdapter.js +1 -1
  15. package/lib/BpmnElement.js +1 -1
  16. package/lib/ContextMenu.js +1 -1
  17. package/lib/Control.js +1 -1
  18. package/lib/CurvedEdge.js +1 -1
  19. package/lib/DndPanel.js +1 -1
  20. package/lib/FlowPath.js +1 -1
  21. package/lib/Group.js +1 -1
  22. package/lib/InsertNodeInPolyline.js +1 -1
  23. package/lib/Menu.js +1 -1
  24. package/lib/MiniMap.js +1 -1
  25. package/lib/NodeResize.js +1 -1
  26. package/lib/NodeSelection.js +10 -0
  27. package/lib/RectLabelNode.js +1 -1
  28. package/lib/SelectionSelect.js +1 -1
  29. package/lib/Snapshot.js +1 -1
  30. package/lib/TurboAdapter.js +1 -1
  31. package/package.json +3 -3
  32. package/types/bpmn/events/StartEvent.d.ts +8 -11
  33. package/types/components/dnd-panel/index.d.ts +1 -0
  34. package/types/index.d.ts +1 -0
  35. package/types/materials/group/GroupNode.d.ts +5 -5
  36. package/types/materials/node-selection/index.d.ts +33 -0
  37. package/types/mindmap/fakerRoot.d.ts +0 -13
  38. package/types/mindmap/index.d.ts +0 -40
  39. package/types/mindmap/markContent.d.ts +0 -17
  40. package/types/mindmap/markContentOption.d.ts +0 -17
  41. package/types/mindmap/markEntity.d.ts +0 -17
  42. package/types/mindmap/markRoot.d.ts +0 -17
  43. package/types/mindmap/mindNode.d.ts +0 -16
  44. package/types/mindmap/rootNode.d.ts +0 -17
  45. package/types/mindmap/theme.d.ts +0 -10
@@ -0,0 +1,269 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ import _ from 'lodash-es';
15
+ import { h, PolygonNode, PolygonNodeModel } from '@logicflow/core';
16
+ var NodeSelectionView = /** @class */ (function (_super) {
17
+ __extends(NodeSelectionView, _super);
18
+ function NodeSelectionView() {
19
+ var _this = _super !== null && _super.apply(this, arguments) || this;
20
+ _this.d = 10;
21
+ return _this;
22
+ }
23
+ NodeSelectionView.prototype.getShapeStyle = function () {
24
+ // 设置边框为虚线
25
+ var style = _super.prototype.getShapeStyle.call(this);
26
+ // @ts-ignore
27
+ style.strokeDashArray = '10 5';
28
+ return style;
29
+ };
30
+ NodeSelectionView.prototype.getLabelShape = function () {
31
+ var attributes = _super.prototype.getAttributes.call(this);
32
+ var x = attributes.x, // 元素中心点
33
+ y = attributes.y, // 元素中心点
34
+ width = attributes.width, height = attributes.height, stroke = attributes.stroke, id = attributes.id, labelText = attributes.properties.label_text;
35
+ return h('svg', {
36
+ x: x - width / 2,
37
+ y: y - height / 2,
38
+ style: 'z-index: 0; background: none; overflow: auto;',
39
+ }, labelText ? h('text', {
40
+ x: 0,
41
+ y: -5,
42
+ width: 50,
43
+ height: 24,
44
+ fontSize: '16px',
45
+ fill: stroke,
46
+ }, '方案') : '', labelText ? h('text', {
47
+ x: 50,
48
+ y: -5,
49
+ width: 50,
50
+ height: 24,
51
+ fontSize: '24px',
52
+ cursor: 'pointer',
53
+ fill: stroke,
54
+ onclick: this.handleCustomDeleteIconClick.bind(this, id),
55
+ }, 'x') : '');
56
+ };
57
+ NodeSelectionView.prototype.getShape = function () {
58
+ var attributes = _super.prototype.getAttributes.call(this);
59
+ var x = attributes.x, // 元素中心点
60
+ y = attributes.y, // 元素中心点
61
+ width = attributes.width, height = attributes.height, fill = attributes.fill, stroke = attributes.stroke, strokeWidth = attributes.strokeWidth, strokeDashArray = attributes.strokeDashArray, id = attributes.id;
62
+ return h('g', {}, [
63
+ h('rect', {
64
+ x: x - width / 2,
65
+ y: y - height / 2,
66
+ fill: fill,
67
+ stroke: stroke,
68
+ strokeWidth: strokeWidth,
69
+ width: width,
70
+ height: height,
71
+ strokeDashArray: strokeDashArray,
72
+ id: id,
73
+ }),
74
+ this.getLabelShape(),
75
+ ]);
76
+ };
77
+ NodeSelectionView.prototype.toFront = function () { };
78
+ /**
79
+ * 点击删除
80
+ * @param id
81
+ */
82
+ NodeSelectionView.prototype.handleCustomDeleteIconClick = function (id) {
83
+ var graphModel = this.props.graphModel;
84
+ graphModel.deleteNode(id);
85
+ };
86
+ return NodeSelectionView;
87
+ }(PolygonNode));
88
+ var NodeSelectionModel = /** @class */ (function (_super) {
89
+ __extends(NodeSelectionModel, _super);
90
+ function NodeSelectionModel() {
91
+ var _this = _super !== null && _super.apply(this, arguments) || this;
92
+ _this.d = 10;
93
+ return _this;
94
+ }
95
+ NodeSelectionModel.prototype.setAttributes = function () {
96
+ var _this = this;
97
+ // 默认不显示
98
+ this.points = [];
99
+ this.text = {
100
+ value: '',
101
+ x: 0,
102
+ y: 0,
103
+ draggable: false,
104
+ editable: false,
105
+ };
106
+ this.stroke = this.properties.active_color || '#008000';
107
+ this.zIndex = 0;
108
+ this.draggable = false;
109
+ this.anchorsOffset = [[0, 0]];
110
+ if (this.properties.node_selection_ids.length > 1) {
111
+ setTimeout(function () {
112
+ _this.updatePointsByNodes(_this.properties.node_selection_ids);
113
+ });
114
+ }
115
+ };
116
+ NodeSelectionModel.prototype.getAnchorsByOffset = function () {
117
+ return [];
118
+ };
119
+ /**
120
+ * 更新points
121
+ * @param points
122
+ */
123
+ NodeSelectionModel.prototype.updatePoints = function (points) {
124
+ this.points = points;
125
+ };
126
+ /**
127
+ * 更新x y
128
+ */
129
+ NodeSelectionModel.prototype.updateCoordinate = function (_a) {
130
+ var x = _a.x, y = _a.y;
131
+ this.x = x;
132
+ this.y = y;
133
+ };
134
+ /**
135
+ * 更新points
136
+ */
137
+ NodeSelectionModel.prototype.updatePointsByNodes = function (nodesIds) {
138
+ var _this = this;
139
+ // TODO: 临时方案矩形
140
+ var points = [];
141
+ var minX = Infinity;
142
+ var minY = Infinity;
143
+ var maxX = -Infinity;
144
+ var maxY = -Infinity;
145
+ nodesIds.forEach(function (id) {
146
+ var model = _this.graphModel.getNodeModel(id);
147
+ if (!model)
148
+ return;
149
+ var width = model.width, height = model.height, x = model.x, y = model.y;
150
+ minX = Math.min(minX, x - width / 2 - _this.d);
151
+ minY = Math.min(minY, y - height / 2 - _this.d);
152
+ maxX = Math.max(maxX, x + width / 2 + _this.d);
153
+ maxY = Math.max(maxY, y + height / 2 + _this.d);
154
+ });
155
+ points.push([minX, minY], [maxX, minY], [maxX, maxY], [minX, maxY]);
156
+ if ([minX, minY, maxX, maxY].some(function (n) { return Math.abs(n) === Infinity; }))
157
+ return;
158
+ this.updatePoints(points);
159
+ this.updateCoordinate({ x: ((maxX + minX) / 2), y: (maxY + minY) / 2 });
160
+ };
161
+ return NodeSelectionModel;
162
+ }(PolygonNodeModel));
163
+ var NodeSelection = /** @class */ (function () {
164
+ function NodeSelection(_a) {
165
+ var lf = _a.lf;
166
+ this.lf = null; // lf 实例
167
+ this.selectNodes = []; // 选择的nodes
168
+ this.currentClickNode = null; // 当前点击的节点,选中的节点是无序的
169
+ this.d = 10;
170
+ lf.register({
171
+ type: 'node-selection',
172
+ view: NodeSelectionView,
173
+ model: NodeSelectionModel,
174
+ });
175
+ }
176
+ Object.defineProperty(NodeSelection.prototype, "selectNodesIds", {
177
+ /**
178
+ * 获取所选node的id数组
179
+ */
180
+ get: function () {
181
+ return this.selectNodes.map(function (node) { return node.id; });
182
+ },
183
+ enumerable: false,
184
+ configurable: true
185
+ });
186
+ /**
187
+ * 新建node-selection节点
188
+ */
189
+ NodeSelection.prototype.addNodeSelection = function () {
190
+ var node = this.lf.addNode({
191
+ type: 'node-selection',
192
+ text: '',
193
+ properties: {
194
+ node_selection_ids: this.selectNodesIds,
195
+ },
196
+ });
197
+ node.updatePointsByNodes(this.selectNodesIds);
198
+ };
199
+ /**
200
+ * 删除node-selection节点
201
+ */
202
+ NodeSelection.prototype.deleteNodeSelection = function () {
203
+ var nodeSelection = this.getNodeSelection();
204
+ if (!nodeSelection)
205
+ return;
206
+ this.lf.deleteNode(nodeSelection.id);
207
+ };
208
+ /**
209
+ * 更新node-selection节点
210
+ */
211
+ NodeSelection.prototype.updateNodeSelection = function () {
212
+ var nodeSelection = this.getNodeSelection();
213
+ if (!nodeSelection)
214
+ return;
215
+ this.lf.setProperties(nodeSelection.id, {
216
+ node_selection_ids: this.selectNodesIds,
217
+ });
218
+ this.lf.getNodeModel(nodeSelection.id).updatePointsByNodes(this.selectNodesIds);
219
+ };
220
+ /**
221
+ * 获取所属的node-selection
222
+ */
223
+ NodeSelection.prototype.getNodeSelection = function () {
224
+ var _this = this;
225
+ var ids = this.selectNodesIds;
226
+ var rawData = this.lf.getGraphRawData();
227
+ var oldIds = ids.filter(function (id) { return id !== _this.currentClickNode.id; });
228
+ return rawData.nodes.find(function (node) {
229
+ if (node.type === 'node-selection') {
230
+ var nodeSelectionIds_1 = _.get(node, 'properties.node_selection_ids', []);
231
+ return oldIds.every(function (id) { return nodeSelectionIds_1.includes(id); });
232
+ }
233
+ return false;
234
+ });
235
+ };
236
+ NodeSelection.prototype.render = function (lf) {
237
+ var _this = this;
238
+ this.lf = lf;
239
+ lf.on('node:click', function (val) {
240
+ if (!val.e.shiftKey)
241
+ return;
242
+ _this.currentClickNode = val.data;
243
+ // 如果selectNodesIds中已存在此节点,则取消选中次节点
244
+ var isUnSelected = false;
245
+ if (_this.selectNodesIds.includes(val.data.id)) {
246
+ _this.lf.getNodeModel(val.data.id).setSelected(false);
247
+ isUnSelected = true;
248
+ }
249
+ // 获取所有被选中的节点,获取到的数组是无序的
250
+ var nodes = lf.getSelectElements(true).nodes;
251
+ _this.selectNodes = nodes;
252
+ if (_this.selectNodes.length === 1) {
253
+ if (isUnSelected)
254
+ _this.deleteNodeSelection();
255
+ }
256
+ else {
257
+ if (!isUnSelected && _this.selectNodes.length === 2) {
258
+ _this.addNodeSelection();
259
+ return;
260
+ }
261
+ _this.updateNodeSelection();
262
+ }
263
+ });
264
+ };
265
+ NodeSelection.pluginName = 'node-selection';
266
+ return NodeSelection;
267
+ }());
268
+ export default NodeSelection;
269
+ export { NodeSelection, };
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=213)}([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(82))},function(t,e,r){var n=r(0),o=r(35),i=r(5),u=r(29),c=r(36),f=r(48),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,r){var n=r(0),o=r(18).f,i=r(9),u=r(13),c=r(33),f=r(57),a=r(60);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){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof 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(49),i=r(8),u=r(22),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(4);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(42),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(45),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(86),c=r(0),f=r(4),a=r(9),s=r(5),l=r(32),p=r(25),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(51),i=r(15),u=r(10),c=r(22),f=r(5),a=r(49),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(48);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(83),u=r(37),c=r(16),f=r(93),a=r(52),s=r(25),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){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,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(23);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(24),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(67),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(41),o=r(42),i=r(11),u=r(14),c=r(58),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=r(44);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(23),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={};n[r(1)("toStringTag")]="z",t.exports="[object z]"===String(n)},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(32),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},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(5),o=r(11),i=r(25),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(36);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,r){var n=r(7),o=r(2),i=r(52);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(88),i=r(26),u=r(17),c=r(55),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(4),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(10),i=r(68).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(3),o=r(95),i=r(47),u=r(64),c=r(39),f=r(9),a=r(13),s=r(1),l=r(24),p=r(26),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){"use strict";var n=r(22),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){var n=r(5),o=r(73),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(87);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){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){"use strict";var n=r(40).forEach,o=r(66)("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(96);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(47),f=r(9),a=r(5),s=r(1),l=r(24),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){"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(12);t.exports=n("navigator","userAgent")||""},function(t,e,r){var n=r(10),o=r(14),i=r(59),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(43),o=r(13),i=r(97);n||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,r){"use strict";var n=r(94).charAt,o=r(31),i=r(17),u=r(55),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(3),o=r(0),i=r(12),u=r(24),c=r(7),f=r(36),a=r(2),s=r(5),l=r(28),p=r(4),v=r(19),y=r(8),d=r(11),h=r(10),g=r(22),b=r(31),x=r(15),m=r(20),S=r(46),w=r(30),O=r(90),j=r(54),P=r(18),E=r(6),T=r(51),k=r(9),A=r(13),I=r(35),L=r(25),_=r(16),M=r(29),N=r(1),D=r(72),R=r(75),F=r(39),C=r(17),H=r(40).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(1);e.f=n},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(43),o=r(23),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(102),o=r(5),i=r(72),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(19),i=r(85),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(50),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(74),o=r(26),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(3),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(3),o=r(7),i=r(0),u=r(5),c=r(4),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(75)("iterator")},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(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,r){var n=r(4);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(45),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,e,r){var n=r(4),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(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(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(3),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(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(26),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(4);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){"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(1),o=r(26),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(78);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){var n=r(0);t.exports=n},,function(t,e,r){var n=r(8),o=r(98),i=r(14),u=r(41),c=r(99),f=r(78),a=r(100),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(3),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(16),i=r(4),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(4),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(3),o=r(0),i=r(60),u=r(13),c=r(107),f=r(104),a=r(105),s=r(4),l=r(2),p=r(101),v=r(39),y=r(112);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(122),u=r(41),c=r(105),f=r(104),a=r(55),s=r(123),l=r(7),p=r(107).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(120),o=r(121);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(3),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(3),o=r(40).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(3),o=r(7),i=r(73),u=r(10),c=r(18),f=r(56);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(3),o=r(7);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:r(83)})},,,,,,,,,,,,,,,,,,,,,,function(t,e,r){var n=r(23),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(50),r(128),r(69),r(70),r(77),r(91),r(92),r(214),r(79),r(71),r(80),r(81),r(130),r(132),r(106),r(134),r(135);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(3),o=r(215).left,i=r(66),u=r(38),c=r(157);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(44),o=r(11),i=r(42),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)}}])}));