@logicflow/extension 1.1.4 → 1.1.7-alpha.0

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.
@@ -98,20 +98,10 @@ var MiniMap = /** @class */ (function () {
98
98
  MiniMap.prototype.render = function (lf, container) {
99
99
  var _this = this;
100
100
  this.__container = container;
101
- var events = [
102
- 'node:add',
103
- 'node:delete',
104
- 'edge:add',
105
- 'edge:delete',
106
- 'node:drop',
107
- 'blank:drop',
108
- ];
109
- events.forEach(function (eventName) {
110
- _this.__lf.on(eventName, function () {
111
- if (_this.__isShow) {
112
- _this.__setView();
113
- }
114
- });
101
+ this.__lf.on('history:change', function () {
102
+ if (_this.__isShow) {
103
+ _this.__setView();
104
+ }
115
105
  });
116
106
  };
117
107
  MiniMap.prototype.init = function (option) {
@@ -27,6 +27,20 @@ var AutoLayout = /** @class */ (function () {
27
27
  var _this = this;
28
28
  var lf = _a.lf;
29
29
  this.lf = lf;
30
+ /**
31
+ * 用于记录上一次调用layout时计算出的trunk
32
+ * 当旧trunk和新trunk长度一致时,用于选择旧trunk,
33
+ * a->b->c->d
34
+ * |->e
35
+ * e后面新增f节点时候,旧逻辑会返回新trunk[a,b,e,f]
36
+ * 界面布局变成
37
+ * a->b->e->f
38
+ * |->c->d
39
+ * 其实只想要这样 尽量少变化
40
+ * a->b->c->d
41
+ * |->e->f
42
+ * */
43
+ this.trunk = [];
30
44
  // 给lf添加方法
31
45
  lf.layout = function (startNodeType) {
32
46
  var data = _this.lf.getGraphRawData();
@@ -43,12 +57,22 @@ var AutoLayout = /** @class */ (function () {
43
57
  // 拿到最长的路径。
44
58
  // nodes: [], edges: [],
45
59
  AutoLayout.prototype.layout = function (data, path) {
60
+ var _this = this;
46
61
  var trunk = [];
47
62
  path.forEach(function (p) {
48
- if (p.elements.length > trunk.length) {
49
- trunk = p.elements;
63
+ var elements = p.elements;
64
+ if (elements.length > trunk.length) {
65
+ trunk = elements;
66
+ }
67
+ else if (elements.length === trunk.length) {
68
+ // 考虑是否替换为旧的trunk
69
+ if (JSON.stringify(elements) === JSON.stringify(_this.trunk)) {
70
+ trunk = _this.trunk;
71
+ }
50
72
  }
51
73
  });
74
+ // 记录上一次trunk
75
+ this.trunk = trunk;
52
76
  var nodeMap = this.formatData(data);
53
77
  var newGraphData = {
54
78
  nodes: [],
@@ -182,7 +206,8 @@ var AutoLayout = /** @class */ (function () {
182
206
  AutoLayout.prototype.formatData = function (data) {
183
207
  var nodeMap = data.nodes.reduce(function (nMap, node) {
184
208
  var type = node.type, properties = node.properties, text = node.text, x = node.x, y = node.y;
185
- if (text && typeof text === 'object') { // 坐标转换为偏移量
209
+ if (text && typeof text === 'object') {
210
+ // 坐标转换为偏移量
186
211
  text.x = text.x - x;
187
212
  text.y = text.y - y;
188
213
  }
@@ -95,20 +95,10 @@ var MiniMap = /** @class */ (function () {
95
95
  MiniMap.prototype.render = function (lf, container) {
96
96
  var _this = this;
97
97
  this.__container = container;
98
- var events = [
99
- 'node:add',
100
- 'node:delete',
101
- 'edge:add',
102
- 'edge:delete',
103
- 'node:drop',
104
- 'blank:drop',
105
- ];
106
- events.forEach(function (eventName) {
107
- _this.__lf.on(eventName, function () {
108
- if (_this.__isShow) {
109
- _this.__setView();
110
- }
111
- });
98
+ this.__lf.on('history:change', function () {
99
+ if (_this.__isShow) {
100
+ _this.__setView();
101
+ }
112
102
  });
113
103
  };
114
104
  MiniMap.prototype.init = function (option) {
@@ -8,6 +8,7 @@ declare class AutoLayout {
8
8
  lf: LogicFlow;
9
9
  levelHeight: any[];
10
10
  newNodeMap: Map<string, any>;
11
+ trunk: any[];
11
12
  static pluginName: string;
12
13
  constructor({ lf }: {
13
14
  lf: any;
@@ -36,4 +37,4 @@ declare class AutoLayout {
36
37
  addLevelHeight(level: any, height?: number, isNegative?: boolean): void;
37
38
  getLevelHeight(level: any, isNegative?: boolean): any;
38
39
  }
39
- export { AutoLayout, };
40
+ export { AutoLayout };
@@ -24,6 +24,20 @@ var AutoLayout = /** @class */ (function () {
24
24
  var _this = this;
25
25
  var lf = _a.lf;
26
26
  this.lf = lf;
27
+ /**
28
+ * 用于记录上一次调用layout时计算出的trunk
29
+ * 当旧trunk和新trunk长度一致时,用于选择旧trunk,
30
+ * a->b->c->d
31
+ * |->e
32
+ * e后面新增f节点时候,旧逻辑会返回新trunk[a,b,e,f]
33
+ * 界面布局变成
34
+ * a->b->e->f
35
+ * |->c->d
36
+ * 其实只想要这样 尽量少变化
37
+ * a->b->c->d
38
+ * |->e->f
39
+ * */
40
+ this.trunk = [];
27
41
  // 给lf添加方法
28
42
  lf.layout = function (startNodeType) {
29
43
  var data = _this.lf.getGraphRawData();
@@ -40,12 +54,22 @@ var AutoLayout = /** @class */ (function () {
40
54
  // 拿到最长的路径。
41
55
  // nodes: [], edges: [],
42
56
  AutoLayout.prototype.layout = function (data, path) {
57
+ var _this = this;
43
58
  var trunk = [];
44
59
  path.forEach(function (p) {
45
- if (p.elements.length > trunk.length) {
46
- trunk = p.elements;
60
+ var elements = p.elements;
61
+ if (elements.length > trunk.length) {
62
+ trunk = elements;
63
+ }
64
+ else if (elements.length === trunk.length) {
65
+ // 考虑是否替换为旧的trunk
66
+ if (JSON.stringify(elements) === JSON.stringify(_this.trunk)) {
67
+ trunk = _this.trunk;
68
+ }
47
69
  }
48
70
  });
71
+ // 记录上一次trunk
72
+ this.trunk = trunk;
49
73
  var nodeMap = this.formatData(data);
50
74
  var newGraphData = {
51
75
  nodes: [],
@@ -179,7 +203,8 @@ var AutoLayout = /** @class */ (function () {
179
203
  AutoLayout.prototype.formatData = function (data) {
180
204
  var nodeMap = data.nodes.reduce(function (nMap, node) {
181
205
  var type = node.type, properties = node.properties, text = node.text, x = node.x, y = node.y;
182
- if (text && typeof text === 'object') { // 坐标转换为偏移量
206
+ if (text && typeof text === 'object') {
207
+ // 坐标转换为偏移量
183
208
  text.x = text.x - x;
184
209
  text.y = text.y - y;
185
210
  }
@@ -238,4 +263,4 @@ var AutoLayout = /** @class */ (function () {
238
263
  AutoLayout.pluginName = 'AutoLayout';
239
264
  return AutoLayout;
240
265
  }());
241
- export { AutoLayout, };
266
+ export { AutoLayout };
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=219)}([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(95))},function(t,e){var r=Function.prototype,n=r.bind,o=r.call,i=n&&n.bind(o);t.exports=n?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,e){t.exports=function(t){return"function"==typeof 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(33),i=r(5),u=r(35),c=r(45),f=r(62),a=o("wks"),s=n.Symbol,p=s&&s.for,l=f?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(a,t)||!c&&"string"!=typeof a[t]){var e="Symbol."+t;c&&i(s,t)?a[t]=s[t]:a[t]=f&&p?p(e):l(e)}return a[t]}},function(t,e,r){var n=r(1),o=r(15),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},function(t,e,r){var n=r(0),o=r(25).f,i=r(16),u=r(14),c=r(42),f=r(68),a=r(71);t.exports=function(t,e){var r,s,p,l,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(l=e[s],p=t.noTargetGet?(v=o(r,s))&&v.value:r[s],!a(d?s:y+(h?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;f(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(r,s,l,t)}}},function(t,e,r){var n=r(3);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,r){var n=r(2);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},function(t,e,r){var n=r(0),o=r(7),i=r(63),u=r(10),c=r(26),f=n.TypeError,a=Object.defineProperty;e.f=o?a:function(t,e,r){if(u(t),e=c(e),u(r),i)try{return a(t,e,r)}catch(t){}if("get"in r||"set"in r)throw f("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(0),o=r(8),i=n.String,u=n.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,e){var r=Function.prototype.call;t.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},function(t,e,r){var n=r(51),o=r(31);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(0),o=r(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},function(t,e,r){var n=r(0),o=r(2),i=r(5),u=r(16),c=r(42),f=r(38),a=r(22),s=r(53).CONFIGURABLE,p=a.get,l=a.enforce,v=String(String).split("String");(t.exports=function(t,e,r,f){var a,p=!!f&&!!f.unsafe,y=!!f&&!!f.enumerable,d=!!f&&!!f.noTargetGet,h=f&&void 0!==f.name?f.name:e;o(r)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||s&&r.name!==h)&&u(r,"name",h),(a=l(r)).source||(a.source=v.join("string"==typeof h?h:""))),t!==n?(p?!d&&t[e]&&(y=!0):delete t[e],y?t[e]=r:u(t,e,r)):y?t[e]=r:c(e,r)})(Function.prototype,"toString",(function(){return o(this)&&p(this).source||f(this)}))},function(t,e,r){var n=r(0),o=r(31),i=n.Object;t.exports=function(t){return i(o(t))}},function(t,e,r){var n=r(7),o=r(9),i=r(21);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(83);t.exports=function(t){return n(t.length)}},,function(t,e,r){var n,o=r(10),i=r(93),u=r(46),c=r(24),f=r(106),a=r(44),s=r(29),p=s("IE_PROTO"),l=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[p]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(l.prototype=o(t),r=new l,l.prototype=null,r[p]=t):r=d(),void 0===e?r:i(r,e)}},function(t,e,r){var n=r(1),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,r){var n,o,i,u=r(97),c=r(0),f=r(1),a=r(8),s=r(16),p=r(5),l=r(41),v=r(29),y=r(24),d=c.TypeError,h=c.WeakMap;if(u||l.state){var g=l.state||(l.state=new h),b=f(g.get),x=f(g.has),m=f(g.set);n=function(t,e){if(x(g,t))throw new d("Object already initialized");return e.facade=t,m(g,t,e),e},o=function(t){return b(g,t)||{}},i=function(t){return x(g,t)}}else{var O=v("state");y[O]=!0,n=function(t,e){if(p(t,O))throw new d("Object already initialized");return e.facade=t,s(t,O,e),e},o=function(t){return p(t,O)?t[O]:{}},i=function(t){return p(t,O)}}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(!a(e)||(r=o(e)).type!==t)throw d("Incompatible receiver, "+t+" required");return r}}}},function(t,e,r){var n=r(0),o=r(32),i=n.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},function(t,e){t.exports={}},function(t,e,r){var n=r(7),o=r(11),i=r(61),u=r(21),c=r(12),f=r(26),a=r(5),s=r(63),p=Object.getOwnPropertyDescriptor;e.f=n?p:function(t,e){if(t=c(t),e=f(e),s)try{return p(t,e)}catch(t){}if(a(t,e))return u(!o(i.f,t,e),t[e])}},function(t,e,r){var n=r(91),o=r(40);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},function(t,e,r){var n=r(1);t.exports=n({}.isPrototypeOf)},function(t,e){t.exports=!1},function(t,e,r){var n=r(33),o=r(35),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e){t.exports={}},function(t,e,r){var n=r(0).TypeError;t.exports=function(t){if(null==t)throw n("Can't call method on "+t);return t}},function(t,e,r){var n=r(0),o=r(43),i=r(2),u=r(20),c=r(4)("toStringTag"),f=n.Object,a="Arguments"==u(function(){return arguments}());t.exports=o?u: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=f(t),c))?r:a?u(e):"Object"==(n=u(e))&&i(e.callee)?"Arguments":n}},function(t,e,r){var n=r(28),o=r(41);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.19.3",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e,r){var n=r(20);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,r){var n=r(1),o=0,i=Math.random(),u=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++o+i,36)}},function(t,e,r){var n=r(66),o=r(46).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},function(t,e,r){var n=r(0),o=r(2),i=r(52),u=n.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not a function")}},function(t,e,r){var n=r(1),o=r(2),i=r(41),u=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return u(t)}),t.exports=i.inspectSource},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){var e=+t;return e!=e||0===e?0:(e>0?n:r)(e)}},function(t,e,r){var n=r(0),o=r(13),i=r(2),u=r(27),c=r(62),f=n.Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var e=o("Symbol");return i(e)&&u(e.prototype,f(t))}},function(t,e,r){var n=r(0),o=r(42),i=n["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,r){var n=r(0),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},function(t,e,r){var n={};n[r(4)("toStringTag")]="z",t.exports="[object z]"===String(n)},function(t,e,r){var n=r(0),o=r(8),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(48),o=r(3);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=r(9).f,o=r(5),i=r(4)("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,o,i=r(0),u=r(86),c=i.process,f=i.Deno,a=c&&c.versions||f&&f.version,s=a&&a.v8;s&&(o=(n=s.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&u&&(!(n=u.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=u.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},function(t,e,r){var n=r(37);t.exports=function(t,e){var r=t[e];return null==r?void 0:n(r)}},function(t,e,r){"use strict";var n=r(26),o=r(9),i=r(21);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(0),o=r(1),i=r(3),u=r(20),c=n.Object,f=o("".split);t.exports=i((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==u(t)?f(t,""):c(t)}:c},function(t,e,r){var n=r(0).String;t.exports=function(t){try{return n(t)}catch(t){return"Object"}}},function(t,e,r){var n=r(7),o=r(5),i=Function.prototype,u=n&&Object.getOwnPropertyDescriptor,c=o(i,"name"),f=c&&"something"===function(){}.name,a=c&&(!n||n&&u(i,"name").configurable);t.exports={EXISTS:c,PROPER:f,CONFIGURABLE:a}},function(t,e,r){var n=r(39),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(1),o=r(37),i=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?i(t,e):function(){return t.apply(e,arguments)}}},function(t,e,r){"use strict";var n=r(12),o=r(105),i=r(30),u=r(22),c=r(67),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){var n=r(55),o=r(1),i=r(51),u=r(15),c=r(17),f=r(72),a=o([].push),s=function(t){var e=1==t,r=2==t,o=3==t,s=4==t,p=6==t,l=7==t,v=5==t||p;return function(y,d,h,g){for(var b,x,m=u(y),O=i(m),S=n(d,h),w=c(O),j=0,P=g||f,E=e?P(y,w):r||l?P(y,0):void 0;w>j;j++)if((v||j in O)&&(x=S(b=O[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:a(E,b)}else switch(t){case 4:return!1;case 7:a(E,b)}return p?-1:o||s?s:E}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},function(t,e,r){var n=r(1),o=r(3),i=r(2),u=r(32),c=r(13),f=r(38),a=function(){},s=[],p=c("Reflect","construct"),l=/^\s*(?:class|function)\b/,v=n(l.exec),y=!l.exec(a),d=function(t){if(!i(t))return!1;try{return p(a,s,t),!0}catch(t){return!1}};t.exports=!p||o((function(){var t;return d(d.call)||!d(Object)||!d((function(){t=!0}))||t}))?function(t){if(!i(t))return!1;switch(u(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return y||!!v(l,f(t))}:d},function(t,e,r){var n=r(66),o=r(46);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e,r){var n=r(43),o=r(14),i=r(99);n||o(Object.prototype,"toString",i,{unsafe:!0})},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(45);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,r){var n=r(7),o=r(3),i=r(44);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,r){var n=r(0),o=r(5),i=r(2),u=r(15),c=r(29),f=r(102),a=c("IE_PROTO"),s=n.Object,p=s.prototype;t.exports=f?s.getPrototypeOf:function(t){var e=u(t);if(o(e,a))return e[a];var r=e.constructor;return i(r)&&e instanceof r?r.prototype:e instanceof s?p:null}},function(t,e,r){var n=r(1),o=r(5),i=r(12),u=r(89).indexOf,c=r(24),f=n([].push);t.exports=function(t,e){var r,n=i(t),a=0,s=[];for(r in n)!o(c,r)&&o(n,r)&&f(s,r);for(;e.length>a;)o(n,r=e[a++])&&(~u(s,r)||f(s,r));return s}},function(t,e,r){"use strict";var n=r(6),o=r(11),i=r(28),u=r(53),c=r(2),f=r(108),a=r(65),s=r(78),p=r(47),l=r(16),v=r(14),y=r(4),d=r(30),h=r(76),g=u.PROPER,b=u.CONFIGURABLE,x=h.IteratorPrototype,m=h.BUGGY_SAFARI_ITERATORS,O=y("iterator"),S=function(){return this};t.exports=function(t,e,r,u,y,h,w){f(r,e,u);var j,P,E,T=function(t){if(t===y&&_)return _;if(!m&&t in k)return k[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},A=e+" Iterator",I=!1,k=t.prototype,L=k[O]||k["@@iterator"]||y&&k[y],_=!m&&L||T(y),M="Array"==e&&k.entries||L;if(M&&(j=a(M.call(new t)))!==Object.prototype&&j.next&&(i||a(j)===x||(s?s(j,x):c(j[O])||v(j,O,S)),p(j,A,!0,!0),i&&(d[A]=S)),g&&"values"==y&&L&&"values"!==L.name&&(!i&&b?l(k,"name","values"):(I=!0,_=function(){return o(L,this)})),y)if(P={values:T("values"),keys:h?_:T("keys"),entries:T("entries")},w)for(E in P)(m||I||!(E in k))&&v(k,E,P[E]);else n({target:e,proto:!0,forced:m||I},P);return i&&!w||k[O]===_||v(k,O,_,{name:y}),d[e]=_,P}},function(t,e,r){var n=r(5),o=r(87),i=r(25),u=r(9);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){"use strict";var n=r(104).charAt,o=r(23),i=r(22),u=r(67),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(6),o=r(0),i=r(13),u=r(92),c=r(11),f=r(1),a=r(28),s=r(7),p=r(45),l=r(3),v=r(5),y=r(34),d=r(2),h=r(8),g=r(27),b=r(40),x=r(10),m=r(15),O=r(12),S=r(26),w=r(23),j=r(21),P=r(19),E=r(59),T=r(36),A=r(103),I=r(64),k=r(25),L=r(9),_=r(61),M=r(79),N=r(14),R=r(33),F=r(29),D=r(24),C=r(35),H=r(4),z=r(85),G=r(88),B=r(47),V=r(22),U=r(57).forEach,W=F("hidden"),K=H("toPrimitive"),Y=V.set,$=V.getterFor("Symbol"),q=Object.prototype,J=o.Symbol,X=J&&J.prototype,Q=o.TypeError,Z=o.QObject,tt=i("JSON","stringify"),et=k.f,rt=L.f,nt=A.f,ot=_.f,it=f([].push),ut=R("symbols"),ct=R("op-symbols"),ft=R("string-to-symbol-registry"),at=R("symbol-to-string-registry"),st=R("wks"),pt=!Z||!Z.prototype||!Z.prototype.findChild,lt=s&&l((function(){return 7!=P(rt({},"a",{get:function(){return rt(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=et(q,e);n&&delete q[e],rt(t,e,r),n&&t!==q&&rt(q,e,n)}:rt,vt=function(t,e){var r=ut[t]=P(X);return Y(r,{type:"Symbol",tag:t,description:e}),s||(r.description=e),r},yt=function(t,e,r){t===q&&yt(ct,e,r),x(t);var n=S(e);return x(r),v(ut,n)?(r.enumerable?(v(t,W)&&t[W][n]&&(t[W][n]=!1),r=P(r,{enumerable:j(0,!1)})):(v(t,W)||rt(t,W,j(1,{})),t[W][n]=!0),lt(t,n,r)):rt(t,n,r)},dt=function(t,e){x(t);var r=O(e),n=E(r).concat(xt(r));return U(n,(function(e){s&&!c(ht,r,e)||yt(t,e,r[e])})),t},ht=function(t){var e=S(t),r=c(ot,this,e);return!(this===q&&v(ut,e)&&!v(ct,e))&&(!(r||!v(this,e)||!v(ut,e)||v(this,W)&&this[W][e])||r)},gt=function(t,e){var r=O(t),n=S(e);if(r!==q||!v(ut,n)||v(ct,n)){var o=et(r,n);return!o||!v(ut,n)||v(r,W)&&r[W][n]||(o.enumerable=!0),o}},bt=function(t){var e=nt(O(t)),r=[];return U(e,(function(t){v(ut,t)||v(D,t)||it(r,t)})),r},xt=function(t){var e=t===q,r=nt(e?ct:O(t)),n=[];return U(r,(function(t){!v(ut,t)||e&&!v(q,t)||it(n,ut[t])})),n};(p||(N(X=(J=function(){if(g(X,this))throw Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?w(arguments[0]):void 0,e=C(t),r=function(t){this===q&&c(r,ct,t),v(this,W)&&v(this[W],e)&&(this[W][e]=!1),lt(this,e,j(1,t))};return s&&pt&&lt(q,e,{configurable:!0,set:r}),vt(e,t)}).prototype,"toString",(function(){return $(this).tag})),N(J,"withoutSetter",(function(t){return vt(C(t),t)})),_.f=ht,L.f=yt,k.f=gt,T.f=A.f=bt,I.f=xt,z.f=function(t){return vt(H(t),t)},s&&(rt(X,"description",{configurable:!0,get:function(){return $(this).description}}),a||N(q,"propertyIsEnumerable",ht,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:J}),U(E(st),(function(t){G(t)})),n({target:"Symbol",stat:!0,forced:!p},{for:function(t){var e=w(t);if(v(ft,e))return ft[e];var r=J(e);return ft[e]=r,at[r]=e,r},keyFor:function(t){if(!b(t))throw Q(t+" is not a symbol");if(v(at,t))return at[t]},useSetter:function(){pt=!0},useSimple:function(){pt=!1}}),n({target:"Object",stat:!0,forced:!p,sham:!s},{create:function(t,e){return void 0===e?P(t):dt(P(t),e)},defineProperty:yt,defineProperties:dt,getOwnPropertyDescriptor:gt}),n({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:bt,getOwnPropertySymbols:xt}),n({target:"Object",stat:!0,forced:l((function(){I.f(1)}))},{getOwnPropertySymbols:function(t){return I.f(m(t))}}),tt)&&n({target:"JSON",stat:!0,forced:!p||l((function(){var t=J();return"[null]"!=tt([t])||"{}"!=tt({a:t})||"{}"!=tt(Object(t))}))},{stringify:function(t,e,r){var n=M(arguments),o=e;if((h(e)||void 0!==t)&&!b(t))return y(e)||(e=function(t,e){if(d(o)&&(e=c(o,this,t,e)),!b(e))return e}),n[1]=e,u(tt,null,n)}});if(!X[K]){var mt=X.valueOf;N(X,K,(function(t){return c(mt,this)}))}B(J,"Symbol"),D[W]=!0},function(t,e,r){var n=r(3),o=r(2),i=/#|\.prototype\./,u=function(t,e){var r=f[c(t)];return r==s||r!=a&&(o(e)?n(e):!!e)},c=u.normalize=function(t){return String(t).replace(i,".").toLowerCase()},f=u.data={},a=u.NATIVE="N",s=u.POLYFILL="P";t.exports=u},function(t,e,r){var n=r(98);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},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(44)("span").classList,o=n&&n.constructor&&n.constructor.prototype;t.exports=o===Object.prototype?void 0:o},function(t,e,r){var n=r(0),o=r(73),i=r(74),u=r(56),c=r(16),f=r(4),a=f("iterator"),s=f("toStringTag"),p=u.values,l=function(t,e){if(t){if(t[a]!==p)try{c(t,a,p)}catch(e){t[a]=p}if(t[s]||c(t,s,e),o[e])for(var r in u)if(t[r]!==u[r])try{c(t,r,u[r])}catch(e){t[r]=u[r]}}};for(var v in o)l(n[v]&&n[v].prototype,v);l(i,"DOMTokenList")},function(t,e,r){"use strict";var n,o,i,u=r(3),c=r(2),f=r(19),a=r(65),s=r(14),p=r(4),l=r(28),v=p("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(n=o):y=!0),null==n||u((function(){var t={};return n[v].call(t)!==t}))?n={}:l&&(n=f(n)),c(n[v])||s(n,v,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:y}},function(t,e,r){var n=r(6),o=r(7);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:r(9).f})},function(t,e,r){var n=r(1),o=r(10),i=r(109);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return o(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},function(t,e,r){var n=r(1);t.exports=n([].slice)},function(t,e,r){"use strict";var n=r(6),o=r(7),i=r(0),u=r(1),c=r(5),f=r(2),a=r(27),s=r(23),p=r(9).f,l=r(68),v=i.Symbol,y=v&&v.prototype;if(o&&f(v)&&(!("description"in y)||void 0!==v().description)){var d={},h=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),e=a(y,this)?new v(t):void 0===t?v():v(t);return""===t&&(d[e]=!0),e};l(h,v),h.prototype=y,y.constructor=h;var g="Symbol(test)"==String(v("test")),b=u(y.toString),x=u(y.valueOf),m=/^Symbol\((.*)\)[^)]+$/,O=u("".replace),S=u("".slice);p(y,"description",{configurable:!0,get:function(){var t=x(this),e=b(t);if(c(d,t))return"";var r=g?S(e,7,-1):O(e,m,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:h})}},function(t,e,r){r(88)("iterator")},function(t,e,r){var n=r(3),o=r(4),i=r(48),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(39),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e,r){"use strict";var n=r(57).forEach,o=r(90)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e,r){var n=r(4);e.f=n},function(t,e,r){var n=r(13);t.exports=n("navigator","userAgent")||""},function(t,e,r){var n=r(13),o=r(1),i=r(36),u=r(64),c=r(10),f=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(c(t)),r=u.f;return r?f(e,r(t)):e}},function(t,e,r){var n=r(111),o=r(5),i=r(85),u=r(9).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(12),o=r(54),i=r(17),u=function(t){return function(e,r,u){var c,f=n(e),a=i(f),s=o(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){"use strict";var n=r(3);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(0),o=r(11),i=r(8),u=r(40),c=r(49),f=r(96),a=r(4),s=n.TypeError,p=a("toPrimitive");t.exports=function(t,e){if(!i(t)||u(t))return t;var r,n=c(t,p);if(n){if(void 0===e&&(e="default"),r=o(n,t,e),!i(r)||u(r))return r;throw s("Can't convert object to primitive value")}return void 0===e&&(e="number"),f(t,e)}},function(t,e){var r=Function.prototype,n=r.apply,o=r.bind,i=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?i.bind(n):function(){return i.apply(n,arguments)})},function(t,e,r){var n=r(7),o=r(9),i=r(10),u=r(12),c=r(59);t.exports=n?Object.defineProperties:function(t,e){i(t);for(var r,n=u(e),f=c(e),a=f.length,s=0;a>s;)o.f(t,r=f[s++],n[r]);return t}},function(t,e,r){var n=r(32),o=r(49),i=r(30),u=r(4)("iterator");t.exports=function(t){if(null!=t)return o(t,u)||o(t,"@@iterator")||i[n(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(0),o=r(11),i=r(2),u=r(8),c=n.TypeError;t.exports=function(t,e){var r,n;if("string"===e&&i(r=t.toString)&&!u(n=o(r,t)))return n;if(i(r=t.valueOf)&&!u(n=o(r,t)))return n;if("string"!==e&&i(r=t.toString)&&!u(n=o(r,t)))return n;throw c("Can't convert object to primitive value")}},function(t,e,r){var n=r(0),o=r(2),i=r(38),u=n.WeakMap;t.exports=o(u)&&/native code/.test(i(u))},function(t,e,r){var n=r(0),o=r(34),i=r(58),u=r(8),c=r(4)("species"),f=n.Array;t.exports=function(t){var e;return o(t)&&(e=t.constructor,(i(e)&&(e===f||o(e.prototype))||u(e)&&null===(e=e[c]))&&(e=void 0)),void 0===e?f:e}},function(t,e,r){"use strict";var n=r(43),o=r(32);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e,r){"use strict";var n=r(6),o=r(84);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,r){var n=r(0),o=r(73),i=r(74),u=r(84),c=r(16),f=function(t){if(t&&t.forEach!==u)try{c(t,"forEach",u)}catch(e){t.forEach=u}};for(var a in o)o[a]&&f(n[a]&&n[a].prototype);f(i)},function(t,e,r){var n=r(3);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,r){var n=r(20),o=r(12),i=r(36).f,u=r(107),c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"Window"==n(t)?function(t){try{return i(t)}catch(t){return u(c)}}(t):i(o(t))}},function(t,e,r){var n=r(1),o=r(39),i=r(23),u=r(31),c=n("".charAt),f=n("".charCodeAt),a=n("".slice),s=function(t){return function(e,r){var n,s,p=i(u(e)),l=o(r),v=p.length;return l<0||l>=v?t?"":void 0:(n=f(p,l))<55296||n>56319||l+1===v||(s=f(p,l+1))<56320||s>57343?t?c(p,l):n:t?a(p,l,l+2):s-56320+(n-55296<<10)+65536}};t.exports={codeAt:s(!1),charAt:s(!0)}},function(t,e,r){var n=r(4),o=r(19),i=r(9),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(13);t.exports=n("document","documentElement")},function(t,e,r){var n=r(0),o=r(54),i=r(17),u=r(50),c=n.Array,f=Math.max;t.exports=function(t,e,r){for(var n=i(t),a=o(e,n),s=o(void 0===r?n:r,n),p=c(f(s-a,0)),l=0;a<s;a++,l++)u(p,l,t[a]);return p.length=l,p}},function(t,e,r){"use strict";var n=r(76).IteratorPrototype,o=r(19),i=r(21),u=r(47),c=r(30),f=function(){return this};t.exports=function(t,e,r,a){var s=e+" Iterator";return t.prototype=o(n,{next:i(+!a,r)}),u(t,s,!1,!0),c[s]=f,t}},function(t,e,r){var n=r(0),o=r(2),i=n.String,u=n.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw u("Can't set "+i(t)+" as a prototype")}},,function(t,e,r){var n=r(0);t.exports=n},function(t,e,r){var n=r(4),o=r(30),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(0),o=r(11),i=r(37),u=r(10),c=r(52),f=r(94),a=n.TypeError;t.exports=function(t,e){var r=arguments.length<2?f(t):e;if(i(r))return u(o(r,t));throw a(c(t)+" is not iterable")}},function(t,e,r){var n=r(11),o=r(10),i=r(49);t.exports=function(t,e,r){var u,c;o(t);try{if(!(u=i(t,"return"))){if("throw"===e)throw r;return r}u=n(u,t)}catch(t){c=!0,u=t}if("throw"===e)throw r;if(c)throw u;return o(u),r}},function(t,e,r){var n=r(4)("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(6),o=r(3),i=r(12),u=r(25).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(0),o=r(55),i=r(11),u=r(10),c=r(52),f=r(112),a=r(17),s=r(27),p=r(113),l=r(94),v=r(114),y=n.TypeError,d=function(t,e){this.stopped=t,this.result=e},h=d.prototype;t.exports=function(t,e,r){var n,g,b,x,m,O,S,w=r&&r.that,j=!(!r||!r.AS_ENTRIES),P=!(!r||!r.IS_ITERATOR),E=!(!r||!r.INTERRUPTED),T=o(e,w),A=function(t){return n&&v(n,"normal",t),new d(!0,t)},I=function(t){return j?(u(t),E?T(t[0],t[1],A):T(t[0],t[1])):E?T(t,A):T(t)};if(P)n=t;else{if(!(g=l(t)))throw y(c(t)+" is not iterable");if(f(g)){for(b=0,x=a(t);x>b;b++)if((m=I(t[b]))&&s(h,m))return m;return new d(!1)}n=p(t,g)}for(O=n.next;!(S=i(O,n)).done;){try{m=I(S.value)}catch(t){v(n,"throw",t)}if("object"==typeof m&&m&&s(h,m))return m}return new d(!1)}},function(t,e,r){var n=r(0),o=r(27),i=n.TypeError;t.exports=function(t,e){if(o(e,t))return t;throw i("Incorrect invocation")}},,,function(t,e,r){var n=r(6),o=r(1),i=r(24),u=r(8),c=r(5),f=r(9).f,a=r(36),s=r(103),p=r(149),l=r(35),v=r(151),y=!1,d=l("meta"),h=0,g=function(t){f(t,d,{value:{objectID:"O"+h++,weakData:{}}})},b=t.exports={enable:function(){b.enable=function(){},y=!0;var t=a.f,e=o([].splice),r={};r[d]=1,t(r).length&&(a.f=function(r){for(var n=t(r),o=0,i=n.length;o<i;o++)if(n[o]===d){e(n,o,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:s.f}))},fastKey:function(t,e){if(!u(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!c(t,d)){if(!p(t))return"F";if(!e)return"E";g(t)}return t[d].objectID},getWeakData:function(t,e){if(!c(t,d)){if(!p(t))return!0;if(!e)return!1;g(t)}return t[d].weakData},onFreeze:function(t){return v&&y&&p(t)&&!c(t,d)&&g(t),t}};i[d]=!0},function(t,e,r){var n=r(2),o=r(8),i=r(78);t.exports=function(t,e,r){var u,c;return i&&n(u=e.constructor)&&u!==r&&o(c=u.prototype)&&c!==r.prototype&&i(t,c),t}},function(t,e,r){var n=r(6),o=r(15),i=r(59);n({target:"Object",stat:!0,forced:r(3)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},,,,,,function(t,e,r){"use strict";var n=r(6),o=r(57).filter;n({target:"Array",proto:!0,forced:!r(82)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(6),o=r(7),i=r(87),u=r(12),c=r(25),f=r(50);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,r,n=u(t),o=c.f,a=i(n),s={},p=0;a.length>p;)void 0!==(r=o(n,e=a[p++]))&&f(s,e,r);return s}})},function(t,e,r){var n=r(6),o=r(7);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:r(93)})},,,,function(t,e,r){"use strict";var n=r(6),o=r(0),i=r(1),u=r(71),c=r(14),f=r(127),a=r(123),s=r(124),p=r(2),l=r(8),v=r(3),y=r(115),d=r(47),h=r(128);t.exports=function(t,e,r){var g=-1!==t.indexOf("Map"),b=-1!==t.indexOf("Weak"),x=g?"set":"add",m=o[t],O=m&&m.prototype,S=m,w={},j=function(t){var e=i(O[t]);c(O,t,"add"==t?function(t){return e(this,0===t?0:t),this}:"delete"==t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"==t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"==t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(u(t,!p(m)||!(b||O.forEach&&!v((function(){(new m).entries().next()})))))S=r.getConstructor(e,t,g,x),f.enable();else if(u(t,!0)){var P=new S,E=P[x](b?{}:-0,1)!=P,T=v((function(){P.has(1)})),A=y((function(t){new m(t)})),I=!b&&v((function(){for(var t=new m,e=5;e--;)t[x](e,e);return!t.has(-0)}));A||((S=e((function(t,e){s(t,O);var r=h(new m,t,S);return null!=e&&a(e,r[x],{that:r,AS_ENTRIES:g}),r}))).prototype=O,O.constructor=S),(T||I)&&(j("delete"),j("has"),g&&j("get")),(I||E)&&j(x),b&&O.clear&&delete O.clear}return w[t]=S,n({global:!0,forced:S!=m},w),d(S,t),b||r.setStrong(S,t,g),S}},function(t,e,r){"use strict";var n=r(9).f,o=r(19),i=r(143),u=r(55),c=r(124),f=r(123),a=r(67),s=r(144),p=r(7),l=r(127).fastKey,v=r(22),y=v.set,d=v.getterFor;t.exports={getConstructor:function(t,e,r,a){var s=t((function(t,n){c(t,v),y(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),p||(t.size=0),null!=n&&f(n,t[a],{that:t,AS_ENTRIES:r})})),v=s.prototype,h=d(e),g=function(t,e,r){var n,o,i=h(t),u=b(t,e);return u?u.value=r:(i.last=u={index:o=l(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=u),n&&(n.next=u),p?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t},b=function(t,e){var r,n=h(t),o=l(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return i(v,{clear:function(){for(var t=h(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,p?t.size=0:this.size=0},delete:function(t){var e=h(this),r=b(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),p?e.size--:this.size--}return!!r},forEach:function(t){for(var e,r=h(this),n=u(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!b(this,t)}}),i(v,r?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),p&&n(v,"size",{get:function(){return h(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(14);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(13),o=r(9),i=r(4),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";r(141)("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(142))},function(t,e,r){var n=r(3),o=r(8),i=r(20),u=r(150),c=Object.isExtensible,f=n((function(){c(1)}));t.exports=f||u?function(t){return!!o(t)&&((!u||"ArrayBuffer"!=i(t))&&(!c||c(t)))}:c},function(t,e,r){var n=r(3);t.exports=n((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},function(t,e,r){var n=r(3);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},,,,,,,,,,,,,,,,,,,,function(t,e,r){var n=r(20),o=r(0);t.exports="process"==n(o.process)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";r.r(e),r.d(e,"AutoLayout",(function(){return p}));r(56),r(148),r(60),r(69),r(75),r(100),r(101),r(220),r(77),r(70),r(80),r(81),r(129),r(135),r(117),r(136),r(137);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,p=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,p=f.next,l=f.properties,v=160*n+40,y=120*u,d={id:t,x:v,text:a,y:y,type:s,properties:l};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),p&&p.length>0&&p.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),p=c.width,l=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-p/2;break;case f:y.y=r.y+u/2,d.x=n.x-p/2;break;case s:y.x=r.x+i/2,d.y=n.y+l/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(p,"pluginName","AutoLayout")},function(t,e,r){"use strict";var n=r(6),o=r(221).left,i=r(90),u=r(48),c=r(171);n({target:"Array",proto:!0,forced:!i("reduce")||!c&&u>79&&u<83},{reduce:function(t){var e=arguments.length;return o(this,t,e,e>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(0),o=r(37),i=r(15),u=r(51),c=r(17),f=n.TypeError,a=function(t){return function(e,r,n,a){o(r);var s=i(e),p=u(s),l=c(s),v=t?l-1:0,y=t?-1:1;if(n<2)for(;;){if(v in p){a=p[v],v+=y;break}if(v+=y,t?v<0:l<=v)throw f("Reduce of empty array with no initial value")}for(;t?v>=0:l>v;v+=y)v in p&&(a=r(a,p[v],v,s));return a}};t.exports={left:a(!1),right:a(!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=219)}([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(95))},function(t,e){var r=Function.prototype,n=r.bind,o=r.call,i=n&&n.bind(o);t.exports=n?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,e){t.exports=function(t){return"function"==typeof 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(33),i=r(5),u=r(35),c=r(45),f=r(62),a=o("wks"),s=n.Symbol,p=s&&s.for,l=f?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(a,t)||!c&&"string"!=typeof a[t]){var e="Symbol."+t;c&&i(s,t)?a[t]=s[t]:a[t]=f&&p?p(e):l(e)}return a[t]}},function(t,e,r){var n=r(1),o=r(15),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},function(t,e,r){var n=r(0),o=r(25).f,i=r(16),u=r(14),c=r(42),f=r(68),a=r(71);t.exports=function(t,e){var r,s,p,l,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(l=e[s],p=t.noTargetGet?(v=o(r,s))&&v.value:r[s],!a(d?s:y+(h?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;f(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(r,s,l,t)}}},function(t,e,r){var n=r(3);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,r){var n=r(2);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},function(t,e,r){var n=r(0),o=r(7),i=r(63),u=r(10),c=r(26),f=n.TypeError,a=Object.defineProperty;e.f=o?a:function(t,e,r){if(u(t),e=c(e),u(r),i)try{return a(t,e,r)}catch(t){}if("get"in r||"set"in r)throw f("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(0),o=r(8),i=n.String,u=n.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,e){var r=Function.prototype.call;t.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},function(t,e,r){var n=r(51),o=r(31);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(0),o=r(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},function(t,e,r){var n=r(0),o=r(2),i=r(5),u=r(16),c=r(42),f=r(38),a=r(22),s=r(53).CONFIGURABLE,p=a.get,l=a.enforce,v=String(String).split("String");(t.exports=function(t,e,r,f){var a,p=!!f&&!!f.unsafe,y=!!f&&!!f.enumerable,d=!!f&&!!f.noTargetGet,h=f&&void 0!==f.name?f.name:e;o(r)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||s&&r.name!==h)&&u(r,"name",h),(a=l(r)).source||(a.source=v.join("string"==typeof h?h:""))),t!==n?(p?!d&&t[e]&&(y=!0):delete t[e],y?t[e]=r:u(t,e,r)):y?t[e]=r:c(e,r)})(Function.prototype,"toString",(function(){return o(this)&&p(this).source||f(this)}))},function(t,e,r){var n=r(0),o=r(31),i=n.Object;t.exports=function(t){return i(o(t))}},function(t,e,r){var n=r(7),o=r(9),i=r(21);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(83);t.exports=function(t){return n(t.length)}},,function(t,e,r){var n,o=r(10),i=r(93),u=r(46),c=r(24),f=r(106),a=r(44),s=r(29),p=s("IE_PROTO"),l=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[p]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(l.prototype=o(t),r=new l,l.prototype=null,r[p]=t):r=d(),void 0===e?r:i(r,e)}},function(t,e,r){var n=r(1),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,r){var n,o,i,u=r(97),c=r(0),f=r(1),a=r(8),s=r(16),p=r(5),l=r(41),v=r(29),y=r(24),d=c.TypeError,h=c.WeakMap;if(u||l.state){var g=l.state||(l.state=new h),b=f(g.get),x=f(g.has),m=f(g.set);n=function(t,e){if(x(g,t))throw new d("Object already initialized");return e.facade=t,m(g,t,e),e},o=function(t){return b(g,t)||{}},i=function(t){return x(g,t)}}else{var O=v("state");y[O]=!0,n=function(t,e){if(p(t,O))throw new d("Object already initialized");return e.facade=t,s(t,O,e),e},o=function(t){return p(t,O)?t[O]:{}},i=function(t){return p(t,O)}}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(!a(e)||(r=o(e)).type!==t)throw d("Incompatible receiver, "+t+" required");return r}}}},function(t,e,r){var n=r(0),o=r(32),i=n.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},function(t,e){t.exports={}},function(t,e,r){var n=r(7),o=r(11),i=r(61),u=r(21),c=r(12),f=r(26),a=r(5),s=r(63),p=Object.getOwnPropertyDescriptor;e.f=n?p:function(t,e){if(t=c(t),e=f(e),s)try{return p(t,e)}catch(t){}if(a(t,e))return u(!o(i.f,t,e),t[e])}},function(t,e,r){var n=r(91),o=r(40);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},function(t,e,r){var n=r(1);t.exports=n({}.isPrototypeOf)},function(t,e){t.exports=!1},function(t,e,r){var n=r(33),o=r(35),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e){t.exports={}},function(t,e,r){var n=r(0).TypeError;t.exports=function(t){if(null==t)throw n("Can't call method on "+t);return t}},function(t,e,r){var n=r(0),o=r(43),i=r(2),u=r(20),c=r(4)("toStringTag"),f=n.Object,a="Arguments"==u(function(){return arguments}());t.exports=o?u: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=f(t),c))?r:a?u(e):"Object"==(n=u(e))&&i(e.callee)?"Arguments":n}},function(t,e,r){var n=r(28),o=r(41);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.19.3",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e,r){var n=r(20);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,r){var n=r(1),o=0,i=Math.random(),u=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++o+i,36)}},function(t,e,r){var n=r(66),o=r(46).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},function(t,e,r){var n=r(0),o=r(2),i=r(52),u=n.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not a function")}},function(t,e,r){var n=r(1),o=r(2),i=r(41),u=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return u(t)}),t.exports=i.inspectSource},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){var e=+t;return e!=e||0===e?0:(e>0?n:r)(e)}},function(t,e,r){var n=r(0),o=r(13),i=r(2),u=r(27),c=r(62),f=n.Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var e=o("Symbol");return i(e)&&u(e.prototype,f(t))}},function(t,e,r){var n=r(0),o=r(42),i=n["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,r){var n=r(0),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},function(t,e,r){var n={};n[r(4)("toStringTag")]="z",t.exports="[object z]"===String(n)},function(t,e,r){var n=r(0),o=r(8),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(48),o=r(3);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=r(9).f,o=r(5),i=r(4)("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,o,i=r(0),u=r(86),c=i.process,f=i.Deno,a=c&&c.versions||f&&f.version,s=a&&a.v8;s&&(o=(n=s.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&u&&(!(n=u.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=u.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},function(t,e,r){var n=r(37);t.exports=function(t,e){var r=t[e];return null==r?void 0:n(r)}},function(t,e,r){"use strict";var n=r(26),o=r(9),i=r(21);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(0),o=r(1),i=r(3),u=r(20),c=n.Object,f=o("".split);t.exports=i((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==u(t)?f(t,""):c(t)}:c},function(t,e,r){var n=r(0).String;t.exports=function(t){try{return n(t)}catch(t){return"Object"}}},function(t,e,r){var n=r(7),o=r(5),i=Function.prototype,u=n&&Object.getOwnPropertyDescriptor,c=o(i,"name"),f=c&&"something"===function(){}.name,a=c&&(!n||n&&u(i,"name").configurable);t.exports={EXISTS:c,PROPER:f,CONFIGURABLE:a}},function(t,e,r){var n=r(39),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(1),o=r(37),i=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?i(t,e):function(){return t.apply(e,arguments)}}},function(t,e,r){"use strict";var n=r(12),o=r(105),i=r(30),u=r(22),c=r(67),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){var n=r(55),o=r(1),i=r(51),u=r(15),c=r(17),f=r(72),a=o([].push),s=function(t){var e=1==t,r=2==t,o=3==t,s=4==t,p=6==t,l=7==t,v=5==t||p;return function(y,d,h,g){for(var b,x,m=u(y),O=i(m),S=n(d,h),w=c(O),j=0,P=g||f,E=e?P(y,w):r||l?P(y,0):void 0;w>j;j++)if((v||j in O)&&(x=S(b=O[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:a(E,b)}else switch(t){case 4:return!1;case 7:a(E,b)}return p?-1:o||s?s:E}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},function(t,e,r){var n=r(1),o=r(3),i=r(2),u=r(32),c=r(13),f=r(38),a=function(){},s=[],p=c("Reflect","construct"),l=/^\s*(?:class|function)\b/,v=n(l.exec),y=!l.exec(a),d=function(t){if(!i(t))return!1;try{return p(a,s,t),!0}catch(t){return!1}};t.exports=!p||o((function(){var t;return d(d.call)||!d(Object)||!d((function(){t=!0}))||t}))?function(t){if(!i(t))return!1;switch(u(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return y||!!v(l,f(t))}:d},function(t,e,r){var n=r(66),o=r(46);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e,r){var n=r(43),o=r(14),i=r(99);n||o(Object.prototype,"toString",i,{unsafe:!0})},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(45);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,r){var n=r(7),o=r(3),i=r(44);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,r){var n=r(0),o=r(5),i=r(2),u=r(15),c=r(29),f=r(102),a=c("IE_PROTO"),s=n.Object,p=s.prototype;t.exports=f?s.getPrototypeOf:function(t){var e=u(t);if(o(e,a))return e[a];var r=e.constructor;return i(r)&&e instanceof r?r.prototype:e instanceof s?p:null}},function(t,e,r){var n=r(1),o=r(5),i=r(12),u=r(89).indexOf,c=r(24),f=n([].push);t.exports=function(t,e){var r,n=i(t),a=0,s=[];for(r in n)!o(c,r)&&o(n,r)&&f(s,r);for(;e.length>a;)o(n,r=e[a++])&&(~u(s,r)||f(s,r));return s}},function(t,e,r){"use strict";var n=r(6),o=r(11),i=r(28),u=r(53),c=r(2),f=r(108),a=r(65),s=r(78),p=r(47),l=r(16),v=r(14),y=r(4),d=r(30),h=r(76),g=u.PROPER,b=u.CONFIGURABLE,x=h.IteratorPrototype,m=h.BUGGY_SAFARI_ITERATORS,O=y("iterator"),S=function(){return this};t.exports=function(t,e,r,u,y,h,w){f(r,e,u);var j,P,E,T=function(t){if(t===y&&_)return _;if(!m&&t in I)return I[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},A=e+" Iterator",k=!1,I=t.prototype,L=I[O]||I["@@iterator"]||y&&I[y],_=!m&&L||T(y),N="Array"==e&&I.entries||L;if(N&&(j=a(N.call(new t)))!==Object.prototype&&j.next&&(i||a(j)===x||(s?s(j,x):c(j[O])||v(j,O,S)),p(j,A,!0,!0),i&&(d[A]=S)),g&&"values"==y&&L&&"values"!==L.name&&(!i&&b?l(I,"name","values"):(k=!0,_=function(){return o(L,this)})),y)if(P={values:T("values"),keys:h?_:T("keys"),entries:T("entries")},w)for(E in P)(m||k||!(E in I))&&v(I,E,P[E]);else n({target:e,proto:!0,forced:m||k},P);return i&&!w||I[O]===_||v(I,O,_,{name:y}),d[e]=_,P}},function(t,e,r){var n=r(5),o=r(87),i=r(25),u=r(9);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){"use strict";var n=r(104).charAt,o=r(23),i=r(22),u=r(67),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(6),o=r(0),i=r(13),u=r(92),c=r(11),f=r(1),a=r(28),s=r(7),p=r(45),l=r(3),v=r(5),y=r(34),d=r(2),h=r(8),g=r(27),b=r(40),x=r(10),m=r(15),O=r(12),S=r(26),w=r(23),j=r(21),P=r(19),E=r(59),T=r(36),A=r(103),k=r(64),I=r(25),L=r(9),_=r(61),N=r(79),M=r(14),R=r(33),F=r(29),D=r(24),C=r(35),H=r(4),z=r(85),G=r(88),B=r(47),V=r(22),U=r(57).forEach,W=F("hidden"),J=H("toPrimitive"),K=V.set,Y=V.getterFor("Symbol"),$=Object.prototype,q=o.Symbol,X=q&&q.prototype,Q=o.TypeError,Z=o.QObject,tt=i("JSON","stringify"),et=I.f,rt=L.f,nt=A.f,ot=_.f,it=f([].push),ut=R("symbols"),ct=R("op-symbols"),ft=R("string-to-symbol-registry"),at=R("symbol-to-string-registry"),st=R("wks"),pt=!Z||!Z.prototype||!Z.prototype.findChild,lt=s&&l((function(){return 7!=P(rt({},"a",{get:function(){return rt(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=et($,e);n&&delete $[e],rt(t,e,r),n&&t!==$&&rt($,e,n)}:rt,vt=function(t,e){var r=ut[t]=P(X);return K(r,{type:"Symbol",tag:t,description:e}),s||(r.description=e),r},yt=function(t,e,r){t===$&&yt(ct,e,r),x(t);var n=S(e);return x(r),v(ut,n)?(r.enumerable?(v(t,W)&&t[W][n]&&(t[W][n]=!1),r=P(r,{enumerable:j(0,!1)})):(v(t,W)||rt(t,W,j(1,{})),t[W][n]=!0),lt(t,n,r)):rt(t,n,r)},dt=function(t,e){x(t);var r=O(e),n=E(r).concat(xt(r));return U(n,(function(e){s&&!c(ht,r,e)||yt(t,e,r[e])})),t},ht=function(t){var e=S(t),r=c(ot,this,e);return!(this===$&&v(ut,e)&&!v(ct,e))&&(!(r||!v(this,e)||!v(ut,e)||v(this,W)&&this[W][e])||r)},gt=function(t,e){var r=O(t),n=S(e);if(r!==$||!v(ut,n)||v(ct,n)){var o=et(r,n);return!o||!v(ut,n)||v(r,W)&&r[W][n]||(o.enumerable=!0),o}},bt=function(t){var e=nt(O(t)),r=[];return U(e,(function(t){v(ut,t)||v(D,t)||it(r,t)})),r},xt=function(t){var e=t===$,r=nt(e?ct:O(t)),n=[];return U(r,(function(t){!v(ut,t)||e&&!v($,t)||it(n,ut[t])})),n};(p||(M(X=(q=function(){if(g(X,this))throw Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?w(arguments[0]):void 0,e=C(t),r=function(t){this===$&&c(r,ct,t),v(this,W)&&v(this[W],e)&&(this[W][e]=!1),lt(this,e,j(1,t))};return s&&pt&&lt($,e,{configurable:!0,set:r}),vt(e,t)}).prototype,"toString",(function(){return Y(this).tag})),M(q,"withoutSetter",(function(t){return vt(C(t),t)})),_.f=ht,L.f=yt,I.f=gt,T.f=A.f=bt,k.f=xt,z.f=function(t){return vt(H(t),t)},s&&(rt(X,"description",{configurable:!0,get:function(){return Y(this).description}}),a||M($,"propertyIsEnumerable",ht,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:q}),U(E(st),(function(t){G(t)})),n({target:"Symbol",stat:!0,forced:!p},{for:function(t){var e=w(t);if(v(ft,e))return ft[e];var r=q(e);return ft[e]=r,at[r]=e,r},keyFor:function(t){if(!b(t))throw Q(t+" is not a symbol");if(v(at,t))return at[t]},useSetter:function(){pt=!0},useSimple:function(){pt=!1}}),n({target:"Object",stat:!0,forced:!p,sham:!s},{create:function(t,e){return void 0===e?P(t):dt(P(t),e)},defineProperty:yt,defineProperties:dt,getOwnPropertyDescriptor:gt}),n({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:bt,getOwnPropertySymbols:xt}),n({target:"Object",stat:!0,forced:l((function(){k.f(1)}))},{getOwnPropertySymbols:function(t){return k.f(m(t))}}),tt)&&n({target:"JSON",stat:!0,forced:!p||l((function(){var t=q();return"[null]"!=tt([t])||"{}"!=tt({a:t})||"{}"!=tt(Object(t))}))},{stringify:function(t,e,r){var n=N(arguments),o=e;if((h(e)||void 0!==t)&&!b(t))return y(e)||(e=function(t,e){if(d(o)&&(e=c(o,this,t,e)),!b(e))return e}),n[1]=e,u(tt,null,n)}});if(!X[J]){var mt=X.valueOf;M(X,J,(function(t){return c(mt,this)}))}B(q,"Symbol"),D[W]=!0},function(t,e,r){var n=r(3),o=r(2),i=/#|\.prototype\./,u=function(t,e){var r=f[c(t)];return r==s||r!=a&&(o(e)?n(e):!!e)},c=u.normalize=function(t){return String(t).replace(i,".").toLowerCase()},f=u.data={},a=u.NATIVE="N",s=u.POLYFILL="P";t.exports=u},function(t,e,r){var n=r(98);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},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(44)("span").classList,o=n&&n.constructor&&n.constructor.prototype;t.exports=o===Object.prototype?void 0:o},function(t,e,r){var n=r(0),o=r(73),i=r(74),u=r(56),c=r(16),f=r(4),a=f("iterator"),s=f("toStringTag"),p=u.values,l=function(t,e){if(t){if(t[a]!==p)try{c(t,a,p)}catch(e){t[a]=p}if(t[s]||c(t,s,e),o[e])for(var r in u)if(t[r]!==u[r])try{c(t,r,u[r])}catch(e){t[r]=u[r]}}};for(var v in o)l(n[v]&&n[v].prototype,v);l(i,"DOMTokenList")},function(t,e,r){"use strict";var n,o,i,u=r(3),c=r(2),f=r(19),a=r(65),s=r(14),p=r(4),l=r(28),v=p("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(n=o):y=!0),null==n||u((function(){var t={};return n[v].call(t)!==t}))?n={}:l&&(n=f(n)),c(n[v])||s(n,v,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:y}},function(t,e,r){var n=r(6),o=r(7);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:r(9).f})},function(t,e,r){var n=r(1),o=r(10),i=r(109);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return o(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},function(t,e,r){var n=r(1);t.exports=n([].slice)},function(t,e,r){"use strict";var n=r(6),o=r(7),i=r(0),u=r(1),c=r(5),f=r(2),a=r(27),s=r(23),p=r(9).f,l=r(68),v=i.Symbol,y=v&&v.prototype;if(o&&f(v)&&(!("description"in y)||void 0!==v().description)){var d={},h=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),e=a(y,this)?new v(t):void 0===t?v():v(t);return""===t&&(d[e]=!0),e};l(h,v),h.prototype=y,y.constructor=h;var g="Symbol(test)"==String(v("test")),b=u(y.toString),x=u(y.valueOf),m=/^Symbol\((.*)\)[^)]+$/,O=u("".replace),S=u("".slice);p(y,"description",{configurable:!0,get:function(){var t=x(this),e=b(t);if(c(d,t))return"";var r=g?S(e,7,-1):O(e,m,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:h})}},function(t,e,r){r(88)("iterator")},function(t,e,r){var n=r(3),o=r(4),i=r(48),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(39),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e,r){"use strict";var n=r(57).forEach,o=r(90)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e,r){var n=r(4);e.f=n},function(t,e,r){var n=r(13);t.exports=n("navigator","userAgent")||""},function(t,e,r){var n=r(13),o=r(1),i=r(36),u=r(64),c=r(10),f=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(c(t)),r=u.f;return r?f(e,r(t)):e}},function(t,e,r){var n=r(111),o=r(5),i=r(85),u=r(9).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(12),o=r(54),i=r(17),u=function(t){return function(e,r,u){var c,f=n(e),a=i(f),s=o(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){"use strict";var n=r(3);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(0),o=r(11),i=r(8),u=r(40),c=r(49),f=r(96),a=r(4),s=n.TypeError,p=a("toPrimitive");t.exports=function(t,e){if(!i(t)||u(t))return t;var r,n=c(t,p);if(n){if(void 0===e&&(e="default"),r=o(n,t,e),!i(r)||u(r))return r;throw s("Can't convert object to primitive value")}return void 0===e&&(e="number"),f(t,e)}},function(t,e){var r=Function.prototype,n=r.apply,o=r.bind,i=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?i.bind(n):function(){return i.apply(n,arguments)})},function(t,e,r){var n=r(7),o=r(9),i=r(10),u=r(12),c=r(59);t.exports=n?Object.defineProperties:function(t,e){i(t);for(var r,n=u(e),f=c(e),a=f.length,s=0;a>s;)o.f(t,r=f[s++],n[r]);return t}},function(t,e,r){var n=r(32),o=r(49),i=r(30),u=r(4)("iterator");t.exports=function(t){if(null!=t)return o(t,u)||o(t,"@@iterator")||i[n(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(0),o=r(11),i=r(2),u=r(8),c=n.TypeError;t.exports=function(t,e){var r,n;if("string"===e&&i(r=t.toString)&&!u(n=o(r,t)))return n;if(i(r=t.valueOf)&&!u(n=o(r,t)))return n;if("string"!==e&&i(r=t.toString)&&!u(n=o(r,t)))return n;throw c("Can't convert object to primitive value")}},function(t,e,r){var n=r(0),o=r(2),i=r(38),u=n.WeakMap;t.exports=o(u)&&/native code/.test(i(u))},function(t,e,r){var n=r(0),o=r(34),i=r(58),u=r(8),c=r(4)("species"),f=n.Array;t.exports=function(t){var e;return o(t)&&(e=t.constructor,(i(e)&&(e===f||o(e.prototype))||u(e)&&null===(e=e[c]))&&(e=void 0)),void 0===e?f:e}},function(t,e,r){"use strict";var n=r(43),o=r(32);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e,r){"use strict";var n=r(6),o=r(84);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,r){var n=r(0),o=r(73),i=r(74),u=r(84),c=r(16),f=function(t){if(t&&t.forEach!==u)try{c(t,"forEach",u)}catch(e){t.forEach=u}};for(var a in o)o[a]&&f(n[a]&&n[a].prototype);f(i)},function(t,e,r){var n=r(3);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,r){var n=r(20),o=r(12),i=r(36).f,u=r(107),c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"Window"==n(t)?function(t){try{return i(t)}catch(t){return u(c)}}(t):i(o(t))}},function(t,e,r){var n=r(1),o=r(39),i=r(23),u=r(31),c=n("".charAt),f=n("".charCodeAt),a=n("".slice),s=function(t){return function(e,r){var n,s,p=i(u(e)),l=o(r),v=p.length;return l<0||l>=v?t?"":void 0:(n=f(p,l))<55296||n>56319||l+1===v||(s=f(p,l+1))<56320||s>57343?t?c(p,l):n:t?a(p,l,l+2):s-56320+(n-55296<<10)+65536}};t.exports={codeAt:s(!1),charAt:s(!0)}},function(t,e,r){var n=r(4),o=r(19),i=r(9),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(13);t.exports=n("document","documentElement")},function(t,e,r){var n=r(0),o=r(54),i=r(17),u=r(50),c=n.Array,f=Math.max;t.exports=function(t,e,r){for(var n=i(t),a=o(e,n),s=o(void 0===r?n:r,n),p=c(f(s-a,0)),l=0;a<s;a++,l++)u(p,l,t[a]);return p.length=l,p}},function(t,e,r){"use strict";var n=r(76).IteratorPrototype,o=r(19),i=r(21),u=r(47),c=r(30),f=function(){return this};t.exports=function(t,e,r,a){var s=e+" Iterator";return t.prototype=o(n,{next:i(+!a,r)}),u(t,s,!1,!0),c[s]=f,t}},function(t,e,r){var n=r(0),o=r(2),i=n.String,u=n.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw u("Can't set "+i(t)+" as a prototype")}},,function(t,e,r){var n=r(0);t.exports=n},function(t,e,r){var n=r(4),o=r(30),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(0),o=r(11),i=r(37),u=r(10),c=r(52),f=r(94),a=n.TypeError;t.exports=function(t,e){var r=arguments.length<2?f(t):e;if(i(r))return u(o(r,t));throw a(c(t)+" is not iterable")}},function(t,e,r){var n=r(11),o=r(10),i=r(49);t.exports=function(t,e,r){var u,c;o(t);try{if(!(u=i(t,"return"))){if("throw"===e)throw r;return r}u=n(u,t)}catch(t){c=!0,u=t}if("throw"===e)throw r;if(c)throw u;return o(u),r}},function(t,e,r){var n=r(4)("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(6),o=r(3),i=r(12),u=r(25).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(0),o=r(55),i=r(11),u=r(10),c=r(52),f=r(112),a=r(17),s=r(27),p=r(113),l=r(94),v=r(114),y=n.TypeError,d=function(t,e){this.stopped=t,this.result=e},h=d.prototype;t.exports=function(t,e,r){var n,g,b,x,m,O,S,w=r&&r.that,j=!(!r||!r.AS_ENTRIES),P=!(!r||!r.IS_ITERATOR),E=!(!r||!r.INTERRUPTED),T=o(e,w),A=function(t){return n&&v(n,"normal",t),new d(!0,t)},k=function(t){return j?(u(t),E?T(t[0],t[1],A):T(t[0],t[1])):E?T(t,A):T(t)};if(P)n=t;else{if(!(g=l(t)))throw y(c(t)+" is not iterable");if(f(g)){for(b=0,x=a(t);x>b;b++)if((m=k(t[b]))&&s(h,m))return m;return new d(!1)}n=p(t,g)}for(O=n.next;!(S=i(O,n)).done;){try{m=k(S.value)}catch(t){v(n,"throw",t)}if("object"==typeof m&&m&&s(h,m))return m}return new d(!1)}},function(t,e,r){var n=r(0),o=r(27),i=n.TypeError;t.exports=function(t,e){if(o(e,t))return t;throw i("Incorrect invocation")}},,,function(t,e,r){var n=r(6),o=r(1),i=r(24),u=r(8),c=r(5),f=r(9).f,a=r(36),s=r(103),p=r(149),l=r(35),v=r(151),y=!1,d=l("meta"),h=0,g=function(t){f(t,d,{value:{objectID:"O"+h++,weakData:{}}})},b=t.exports={enable:function(){b.enable=function(){},y=!0;var t=a.f,e=o([].splice),r={};r[d]=1,t(r).length&&(a.f=function(r){for(var n=t(r),o=0,i=n.length;o<i;o++)if(n[o]===d){e(n,o,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:s.f}))},fastKey:function(t,e){if(!u(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!c(t,d)){if(!p(t))return"F";if(!e)return"E";g(t)}return t[d].objectID},getWeakData:function(t,e){if(!c(t,d)){if(!p(t))return!0;if(!e)return!1;g(t)}return t[d].weakData},onFreeze:function(t){return v&&y&&p(t)&&!c(t,d)&&g(t),t}};i[d]=!0},function(t,e,r){var n=r(2),o=r(8),i=r(78);t.exports=function(t,e,r){var u,c;return i&&n(u=e.constructor)&&u!==r&&o(c=u.prototype)&&c!==r.prototype&&i(t,c),t}},function(t,e,r){var n=r(6),o=r(15),i=r(59);n({target:"Object",stat:!0,forced:r(3)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},,,,,,function(t,e,r){"use strict";var n=r(6),o=r(57).filter;n({target:"Array",proto:!0,forced:!r(82)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(6),o=r(7),i=r(87),u=r(12),c=r(25),f=r(50);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,r,n=u(t),o=c.f,a=i(n),s={},p=0;a.length>p;)void 0!==(r=o(n,e=a[p++]))&&f(s,e,r);return s}})},function(t,e,r){var n=r(6),o=r(7);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:r(93)})},,,,function(t,e,r){"use strict";var n=r(6),o=r(0),i=r(1),u=r(71),c=r(14),f=r(127),a=r(123),s=r(124),p=r(2),l=r(8),v=r(3),y=r(115),d=r(47),h=r(128);t.exports=function(t,e,r){var g=-1!==t.indexOf("Map"),b=-1!==t.indexOf("Weak"),x=g?"set":"add",m=o[t],O=m&&m.prototype,S=m,w={},j=function(t){var e=i(O[t]);c(O,t,"add"==t?function(t){return e(this,0===t?0:t),this}:"delete"==t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"==t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"==t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(u(t,!p(m)||!(b||O.forEach&&!v((function(){(new m).entries().next()})))))S=r.getConstructor(e,t,g,x),f.enable();else if(u(t,!0)){var P=new S,E=P[x](b?{}:-0,1)!=P,T=v((function(){P.has(1)})),A=y((function(t){new m(t)})),k=!b&&v((function(){for(var t=new m,e=5;e--;)t[x](e,e);return!t.has(-0)}));A||((S=e((function(t,e){s(t,O);var r=h(new m,t,S);return null!=e&&a(e,r[x],{that:r,AS_ENTRIES:g}),r}))).prototype=O,O.constructor=S),(T||k)&&(j("delete"),j("has"),g&&j("get")),(k||E)&&j(x),b&&O.clear&&delete O.clear}return w[t]=S,n({global:!0,forced:S!=m},w),d(S,t),b||r.setStrong(S,t,g),S}},function(t,e,r){"use strict";var n=r(9).f,o=r(19),i=r(143),u=r(55),c=r(124),f=r(123),a=r(67),s=r(144),p=r(7),l=r(127).fastKey,v=r(22),y=v.set,d=v.getterFor;t.exports={getConstructor:function(t,e,r,a){var s=t((function(t,n){c(t,v),y(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),p||(t.size=0),null!=n&&f(n,t[a],{that:t,AS_ENTRIES:r})})),v=s.prototype,h=d(e),g=function(t,e,r){var n,o,i=h(t),u=b(t,e);return u?u.value=r:(i.last=u={index:o=l(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=u),n&&(n.next=u),p?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t},b=function(t,e){var r,n=h(t),o=l(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return i(v,{clear:function(){for(var t=h(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,p?t.size=0:this.size=0},delete:function(t){var e=h(this),r=b(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),p?e.size--:this.size--}return!!r},forEach:function(t){for(var e,r=h(this),n=u(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!b(this,t)}}),i(v,r?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),p&&n(v,"size",{get:function(){return h(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(14);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(13),o=r(9),i=r(4),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";r(141)("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(142))},function(t,e,r){var n=r(3),o=r(8),i=r(20),u=r(150),c=Object.isExtensible,f=n((function(){c(1)}));t.exports=f||u?function(t){return!!o(t)&&((!u||"ArrayBuffer"!=i(t))&&(!c||c(t)))}:c},function(t,e,r){var n=r(3);t.exports=n((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},function(t,e,r){var n=r(3);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},,,,,,,,,,,,,,,,,,,,function(t,e,r){var n=r(20),o=r(0);t.exports="process"==n(o.process)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";r.r(e),r.d(e,"AutoLayout",(function(){return p}));r(56),r(148),r(60),r(69),r(75),r(100),r(101),r(220),r(77),r(70),r(80),r(81),r(129),r(135),r(117),r(136),r(137);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,p=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,this.trunk=[],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=this,n=[];e.forEach((function(t){var e=t.elements;e.length>n.length?n=e:e.length===n.length&&JSON.stringify(e)===JSON.stringify(r.trunk)&&(n=r.trunk)})),this.trunk=n;for(var o=this.formatData(t),i={nodes:[],edges:[]},u=n.length-1;u>=0;u--)this.setNodePosition(n[u],o,i,u,1);this.lf.graphModel.graphDataToModel(i)}},{key:"setNodePosition",value:function(t,e,r,n,u){var c=this,f=e[t],a=f.text,s=f.type,p=f.next,l=f.properties,v=160*n+40,y=120*u,d={id:t,x:v,text:a,y:y,type:s,properties:l};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),p&&p.length>0&&p.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),p=c.width,l=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-p/2;break;case f:y.y=r.y+u/2,d.x=n.x-p/2;break;case s:y.x=r.x+i/2,d.y=n.y+l/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(p,"pluginName","AutoLayout")},function(t,e,r){"use strict";var n=r(6),o=r(221).left,i=r(90),u=r(48),c=r(171);n({target:"Array",proto:!0,forced:!i("reduce")||!c&&u>79&&u<83},{reduce:function(t){var e=arguments.length;return o(this,t,e,e>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(0),o=r(37),i=r(15),u=r(51),c=r(17),f=n.TypeError,a=function(t){return function(e,r,n,a){o(r);var s=i(e),p=u(s),l=c(s),v=t?l-1:0,y=t?-1:1;if(n<2)for(;;){if(v in p){a=p[v],v+=y;break}if(v+=y,t?v<0:l<=v)throw f("Reduce of empty array with no initial value")}for(;t?v>=0:l>v;v+=y)v in p&&(a=r(a,p[v],v,s));return a}};t.exports={left:a(!1),right:a(!0)}}])}));
package/lib/MiniMap.js CHANGED
@@ -1 +1 @@
1
- !function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var r=n();for(var e in r)("object"==typeof exports?exports:t)[e]=r[e]}}(window,(function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},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,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=210)}([function(t,n,r){(function(n){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 n&&n)||function(){return this}()||Function("return this")()}).call(this,r(95))},function(t,n){var r=Function.prototype,e=r.bind,o=r.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,n){t.exports=function(t){return"function"==typeof t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(0),o=r(33),i=r(5),a=r(35),u=r(45),c=r(62),s=o("wks"),f=e.Symbol,l=f&&f.for,p=c?f:f&&f.withoutSetter||a;t.exports=function(t){if(!i(s,t)||!u&&"string"!=typeof s[t]){var n="Symbol."+t;u&&i(f,t)?s[t]=f[t]:s[t]=c&&l?l(n):p(n)}return s[t]}},function(t,n,r){var e=r(1),o=r(15),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,r){var e=r(0),o=r(25).f,i=r(16),a=r(14),u=r(42),c=r(68),s=r(71);t.exports=function(t,n){var r,f,l,p,v,h=t.target,d=t.global,y=t.stat;if(r=d?e:y?e[h]||u(h,{}):(e[h]||{}).prototype)for(f in n){if(p=n[f],l=t.noTargetGet?(v=o(r,f))&&v.value:r[f],!s(d?f:h+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(r,f,p,t)}}},function(t,n,r){var e=r(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,r){var e=r(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,n,r){var e=r(0),o=r(7),i=r(63),a=r(10),u=r(26),c=e.TypeError,s=Object.defineProperty;n.f=o?s:function(t,n,r){if(a(t),n=u(n),a(r),i)try{return s(t,n,r)}catch(t){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(0),o=r(8),i=e.String,a=e.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not an object")}},function(t,n){var r=Function.prototype.call;t.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},function(t,n,r){var e=r(51),o=r(31);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(0),o=r(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(e[t]):e[t]&&e[t][n]}},function(t,n,r){var e=r(0),o=r(2),i=r(5),a=r(16),u=r(42),c=r(38),s=r(22),f=r(53).CONFIGURABLE,l=s.get,p=s.enforce,v=String(String).split("String");(t.exports=function(t,n,r,c){var s,l=!!c&&!!c.unsafe,h=!!c&&!!c.enumerable,d=!!c&&!!c.noTargetGet,y=c&&void 0!==c.name?c.name:n;o(r)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||f&&r.name!==y)&&a(r,"name",y),(s=p(r)).source||(s.source=v.join("string"==typeof y?y:""))),t!==e?(l?!d&&t[n]&&(h=!0):delete t[n],h?t[n]=r:a(t,n,r)):h?t[n]=r:u(n,r)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||c(this)}))},function(t,n,r){var e=r(0),o=r(31),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,n,r){var e=r(7),o=r(9),i=r(21);t.exports=e?function(t,n,r){return o.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(83);t.exports=function(t){return e(t.length)}},,function(t,n,r){var e,o=r(10),i=r(93),a=r(46),u=r(24),c=r(106),s=r(44),f=r(29),l=f("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},h=function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n},d=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,n;d="undefined"!=typeof document?document.domain&&e?h(e):((n=s("iframe")).style.display="none",c.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):h(e);for(var r=a.length;r--;)delete d.prototype[a[r]];return d()};u[l]=!0,t.exports=Object.create||function(t,n){var r;return null!==t?(p.prototype=o(t),r=new p,p.prototype=null,r[l]=t):r=d(),void 0===n?r:i(r,n)}},function(t,n,r){var e=r(1),o=e({}.toString),i=e("".slice);t.exports=function(t){return i(o(t),8,-1)}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){var e,o,i,a=r(97),u=r(0),c=r(1),s=r(8),f=r(16),l=r(5),p=r(41),v=r(29),h=r(24),d=u.TypeError,y=u.WeakMap;if(a||p.state){var _=p.state||(p.state=new y),g=c(_.get),x=c(_.has),m=c(_.set);e=function(t,n){if(x(_,t))throw new d("Object already initialized");return n.facade=t,m(_,t,n),n},o=function(t){return g(_,t)||{}},i=function(t){return x(_,t)}}else{var b=v("state");h[b]=!0,e=function(t,n){if(l(t,b))throw new d("Object already initialized");return n.facade=t,f(t,b,n),n},o=function(t){return l(t,b)?t[b]:{}},i=function(t){return l(t,b)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(n){var r;if(!s(n)||(r=o(n)).type!==t)throw d("Incompatible receiver, "+t+" required");return r}}}},function(t,n,r){var e=r(0),o=r(32),i=e.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},function(t,n){t.exports={}},function(t,n,r){var e=r(7),o=r(11),i=r(61),a=r(21),u=r(12),c=r(26),s=r(5),f=r(63),l=Object.getOwnPropertyDescriptor;n.f=e?l:function(t,n){if(t=u(t),n=c(n),f)try{return l(t,n)}catch(t){}if(s(t,n))return a(!o(i.f,t,n),t[n])}},function(t,n,r){var e=r(91),o=r(40);t.exports=function(t){var n=e(t,"string");return o(n)?n:n+""}},function(t,n,r){var e=r(1);t.exports=e({}.isPrototypeOf)},function(t,n){t.exports=!1},function(t,n,r){var e=r(33),o=r(35),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n){t.exports={}},function(t,n,r){var e=r(0).TypeError;t.exports=function(t){if(null==t)throw e("Can't call method on "+t);return t}},function(t,n,r){var e=r(0),o=r(43),i=r(2),a=r(20),u=r(4)("toStringTag"),c=e.Object,s="Arguments"==a(function(){return arguments}());t.exports=o?a:function(t){var n,r,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=c(t),u))?r:s?a(n):"Object"==(e=a(n))&&i(n.callee)?"Arguments":e}},function(t,n,r){var e=r(28),o=r(41);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.19.3",mode:e?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,n,r){var e=r(20);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(1),o=0,i=Math.random(),a=e(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},function(t,n,r){var e=r(66),o=r(46).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){var e=r(0),o=r(2),i=r(52),a=e.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not a function")}},function(t,n,r){var e=r(1),o=r(2),i=r(41),a=e(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){var n=+t;return n!=n||0===n?0:(n>0?e:r)(n)}},function(t,n,r){var e=r(0),o=r(13),i=r(2),a=r(27),u=r(62),c=e.Object;t.exports=u?function(t){return"symbol"==typeof t}:function(t){var n=o("Symbol");return i(n)&&a(n.prototype,c(t))}},function(t,n,r){var e=r(0),o=r(42),i=e["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,n,r){var e=r(0),o=Object.defineProperty;t.exports=function(t,n){try{o(e,t,{value:n,configurable:!0,writable:!0})}catch(r){e[t]=n}return n}},function(t,n,r){var e={};e[r(4)("toStringTag")]="z",t.exports="[object z]"===String(e)},function(t,n,r){var e=r(0),o=r(8),i=e.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,n,r){var e=r(48),o=r(3);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41}))},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n,r){var e=r(9).f,o=r(5),i=r(4)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n,r){var e,o,i=r(0),a=r(86),u=i.process,c=i.Deno,s=u&&u.versions||c&&c.version,f=s&&s.v8;f&&(o=(e=f.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!o&&a&&(!(e=a.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=a.match(/Chrome\/(\d+)/))&&(o=+e[1]),t.exports=o},function(t,n,r){var e=r(37);t.exports=function(t,n){var r=t[n];return null==r?void 0:e(r)}},function(t,n,r){"use strict";var e=r(26),o=r(9),i=r(21);t.exports=function(t,n,r){var a=e(n);a in t?o.f(t,a,i(0,r)):t[a]=r}},function(t,n,r){var e=r(0),o=r(1),i=r(3),a=r(20),u=e.Object,c=o("".split);t.exports=i((function(){return!u("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?c(t,""):u(t)}:u},function(t,n,r){var e=r(0).String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},function(t,n,r){var e=r(7),o=r(5),i=Function.prototype,a=e&&Object.getOwnPropertyDescriptor,u=o(i,"name"),c=u&&"something"===function(){}.name,s=u&&(!e||e&&a(i,"name").configurable);t.exports={EXISTS:u,PROPER:c,CONFIGURABLE:s}},function(t,n,r){var e=r(39),o=Math.max,i=Math.min;t.exports=function(t,n){var r=e(t);return r<0?o(r+n,0):i(r,n)}},function(t,n,r){var e=r(1),o=r(37),i=e(e.bind);t.exports=function(t,n){return o(t),void 0===n?t:i?i(t,n):function(){return t.apply(n,arguments)}}},function(t,n,r){"use strict";var e=r(12),o=r(105),i=r(30),a=r(22),u=r(67),c=a.set,s=a.getterFor("Array Iterator");t.exports=u(Array,"Array",(function(t,n){c(this,{type:"Array Iterator",target:e(t),index:0,kind:n})}),(function(){var t=s(this),n=t.target,r=t.kind,e=t.index++;return!n||e>=n.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:e,done:!1}:"values"==r?{value:n[e],done:!1}:{value:[e,n[e]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,n,r){var e=r(55),o=r(1),i=r(51),a=r(15),u=r(17),c=r(72),s=o([].push),f=function(t){var n=1==t,r=2==t,o=3==t,f=4==t,l=6==t,p=7==t,v=5==t||l;return function(h,d,y,_){for(var g,x,m=a(h),b=i(m),w=e(d,y),S=u(b),O=0,P=_||c,M=n?P(h,S):r||p?P(h,0):void 0;S>O;O++)if((v||O in b)&&(x=w(g=b[O],O,m),t))if(n)M[O]=x;else if(x)switch(t){case 3:return!0;case 5:return g;case 6:return O;case 2:s(M,g)}else switch(t){case 4:return!1;case 7:s(M,g)}return l?-1:o||f?f:M}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},function(t,n,r){var e=r(1),o=r(3),i=r(2),a=r(32),u=r(13),c=r(38),s=function(){},f=[],l=u("Reflect","construct"),p=/^\s*(?:class|function)\b/,v=e(p.exec),h=!p.exec(s),d=function(t){if(!i(t))return!1;try{return l(s,f,t),!0}catch(t){return!1}};t.exports=!l||o((function(){var t;return d(d.call)||!d(Object)||!d((function(){t=!0}))||t}))?function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return h||!!v(p,c(t))}:d},function(t,n,r){var e=r(66),o=r(46);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(43),o=r(14),i=r(99);e||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,n,r){"use strict";var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:e},function(t,n,r){var e=r(45);t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,r){var e=r(7),o=r(3),i=r(44);t.exports=!e&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(0),o=r(5),i=r(2),a=r(15),u=r(29),c=r(102),s=u("IE_PROTO"),f=e.Object,l=f.prototype;t.exports=c?f.getPrototypeOf:function(t){var n=a(t);if(o(n,s))return n[s];var r=n.constructor;return i(r)&&n instanceof r?r.prototype:n instanceof f?l:null}},function(t,n,r){var e=r(1),o=r(5),i=r(12),a=r(89).indexOf,u=r(24),c=e([].push);t.exports=function(t,n){var r,e=i(t),s=0,f=[];for(r in e)!o(u,r)&&o(e,r)&&c(f,r);for(;n.length>s;)o(e,r=n[s++])&&(~a(f,r)||c(f,r));return f}},function(t,n,r){"use strict";var e=r(6),o=r(11),i=r(28),a=r(53),u=r(2),c=r(108),s=r(65),f=r(78),l=r(47),p=r(16),v=r(14),h=r(4),d=r(30),y=r(76),_=a.PROPER,g=a.CONFIGURABLE,x=y.IteratorPrototype,m=y.BUGGY_SAFARI_ITERATORS,b=h("iterator"),w=function(){return this};t.exports=function(t,n,r,a,h,y,S){c(r,n,a);var O,P,M,j=function(t){if(t===h&&I)return I;if(!m&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},E=n+" Iterator",A=!1,T=t.prototype,L=T[b]||T["@@iterator"]||h&&T[h],I=!m&&L||j(h),k="Array"==n&&T.entries||L;if(k&&(O=s(k.call(new t)))!==Object.prototype&&O.next&&(i||s(O)===x||(f?f(O,x):u(O[b])||v(O,b,w)),l(O,E,!0,!0),i&&(d[E]=w)),_&&"values"==h&&L&&"values"!==L.name&&(!i&&g?p(T,"name","values"):(A=!0,I=function(){return o(L,this)})),h)if(P={values:j("values"),keys:y?I:j("keys"),entries:j("entries")},S)for(M in P)(m||A||!(M in T))&&v(T,M,P[M]);else e({target:n,proto:!0,forced:m||A},P);return i&&!S||T[b]===I||v(T,b,I,{name:h}),d[n]=I,P}},function(t,n,r){var e=r(5),o=r(87),i=r(25),a=r(9);t.exports=function(t,n){for(var r=o(n),u=a.f,c=i.f,s=0;s<r.length;s++){var f=r[s];e(t,f)||u(t,f,c(n,f))}}},function(t,n,r){"use strict";var e=r(104).charAt,o=r(23),i=r(22),a=r(67),u=i.set,c=i.getterFor("String Iterator");a(String,"String",(function(t){u(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,n=c(this),r=n.string,o=n.index;return o>=r.length?{value:void 0,done:!0}:(t=e(r,o),n.index+=t.length,{value:t,done:!1})}))},function(t,n,r){"use strict";var e=r(6),o=r(0),i=r(13),a=r(92),u=r(11),c=r(1),s=r(28),f=r(7),l=r(45),p=r(3),v=r(5),h=r(34),d=r(2),y=r(8),_=r(27),g=r(40),x=r(10),m=r(15),b=r(12),w=r(26),S=r(23),O=r(21),P=r(19),M=r(59),j=r(36),E=r(103),A=r(64),T=r(25),L=r(9),I=r(61),k=r(79),R=r(14),C=r(33),F=r(29),N=r(24),D=r(35),G=r(4),V=r(85),W=r(88),B=r(47),H=r(22),U=r(57).forEach,Y=F("hidden"),z=G("toPrimitive"),X=H.set,$=H.getterFor("Symbol"),K=Object.prototype,q=o.Symbol,J=q&&q.prototype,Q=o.TypeError,Z=o.QObject,tt=i("JSON","stringify"),nt=T.f,rt=L.f,et=E.f,ot=I.f,it=c([].push),at=C("symbols"),ut=C("op-symbols"),ct=C("string-to-symbol-registry"),st=C("symbol-to-string-registry"),ft=C("wks"),lt=!Z||!Z.prototype||!Z.prototype.findChild,pt=f&&p((function(){return 7!=P(rt({},"a",{get:function(){return rt(this,"a",{value:7}).a}})).a}))?function(t,n,r){var e=nt(K,n);e&&delete K[n],rt(t,n,r),e&&t!==K&&rt(K,n,e)}:rt,vt=function(t,n){var r=at[t]=P(J);return X(r,{type:"Symbol",tag:t,description:n}),f||(r.description=n),r},ht=function(t,n,r){t===K&&ht(ut,n,r),x(t);var e=w(n);return x(r),v(at,e)?(r.enumerable?(v(t,Y)&&t[Y][e]&&(t[Y][e]=!1),r=P(r,{enumerable:O(0,!1)})):(v(t,Y)||rt(t,Y,O(1,{})),t[Y][e]=!0),pt(t,e,r)):rt(t,e,r)},dt=function(t,n){x(t);var r=b(n),e=M(r).concat(xt(r));return U(e,(function(n){f&&!u(yt,r,n)||ht(t,n,r[n])})),t},yt=function(t){var n=w(t),r=u(ot,this,n);return!(this===K&&v(at,n)&&!v(ut,n))&&(!(r||!v(this,n)||!v(at,n)||v(this,Y)&&this[Y][n])||r)},_t=function(t,n){var r=b(t),e=w(n);if(r!==K||!v(at,e)||v(ut,e)){var o=nt(r,e);return!o||!v(at,e)||v(r,Y)&&r[Y][e]||(o.enumerable=!0),o}},gt=function(t){var n=et(b(t)),r=[];return U(n,(function(t){v(at,t)||v(N,t)||it(r,t)})),r},xt=function(t){var n=t===K,r=et(n?ut:b(t)),e=[];return U(r,(function(t){!v(at,t)||n&&!v(K,t)||it(e,at[t])})),e};(l||(R(J=(q=function(){if(_(J,this))throw Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?S(arguments[0]):void 0,n=D(t),r=function(t){this===K&&u(r,ut,t),v(this,Y)&&v(this[Y],n)&&(this[Y][n]=!1),pt(this,n,O(1,t))};return f&&lt&&pt(K,n,{configurable:!0,set:r}),vt(n,t)}).prototype,"toString",(function(){return $(this).tag})),R(q,"withoutSetter",(function(t){return vt(D(t),t)})),I.f=yt,L.f=ht,T.f=_t,j.f=E.f=gt,A.f=xt,V.f=function(t){return vt(G(t),t)},f&&(rt(J,"description",{configurable:!0,get:function(){return $(this).description}}),s||R(K,"propertyIsEnumerable",yt,{unsafe:!0}))),e({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:q}),U(M(ft),(function(t){W(t)})),e({target:"Symbol",stat:!0,forced:!l},{for:function(t){var n=S(t);if(v(ct,n))return ct[n];var r=q(n);return ct[n]=r,st[r]=n,r},keyFor:function(t){if(!g(t))throw Q(t+" is not a symbol");if(v(st,t))return st[t]},useSetter:function(){lt=!0},useSimple:function(){lt=!1}}),e({target:"Object",stat:!0,forced:!l,sham:!f},{create:function(t,n){return void 0===n?P(t):dt(P(t),n)},defineProperty:ht,defineProperties:dt,getOwnPropertyDescriptor:_t}),e({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:gt,getOwnPropertySymbols:xt}),e({target:"Object",stat:!0,forced:p((function(){A.f(1)}))},{getOwnPropertySymbols:function(t){return A.f(m(t))}}),tt)&&e({target:"JSON",stat:!0,forced:!l||p((function(){var t=q();return"[null]"!=tt([t])||"{}"!=tt({a:t})||"{}"!=tt(Object(t))}))},{stringify:function(t,n,r){var e=k(arguments),o=n;if((y(n)||void 0!==t)&&!g(t))return h(n)||(n=function(t,n){if(d(o)&&(n=u(o,this,t,n)),!g(n))return n}),e[1]=n,a(tt,null,e)}});if(!J[z]){var mt=J.valueOf;R(J,z,(function(t){return u(mt,this)}))}B(q,"Symbol"),N[Y]=!0},function(t,n,r){var e=r(3),o=r(2),i=/#|\.prototype\./,a=function(t,n){var r=c[u(t)];return r==f||r!=s&&(o(n)?e(n):!!n)},u=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=a.data={},s=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a},function(t,n,r){var e=r(98);t.exports=function(t,n){return new(e(t))(0===n?0:n)}},function(t,n){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,n,r){var e=r(44)("span").classList,o=e&&e.constructor&&e.constructor.prototype;t.exports=o===Object.prototype?void 0:o},function(t,n,r){var e=r(0),o=r(73),i=r(74),a=r(56),u=r(16),c=r(4),s=c("iterator"),f=c("toStringTag"),l=a.values,p=function(t,n){if(t){if(t[s]!==l)try{u(t,s,l)}catch(n){t[s]=l}if(t[f]||u(t,f,n),o[n])for(var r in a)if(t[r]!==a[r])try{u(t,r,a[r])}catch(n){t[r]=a[r]}}};for(var v in o)p(e[v]&&e[v].prototype,v);p(i,"DOMTokenList")},function(t,n,r){"use strict";var e,o,i,a=r(3),u=r(2),c=r(19),s=r(65),f=r(14),l=r(4),p=r(28),v=l("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(e=o):h=!0),null==e||a((function(){var t={};return e[v].call(t)!==t}))?e={}:p&&(e=c(e)),u(e[v])||f(e,v,(function(){return this})),t.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:h}},function(t,n,r){var e=r(6),o=r(7);e({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:r(9).f})},function(t,n,r){var e=r(1),o=r(10),i=r(109);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,r={};try{(t=e(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),n=r instanceof Array}catch(t){}return function(r,e){return o(r),i(e),n?t(r,e):r.__proto__=e,r}}():void 0)},function(t,n,r){var e=r(1);t.exports=e([].slice)},function(t,n,r){"use strict";var e=r(6),o=r(7),i=r(0),a=r(1),u=r(5),c=r(2),s=r(27),f=r(23),l=r(9).f,p=r(68),v=i.Symbol,h=v&&v.prototype;if(o&&c(v)&&(!("description"in h)||void 0!==v().description)){var d={},y=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),n=s(h,this)?new v(t):void 0===t?v():v(t);return""===t&&(d[n]=!0),n};p(y,v),y.prototype=h,h.constructor=y;var _="Symbol(test)"==String(v("test")),g=a(h.toString),x=a(h.valueOf),m=/^Symbol\((.*)\)[^)]+$/,b=a("".replace),w=a("".slice);l(h,"description",{configurable:!0,get:function(){var t=x(this),n=g(t);if(u(d,t))return"";var r=_?w(n,7,-1):b(n,m,"$1");return""===r?void 0:r}}),e({global:!0,forced:!0},{Symbol:y})}},function(t,n,r){r(88)("iterator")},function(t,n,r){var e=r(3),o=r(4),i=r(48),a=o("species");t.exports=function(t){return i>=51||!e((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},function(t,n,r){var e=r(39),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){"use strict";var e=r(57).forEach,o=r(90)("forEach");t.exports=o?[].forEach:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,n,r){var e=r(4);n.f=e},function(t,n,r){var e=r(13);t.exports=e("navigator","userAgent")||""},function(t,n,r){var e=r(13),o=r(1),i=r(36),a=r(64),u=r(10),c=o([].concat);t.exports=e("Reflect","ownKeys")||function(t){var n=i.f(u(t)),r=a.f;return r?c(n,r(t)):n}},function(t,n,r){var e=r(111),o=r(5),i=r(85),a=r(9).f;t.exports=function(t){var n=e.Symbol||(e.Symbol={});o(n,t)||a(n,t,{value:i.f(t)})}},function(t,n,r){var e=r(12),o=r(54),i=r(17),a=function(t){return function(n,r,a){var u,c=e(n),s=i(c),f=o(a,s);if(t&&r!=r){for(;s>f;)if((u=c[f++])!=u)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,n,r){"use strict";var e=r(3);t.exports=function(t,n){var r=[][t];return!!r&&e((function(){r.call(null,n||function(){throw 1},1)}))}},function(t,n,r){var e=r(0),o=r(11),i=r(8),a=r(40),u=r(49),c=r(96),s=r(4),f=e.TypeError,l=s("toPrimitive");t.exports=function(t,n){if(!i(t)||a(t))return t;var r,e=u(t,l);if(e){if(void 0===n&&(n="default"),r=o(e,t,n),!i(r)||a(r))return r;throw f("Can't convert object to primitive value")}return void 0===n&&(n="number"),c(t,n)}},function(t,n){var r=Function.prototype,e=r.apply,o=r.bind,i=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?i.bind(e):function(){return i.apply(e,arguments)})},function(t,n,r){var e=r(7),o=r(9),i=r(10),a=r(12),u=r(59);t.exports=e?Object.defineProperties:function(t,n){i(t);for(var r,e=a(n),c=u(n),s=c.length,f=0;s>f;)o.f(t,r=c[f++],e[r]);return t}},function(t,n,r){var e=r(32),o=r(49),i=r(30),a=r(4)("iterator");t.exports=function(t){if(null!=t)return o(t,a)||o(t,"@@iterator")||i[e(t)]}},function(t,n){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,n,r){var e=r(0),o=r(11),i=r(2),a=r(8),u=e.TypeError;t.exports=function(t,n){var r,e;if("string"===n&&i(r=t.toString)&&!a(e=o(r,t)))return e;if(i(r=t.valueOf)&&!a(e=o(r,t)))return e;if("string"!==n&&i(r=t.toString)&&!a(e=o(r,t)))return e;throw u("Can't convert object to primitive value")}},function(t,n,r){var e=r(0),o=r(2),i=r(38),a=e.WeakMap;t.exports=o(a)&&/native code/.test(i(a))},function(t,n,r){var e=r(0),o=r(34),i=r(58),a=r(8),u=r(4)("species"),c=e.Array;t.exports=function(t){var n;return o(t)&&(n=t.constructor,(i(n)&&(n===c||o(n.prototype))||a(n)&&null===(n=n[u]))&&(n=void 0)),void 0===n?c:n}},function(t,n,r){"use strict";var e=r(43),o=r(32);t.exports=e?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,n,r){"use strict";var e=r(6),o=r(84);e({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,n,r){var e=r(0),o=r(73),i=r(74),a=r(84),u=r(16),c=function(t){if(t&&t.forEach!==a)try{u(t,"forEach",a)}catch(n){t.forEach=a}};for(var s in o)o[s]&&c(e[s]&&e[s].prototype);c(i)},function(t,n,r){var e=r(3);t.exports=!e((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,n,r){var e=r(20),o=r(12),i=r(36).f,a=r(107),u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"Window"==e(t)?function(t){try{return i(t)}catch(t){return a(u)}}(t):i(o(t))}},function(t,n,r){var e=r(1),o=r(39),i=r(23),a=r(31),u=e("".charAt),c=e("".charCodeAt),s=e("".slice),f=function(t){return function(n,r){var e,f,l=i(a(n)),p=o(r),v=l.length;return p<0||p>=v?t?"":void 0:(e=c(l,p))<55296||e>56319||p+1===v||(f=c(l,p+1))<56320||f>57343?t?u(l,p):e:t?s(l,p,p+2):f-56320+(e-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},function(t,n,r){var e=r(4),o=r(19),i=r(9),a=e("unscopables"),u=Array.prototype;null==u[a]&&i.f(u,a,{configurable:!0,value:o(null)}),t.exports=function(t){u[a][t]=!0}},function(t,n,r){var e=r(13);t.exports=e("document","documentElement")},function(t,n,r){var e=r(0),o=r(54),i=r(17),a=r(50),u=e.Array,c=Math.max;t.exports=function(t,n,r){for(var e=i(t),s=o(n,e),f=o(void 0===r?e:r,e),l=u(c(f-s,0)),p=0;s<f;s++,p++)a(l,p,t[s]);return l.length=p,l}},function(t,n,r){"use strict";var e=r(76).IteratorPrototype,o=r(19),i=r(21),a=r(47),u=r(30),c=function(){return this};t.exports=function(t,n,r,s){var f=n+" Iterator";return t.prototype=o(e,{next:i(+!s,r)}),a(t,f,!1,!0),u[f]=c,t}},function(t,n,r){var e=r(0),o=r(2),i=e.String,a=e.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw a("Can't set "+i(t)+" as a prototype")}},function(t,n,r){"use strict";var e,o,i=r(11),a=r(1),u=r(23),c=r(125),s=r(126),f=r(33),l=r(19),p=r(22).get,v=r(130),h=r(131),d=f("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,_=y,g=a("".charAt),x=a("".indexOf),m=a("".replace),b=a("".slice),w=(o=/b*/g,i(y,e=/a/,"a"),i(y,o,"a"),0!==e.lastIndex||0!==o.lastIndex),S=s.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];(w||O||S||v||h)&&(_=function(t){var n,r,e,o,a,s,f,v=this,h=p(v),P=u(t),M=h.raw;if(M)return M.lastIndex=v.lastIndex,n=i(_,M,P),v.lastIndex=M.lastIndex,n;var j=h.groups,E=S&&v.sticky,A=i(c,v),T=v.source,L=0,I=P;if(E&&(A=m(A,"y",""),-1===x(A,"g")&&(A+="g"),I=b(P,v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&"\n"!==g(P,v.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,L++),r=new RegExp("^(?:"+T+")",A)),O&&(r=new RegExp("^"+T+"$(?!\\s)",A)),w&&(e=v.lastIndex),o=i(y,E?r:v,I),E?o?(o.input=b(o.input,L),o[0]=b(o[0],L),o.index=v.lastIndex,v.lastIndex+=o[0].length):v.lastIndex=0:w&&o&&(v.lastIndex=v.global?o.index+o[0].length:e),O&&o&&o.length>1&&i(d,o[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&j)for(o.groups=s=l(null),a=0;a<j.length;a++)s[(f=j[a])[0]]=o[f[1]];return o}),t.exports=_},function(t,n,r){var e=r(0);t.exports=e},function(t,n,r){var e=r(4),o=r(30),i=e("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},function(t,n,r){var e=r(0),o=r(11),i=r(37),a=r(10),u=r(52),c=r(94),s=e.TypeError;t.exports=function(t,n){var r=arguments.length<2?c(t):n;if(i(r))return a(o(r,t));throw s(u(t)+" is not iterable")}},function(t,n,r){var e=r(11),o=r(10),i=r(49);t.exports=function(t,n,r){var a,u;o(t);try{if(!(a=i(t,"return"))){if("throw"===n)throw r;return r}a=e(a,t)}catch(t){u=!0,a=t}if("throw"===n)throw r;if(u)throw a;return o(a),r}},function(t,n,r){var e=r(4)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[e]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i={};i[e]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},function(t,n,r){"use strict";var e=r(6),o=r(0),i=r(3),a=r(34),u=r(8),c=r(15),s=r(17),f=r(50),l=r(72),p=r(82),v=r(4),h=r(48),d=v("isConcatSpreadable"),y=o.TypeError,_=h>=51||!i((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),g=p("concat"),x=function(t){if(!u(t))return!1;var n=t[d];return void 0!==n?!!n:a(t)};e({target:"Array",proto:!0,forced:!_||!g},{concat:function(t){var n,r,e,o,i,a=c(this),u=l(a,0),p=0;for(n=-1,e=arguments.length;n<e;n++)if(x(i=-1===n?a:arguments[n])){if(p+(o=s(i))>9007199254740991)throw y("Maximum allowed index exceeded");for(r=0;r<o;r++,p++)r in i&&f(u,p,i[r])}else{if(p>=9007199254740991)throw y("Maximum allowed index exceeded");f(u,p++,i)}return u.length=p,u}})},,function(t,n,r){"use strict";var e=r(6),o=r(110);e({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},,,,,,,function(t,n,r){"use strict";var e=r(10);t.exports=function(){var t=e(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,r){var e=r(3),o=r(0).RegExp,i=e((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),a=i||e((function(){return!o("a","y").sticky})),u=i||e((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:u,MISSED_STICKY:a,UNSUPPORTED_Y:i}},,,,function(t,n,r){var e=r(3),o=r(0).RegExp;t.exports=e((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},function(t,n,r){var e=r(3),o=r(0).RegExp;t.exports=e((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},function(t,n,r){var e=r(6),o=r(133);e({target:"Array",stat:!0,forced:!r(115)((function(t){Array.from(t)}))},{from:o})},function(t,n,r){"use strict";var e=r(0),o=r(55),i=r(11),a=r(15),u=r(134),c=r(112),s=r(58),f=r(17),l=r(50),p=r(113),v=r(94),h=e.Array;t.exports=function(t){var n=a(t),r=s(this),e=arguments.length,d=e>1?arguments[1]:void 0,y=void 0!==d;y&&(d=o(d,e>2?arguments[2]:void 0));var _,g,x,m,b,w,S=v(n),O=0;if(!S||this==h&&c(S))for(_=f(n),g=r?new this(_):h(_);_>O;O++)w=y?d(n[O],O):n[O],l(g,O,w);else for(b=(m=p(n,S)).next,g=r?new this:[];!(x=i(b,m)).done;O++)w=y?u(m,d,[x.value,O],!0):x.value,l(g,O,w);return g.length=O,g}},function(t,n,r){var e=r(10),o=r(114);t.exports=function(t,n,r,i){try{return i?n(e(r)[0],r[1]):n(r)}catch(n){o(t,"throw",n)}}},,,,function(t,n,r){r(6)({target:"Array",stat:!0},{isArray:r(34)})},function(t,n,r){"use strict";var e=r(6),o=r(0),i=r(34),a=r(58),u=r(8),c=r(54),s=r(17),f=r(12),l=r(50),p=r(4),v=r(82),h=r(79),d=v("slice"),y=p("species"),_=o.Array,g=Math.max;e({target:"Array",proto:!0,forced:!d},{slice:function(t,n){var r,e,o,p=f(this),v=s(p),d=c(t,v),x=c(void 0===n?v:n,v);if(i(p)&&(r=p.constructor,(a(r)&&(r===_||i(r.prototype))||u(r)&&null===(r=r[y]))&&(r=void 0),r===_||void 0===r))return h(p,d,x);for(e=new(void 0===r?_:r)(g(x-d,0)),o=0;d<x;d++,o++)d in p&&l(e,o,p[d]);return e.length=o,e}})},function(t,n,r){var e=r(7),o=r(53).EXISTS,i=r(1),a=r(9).f,u=Function.prototype,c=i(u.toString),s=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,f=i(s.exec);e&&!o&&a(u,"name",{configurable:!0,get:function(){try{return f(s,c(this))[1]}catch(t){return""}}})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,r){"use strict";r.r(n),r.d(n,"MiniMap",(function(){return u}));r(100),r(60),r(116),r(101),r(56),r(75),r(77),r(139),r(140),r(132),r(69),r(118),r(70),r(80),r(81),r(138);function e(t,n){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,n){if(!t)return;if("string"==typeof t)return o(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(t,n)}(t))||n&&t&&"number"==typeof t.length){r&&(t=r);var e=0,i=function(){};return{s:i,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return u=t.done,t},e:function(t){c=!0,a=t},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw a}}}}function o(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e}function i(t,n){for(var r=0;r<n.length;r++){var e=n[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}function a(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}var u=function(){function t(n){var r=this,e=n.lf,o=n.LogicFlow;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,"__lf",null),a(this,"__container",null),a(this,"__miniMapWrap",null),a(this,"__miniMapContainer",null),a(this,"__lfMap",null),a(this,"__viewport",null),a(this,"__width",150),a(this,"__height",220),a(this,"__miniMapWidth",450),a(this,"__miniMapHeight",660),a(this,"__viewPortTop",0),a(this,"__viewPortLeft",0),a(this,"__startPosition",null),a(this,"__viewPortScale",1),a(this,"__viewPortWidth",150),a(this,"__viewPortHeight",75),a(this,"__resetDataX",0),a(this,"__resetDataY",0),a(this,"__LogicFlow",null),a(this,"__isShow",!1),a(this,"__disabledPlugins",["miniMap","control","selectionSelect"]),a(this,"show",(function(t,n){r.__setView(),r.__isShow||r.__createMiniMap(t,n),r.__isShow=!0})),a(this,"hide",(function(){r.__isShow&&r.__removeMiniMap(),r.__isShow=!1})),a(this,"__startDrag",(function(t){document.addEventListener("mousemove",r.__drag),document.addEventListener("mouseup",r.__drop),r.__startPosition={x:t.x,y:t.y}})),a(this,"__drag",(function(t){var n=r.__viewport.style;r.__viewPortTop+=t.y-r.__startPosition.y,r.__viewPortLeft+=t.x-r.__startPosition.x,n.top="".concat(r.__viewPortTop,"px"),n.left="".concat(r.__viewPortLeft,"px"),r.__startPosition={x:t.x,y:t.y};var e=(r.__viewPortLeft+r.__viewPortWidth/2)/r.__viewPortScale,o=(r.__viewPortTop+r.__viewPortHeight/2)/r.__viewPortScale;r.__lf.focusOn({coordinate:{x:e+r.__resetDataX,y:o+r.__resetDataY}})})),a(this,"__drop",(function(){document.removeEventListener("mousemove",r.__drag),document.removeEventListener("mouseup",r.__drop)})),this.__lf=e,this.__miniMapWidth=e.graphModel.width,this.__miniMapHeight=220*e.graphModel.width/150,this.__LogicFlow=o,this.__init()}var n,r,o;return n=t,(r=[{key:"render",value:function(t,n){var r=this;this.__container=n,["node:add","node:delete","edge:add","edge:delete","node:drop","blank:drop"].forEach((function(t){r.__lf.on(t,(function(){r.__isShow&&r.__setView()}))}))}},{key:"init",value:function(t){this.__disabledPlugins=this.__disabledPlugins.concat(t.disabledPlugins||[])}},{key:"__init",value:function(){var t=document.createElement("div");t.className="lf-mini-map-graph",t.style.width="".concat(this.__width,"px"),t.style.height="".concat(this.__height,"px"),this.__lfMap=new this.__LogicFlow({width:this.__lf.graphModel.width,height:220*this.__lf.graphModel.width/150,container:t,isSilentMode:!0,stopZoomGraph:!0,stopScrollGraph:!0,stopMoveGraph:!0,hideAnchors:!0,hoverOutline:!1,disabledPlugins:this.__disabledPlugins}),this.__lfMap.adapterIn=function(t){return t},this.__lfMap.adapterOut=function(t){return t},this.__miniMapWrap=t,this.__createViewPort()}},{key:"__createMiniMap",value:function(t,n){var r=document.createElement("div"),e=this.__miniMapWrap;r.appendChild(e),void 0!==t&&void 0!==n&&(r.style.left="".concat(t,"px"),r.style.top="".concat(n,"px")),r.style.position="absolute",r.className="lf-mini-map",this.__container.appendChild(r),this.__miniMapWrap.appendChild(this.__viewport);var o=document.createElement("div");o.className="lf-mini-map-header",o.innerText="导航",r.appendChild(o);var i=document.createElement("span");i.className="lf-mini-map-close",i.addEventListener("click",this.hide),r.appendChild(i),this.__miniMapContainer=r}},{key:"__removeMiniMap",value:function(){this.__container.removeChild(this.__miniMapContainer)}},{key:"__getBounds",value:function(t){var n=0,r=this.__miniMapWidth,e=0,o=this.__miniMapHeight,i=t.nodes;return i&&i.length>0&&i.forEach((function(t){var i=t.x,a=t.y,u=t.width,c=void 0===u?200:u,s=t.height,f=void 0===s?200:s,l=i-c/2,p=i+c/2,v=a-f/2,h=a+f/2;n=l<n?l:n,r=p>r?p:r,e=v<e?v:e,o=h>o?h:o})),{left:n,top:e,bottom:o,right:r}}},{key:"__resetData",value:function(t){var n=t.nodes,r=t.edges,e=0,o=0;return n&&n.length>0&&(n.forEach((function(t){var n=t.x,r=t.y,i=t.width,a=void 0===i?200:i,u=t.height,c=n-a/2,s=r-(void 0===u?200:u)/2;e=c<e?c:e,o=s<o?s:o})),(e<0||o<0)&&(this.__resetDataX=e,this.__resetDataY=o,n.forEach((function(t){t.x=t.x-e,t.y=t.y-o,t.text&&(t.text.x=t.text.x-e,t.text.y=t.text.y-o)})),r.forEach((function(t){t.startPoint&&(t.startPoint.x=t.startPoint.x-e,t.startPoint.y=t.startPoint.y-o),t.endPoint&&(t.endPoint.x=t.endPoint.x-e,t.endPoint.y=t.endPoint.y-o),t.text&&(t.text.x=t.text.x-e,t.text.y=t.text.y-o),t.pointsList&&t.pointsList.forEach((function(t){t.x=t.x-e,t.y=t.y-o}))})))),t}},{key:"__setView",value:function(){var t,n=this.__resetData(this.__lf.getGraphRawData()),r=this.__lf.viewMap,o=this.__lf.graphModel.modelMap,i=this.__lfMap.viewMap,a=e(r.keys());try{for(a.s();!(t=a.n()).done;){var u=t.value;i.has(u)||(this.__lfMap.setView(u,r.get(u)),this.__lfMap.graphModel.modelMap.set(u,o.get(u)))}}catch(t){a.e(t)}finally{a.f()}this.__lfMap.render(n);var c=this.__getBounds(n),s=c.left,f=c.top,l=c.right,p=c.bottom,v=this.__width/(l-s),h=this.__height/(p-f),d=this.__miniMapWrap.firstChild.style,y=Math.min(v,h);d.transform="matrix(".concat(y,", 0, 0, ").concat(y,", 0, 0)"),d.transformOrigin="left top",d.height="".concat(p-Math.min(f,0),"px"),d.width="".concat(l-Math.min(s,0),"px"),this.__viewPortScale=y,this.__setViewPort(y,{left:s,top:f,right:l,bottom:p})}},{key:"__setViewPort",value:function(t,n){var r=n.left,e=n.right,o=(n.top,n.bottom,this.__viewport.style);o.width="".concat(this.__width-4,"px"),o.height="".concat((this.__width-4)/(this.__lf.graphModel.width/this.__lf.graphModel.height),"px");var i=this.__lf.getTransform(),a=i.TRANSLATE_X,u=i.TRANSLATE_Y,c=e-r,s=(this.__width-4)/(c/this.__lf.graphModel.width),f=s/(this.__lf.graphModel.width/this.__lf.graphModel.height);this.__viewPortTop=u>0?0:-u*t,this.__viewPortLeft=-a*t,this.__viewPortWidth=s,this.__viewPortHeight=f,o.top="".concat(this.__viewPortTop,"px"),o.left="".concat(this.__viewPortLeft,"px"),o.width="".concat(s,"px"),o.height="".concat(f,"px")}},{key:"__createViewPort",value:function(){var t=document.createElement("div");t.className="lf-minimap-viewport",t.addEventListener("mousedown",this.__startDrag),this.__viewport=t}}])&&i(n.prototype,r),o&&i(n,o),t}();a(u,"pluginName","miniMap"),n.default=u}])}));
1
+ !function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var r=n();for(var e in r)("object"==typeof exports?exports:t)[e]=r[e]}}(window,(function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},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,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=210)}([function(t,n,r){(function(n){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 n&&n)||function(){return this}()||Function("return this")()}).call(this,r(95))},function(t,n){var r=Function.prototype,e=r.bind,o=r.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,n){t.exports=function(t){return"function"==typeof t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(0),o=r(33),i=r(5),a=r(35),u=r(45),c=r(62),s=o("wks"),f=e.Symbol,l=f&&f.for,p=c?f:f&&f.withoutSetter||a;t.exports=function(t){if(!i(s,t)||!u&&"string"!=typeof s[t]){var n="Symbol."+t;u&&i(f,t)?s[t]=f[t]:s[t]=c&&l?l(n):p(n)}return s[t]}},function(t,n,r){var e=r(1),o=r(15),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,r){var e=r(0),o=r(25).f,i=r(16),a=r(14),u=r(42),c=r(68),s=r(71);t.exports=function(t,n){var r,f,l,p,v,h=t.target,d=t.global,y=t.stat;if(r=d?e:y?e[h]||u(h,{}):(e[h]||{}).prototype)for(f in n){if(p=n[f],l=t.noTargetGet?(v=o(r,f))&&v.value:r[f],!s(d?f:h+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(r,f,p,t)}}},function(t,n,r){var e=r(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,r){var e=r(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,n,r){var e=r(0),o=r(7),i=r(63),a=r(10),u=r(26),c=e.TypeError,s=Object.defineProperty;n.f=o?s:function(t,n,r){if(a(t),n=u(n),a(r),i)try{return s(t,n,r)}catch(t){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(0),o=r(8),i=e.String,a=e.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not an object")}},function(t,n){var r=Function.prototype.call;t.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},function(t,n,r){var e=r(51),o=r(31);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(0),o=r(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(e[t]):e[t]&&e[t][n]}},function(t,n,r){var e=r(0),o=r(2),i=r(5),a=r(16),u=r(42),c=r(38),s=r(22),f=r(53).CONFIGURABLE,l=s.get,p=s.enforce,v=String(String).split("String");(t.exports=function(t,n,r,c){var s,l=!!c&&!!c.unsafe,h=!!c&&!!c.enumerable,d=!!c&&!!c.noTargetGet,y=c&&void 0!==c.name?c.name:n;o(r)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||f&&r.name!==y)&&a(r,"name",y),(s=p(r)).source||(s.source=v.join("string"==typeof y?y:""))),t!==e?(l?!d&&t[n]&&(h=!0):delete t[n],h?t[n]=r:a(t,n,r)):h?t[n]=r:u(n,r)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||c(this)}))},function(t,n,r){var e=r(0),o=r(31),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,n,r){var e=r(7),o=r(9),i=r(21);t.exports=e?function(t,n,r){return o.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(83);t.exports=function(t){return e(t.length)}},,function(t,n,r){var e,o=r(10),i=r(93),a=r(46),u=r(24),c=r(106),s=r(44),f=r(29),l=f("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},h=function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n},d=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,n;d="undefined"!=typeof document?document.domain&&e?h(e):((n=s("iframe")).style.display="none",c.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):h(e);for(var r=a.length;r--;)delete d.prototype[a[r]];return d()};u[l]=!0,t.exports=Object.create||function(t,n){var r;return null!==t?(p.prototype=o(t),r=new p,p.prototype=null,r[l]=t):r=d(),void 0===n?r:i(r,n)}},function(t,n,r){var e=r(1),o=e({}.toString),i=e("".slice);t.exports=function(t){return i(o(t),8,-1)}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){var e,o,i,a=r(97),u=r(0),c=r(1),s=r(8),f=r(16),l=r(5),p=r(41),v=r(29),h=r(24),d=u.TypeError,y=u.WeakMap;if(a||p.state){var _=p.state||(p.state=new y),g=c(_.get),x=c(_.has),m=c(_.set);e=function(t,n){if(x(_,t))throw new d("Object already initialized");return n.facade=t,m(_,t,n),n},o=function(t){return g(_,t)||{}},i=function(t){return x(_,t)}}else{var b=v("state");h[b]=!0,e=function(t,n){if(l(t,b))throw new d("Object already initialized");return n.facade=t,f(t,b,n),n},o=function(t){return l(t,b)?t[b]:{}},i=function(t){return l(t,b)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(n){var r;if(!s(n)||(r=o(n)).type!==t)throw d("Incompatible receiver, "+t+" required");return r}}}},function(t,n,r){var e=r(0),o=r(32),i=e.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},function(t,n){t.exports={}},function(t,n,r){var e=r(7),o=r(11),i=r(61),a=r(21),u=r(12),c=r(26),s=r(5),f=r(63),l=Object.getOwnPropertyDescriptor;n.f=e?l:function(t,n){if(t=u(t),n=c(n),f)try{return l(t,n)}catch(t){}if(s(t,n))return a(!o(i.f,t,n),t[n])}},function(t,n,r){var e=r(91),o=r(40);t.exports=function(t){var n=e(t,"string");return o(n)?n:n+""}},function(t,n,r){var e=r(1);t.exports=e({}.isPrototypeOf)},function(t,n){t.exports=!1},function(t,n,r){var e=r(33),o=r(35),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n){t.exports={}},function(t,n,r){var e=r(0).TypeError;t.exports=function(t){if(null==t)throw e("Can't call method on "+t);return t}},function(t,n,r){var e=r(0),o=r(43),i=r(2),a=r(20),u=r(4)("toStringTag"),c=e.Object,s="Arguments"==a(function(){return arguments}());t.exports=o?a:function(t){var n,r,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=c(t),u))?r:s?a(n):"Object"==(e=a(n))&&i(n.callee)?"Arguments":e}},function(t,n,r){var e=r(28),o=r(41);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.19.3",mode:e?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,n,r){var e=r(20);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(1),o=0,i=Math.random(),a=e(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},function(t,n,r){var e=r(66),o=r(46).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){var e=r(0),o=r(2),i=r(52),a=e.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not a function")}},function(t,n,r){var e=r(1),o=r(2),i=r(41),a=e(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){var n=+t;return n!=n||0===n?0:(n>0?e:r)(n)}},function(t,n,r){var e=r(0),o=r(13),i=r(2),a=r(27),u=r(62),c=e.Object;t.exports=u?function(t){return"symbol"==typeof t}:function(t){var n=o("Symbol");return i(n)&&a(n.prototype,c(t))}},function(t,n,r){var e=r(0),o=r(42),i=e["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,n,r){var e=r(0),o=Object.defineProperty;t.exports=function(t,n){try{o(e,t,{value:n,configurable:!0,writable:!0})}catch(r){e[t]=n}return n}},function(t,n,r){var e={};e[r(4)("toStringTag")]="z",t.exports="[object z]"===String(e)},function(t,n,r){var e=r(0),o=r(8),i=e.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,n,r){var e=r(48),o=r(3);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41}))},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n,r){var e=r(9).f,o=r(5),i=r(4)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n,r){var e,o,i=r(0),a=r(86),u=i.process,c=i.Deno,s=u&&u.versions||c&&c.version,f=s&&s.v8;f&&(o=(e=f.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!o&&a&&(!(e=a.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=a.match(/Chrome\/(\d+)/))&&(o=+e[1]),t.exports=o},function(t,n,r){var e=r(37);t.exports=function(t,n){var r=t[n];return null==r?void 0:e(r)}},function(t,n,r){"use strict";var e=r(26),o=r(9),i=r(21);t.exports=function(t,n,r){var a=e(n);a in t?o.f(t,a,i(0,r)):t[a]=r}},function(t,n,r){var e=r(0),o=r(1),i=r(3),a=r(20),u=e.Object,c=o("".split);t.exports=i((function(){return!u("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?c(t,""):u(t)}:u},function(t,n,r){var e=r(0).String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},function(t,n,r){var e=r(7),o=r(5),i=Function.prototype,a=e&&Object.getOwnPropertyDescriptor,u=o(i,"name"),c=u&&"something"===function(){}.name,s=u&&(!e||e&&a(i,"name").configurable);t.exports={EXISTS:u,PROPER:c,CONFIGURABLE:s}},function(t,n,r){var e=r(39),o=Math.max,i=Math.min;t.exports=function(t,n){var r=e(t);return r<0?o(r+n,0):i(r,n)}},function(t,n,r){var e=r(1),o=r(37),i=e(e.bind);t.exports=function(t,n){return o(t),void 0===n?t:i?i(t,n):function(){return t.apply(n,arguments)}}},function(t,n,r){"use strict";var e=r(12),o=r(105),i=r(30),a=r(22),u=r(67),c=a.set,s=a.getterFor("Array Iterator");t.exports=u(Array,"Array",(function(t,n){c(this,{type:"Array Iterator",target:e(t),index:0,kind:n})}),(function(){var t=s(this),n=t.target,r=t.kind,e=t.index++;return!n||e>=n.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:e,done:!1}:"values"==r?{value:n[e],done:!1}:{value:[e,n[e]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,n,r){var e=r(55),o=r(1),i=r(51),a=r(15),u=r(17),c=r(72),s=o([].push),f=function(t){var n=1==t,r=2==t,o=3==t,f=4==t,l=6==t,p=7==t,v=5==t||l;return function(h,d,y,_){for(var g,x,m=a(h),b=i(m),w=e(d,y),S=u(b),O=0,P=_||c,M=n?P(h,S):r||p?P(h,0):void 0;S>O;O++)if((v||O in b)&&(x=w(g=b[O],O,m),t))if(n)M[O]=x;else if(x)switch(t){case 3:return!0;case 5:return g;case 6:return O;case 2:s(M,g)}else switch(t){case 4:return!1;case 7:s(M,g)}return l?-1:o||f?f:M}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},function(t,n,r){var e=r(1),o=r(3),i=r(2),a=r(32),u=r(13),c=r(38),s=function(){},f=[],l=u("Reflect","construct"),p=/^\s*(?:class|function)\b/,v=e(p.exec),h=!p.exec(s),d=function(t){if(!i(t))return!1;try{return l(s,f,t),!0}catch(t){return!1}};t.exports=!l||o((function(){var t;return d(d.call)||!d(Object)||!d((function(){t=!0}))||t}))?function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return h||!!v(p,c(t))}:d},function(t,n,r){var e=r(66),o=r(46);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(43),o=r(14),i=r(99);e||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,n,r){"use strict";var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:e},function(t,n,r){var e=r(45);t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,r){var e=r(7),o=r(3),i=r(44);t.exports=!e&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(0),o=r(5),i=r(2),a=r(15),u=r(29),c=r(102),s=u("IE_PROTO"),f=e.Object,l=f.prototype;t.exports=c?f.getPrototypeOf:function(t){var n=a(t);if(o(n,s))return n[s];var r=n.constructor;return i(r)&&n instanceof r?r.prototype:n instanceof f?l:null}},function(t,n,r){var e=r(1),o=r(5),i=r(12),a=r(89).indexOf,u=r(24),c=e([].push);t.exports=function(t,n){var r,e=i(t),s=0,f=[];for(r in e)!o(u,r)&&o(e,r)&&c(f,r);for(;n.length>s;)o(e,r=n[s++])&&(~a(f,r)||c(f,r));return f}},function(t,n,r){"use strict";var e=r(6),o=r(11),i=r(28),a=r(53),u=r(2),c=r(108),s=r(65),f=r(78),l=r(47),p=r(16),v=r(14),h=r(4),d=r(30),y=r(76),_=a.PROPER,g=a.CONFIGURABLE,x=y.IteratorPrototype,m=y.BUGGY_SAFARI_ITERATORS,b=h("iterator"),w=function(){return this};t.exports=function(t,n,r,a,h,y,S){c(r,n,a);var O,P,M,j=function(t){if(t===h&&I)return I;if(!m&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},E=n+" Iterator",A=!1,T=t.prototype,L=T[b]||T["@@iterator"]||h&&T[h],I=!m&&L||j(h),R="Array"==n&&T.entries||L;if(R&&(O=s(R.call(new t)))!==Object.prototype&&O.next&&(i||s(O)===x||(f?f(O,x):u(O[b])||v(O,b,w)),l(O,E,!0,!0),i&&(d[E]=w)),_&&"values"==h&&L&&"values"!==L.name&&(!i&&g?p(T,"name","values"):(A=!0,I=function(){return o(L,this)})),h)if(P={values:j("values"),keys:y?I:j("keys"),entries:j("entries")},S)for(M in P)(m||A||!(M in T))&&v(T,M,P[M]);else e({target:n,proto:!0,forced:m||A},P);return i&&!S||T[b]===I||v(T,b,I,{name:h}),d[n]=I,P}},function(t,n,r){var e=r(5),o=r(87),i=r(25),a=r(9);t.exports=function(t,n){for(var r=o(n),u=a.f,c=i.f,s=0;s<r.length;s++){var f=r[s];e(t,f)||u(t,f,c(n,f))}}},function(t,n,r){"use strict";var e=r(104).charAt,o=r(23),i=r(22),a=r(67),u=i.set,c=i.getterFor("String Iterator");a(String,"String",(function(t){u(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,n=c(this),r=n.string,o=n.index;return o>=r.length?{value:void 0,done:!0}:(t=e(r,o),n.index+=t.length,{value:t,done:!1})}))},function(t,n,r){"use strict";var e=r(6),o=r(0),i=r(13),a=r(92),u=r(11),c=r(1),s=r(28),f=r(7),l=r(45),p=r(3),v=r(5),h=r(34),d=r(2),y=r(8),_=r(27),g=r(40),x=r(10),m=r(15),b=r(12),w=r(26),S=r(23),O=r(21),P=r(19),M=r(59),j=r(36),E=r(103),A=r(64),T=r(25),L=r(9),I=r(61),R=r(79),k=r(14),C=r(33),F=r(29),N=r(24),D=r(35),G=r(4),V=r(85),W=r(88),B=r(47),H=r(22),U=r(57).forEach,Y=F("hidden"),z=G("toPrimitive"),X=H.set,$=H.getterFor("Symbol"),K=Object.prototype,q=o.Symbol,J=q&&q.prototype,Q=o.TypeError,Z=o.QObject,tt=i("JSON","stringify"),nt=T.f,rt=L.f,et=E.f,ot=I.f,it=c([].push),at=C("symbols"),ut=C("op-symbols"),ct=C("string-to-symbol-registry"),st=C("symbol-to-string-registry"),ft=C("wks"),lt=!Z||!Z.prototype||!Z.prototype.findChild,pt=f&&p((function(){return 7!=P(rt({},"a",{get:function(){return rt(this,"a",{value:7}).a}})).a}))?function(t,n,r){var e=nt(K,n);e&&delete K[n],rt(t,n,r),e&&t!==K&&rt(K,n,e)}:rt,vt=function(t,n){var r=at[t]=P(J);return X(r,{type:"Symbol",tag:t,description:n}),f||(r.description=n),r},ht=function(t,n,r){t===K&&ht(ut,n,r),x(t);var e=w(n);return x(r),v(at,e)?(r.enumerable?(v(t,Y)&&t[Y][e]&&(t[Y][e]=!1),r=P(r,{enumerable:O(0,!1)})):(v(t,Y)||rt(t,Y,O(1,{})),t[Y][e]=!0),pt(t,e,r)):rt(t,e,r)},dt=function(t,n){x(t);var r=b(n),e=M(r).concat(xt(r));return U(e,(function(n){f&&!u(yt,r,n)||ht(t,n,r[n])})),t},yt=function(t){var n=w(t),r=u(ot,this,n);return!(this===K&&v(at,n)&&!v(ut,n))&&(!(r||!v(this,n)||!v(at,n)||v(this,Y)&&this[Y][n])||r)},_t=function(t,n){var r=b(t),e=w(n);if(r!==K||!v(at,e)||v(ut,e)){var o=nt(r,e);return!o||!v(at,e)||v(r,Y)&&r[Y][e]||(o.enumerable=!0),o}},gt=function(t){var n=et(b(t)),r=[];return U(n,(function(t){v(at,t)||v(N,t)||it(r,t)})),r},xt=function(t){var n=t===K,r=et(n?ut:b(t)),e=[];return U(r,(function(t){!v(at,t)||n&&!v(K,t)||it(e,at[t])})),e};(l||(k(J=(q=function(){if(_(J,this))throw Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?S(arguments[0]):void 0,n=D(t),r=function(t){this===K&&u(r,ut,t),v(this,Y)&&v(this[Y],n)&&(this[Y][n]=!1),pt(this,n,O(1,t))};return f&&lt&&pt(K,n,{configurable:!0,set:r}),vt(n,t)}).prototype,"toString",(function(){return $(this).tag})),k(q,"withoutSetter",(function(t){return vt(D(t),t)})),I.f=yt,L.f=ht,T.f=_t,j.f=E.f=gt,A.f=xt,V.f=function(t){return vt(G(t),t)},f&&(rt(J,"description",{configurable:!0,get:function(){return $(this).description}}),s||k(K,"propertyIsEnumerable",yt,{unsafe:!0}))),e({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:q}),U(M(ft),(function(t){W(t)})),e({target:"Symbol",stat:!0,forced:!l},{for:function(t){var n=S(t);if(v(ct,n))return ct[n];var r=q(n);return ct[n]=r,st[r]=n,r},keyFor:function(t){if(!g(t))throw Q(t+" is not a symbol");if(v(st,t))return st[t]},useSetter:function(){lt=!0},useSimple:function(){lt=!1}}),e({target:"Object",stat:!0,forced:!l,sham:!f},{create:function(t,n){return void 0===n?P(t):dt(P(t),n)},defineProperty:ht,defineProperties:dt,getOwnPropertyDescriptor:_t}),e({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:gt,getOwnPropertySymbols:xt}),e({target:"Object",stat:!0,forced:p((function(){A.f(1)}))},{getOwnPropertySymbols:function(t){return A.f(m(t))}}),tt)&&e({target:"JSON",stat:!0,forced:!l||p((function(){var t=q();return"[null]"!=tt([t])||"{}"!=tt({a:t})||"{}"!=tt(Object(t))}))},{stringify:function(t,n,r){var e=R(arguments),o=n;if((y(n)||void 0!==t)&&!g(t))return h(n)||(n=function(t,n){if(d(o)&&(n=u(o,this,t,n)),!g(n))return n}),e[1]=n,a(tt,null,e)}});if(!J[z]){var mt=J.valueOf;k(J,z,(function(t){return u(mt,this)}))}B(q,"Symbol"),N[Y]=!0},function(t,n,r){var e=r(3),o=r(2),i=/#|\.prototype\./,a=function(t,n){var r=c[u(t)];return r==f||r!=s&&(o(n)?e(n):!!n)},u=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=a.data={},s=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a},function(t,n,r){var e=r(98);t.exports=function(t,n){return new(e(t))(0===n?0:n)}},function(t,n){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,n,r){var e=r(44)("span").classList,o=e&&e.constructor&&e.constructor.prototype;t.exports=o===Object.prototype?void 0:o},function(t,n,r){var e=r(0),o=r(73),i=r(74),a=r(56),u=r(16),c=r(4),s=c("iterator"),f=c("toStringTag"),l=a.values,p=function(t,n){if(t){if(t[s]!==l)try{u(t,s,l)}catch(n){t[s]=l}if(t[f]||u(t,f,n),o[n])for(var r in a)if(t[r]!==a[r])try{u(t,r,a[r])}catch(n){t[r]=a[r]}}};for(var v in o)p(e[v]&&e[v].prototype,v);p(i,"DOMTokenList")},function(t,n,r){"use strict";var e,o,i,a=r(3),u=r(2),c=r(19),s=r(65),f=r(14),l=r(4),p=r(28),v=l("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(e=o):h=!0),null==e||a((function(){var t={};return e[v].call(t)!==t}))?e={}:p&&(e=c(e)),u(e[v])||f(e,v,(function(){return this})),t.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:h}},function(t,n,r){var e=r(6),o=r(7);e({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:r(9).f})},function(t,n,r){var e=r(1),o=r(10),i=r(109);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,r={};try{(t=e(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),n=r instanceof Array}catch(t){}return function(r,e){return o(r),i(e),n?t(r,e):r.__proto__=e,r}}():void 0)},function(t,n,r){var e=r(1);t.exports=e([].slice)},function(t,n,r){"use strict";var e=r(6),o=r(7),i=r(0),a=r(1),u=r(5),c=r(2),s=r(27),f=r(23),l=r(9).f,p=r(68),v=i.Symbol,h=v&&v.prototype;if(o&&c(v)&&(!("description"in h)||void 0!==v().description)){var d={},y=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),n=s(h,this)?new v(t):void 0===t?v():v(t);return""===t&&(d[n]=!0),n};p(y,v),y.prototype=h,h.constructor=y;var _="Symbol(test)"==String(v("test")),g=a(h.toString),x=a(h.valueOf),m=/^Symbol\((.*)\)[^)]+$/,b=a("".replace),w=a("".slice);l(h,"description",{configurable:!0,get:function(){var t=x(this),n=g(t);if(u(d,t))return"";var r=_?w(n,7,-1):b(n,m,"$1");return""===r?void 0:r}}),e({global:!0,forced:!0},{Symbol:y})}},function(t,n,r){r(88)("iterator")},function(t,n,r){var e=r(3),o=r(4),i=r(48),a=o("species");t.exports=function(t){return i>=51||!e((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},function(t,n,r){var e=r(39),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){"use strict";var e=r(57).forEach,o=r(90)("forEach");t.exports=o?[].forEach:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,n,r){var e=r(4);n.f=e},function(t,n,r){var e=r(13);t.exports=e("navigator","userAgent")||""},function(t,n,r){var e=r(13),o=r(1),i=r(36),a=r(64),u=r(10),c=o([].concat);t.exports=e("Reflect","ownKeys")||function(t){var n=i.f(u(t)),r=a.f;return r?c(n,r(t)):n}},function(t,n,r){var e=r(111),o=r(5),i=r(85),a=r(9).f;t.exports=function(t){var n=e.Symbol||(e.Symbol={});o(n,t)||a(n,t,{value:i.f(t)})}},function(t,n,r){var e=r(12),o=r(54),i=r(17),a=function(t){return function(n,r,a){var u,c=e(n),s=i(c),f=o(a,s);if(t&&r!=r){for(;s>f;)if((u=c[f++])!=u)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,n,r){"use strict";var e=r(3);t.exports=function(t,n){var r=[][t];return!!r&&e((function(){r.call(null,n||function(){throw 1},1)}))}},function(t,n,r){var e=r(0),o=r(11),i=r(8),a=r(40),u=r(49),c=r(96),s=r(4),f=e.TypeError,l=s("toPrimitive");t.exports=function(t,n){if(!i(t)||a(t))return t;var r,e=u(t,l);if(e){if(void 0===n&&(n="default"),r=o(e,t,n),!i(r)||a(r))return r;throw f("Can't convert object to primitive value")}return void 0===n&&(n="number"),c(t,n)}},function(t,n){var r=Function.prototype,e=r.apply,o=r.bind,i=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?i.bind(e):function(){return i.apply(e,arguments)})},function(t,n,r){var e=r(7),o=r(9),i=r(10),a=r(12),u=r(59);t.exports=e?Object.defineProperties:function(t,n){i(t);for(var r,e=a(n),c=u(n),s=c.length,f=0;s>f;)o.f(t,r=c[f++],e[r]);return t}},function(t,n,r){var e=r(32),o=r(49),i=r(30),a=r(4)("iterator");t.exports=function(t){if(null!=t)return o(t,a)||o(t,"@@iterator")||i[e(t)]}},function(t,n){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,n,r){var e=r(0),o=r(11),i=r(2),a=r(8),u=e.TypeError;t.exports=function(t,n){var r,e;if("string"===n&&i(r=t.toString)&&!a(e=o(r,t)))return e;if(i(r=t.valueOf)&&!a(e=o(r,t)))return e;if("string"!==n&&i(r=t.toString)&&!a(e=o(r,t)))return e;throw u("Can't convert object to primitive value")}},function(t,n,r){var e=r(0),o=r(2),i=r(38),a=e.WeakMap;t.exports=o(a)&&/native code/.test(i(a))},function(t,n,r){var e=r(0),o=r(34),i=r(58),a=r(8),u=r(4)("species"),c=e.Array;t.exports=function(t){var n;return o(t)&&(n=t.constructor,(i(n)&&(n===c||o(n.prototype))||a(n)&&null===(n=n[u]))&&(n=void 0)),void 0===n?c:n}},function(t,n,r){"use strict";var e=r(43),o=r(32);t.exports=e?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,n,r){"use strict";var e=r(6),o=r(84);e({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,n,r){var e=r(0),o=r(73),i=r(74),a=r(84),u=r(16),c=function(t){if(t&&t.forEach!==a)try{u(t,"forEach",a)}catch(n){t.forEach=a}};for(var s in o)o[s]&&c(e[s]&&e[s].prototype);c(i)},function(t,n,r){var e=r(3);t.exports=!e((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,n,r){var e=r(20),o=r(12),i=r(36).f,a=r(107),u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"Window"==e(t)?function(t){try{return i(t)}catch(t){return a(u)}}(t):i(o(t))}},function(t,n,r){var e=r(1),o=r(39),i=r(23),a=r(31),u=e("".charAt),c=e("".charCodeAt),s=e("".slice),f=function(t){return function(n,r){var e,f,l=i(a(n)),p=o(r),v=l.length;return p<0||p>=v?t?"":void 0:(e=c(l,p))<55296||e>56319||p+1===v||(f=c(l,p+1))<56320||f>57343?t?u(l,p):e:t?s(l,p,p+2):f-56320+(e-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},function(t,n,r){var e=r(4),o=r(19),i=r(9),a=e("unscopables"),u=Array.prototype;null==u[a]&&i.f(u,a,{configurable:!0,value:o(null)}),t.exports=function(t){u[a][t]=!0}},function(t,n,r){var e=r(13);t.exports=e("document","documentElement")},function(t,n,r){var e=r(0),o=r(54),i=r(17),a=r(50),u=e.Array,c=Math.max;t.exports=function(t,n,r){for(var e=i(t),s=o(n,e),f=o(void 0===r?e:r,e),l=u(c(f-s,0)),p=0;s<f;s++,p++)a(l,p,t[s]);return l.length=p,l}},function(t,n,r){"use strict";var e=r(76).IteratorPrototype,o=r(19),i=r(21),a=r(47),u=r(30),c=function(){return this};t.exports=function(t,n,r,s){var f=n+" Iterator";return t.prototype=o(e,{next:i(+!s,r)}),a(t,f,!1,!0),u[f]=c,t}},function(t,n,r){var e=r(0),o=r(2),i=e.String,a=e.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw a("Can't set "+i(t)+" as a prototype")}},function(t,n,r){"use strict";var e,o,i=r(11),a=r(1),u=r(23),c=r(125),s=r(126),f=r(33),l=r(19),p=r(22).get,v=r(130),h=r(131),d=f("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,_=y,g=a("".charAt),x=a("".indexOf),m=a("".replace),b=a("".slice),w=(o=/b*/g,i(y,e=/a/,"a"),i(y,o,"a"),0!==e.lastIndex||0!==o.lastIndex),S=s.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];(w||O||S||v||h)&&(_=function(t){var n,r,e,o,a,s,f,v=this,h=p(v),P=u(t),M=h.raw;if(M)return M.lastIndex=v.lastIndex,n=i(_,M,P),v.lastIndex=M.lastIndex,n;var j=h.groups,E=S&&v.sticky,A=i(c,v),T=v.source,L=0,I=P;if(E&&(A=m(A,"y",""),-1===x(A,"g")&&(A+="g"),I=b(P,v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&"\n"!==g(P,v.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,L++),r=new RegExp("^(?:"+T+")",A)),O&&(r=new RegExp("^"+T+"$(?!\\s)",A)),w&&(e=v.lastIndex),o=i(y,E?r:v,I),E?o?(o.input=b(o.input,L),o[0]=b(o[0],L),o.index=v.lastIndex,v.lastIndex+=o[0].length):v.lastIndex=0:w&&o&&(v.lastIndex=v.global?o.index+o[0].length:e),O&&o&&o.length>1&&i(d,o[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&j)for(o.groups=s=l(null),a=0;a<j.length;a++)s[(f=j[a])[0]]=o[f[1]];return o}),t.exports=_},function(t,n,r){var e=r(0);t.exports=e},function(t,n,r){var e=r(4),o=r(30),i=e("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},function(t,n,r){var e=r(0),o=r(11),i=r(37),a=r(10),u=r(52),c=r(94),s=e.TypeError;t.exports=function(t,n){var r=arguments.length<2?c(t):n;if(i(r))return a(o(r,t));throw s(u(t)+" is not iterable")}},function(t,n,r){var e=r(11),o=r(10),i=r(49);t.exports=function(t,n,r){var a,u;o(t);try{if(!(a=i(t,"return"))){if("throw"===n)throw r;return r}a=e(a,t)}catch(t){u=!0,a=t}if("throw"===n)throw r;if(u)throw a;return o(a),r}},function(t,n,r){var e=r(4)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[e]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i={};i[e]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},function(t,n,r){"use strict";var e=r(6),o=r(0),i=r(3),a=r(34),u=r(8),c=r(15),s=r(17),f=r(50),l=r(72),p=r(82),v=r(4),h=r(48),d=v("isConcatSpreadable"),y=o.TypeError,_=h>=51||!i((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),g=p("concat"),x=function(t){if(!u(t))return!1;var n=t[d];return void 0!==n?!!n:a(t)};e({target:"Array",proto:!0,forced:!_||!g},{concat:function(t){var n,r,e,o,i,a=c(this),u=l(a,0),p=0;for(n=-1,e=arguments.length;n<e;n++)if(x(i=-1===n?a:arguments[n])){if(p+(o=s(i))>9007199254740991)throw y("Maximum allowed index exceeded");for(r=0;r<o;r++,p++)r in i&&f(u,p,i[r])}else{if(p>=9007199254740991)throw y("Maximum allowed index exceeded");f(u,p++,i)}return u.length=p,u}})},,function(t,n,r){"use strict";var e=r(6),o=r(110);e({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},,,,,,,function(t,n,r){"use strict";var e=r(10);t.exports=function(){var t=e(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,r){var e=r(3),o=r(0).RegExp,i=e((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),a=i||e((function(){return!o("a","y").sticky})),u=i||e((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:u,MISSED_STICKY:a,UNSUPPORTED_Y:i}},,,,function(t,n,r){var e=r(3),o=r(0).RegExp;t.exports=e((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},function(t,n,r){var e=r(3),o=r(0).RegExp;t.exports=e((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},function(t,n,r){var e=r(6),o=r(133);e({target:"Array",stat:!0,forced:!r(115)((function(t){Array.from(t)}))},{from:o})},function(t,n,r){"use strict";var e=r(0),o=r(55),i=r(11),a=r(15),u=r(134),c=r(112),s=r(58),f=r(17),l=r(50),p=r(113),v=r(94),h=e.Array;t.exports=function(t){var n=a(t),r=s(this),e=arguments.length,d=e>1?arguments[1]:void 0,y=void 0!==d;y&&(d=o(d,e>2?arguments[2]:void 0));var _,g,x,m,b,w,S=v(n),O=0;if(!S||this==h&&c(S))for(_=f(n),g=r?new this(_):h(_);_>O;O++)w=y?d(n[O],O):n[O],l(g,O,w);else for(b=(m=p(n,S)).next,g=r?new this:[];!(x=i(b,m)).done;O++)w=y?u(m,d,[x.value,O],!0):x.value,l(g,O,w);return g.length=O,g}},function(t,n,r){var e=r(10),o=r(114);t.exports=function(t,n,r,i){try{return i?n(e(r)[0],r[1]):n(r)}catch(n){o(t,"throw",n)}}},,,,function(t,n,r){r(6)({target:"Array",stat:!0},{isArray:r(34)})},function(t,n,r){"use strict";var e=r(6),o=r(0),i=r(34),a=r(58),u=r(8),c=r(54),s=r(17),f=r(12),l=r(50),p=r(4),v=r(82),h=r(79),d=v("slice"),y=p("species"),_=o.Array,g=Math.max;e({target:"Array",proto:!0,forced:!d},{slice:function(t,n){var r,e,o,p=f(this),v=s(p),d=c(t,v),x=c(void 0===n?v:n,v);if(i(p)&&(r=p.constructor,(a(r)&&(r===_||i(r.prototype))||u(r)&&null===(r=r[y]))&&(r=void 0),r===_||void 0===r))return h(p,d,x);for(e=new(void 0===r?_:r)(g(x-d,0)),o=0;d<x;d++,o++)d in p&&l(e,o,p[d]);return e.length=o,e}})},function(t,n,r){var e=r(7),o=r(53).EXISTS,i=r(1),a=r(9).f,u=Function.prototype,c=i(u.toString),s=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,f=i(s.exec);e&&!o&&a(u,"name",{configurable:!0,get:function(){try{return f(s,c(this))[1]}catch(t){return""}}})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,r){"use strict";r.r(n),r.d(n,"MiniMap",(function(){return u}));r(116),r(100),r(60),r(101),r(56),r(75),r(77),r(139),r(140),r(132),r(69),r(118),r(70),r(80),r(81),r(138);function e(t,n){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,n){if(!t)return;if("string"==typeof t)return o(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(t,n)}(t))||n&&t&&"number"==typeof t.length){r&&(t=r);var e=0,i=function(){};return{s:i,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return u=t.done,t},e:function(t){c=!0,a=t},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw a}}}}function o(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e}function i(t,n){for(var r=0;r<n.length;r++){var e=n[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}function a(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}var u=function(){function t(n){var r=this,e=n.lf,o=n.LogicFlow;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,"__lf",null),a(this,"__container",null),a(this,"__miniMapWrap",null),a(this,"__miniMapContainer",null),a(this,"__lfMap",null),a(this,"__viewport",null),a(this,"__width",150),a(this,"__height",220),a(this,"__miniMapWidth",450),a(this,"__miniMapHeight",660),a(this,"__viewPortTop",0),a(this,"__viewPortLeft",0),a(this,"__startPosition",null),a(this,"__viewPortScale",1),a(this,"__viewPortWidth",150),a(this,"__viewPortHeight",75),a(this,"__resetDataX",0),a(this,"__resetDataY",0),a(this,"__LogicFlow",null),a(this,"__isShow",!1),a(this,"__disabledPlugins",["miniMap","control","selectionSelect"]),a(this,"show",(function(t,n){r.__setView(),r.__isShow||r.__createMiniMap(t,n),r.__isShow=!0})),a(this,"hide",(function(){r.__isShow&&r.__removeMiniMap(),r.__isShow=!1})),a(this,"__startDrag",(function(t){document.addEventListener("mousemove",r.__drag),document.addEventListener("mouseup",r.__drop),r.__startPosition={x:t.x,y:t.y}})),a(this,"__drag",(function(t){var n=r.__viewport.style;r.__viewPortTop+=t.y-r.__startPosition.y,r.__viewPortLeft+=t.x-r.__startPosition.x,n.top="".concat(r.__viewPortTop,"px"),n.left="".concat(r.__viewPortLeft,"px"),r.__startPosition={x:t.x,y:t.y};var e=(r.__viewPortLeft+r.__viewPortWidth/2)/r.__viewPortScale,o=(r.__viewPortTop+r.__viewPortHeight/2)/r.__viewPortScale;r.__lf.focusOn({coordinate:{x:e+r.__resetDataX,y:o+r.__resetDataY}})})),a(this,"__drop",(function(){document.removeEventListener("mousemove",r.__drag),document.removeEventListener("mouseup",r.__drop)})),this.__lf=e,this.__miniMapWidth=e.graphModel.width,this.__miniMapHeight=220*e.graphModel.width/150,this.__LogicFlow=o,this.__init()}var n,r,o;return n=t,(r=[{key:"render",value:function(t,n){var r=this;this.__container=n,this.__lf.on("history:change",(function(){r.__isShow&&r.__setView()}))}},{key:"init",value:function(t){this.__disabledPlugins=this.__disabledPlugins.concat(t.disabledPlugins||[])}},{key:"__init",value:function(){var t=document.createElement("div");t.className="lf-mini-map-graph",t.style.width="".concat(this.__width,"px"),t.style.height="".concat(this.__height,"px"),this.__lfMap=new this.__LogicFlow({width:this.__lf.graphModel.width,height:220*this.__lf.graphModel.width/150,container:t,isSilentMode:!0,stopZoomGraph:!0,stopScrollGraph:!0,stopMoveGraph:!0,hideAnchors:!0,hoverOutline:!1,disabledPlugins:this.__disabledPlugins}),this.__lfMap.adapterIn=function(t){return t},this.__lfMap.adapterOut=function(t){return t},this.__miniMapWrap=t,this.__createViewPort()}},{key:"__createMiniMap",value:function(t,n){var r=document.createElement("div"),e=this.__miniMapWrap;r.appendChild(e),void 0!==t&&void 0!==n&&(r.style.left="".concat(t,"px"),r.style.top="".concat(n,"px")),r.style.position="absolute",r.className="lf-mini-map",this.__container.appendChild(r),this.__miniMapWrap.appendChild(this.__viewport);var o=document.createElement("div");o.className="lf-mini-map-header",o.innerText="导航",r.appendChild(o);var i=document.createElement("span");i.className="lf-mini-map-close",i.addEventListener("click",this.hide),r.appendChild(i),this.__miniMapContainer=r}},{key:"__removeMiniMap",value:function(){this.__container.removeChild(this.__miniMapContainer)}},{key:"__getBounds",value:function(t){var n=0,r=this.__miniMapWidth,e=0,o=this.__miniMapHeight,i=t.nodes;return i&&i.length>0&&i.forEach((function(t){var i=t.x,a=t.y,u=t.width,c=void 0===u?200:u,s=t.height,f=void 0===s?200:s,l=i-c/2,p=i+c/2,v=a-f/2,h=a+f/2;n=l<n?l:n,r=p>r?p:r,e=v<e?v:e,o=h>o?h:o})),{left:n,top:e,bottom:o,right:r}}},{key:"__resetData",value:function(t){var n=t.nodes,r=t.edges,e=0,o=0;return n&&n.length>0&&(n.forEach((function(t){var n=t.x,r=t.y,i=t.width,a=void 0===i?200:i,u=t.height,c=n-a/2,s=r-(void 0===u?200:u)/2;e=c<e?c:e,o=s<o?s:o})),(e<0||o<0)&&(this.__resetDataX=e,this.__resetDataY=o,n.forEach((function(t){t.x=t.x-e,t.y=t.y-o,t.text&&(t.text.x=t.text.x-e,t.text.y=t.text.y-o)})),r.forEach((function(t){t.startPoint&&(t.startPoint.x=t.startPoint.x-e,t.startPoint.y=t.startPoint.y-o),t.endPoint&&(t.endPoint.x=t.endPoint.x-e,t.endPoint.y=t.endPoint.y-o),t.text&&(t.text.x=t.text.x-e,t.text.y=t.text.y-o),t.pointsList&&t.pointsList.forEach((function(t){t.x=t.x-e,t.y=t.y-o}))})))),t}},{key:"__setView",value:function(){var t,n=this.__resetData(this.__lf.getGraphRawData()),r=this.__lf.viewMap,o=this.__lf.graphModel.modelMap,i=this.__lfMap.viewMap,a=e(r.keys());try{for(a.s();!(t=a.n()).done;){var u=t.value;i.has(u)||(this.__lfMap.setView(u,r.get(u)),this.__lfMap.graphModel.modelMap.set(u,o.get(u)))}}catch(t){a.e(t)}finally{a.f()}this.__lfMap.render(n);var c=this.__getBounds(n),s=c.left,f=c.top,l=c.right,p=c.bottom,v=this.__width/(l-s),h=this.__height/(p-f),d=this.__miniMapWrap.firstChild.style,y=Math.min(v,h);d.transform="matrix(".concat(y,", 0, 0, ").concat(y,", 0, 0)"),d.transformOrigin="left top",d.height="".concat(p-Math.min(f,0),"px"),d.width="".concat(l-Math.min(s,0),"px"),this.__viewPortScale=y,this.__setViewPort(y,{left:s,top:f,right:l,bottom:p})}},{key:"__setViewPort",value:function(t,n){var r=n.left,e=n.right,o=(n.top,n.bottom,this.__viewport.style);o.width="".concat(this.__width-4,"px"),o.height="".concat((this.__width-4)/(this.__lf.graphModel.width/this.__lf.graphModel.height),"px");var i=this.__lf.getTransform(),a=i.TRANSLATE_X,u=i.TRANSLATE_Y,c=e-r,s=(this.__width-4)/(c/this.__lf.graphModel.width),f=s/(this.__lf.graphModel.width/this.__lf.graphModel.height);this.__viewPortTop=u>0?0:-u*t,this.__viewPortLeft=-a*t,this.__viewPortWidth=s,this.__viewPortHeight=f,o.top="".concat(this.__viewPortTop,"px"),o.left="".concat(this.__viewPortLeft,"px"),o.width="".concat(s,"px"),o.height="".concat(f,"px")}},{key:"__createViewPort",value:function(){var t=document.createElement("div");t.className="lf-minimap-viewport",t.addEventListener("mousedown",this.__startDrag),this.__viewport=t}}])&&i(n.prototype,r),o&&i(n,o),t}();a(u,"pluginName","miniMap"),n.default=u}])}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logicflow/extension",
3
- "version": "1.1.4",
3
+ "version": "1.1.7-alpha.0",
4
4
  "description": "LogicFlow extension",
5
5
  "main": "cjs/index.js",
6
6
  "module": "es/index.js",
@@ -32,7 +32,7 @@
32
32
  "readme.md"
33
33
  ],
34
34
  "dependencies": {
35
- "@logicflow/core": "^1.1.4",
35
+ "@logicflow/core": "^1.1.7-alpha.0",
36
36
  "ids": "^1.0.0",
37
37
  "preact": "^10.4.8"
38
38
  },
@@ -8,6 +8,7 @@ declare class AutoLayout {
8
8
  lf: LogicFlow;
9
9
  levelHeight: any[];
10
10
  newNodeMap: Map<string, any>;
11
+ trunk: any[];
11
12
  static pluginName: string;
12
13
  constructor({ lf }: {
13
14
  lf: any;
@@ -36,4 +37,4 @@ declare class AutoLayout {
36
37
  addLevelHeight(level: any, height?: number, isNegative?: boolean): void;
37
38
  getLevelHeight(level: any, isNegative?: boolean): any;
38
39
  }
39
- export { AutoLayout, };
40
+ export { AutoLayout };