@logicflow/extension 1.1.21 → 1.1.22
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.
- package/cjs/components/mini-map/index.js +24 -4
- package/cjs/tools/snapshot/index.js +1 -1
- package/es/components/mini-map/index.d.ts +1 -0
- package/es/components/mini-map/index.js +24 -4
- package/es/tools/snapshot/index.js +1 -1
- package/lib/MiniMap.js +1 -1
- package/lib/Snapshot.js +1 -1
- package/package.json +2 -2
- package/types/components/mini-map/index.d.ts +1 -0
|
@@ -64,12 +64,17 @@ var MiniMap = /** @class */ (function () {
|
|
|
64
64
|
y: e.y,
|
|
65
65
|
};
|
|
66
66
|
};
|
|
67
|
-
this.
|
|
67
|
+
this.moveViewport = function (top, left) {
|
|
68
68
|
var viewStyle = _this.__viewport.style;
|
|
69
|
-
_this.__viewPortTop
|
|
70
|
-
_this.__viewPortLeft
|
|
69
|
+
_this.__viewPortTop = top;
|
|
70
|
+
_this.__viewPortLeft = left;
|
|
71
71
|
viewStyle.top = _this.__viewPortTop + "px";
|
|
72
72
|
viewStyle.left = _this.__viewPortLeft + "px";
|
|
73
|
+
};
|
|
74
|
+
this.__drag = function (e) {
|
|
75
|
+
var top = _this.__viewPortTop + e.y - _this.__startPosition.y;
|
|
76
|
+
var left = _this.__viewPortLeft + e.x - _this.__startPosition.x;
|
|
77
|
+
_this.moveViewport(top, left);
|
|
73
78
|
_this.__startPosition = {
|
|
74
79
|
x: e.x,
|
|
75
80
|
y: e.y,
|
|
@@ -88,6 +93,21 @@ var MiniMap = /** @class */ (function () {
|
|
|
88
93
|
this.__drop = function () {
|
|
89
94
|
document.removeEventListener('mousemove', _this.__drag);
|
|
90
95
|
document.removeEventListener('mouseup', _this.__drop);
|
|
96
|
+
var top = _this.__viewPortTop;
|
|
97
|
+
var left = _this.__viewPortLeft;
|
|
98
|
+
if (_this.__viewPortLeft > _this.__width) {
|
|
99
|
+
left = _this.__width - _this.__viewPortWidth;
|
|
100
|
+
}
|
|
101
|
+
if (_this.__viewPortTop > _this.__height) {
|
|
102
|
+
top = _this.__height - _this.__viewPortHeight;
|
|
103
|
+
}
|
|
104
|
+
if (_this.__viewPortLeft < -_this.__width) {
|
|
105
|
+
left = 0;
|
|
106
|
+
}
|
|
107
|
+
if (_this.__viewPortTop < -_this.__height) {
|
|
108
|
+
top = 0;
|
|
109
|
+
}
|
|
110
|
+
_this.moveViewport(top, left);
|
|
91
111
|
};
|
|
92
112
|
this.__lf = lf;
|
|
93
113
|
this.__miniMapWidth = lf.graphModel.width;
|
|
@@ -311,7 +331,7 @@ var MiniMap = /** @class */ (function () {
|
|
|
311
331
|
var graphRatio = (this.__lf.graphModel.width / this.__lf.graphModel.height);
|
|
312
332
|
var realViewPortHeight = realViewPortWidth / graphRatio;
|
|
313
333
|
this.__viewPortTop = TRANSLATE_Y > 0 ? 0 : -TRANSLATE_Y * scale;
|
|
314
|
-
this.__viewPortLeft = -TRANSLATE_X * scale;
|
|
334
|
+
this.__viewPortLeft = TRANSLATE_X > 0 ? 0 : -TRANSLATE_X * scale;
|
|
315
335
|
this.__viewPortWidth = realViewPortWidth;
|
|
316
336
|
this.__viewPortHeight = realViewPortHeight;
|
|
317
337
|
viewStyle.top = this.__viewPortTop + "px";
|
|
@@ -164,7 +164,7 @@ var Snapshot = /** @class */ (function () {
|
|
|
164
164
|
真实dom存在缩放影响其宽高数值
|
|
165
165
|
在得到真实宽高后除以缩放比例即可得到正常宽高
|
|
166
166
|
*/
|
|
167
|
-
var base =
|
|
167
|
+
var base = this.lf.graphModel.rootEl.querySelector('.lf-base');
|
|
168
168
|
var bbox = base.getBoundingClientRect();
|
|
169
169
|
var graphModel = this.lf.graphModel;
|
|
170
170
|
var transformModel = graphModel.transformModel;
|
|
@@ -61,12 +61,17 @@ var MiniMap = /** @class */ (function () {
|
|
|
61
61
|
y: e.y,
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
-
this.
|
|
64
|
+
this.moveViewport = function (top, left) {
|
|
65
65
|
var viewStyle = _this.__viewport.style;
|
|
66
|
-
_this.__viewPortTop
|
|
67
|
-
_this.__viewPortLeft
|
|
66
|
+
_this.__viewPortTop = top;
|
|
67
|
+
_this.__viewPortLeft = left;
|
|
68
68
|
viewStyle.top = _this.__viewPortTop + "px";
|
|
69
69
|
viewStyle.left = _this.__viewPortLeft + "px";
|
|
70
|
+
};
|
|
71
|
+
this.__drag = function (e) {
|
|
72
|
+
var top = _this.__viewPortTop + e.y - _this.__startPosition.y;
|
|
73
|
+
var left = _this.__viewPortLeft + e.x - _this.__startPosition.x;
|
|
74
|
+
_this.moveViewport(top, left);
|
|
70
75
|
_this.__startPosition = {
|
|
71
76
|
x: e.x,
|
|
72
77
|
y: e.y,
|
|
@@ -85,6 +90,21 @@ var MiniMap = /** @class */ (function () {
|
|
|
85
90
|
this.__drop = function () {
|
|
86
91
|
document.removeEventListener('mousemove', _this.__drag);
|
|
87
92
|
document.removeEventListener('mouseup', _this.__drop);
|
|
93
|
+
var top = _this.__viewPortTop;
|
|
94
|
+
var left = _this.__viewPortLeft;
|
|
95
|
+
if (_this.__viewPortLeft > _this.__width) {
|
|
96
|
+
left = _this.__width - _this.__viewPortWidth;
|
|
97
|
+
}
|
|
98
|
+
if (_this.__viewPortTop > _this.__height) {
|
|
99
|
+
top = _this.__height - _this.__viewPortHeight;
|
|
100
|
+
}
|
|
101
|
+
if (_this.__viewPortLeft < -_this.__width) {
|
|
102
|
+
left = 0;
|
|
103
|
+
}
|
|
104
|
+
if (_this.__viewPortTop < -_this.__height) {
|
|
105
|
+
top = 0;
|
|
106
|
+
}
|
|
107
|
+
_this.moveViewport(top, left);
|
|
88
108
|
};
|
|
89
109
|
this.__lf = lf;
|
|
90
110
|
this.__miniMapWidth = lf.graphModel.width;
|
|
@@ -308,7 +328,7 @@ var MiniMap = /** @class */ (function () {
|
|
|
308
328
|
var graphRatio = (this.__lf.graphModel.width / this.__lf.graphModel.height);
|
|
309
329
|
var realViewPortHeight = realViewPortWidth / graphRatio;
|
|
310
330
|
this.__viewPortTop = TRANSLATE_Y > 0 ? 0 : -TRANSLATE_Y * scale;
|
|
311
|
-
this.__viewPortLeft = -TRANSLATE_X * scale;
|
|
331
|
+
this.__viewPortLeft = TRANSLATE_X > 0 ? 0 : -TRANSLATE_X * scale;
|
|
312
332
|
this.__viewPortWidth = realViewPortWidth;
|
|
313
333
|
this.__viewPortHeight = realViewPortHeight;
|
|
314
334
|
viewStyle.top = this.__viewPortTop + "px";
|
|
@@ -161,7 +161,7 @@ var Snapshot = /** @class */ (function () {
|
|
|
161
161
|
真实dom存在缩放影响其宽高数值
|
|
162
162
|
在得到真实宽高后除以缩放比例即可得到正常宽高
|
|
163
163
|
*/
|
|
164
|
-
var base =
|
|
164
|
+
var base = this.lf.graphModel.rootEl.querySelector('.lf-base');
|
|
165
165
|
var bbox = base.getBoundingClientRect();
|
|
166
166
|
var graphModel = this.lf.graphModel;
|
|
167
167
|
var transformModel = graphModel.transformModel;
|
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(6),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(0),o=r(25).f,i=r(16),a=r(14),u=r(42),c=r(68),s=r(70);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(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(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,r){var e=r(0),o=r(7),i=r(63),a=r(10),u=r(27),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(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,n,r){var e=r(0),o=r(9),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(52),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(6),a=r(16),u=r(42),c=r(39),s=r(21),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(8),i=r(20);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(88);t.exports=function(t){return e(t.length)}},function(t,n,r){var e,o=r(10),i=r(94),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(9),f=r(16),l=r(6),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(60),a=r(20),u=r(12),c=r(27),s=r(6),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(1);t.exports=e({}.isPrototypeOf)},function(t,n,r){var e=r(92),o=r(40);t.exports=function(t){var n=e(t,"string");return o(n)?n:n+""}},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(19),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(19);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(55),a=e.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not a function")}},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(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,r){var e=r(0),o=r(13),i=r(2),a=r(26),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(9),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(51),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(8).f,o=r(6),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){"use strict";var e=r(27),o=r(8),i=r(20);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(37);t.exports=function(t,n){var r=t[n];return null==r?void 0:e(r)}},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){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(0),o=r(1),i=r(3),a=r(19),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(7),o=r(6),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(38),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(0).String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},function(t,n,r){var e=r(1),o=r(3),i=r(2),a=r(32),u=r(13),c=r(39),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(50),o=r(1),i=r(52),a=r(15),u=r(17),c=r(71),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){"use strict";var e=r(12),o=r(103),i=r(30),a=r(21),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(66),o=r(46);t.exports=Object.keys||function(t){return e(t,o)}},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(43),o=r(14),i=r(99);e||o(Object.prototype,"toString",i,{unsafe:!0})},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(6),i=r(2),a=r(15),u=r(29),c=r(104),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(6),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(5),o=r(11),i=r(28),a=r(53),u=r(2),c=r(108),s=r(65),f=r(82),l=r(47),p=r(16),v=r(14),h=r(4),d=r(30),y=r(77),_=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(6),o=r(87),i=r(25),a=r(8);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){var e=r(5),o=r(7);e({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:r(8).f})},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,r){"use strict";var e=r(105).charAt,o=r(22),i=r(21),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(5),o=r(0),i=r(13),a=r(91),u=r(11),c=r(1),s=r(28),f=r(7),l=r(45),p=r(3),v=r(6),h=r(34),d=r(2),y=r(9),_=r(26),g=r(40),x=r(10),m=r(15),b=r(12),w=r(27),S=r(22),O=r(20),P=r(18),M=r(59),j=r(36),E=r(100),A=r(64),T=r(25),L=r(8),I=r(60),k=r(74),R=r(14),C=r(33),F=r(29),N=r(24),D=r(35),G=r(4),V=r(84),W=r(85),B=r(47),H=r(21),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&<&&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(1);t.exports=e([].slice)},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){"use strict";var e,o,i,a=r(3),u=r(2),c=r(18),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(0),o=r(75),i=r(76),a=r(58),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){var e=r(3),o=r(4),i=r(51),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){"use strict";var e=r(5),o=r(7),i=r(0),a=r(1),u=r(6),c=r(2),s=r(26),f=r(22),l=r(8).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(85)("iterator")},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){"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(115),o=r(6),i=r(84),a=r(8).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(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(38),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},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){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(0),o=r(11),i=r(9),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,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,r){var e=r(7),o=r(8),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){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(9),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(39),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(56),a=r(9),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){var e=r(19),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){"use strict";var e=r(5),o=r(83);e({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,n,r){var e=r(0),o=r(75),i=r(76),a=r(83),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(4),o=r(18),i=r(8),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(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(1),o=r(38),i=r(22),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(13);t.exports=e("document","documentElement")},function(t,n,r){var e=r(0),o=r(54),i=r(17),a=r(48),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(77).IteratorPrototype,o=r(18),i=r(20),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(22),c=r(118),s=r(121),f=r(33),l=r(18),p=r(21).get,v=r(127),h=r(128),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(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(55),c=r(93),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){var e=r(0);t.exports=e},function(t,n,r){"use strict";var e=r(5),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(5),o=r(133);e({target:"Array",stat:!0,forced:!r(114)((function(t){Array.from(t)}))},{from:o})},,,function(t,n,r){"use strict";var e=r(5),o=r(0),i=r(3),a=r(34),u=r(9),c=r(15),s=r(17),f=r(48),l=r(71),p=r(79),v=r(4),h=r(51),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(0),o=r(50),i=r(11),a=r(15),u=r(134),c=r(111),s=r(56),f=r(17),l=r(48),p=r(112),v=r(93),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(113);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(5)({target:"Array",stat:!0},{isArray:r(34)})},function(t,n,r){"use strict";var e=r(5),o=r(0),i=r(34),a=r(56),u=r(9),c=r(54),s=r(17),f=r(12),l=r(48),p=r(4),v=r(79),h=r(74),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(8).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(132),r(101),r(61),r(102),r(58),r(78),r(69),r(136),r(137),r(129),r(72),r(116),r(73),r(80),r(81),r(135);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()})),this.__lf.on("blank:drop",(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(6),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(0),o=r(25).f,i=r(16),a=r(14),u=r(42),c=r(68),s=r(70);t.exports=function(t,n){var r,f,l,p,v,h=t.target,d=t.global,_=t.stat;if(r=d?e:_?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+(_?".":"#")+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(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(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,r){var e=r(0),o=r(7),i=r(63),a=r(10),u=r(27),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(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,n,r){var e=r(0),o=r(9),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(52),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(6),a=r(16),u=r(42),c=r(39),s=r(21),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,_=c&&void 0!==c.name?c.name:n;o(r)&&("Symbol("===String(_).slice(0,7)&&(_="["+String(_).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||f&&r.name!==_)&&a(r,"name",_),(s=p(r)).source||(s.source=v.join("string"==typeof _?_:""))),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(8),i=r(20);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(88);t.exports=function(t){return e(t.length)}},function(t,n,r){var e,o=r(10),i=r(94),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(9),f=r(16),l=r(6),p=r(41),v=r(29),h=r(24),d=u.TypeError,_=u.WeakMap;if(a||p.state){var y=p.state||(p.state=new _),g=c(y.get),m=c(y.has),x=c(y.set);e=function(t,n){if(m(y,t))throw new d("Object already initialized");return n.facade=t,x(y,t,n),n},o=function(t){return g(y,t)||{}},i=function(t){return m(y,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(60),a=r(20),u=r(12),c=r(27),s=r(6),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(1);t.exports=e({}.isPrototypeOf)},function(t,n,r){var e=r(92),o=r(40);t.exports=function(t){var n=e(t,"string");return o(n)?n:n+""}},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(19),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(19);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(55),a=e.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not a function")}},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(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,r){var e=r(0),o=r(13),i=r(2),a=r(26),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(9),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(51),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(8).f,o=r(6),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){"use strict";var e=r(27),o=r(8),i=r(20);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(37);t.exports=function(t,n){var r=t[n];return null==r?void 0:e(r)}},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){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(0),o=r(1),i=r(3),a=r(19),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(7),o=r(6),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(38),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(0).String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},function(t,n,r){var e=r(1),o=r(3),i=r(2),a=r(32),u=r(13),c=r(39),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(50),o=r(1),i=r(52),a=r(15),u=r(17),c=r(71),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,m,x=a(h),b=i(x),w=e(d,_),S=u(b),P=0,O=y||c,M=n?O(h,S):r||p?O(h,0):void 0;S>P;P++)if((v||P in b)&&(m=w(g=b[P],P,x),t))if(n)M[P]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return P;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){"use strict";var e=r(12),o=r(103),i=r(30),a=r(21),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(66),o=r(46);t.exports=Object.keys||function(t){return e(t,o)}},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(43),o=r(14),i=r(99);e||o(Object.prototype,"toString",i,{unsafe:!0})},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(6),i=r(2),a=r(15),u=r(29),c=r(104),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(6),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(5),o=r(11),i=r(28),a=r(53),u=r(2),c=r(108),s=r(65),f=r(82),l=r(47),p=r(16),v=r(14),h=r(4),d=r(30),_=r(77),y=a.PROPER,g=a.CONFIGURABLE,m=_.IteratorPrototype,x=_.BUGGY_SAFARI_ITERATORS,b=h("iterator"),w=function(){return this};t.exports=function(t,n,r,a,h,_,S){c(r,n,a);var P,O,M,j=function(t){if(t===h&&I)return I;if(!x&&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=!x&&L||j(h),k="Array"==n&&T.entries||L;if(k&&(P=s(k.call(new t)))!==Object.prototype&&P.next&&(i||s(P)===m||(f?f(P,m):u(P[b])||v(P,b,w)),l(P,E,!0,!0),i&&(d[E]=w)),y&&"values"==h&&L&&"values"!==L.name&&(!i&&g?p(T,"name","values"):(A=!0,I=function(){return o(L,this)})),h)if(O={values:j("values"),keys:_?I:j("keys"),entries:j("entries")},S)for(M in O)(x||A||!(M in T))&&v(T,M,O[M]);else e({target:n,proto:!0,forced:x||A},O);return i&&!S||T[b]===I||v(T,b,I,{name:h}),d[n]=I,O}},function(t,n,r){var e=r(6),o=r(87),i=r(25),a=r(8);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){var e=r(5),o=r(7);e({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:r(8).f})},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,r){"use strict";var e=r(105).charAt,o=r(22),i=r(21),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(5),o=r(0),i=r(13),a=r(91),u=r(11),c=r(1),s=r(28),f=r(7),l=r(45),p=r(3),v=r(6),h=r(34),d=r(2),_=r(9),y=r(26),g=r(40),m=r(10),x=r(15),b=r(12),w=r(27),S=r(22),P=r(20),O=r(18),M=r(59),j=r(36),E=r(100),A=r(64),T=r(25),L=r(8),I=r(60),k=r(74),R=r(14),C=r(33),F=r(29),N=r(24),D=r(35),G=r(4),V=r(84),W=r(85),B=r(47),H=r(21),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!=O(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]=O(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),m(t);var e=w(n);return m(r),v(at,e)?(r.enumerable?(v(t,Y)&&t[Y][e]&&(t[Y][e]=!1),r=O(r,{enumerable:P(0,!1)})):(v(t,Y)||rt(t,Y,P(1,{})),t[Y][e]=!0),pt(t,e,r)):rt(t,e,r)},dt=function(t,n){m(t);var r=b(n),e=M(r).concat(mt(r));return U(e,(function(n){f&&!u(_t,r,n)||ht(t,n,r[n])})),t},_t=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)},yt=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},mt=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(y(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,P(1,t))};return f&<&&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=_t,L.f=ht,T.f=yt,j.f=E.f=gt,A.f=mt,V.f=function(t){return vt(G(t),t)},f&&(rt(J,"description",{configurable:!0,get:function(){return $(this).description}}),s||R(K,"propertyIsEnumerable",_t,{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?O(t):dt(O(t),n)},defineProperty:ht,defineProperties:dt,getOwnPropertyDescriptor:yt}),e({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:gt,getOwnPropertySymbols:mt}),e({target:"Object",stat:!0,forced:p((function(){A.f(1)}))},{getOwnPropertySymbols:function(t){return A.f(x(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((_(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 xt=J.valueOf;R(J,z,(function(t){return u(xt,this)}))}B(q,"Symbol"),N[Y]=!0},function(t,n,r){var e=r(1);t.exports=e([].slice)},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){"use strict";var e,o,i,a=r(3),u=r(2),c=r(18),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(0),o=r(75),i=r(76),a=r(58),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){var e=r(3),o=r(4),i=r(51),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){"use strict";var e=r(5),o=r(7),i=r(0),a=r(1),u=r(6),c=r(2),s=r(26),f=r(22),l=r(8).f,p=r(68),v=i.Symbol,h=v&&v.prototype;if(o&&c(v)&&(!("description"in h)||void 0!==v().description)){var d={},_=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(_,v),_.prototype=h,h.constructor=_;var y="Symbol(test)"==String(v("test")),g=a(h.toString),m=a(h.valueOf),x=/^Symbol\((.*)\)[^)]+$/,b=a("".replace),w=a("".slice);l(h,"description",{configurable:!0,get:function(){var t=m(this),n=g(t);if(u(d,t))return"";var r=y?w(n,7,-1):b(n,x,"$1");return""===r?void 0:r}}),e({global:!0,forced:!0},{Symbol:_})}},function(t,n,r){r(85)("iterator")},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){"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(115),o=r(6),i=r(84),a=r(8).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(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(38),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},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){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(0),o=r(11),i=r(9),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,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,r){var e=r(7),o=r(8),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){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(9),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(39),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(56),a=r(9),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){var e=r(19),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){"use strict";var e=r(5),o=r(83);e({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,n,r){var e=r(0),o=r(75),i=r(76),a=r(83),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(4),o=r(18),i=r(8),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(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(1),o=r(38),i=r(22),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(13);t.exports=e("document","documentElement")},function(t,n,r){var e=r(0),o=r(54),i=r(17),a=r(48),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(77).IteratorPrototype,o=r(18),i=r(20),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(22),c=r(118),s=r(121),f=r(33),l=r(18),p=r(21).get,v=r(127),h=r(128),d=f("native-string-replace",String.prototype.replace),_=RegExp.prototype.exec,y=_,g=a("".charAt),m=a("".indexOf),x=a("".replace),b=a("".slice),w=(o=/b*/g,i(_,e=/a/,"a"),i(_,o,"a"),0!==e.lastIndex||0!==o.lastIndex),S=s.BROKEN_CARET,P=void 0!==/()??/.exec("")[1];(w||P||S||v||h)&&(y=function(t){var n,r,e,o,a,s,f,v=this,h=p(v),O=u(t),M=h.raw;if(M)return M.lastIndex=v.lastIndex,n=i(y,M,O),v.lastIndex=M.lastIndex,n;var j=h.groups,E=S&&v.sticky,A=i(c,v),T=v.source,L=0,I=O;if(E&&(A=x(A,"y",""),-1===m(A,"g")&&(A+="g"),I=b(O,v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&"\n"!==g(O,v.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,L++),r=new RegExp("^(?:"+T+")",A)),P&&(r=new RegExp("^"+T+"$(?!\\s)",A)),w&&(e=v.lastIndex),o=i(_,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),P&&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=y},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(55),c=r(93),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){var e=r(0);t.exports=e},function(t,n,r){"use strict";var e=r(5),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(5),o=r(133);e({target:"Array",stat:!0,forced:!r(114)((function(t){Array.from(t)}))},{from:o})},,,function(t,n,r){"use strict";var e=r(5),o=r(0),i=r(3),a=r(34),u=r(9),c=r(15),s=r(17),f=r(48),l=r(71),p=r(79),v=r(4),h=r(51),d=v("isConcatSpreadable"),_=o.TypeError,y=h>=51||!i((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),g=p("concat"),m=function(t){if(!u(t))return!1;var n=t[d];return void 0!==n?!!n:a(t)};e({target:"Array",proto:!0,forced:!y||!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(m(i=-1===n?a:arguments[n])){if(p+(o=s(i))>9007199254740991)throw _("Maximum allowed index exceeded");for(r=0;r<o;r++,p++)r in i&&f(u,p,i[r])}else{if(p>=9007199254740991)throw _("Maximum allowed index exceeded");f(u,p++,i)}return u.length=p,u}})},function(t,n,r){"use strict";var e=r(0),o=r(50),i=r(11),a=r(15),u=r(134),c=r(111),s=r(56),f=r(17),l=r(48),p=r(112),v=r(93),h=e.Array;t.exports=function(t){var n=a(t),r=s(this),e=arguments.length,d=e>1?arguments[1]:void 0,_=void 0!==d;_&&(d=o(d,e>2?arguments[2]:void 0));var y,g,m,x,b,w,S=v(n),P=0;if(!S||this==h&&c(S))for(y=f(n),g=r?new this(y):h(y);y>P;P++)w=_?d(n[P],P):n[P],l(g,P,w);else for(b=(x=p(n,S)).next,g=r?new this:[];!(m=i(b,x)).done;P++)w=_?u(x,d,[m.value,P],!0):m.value,l(g,P,w);return g.length=P,g}},function(t,n,r){var e=r(10),o=r(113);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(5)({target:"Array",stat:!0},{isArray:r(34)})},function(t,n,r){"use strict";var e=r(5),o=r(0),i=r(34),a=r(56),u=r(9),c=r(54),s=r(17),f=r(12),l=r(48),p=r(4),v=r(79),h=r(74),d=v("slice"),_=p("species"),y=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),m=c(void 0===n?v:n,v);if(i(p)&&(r=p.constructor,(a(r)&&(r===y||i(r.prototype))||u(r)&&null===(r=r[_]))&&(r=void 0),r===y||void 0===r))return h(p,d,m);for(e=new(void 0===r?y:r)(g(m-d,0)),o=0;d<m;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(8).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(132),r(101),r(61),r(102),r(58),r(78),r(69),r(136),r(137),r(129),r(72),r(116),r(73),r(80),r(81),r(135);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,"moveViewport",(function(t,n){var e=r.__viewport.style;r.__viewPortTop=t,r.__viewPortLeft=n,e.top="".concat(r.__viewPortTop,"px"),e.left="".concat(r.__viewPortLeft,"px")})),a(this,"__drag",(function(t){var n=r.__viewPortTop+t.y-r.__startPosition.y,e=r.__viewPortLeft+t.x-r.__startPosition.x;r.moveViewport(n,e),r.__startPosition={x:t.x,y:t.y};var o=(r.__viewPortLeft+r.__viewPortWidth/2)/r.__viewPortScale,i=(r.__viewPortTop+r.__viewPortHeight/2)/r.__viewPortScale;r.__lf.focusOn({coordinate:{x:o+r.__resetDataX,y:i+r.__resetDataY}})})),a(this,"__drop",(function(){document.removeEventListener("mousemove",r.__drag),document.removeEventListener("mouseup",r.__drop);var t=r.__viewPortTop,n=r.__viewPortLeft;r.__viewPortLeft>r.__width&&(n=r.__width-r.__viewPortWidth),r.__viewPortTop>r.__height&&(t=r.__height-r.__viewPortHeight),r.__viewPortLeft<-r.__width&&(n=0),r.__viewPortTop<-r.__height&&(t=0),r.moveViewport(t,n)})),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()})),this.__lf.on("blank:drop",(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,_=Math.min(v,h);d.transform="matrix(".concat(_,", 0, 0, ").concat(_,", 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=_,this.__setViewPort(_,{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>0?0:-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/lib/Snapshot.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 n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=192)}([function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(95))},function(t,e){var n=Function.prototype,r=n.bind,o=n.call,i=r&&r.bind(o);t.exports=r?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,n){var r=n(0),o=n(33),i=n(6),c=n(35),u=n(45),a=n(62),f=o("wks"),s=r.Symbol,l=s&&s.for,p=a?s:s&&s.withoutSetter||c;t.exports=function(t){if(!i(f,t)||!u&&"string"!=typeof f[t]){var e="Symbol."+t;u&&i(s,t)?f[t]=s[t]:f[t]=a&&l?l(e):p(e)}return f[t]}},function(t,e,n){var r=n(0),o=n(25).f,i=n(16),c=n(14),u=n(42),a=n(68),f=n(70);t.exports=function(t,e){var n,s,l,p,v,h=t.target,d=t.global,g=t.stat;if(n=d?r:g?r[h]||u(h,{}):(r[h]||{}).prototype)for(s in e){if(p=e[s],l=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(d?s:h+(g?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(n,s,p,t)}}},function(t,e,n){var r=n(1),o=n(15),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},function(t,e,n){var r=n(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var r=n(0),o=n(7),i=n(63),c=n(10),u=n(27),a=r.TypeError,f=Object.defineProperty;e.f=o?f:function(t,e,n){if(c(t),e=u(e),c(n),i)try{return f(t,e,n)}catch(t){}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(2);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},function(t,e,n){var r=n(0),o=n(9),i=r.String,c=r.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not an object")}},function(t,e){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,e,n){var r=n(52),o=n(31);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},function(t,e,n){var r=n(0),o=n(2),i=n(6),c=n(16),u=n(42),a=n(39),f=n(21),s=n(53).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,e,n,a){var f,l=!!a&&!!a.unsafe,h=!!a&&!!a.enumerable,d=!!a&&!!a.noTargetGet,g=a&&void 0!==a.name?a.name:e;o(n)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==g)&&c(n,"name",g),(f=p(n)).source||(f.source=v.join("string"==typeof g?g:""))),t!==r?(l?!d&&t[e]&&(h=!0):delete t[e],h?t[e]=n:c(t,e,n)):h?t[e]=n:u(e,n)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||a(this)}))},function(t,e,n){var r=n(0),o=n(31),i=r.Object;t.exports=function(t){return i(o(t))}},function(t,e,n){var r=n(7),o=n(8),i=n(20);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(88);t.exports=function(t){return r(t.length)}},function(t,e,n){var r,o=n(10),i=n(94),c=n(46),u=n(24),a=n(106),f=n(44),s=n(29),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},h=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},d=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;d="undefined"!=typeof document?document.domain&&r?h(r):((e=f("iframe")).style.display="none",a.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):h(r);for(var n=c.length;n--;)delete d.prototype[c[n]];return d()};u[l]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p.prototype=o(t),n=new p,p.prototype=null,n[l]=t):n=d(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(1),o=r({}.toString),i=r("".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,n){var r,o,i,c=n(97),u=n(0),a=n(1),f=n(9),s=n(16),l=n(6),p=n(41),v=n(29),h=n(24),d=u.TypeError,g=u.WeakMap;if(c||p.state){var y=p.state||(p.state=new g),x=a(y.get),m=a(y.has),b=a(y.set);r=function(t,e){if(m(y,t))throw new d("Object already initialized");return e.facade=t,b(y,t,e),e},o=function(t){return x(y,t)||{}},i=function(t){return m(y,t)}}else{var w=v("state");h[w]=!0,r=function(t,e){if(l(t,w))throw new d("Object already initialized");return e.facade=t,s(t,w,e),e},o=function(t){return l(t,w)?t[w]:{}},i=function(t){return l(t,w)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!f(e)||(n=o(e)).type!==t)throw d("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){var r=n(0),o=n(32),i=r.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,n){var r=n(7),o=n(11),i=n(60),c=n(20),u=n(12),a=n(27),f=n(6),s=n(63),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=u(t),e=a(e),s)try{return l(t,e)}catch(t){}if(f(t,e))return c(!o(i.f,t,e),t[e])}},function(t,e,n){var r=n(1);t.exports=r({}.isPrototypeOf)},function(t,e,n){var r=n(92),o=n(40);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},function(t,e){t.exports=!1},function(t,e,n){var r=n(33),o=n(35),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e){t.exports={}},function(t,e,n){var r=n(0).TypeError;t.exports=function(t){if(null==t)throw r("Can't call method on "+t);return t}},function(t,e,n){var r=n(0),o=n(43),i=n(2),c=n(19),u=n(4)("toStringTag"),a=r.Object,f="Arguments"==c(function(){return arguments}());t.exports=o?c:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=a(t),u))?n:f?c(e):"Object"==(r=c(e))&&i(e.callee)?"Arguments":r}},function(t,e,n){var r=n(28),o=n(41);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.19.3",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(19);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(1),o=0,i=Math.random(),c=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+c(++o+i,36)}},function(t,e,n){var r=n(66),o=n(46).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(0),o=n(2),i=n(55),c=r.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not a function")}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){var e=+t;return e!=e||0===e?0:(e>0?r:n)(e)}},function(t,e,n){var r=n(1),o=n(2),i=n(41),c=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return c(t)}),t.exports=i.inspectSource},function(t,e,n){var r=n(0),o=n(13),i=n(2),c=n(26),u=n(62),a=r.Object;t.exports=u?function(t){return"symbol"==typeof t}:function(t){var e=o("Symbol");return i(e)&&c(e.prototype,a(t))}},function(t,e,n){var r=n(0),o=n(42),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,n){var r=n(0),o=Object.defineProperty;t.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},function(t,e,n){var r={};r[n(4)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e,n){var r=n(0),o=n(9),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,e,n){var r=n(51),o=n(3);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var r=n(8).f,o=n(6),i=n(4)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){"use strict";var r=n(27),o=n(8),i=n(20);t.exports=function(t,e,n){var c=r(e);c in t?o.f(t,c,i(0,n)):t[c]=n}},function(t,e,n){var r=n(37);t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},function(t,e,n){var r=n(1),o=n(37),i=r(r.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,n){var r,o,i=n(0),c=n(86),u=i.process,a=i.Deno,f=u&&u.versions||a&&a.version,s=f&&f.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&c&&(!(r=c.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},function(t,e,n){var r=n(0),o=n(1),i=n(3),c=n(19),u=r.Object,a=o("".split);t.exports=i((function(){return!u("z").propertyIsEnumerable(0)}))?function(t){return"String"==c(t)?a(t,""):u(t)}:u},function(t,e,n){var r=n(7),o=n(6),i=Function.prototype,c=r&&Object.getOwnPropertyDescriptor,u=o(i,"name"),a=u&&"something"===function(){}.name,f=u&&(!r||r&&c(i,"name").configurable);t.exports={EXISTS:u,PROPER:a,CONFIGURABLE:f}},function(t,e,n){var r=n(38),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},function(t,e,n){var r=n(0).String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},function(t,e,n){var r=n(1),o=n(3),i=n(2),c=n(32),u=n(13),a=n(39),f=function(){},s=[],l=u("Reflect","construct"),p=/^\s*(?:class|function)\b/,v=r(p.exec),h=!p.exec(f),d=function(t){if(!i(t))return!1;try{return l(f,s,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(c(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return h||!!v(p,a(t))}:d},function(t,e,n){var r=n(50),o=n(1),i=n(52),c=n(15),u=n(17),a=n(71),f=o([].push),s=function(t){var e=1==t,n=2==t,o=3==t,s=4==t,l=6==t,p=7==t,v=5==t||l;return function(h,d,g,y){for(var x,m,b=c(h),w=i(b),S=r(d,g),E=u(w),O=0,j=y||a,I=e?j(h,E):n||p?j(h,0):void 0;E>O;O++)if((v||O in w)&&(m=S(x=w[O],O,b),t))if(e)I[O]=m;else if(m)switch(t){case 3:return!0;case 5:return x;case 6:return O;case 2:f(I,x)}else switch(t){case 4:return!1;case 7:f(I,x)}return l?-1:o||s?s:I}};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,n){var r=n(66),o=n(46);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(43),o=n(14),i=n(99);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,n){var r=n(45);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var r=n(7),o=n(3),i=n(44);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(0),o=n(6),i=n(2),c=n(15),u=n(29),a=n(104),f=u("IE_PROTO"),s=r.Object,l=s.prototype;t.exports=a?s.getPrototypeOf:function(t){var e=c(t);if(o(e,f))return e[f];var n=e.constructor;return i(n)&&e instanceof n?n.prototype:e instanceof s?l:null}},function(t,e,n){var r=n(1),o=n(6),i=n(12),c=n(89).indexOf,u=n(24),a=r([].push);t.exports=function(t,e){var n,r=i(t),f=0,s=[];for(n in r)!o(u,n)&&o(r,n)&&a(s,n);for(;e.length>f;)o(r,n=e[f++])&&(~c(s,n)||a(s,n));return s}},function(t,e,n){"use strict";var r=n(5),o=n(11),i=n(28),c=n(53),u=n(2),a=n(108),f=n(65),s=n(82),l=n(47),p=n(16),v=n(14),h=n(4),d=n(30),g=n(77),y=c.PROPER,x=c.CONFIGURABLE,m=g.IteratorPrototype,b=g.BUGGY_SAFARI_ITERATORS,w=h("iterator"),S=function(){return this};t.exports=function(t,e,n,c,h,g,E){a(n,e,c);var O,j,I,T=function(t){if(t===h&&_)return _;if(!b&&t in P)return P[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},R=e+" Iterator",A=!1,P=t.prototype,N=P[w]||P["@@iterator"]||h&&P[h],_=!b&&N||T(h),L="Array"==e&&P.entries||N;if(L&&(O=f(L.call(new t)))!==Object.prototype&&O.next&&(i||f(O)===m||(s?s(O,m):u(O[w])||v(O,w,S)),l(O,R,!0,!0),i&&(d[R]=S)),y&&"values"==h&&N&&"values"!==N.name&&(!i&&x?p(P,"name","values"):(A=!0,_=function(){return o(N,this)})),h)if(j={values:T("values"),keys:g?_:T("keys"),entries:T("entries")},E)for(I in j)(b||A||!(I in P))&&v(P,I,j[I]);else r({target:e,proto:!0,forced:b||A},j);return i&&!E||P[w]===_||v(P,w,_,{name:h}),d[e]=_,j}},function(t,e,n){var r=n(6),o=n(87),i=n(25),c=n(8);t.exports=function(t,e){for(var n=o(e),u=c.f,a=i.f,f=0;f<n.length;f++){var s=n[f];r(t,s)||u(t,s,a(e,s))}}},function(t,e,n){var r=n(5),o=n(7);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(8).f})},function(t,e,n){var r=n(3),o=n(2),i=/#|\.prototype\./,c=function(t,e){var n=a[u(t)];return n==s||n!=f&&(o(e)?r(e):!!e)},u=c.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=c.data={},f=c.NATIVE="N",s=c.POLYFILL="P";t.exports=c},function(t,e,n){var r=n(98);t.exports=function(t,e){return new(r(t))(0===e?0:e)}},function(t,e,n){"use strict";var r=n(105).charAt,o=n(22),i=n(21),c=n(67),u=i.set,a=i.getterFor("String Iterator");c(String,"String",(function(t){u(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,e=a(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},,function(t,e,n){var r=n(1);t.exports=r([].slice)},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,n){var r=n(44)("span").classList,o=r&&r.constructor&&r.constructor.prototype;t.exports=o===Object.prototype?void 0:o},function(t,e,n){"use strict";var r,o,i,c=n(3),u=n(2),a=n(18),f=n(65),s=n(14),l=n(4),p=n(28),v=l("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(r=o):h=!0),null==r||c((function(){var t={};return r[v].call(t)!==t}))?r={}:p&&(r=a(r)),u(r[v])||s(r,v,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},,function(t,e,n){var r=n(3),o=n(4),i=n(51),c=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[c]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},,,function(t,e,n){var r=n(1),o=n(10),i=n(109);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return o(n),i(r),e?t(n,r):n.__proto__=r,n}}():void 0)},function(t,e,n){"use strict";var r=n(57).forEach,o=n(90)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},,,function(t,e,n){var r=n(13);t.exports=r("navigator","userAgent")||""},function(t,e,n){var r=n(13),o=n(1),i=n(36),c=n(64),u=n(10),a=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(u(t)),n=c.f;return n?a(e,n(t)):e}},function(t,e,n){var r=n(38),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(12),o=n(54),i=n(17),c=function(t){return function(e,n,c){var u,a=r(e),f=i(a),s=o(c,f);if(t&&n!=n){for(;f>s;)if((u=a[s++])!=u)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},function(t,e,n){"use strict";var r=n(3);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},function(t,e){var n=Function.prototype,r=n.apply,o=n.bind,i=n.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?i.bind(r):function(){return i.apply(r,arguments)})},function(t,e,n){var r=n(0),o=n(11),i=n(9),c=n(40),u=n(49),a=n(96),f=n(4),s=r.TypeError,l=f("toPrimitive");t.exports=function(t,e){if(!i(t)||c(t))return t;var n,r=u(t,l);if(r){if(void 0===e&&(e="default"),n=o(r,t,e),!i(n)||c(n))return n;throw s("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},function(t,e,n){var r=n(32),o=n(49),i=n(30),c=n(4)("iterator");t.exports=function(t){if(null!=t)return o(t,c)||o(t,"@@iterator")||i[r(t)]}},function(t,e,n){var r=n(7),o=n(8),i=n(10),c=n(12),u=n(59);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=c(e),a=u(e),f=a.length,s=0;f>s;)o.f(t,n=a[s++],r[n]);return t}},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(0),o=n(11),i=n(2),c=n(9),u=r.TypeError;t.exports=function(t,e){var n,r;if("string"===e&&i(n=t.toString)&&!c(r=o(n,t)))return r;if(i(n=t.valueOf)&&!c(r=o(n,t)))return r;if("string"!==e&&i(n=t.toString)&&!c(r=o(n,t)))return r;throw u("Can't convert object to primitive value")}},function(t,e,n){var r=n(0),o=n(2),i=n(39),c=r.WeakMap;t.exports=o(c)&&/native code/.test(i(c))},function(t,e,n){var r=n(0),o=n(34),i=n(56),c=n(9),u=n(4)("species"),a=r.Array;t.exports=function(t){var e;return o(t)&&(e=t.constructor,(i(e)&&(e===a||o(e.prototype))||c(e)&&null===(e=e[u]))&&(e=void 0)),void 0===e?a:e}},function(t,e,n){"use strict";var r=n(43),o=n(32);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},,function(t,e,n){"use strict";var r=n(5),o=n(83);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,n){var r=n(0),o=n(75),i=n(76),c=n(83),u=n(16),a=function(t){if(t&&t.forEach!==c)try{u(t,"forEach",c)}catch(e){t.forEach=c}};for(var f in o)o[f]&&a(r[f]&&r[f].prototype);a(i)},,function(t,e,n){var r=n(3);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,n){var r=n(1),o=n(38),i=n(22),c=n(31),u=r("".charAt),a=r("".charCodeAt),f=r("".slice),s=function(t){return function(e,n){var r,s,l=i(c(e)),p=o(n),v=l.length;return p<0||p>=v?t?"":void 0:(r=a(l,p))<55296||r>56319||p+1===v||(s=a(l,p+1))<56320||s>57343?t?u(l,p):r:t?f(l,p,p+2):s-56320+(r-55296<<10)+65536}};t.exports={codeAt:s(!1),charAt:s(!0)}},function(t,e,n){var r=n(13);t.exports=r("document","documentElement")},,function(t,e,n){"use strict";var r=n(77).IteratorPrototype,o=n(18),i=n(20),c=n(47),u=n(30),a=function(){return this};t.exports=function(t,e,n,f){var s=e+" Iterator";return t.prototype=o(r,{next:i(+!f,n)}),c(t,s,!1,!0),u[s]=a,t}},function(t,e,n){var r=n(0),o=n(2),i=r.String,c=r.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw c("Can't set "+i(t)+" as a prototype")}},function(t,e,n){"use strict";var r,o,i=n(11),c=n(1),u=n(22),a=n(118),f=n(121),s=n(33),l=n(18),p=n(21).get,v=n(127),h=n(128),d=s("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,y=g,x=c("".charAt),m=c("".indexOf),b=c("".replace),w=c("".slice),S=(o=/b*/g,i(g,r=/a/,"a"),i(g,o,"a"),0!==r.lastIndex||0!==o.lastIndex),E=f.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];(S||O||E||v||h)&&(y=function(t){var e,n,r,o,c,f,s,v=this,h=p(v),j=u(t),I=h.raw;if(I)return I.lastIndex=v.lastIndex,e=i(y,I,j),v.lastIndex=I.lastIndex,e;var T=h.groups,R=E&&v.sticky,A=i(a,v),P=v.source,N=0,_=j;if(R&&(A=b(A,"y",""),-1===m(A,"g")&&(A+="g"),_=w(j,v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&"\n"!==x(j,v.lastIndex-1))&&(P="(?: "+P+")",_=" "+_,N++),n=new RegExp("^(?:"+P+")",A)),O&&(n=new RegExp("^"+P+"$(?!\\s)",A)),S&&(r=v.lastIndex),o=i(g,R?n:v,_),R?o?(o.input=w(o.input,N),o[0]=w(o[0],N),o.index=v.lastIndex,v.lastIndex+=o[0].length):v.lastIndex=0:S&&o&&(v.lastIndex=v.global?o.index+o[0].length:r),O&&o&&o.length>1&&i(d,o[0],n,(function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(o[c]=void 0)})),o&&T)for(o.groups=f=l(null),c=0;c<T.length;c++)f[(s=T[c])[0]]=o[s[1]];return o}),t.exports=y},function(t,e,n){var r=n(4),o=n(30),i=r("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},function(t,e,n){var r=n(0),o=n(11),i=n(37),c=n(10),u=n(55),a=n(93),f=r.TypeError;t.exports=function(t,e){var n=arguments.length<2?a(t):e;if(i(n))return c(o(n,t));throw f(u(t)+" is not iterable")}},function(t,e,n){var r=n(11),o=n(10),i=n(49);t.exports=function(t,e,n){var c,u;o(t);try{if(!(c=i(t,"return"))){if("throw"===e)throw n;return n}c=r(c,t)}catch(t){u=!0,c=t}if("throw"===e)throw n;if(u)throw c;return o(c),n}},function(t,e,n){var r=n(4)("iterator"),o=!1;try{var i=0,c={next:function(){return{done:!!i++}},return:function(){o=!0}};c[r]=function(){return this},Array.from(c,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(t){}return n}},,function(t,e,n){"use strict";var r=n(5),o=n(110);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},,function(t,e,n){"use strict";var r=n(10);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(0),o=n(50),i=n(11),c=n(10),u=n(55),a=n(111),f=n(17),s=n(26),l=n(112),p=n(93),v=n(113),h=r.TypeError,d=function(t,e){this.stopped=t,this.result=e},g=d.prototype;t.exports=function(t,e,n){var r,y,x,m,b,w,S,E=n&&n.that,O=!(!n||!n.AS_ENTRIES),j=!(!n||!n.IS_ITERATOR),I=!(!n||!n.INTERRUPTED),T=o(e,E),R=function(t){return r&&v(r,"normal",t),new d(!0,t)},A=function(t){return O?(c(t),I?T(t[0],t[1],R):T(t[0],t[1])):I?T(t,R):T(t)};if(j)r=t;else{if(!(y=p(t)))throw h(u(t)+" is not iterable");if(a(y)){for(x=0,m=f(t);m>x;x++)if((b=A(t[x]))&&s(g,b))return b;return new d(!1)}r=l(t,y)}for(w=r.next;!(S=i(w,r)).done;){try{b=A(S.value)}catch(t){v(r,"throw",t)}if("object"==typeof b&&b&&s(g,b))return b}return new d(!1)}},function(t,e,n){var r=n(0),o=n(26),i=r.TypeError;t.exports=function(t,e){if(o(e,t))return t;throw i("Incorrect invocation")}},function(t,e,n){var r=n(3),o=n(0).RegExp,i=r((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),c=i||r((function(){return!o("a","y").sticky})),u=i||r((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:u,MISSED_STICKY:c,UNSUPPORTED_Y:i}},,,,,,function(t,e,n){var r=n(3),o=n(0).RegExp;t.exports=r((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},function(t,e,n){var r=n(3),o=n(0).RegExp;t.exports=r((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},function(t,e,n){var r=n(5),o=n(133);r({target:"Array",stat:!0,forced:!n(114)((function(t){Array.from(t)}))},{from:o})},function(t,e,n){var r=n(2),o=n(9),i=n(82);t.exports=function(t,e,n){var c,u;return i&&r(c=e.constructor)&&c!==n&&o(u=c.prototype)&&u!==n.prototype&&i(t,u),t}},,function(t,e,n){"use strict";var r=n(5),o=n(0),i=n(3),c=n(34),u=n(9),a=n(15),f=n(17),s=n(48),l=n(71),p=n(79),v=n(4),h=n(51),d=v("isConcatSpreadable"),g=o.TypeError,y=h>=51||!i((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),x=p("concat"),m=function(t){if(!u(t))return!1;var e=t[d];return void 0!==e?!!e:c(t)};r({target:"Array",proto:!0,forced:!y||!x},{concat:function(t){var e,n,r,o,i,c=a(this),u=l(c,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(m(i=-1===e?c:arguments[e])){if(p+(o=f(i))>9007199254740991)throw g("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&s(u,p,i[n])}else{if(p>=9007199254740991)throw g("Maximum allowed index exceeded");s(u,p++,i)}return u.length=p,u}})},function(t,e,n){"use strict";var r=n(0),o=n(50),i=n(11),c=n(15),u=n(134),a=n(111),f=n(56),s=n(17),l=n(48),p=n(112),v=n(93),h=r.Array;t.exports=function(t){var e=c(t),n=f(this),r=arguments.length,d=r>1?arguments[1]:void 0,g=void 0!==d;g&&(d=o(d,r>2?arguments[2]:void 0));var y,x,m,b,w,S,E=v(e),O=0;if(!E||this==h&&a(E))for(y=s(e),x=n?new this(y):h(y);y>O;O++)S=g?d(e[O],O):e[O],l(x,O,S);else for(w=(b=p(e,E)).next,x=n?new this:[];!(m=i(w,b)).done;O++)S=g?u(b,d,[m.value,O],!0):m.value,l(x,O,S);return x.length=O,x}},function(t,e,n){var r=n(10),o=n(113);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){o(t,"throw",e)}}},,,,,,,,,function(t,e,n){var r=n(14);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){"use strict";var r=n(13),o=n(8),i=n(4),c=n(7),u=i("species");t.exports=function(t){var e=r(t),n=o.f;c&&e&&!e[u]&&n(e,u,{configurable:!0,get:function(){return this}})}},,,,,function(t,e,n){var r=n(0),o=n(56),i=n(55),c=r.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not a constructor")}},,,,,,function(t,e,n){"use strict";n(116);var r=n(1),o=n(14),i=n(110),c=n(3),u=n(4),a=n(16),f=u("species"),s=RegExp.prototype;t.exports=function(t,e,n,l){var p=u(t),v=!c((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),h=v&&!c((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[f]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return e=!0,null},n[p](""),!e}));if(!v||!h||n){var d=r(/./[p]),g=e(p,""[t],(function(t,e,n,o,c){var u=r(t),a=e.exec;return a===i||a===s.exec?v&&!c?{done:!0,value:d(e,n,o)}:{done:!0,value:u(n,e,o)}:{done:!1}}));o(String.prototype,t,g[0]),o(s,p,g[1])}l&&a(s[p],"sham",!0)}},function(t,e,n){"use strict";var r=n(105).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){var r=n(0),o=n(11),i=n(10),c=n(2),u=n(19),a=n(110),f=r.TypeError;t.exports=function(t,e){var n=t.exec;if(c(n)){var r=o(n,t,e);return null!==r&&i(r),r}if("RegExp"===u(t))return o(a,t,e);throw f("RegExp#exec called on incompatible receiver")}},function(t,e,n){"use strict";var r=n(5),o=n(1),i=n(89).indexOf,c=n(90),u=o([].indexOf),a=!!u&&1/u([1],1,-0)<0,f=c("indexOf");r({target:"Array",proto:!0,forced:a||!f},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return a?u(this,t,e)||0:i(this,t,e)}})},,,,function(t,e,n){"use strict";var r=n(7),o=n(0),i=n(1),c=n(70),u=n(14),a=n(6),f=n(130),s=n(26),l=n(40),p=n(92),v=n(3),h=n(36).f,d=n(25).f,g=n(8).f,y=n(163),x=n(164).trim,m=o.Number,b=m.prototype,w=o.TypeError,S=i("".slice),E=i("".charCodeAt),O=function(t){var e=p(t,"number");return"bigint"==typeof e?e:j(e)},j=function(t){var e,n,r,o,i,c,u,a,f=p(t,"number");if(l(f))throw w("Cannot convert a Symbol value to a number");if("string"==typeof f&&f.length>2)if(f=x(f),43===(e=E(f,0))||45===e){if(88===(n=E(f,2))||120===n)return NaN}else if(48===e){switch(E(f,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+f}for(c=(i=S(f,2)).length,u=0;u<c;u++)if((a=E(i,u))<48||a>o)return NaN;return parseInt(i,r)}return+f};if(c("Number",!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var I,T=function(t){var e=arguments.length<1?0:m(O(t)),n=this;return s(b,n)&&v((function(){y(n)}))?f(Object(e),n,T):e},R=r?h(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),A=0;R.length>A;A++)a(m,I=R[A])&&!a(T,I)&&g(T,I,d(m,I));T.prototype=b,b.constructor=T,u(o,"Number",T)}},function(t,e,n){var r=n(1);t.exports=r(1..valueOf)},function(t,e,n){var r=n(1),o=n(31),i=n(22),c=n(165),u=r("".replace),a="["+c+"]",f=RegExp("^"+a+a+"*"),s=RegExp(a+a+"*$"),l=function(t){return function(e){var n=i(o(e));return 1&t&&(n=u(n,f,"")),2&t&&(n=u(n,s,"")),n}};t.exports={start:l(1),end:l(2),trim:l(3)}},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},,,function(t,e,n){var r=n(10),o=n(149),i=n(4)("species");t.exports=function(t,e){var n,c=r(t).constructor;return void 0===c||null==(n=r(c)[i])?e:o(n)}},function(t,e,n){var r=n(1),o=n(14),i=Date.prototype,c=r(i.toString),u=r(i.getTime);"Invalid Date"!=String(new Date(NaN))&&o(i,"toString",(function(){var t=u(this);return t==t?c(this):"Invalid Date"}))},function(t,e,n){"use strict";var r=n(91),o=n(11),i=n(1),c=n(155),u=n(3),a=n(10),f=n(2),s=n(38),l=n(88),p=n(22),v=n(31),h=n(156),d=n(49),g=n(171),y=n(157),x=n(4)("replace"),m=Math.max,b=Math.min,w=i([].concat),S=i([].push),E=i("".indexOf),O=i("".slice),j="$0"==="a".replace(/./,"$0"),I=!!/./[x]&&""===/./[x]("a","$0");c("replace",(function(t,e,n){var i=I?"$":"$0";return[function(t,n){var r=v(this),i=null==t?void 0:d(t,x);return i?o(i,t,r,n):o(e,p(r),t,n)},function(t,o){var c=a(this),u=p(t);if("string"==typeof o&&-1===E(o,i)&&-1===E(o,"$<")){var v=n(e,c,u,o);if(v.done)return v.value}var d=f(o);d||(o=p(o));var x=c.global;if(x){var j=c.unicode;c.lastIndex=0}for(var I=[];;){var T=y(c,u);if(null===T)break;if(S(I,T),!x)break;""===p(T[0])&&(c.lastIndex=h(u,l(c.lastIndex),j))}for(var R,A="",P=0,N=0;N<I.length;N++){for(var _=p((T=I[N])[0]),L=m(b(s(T.index),u.length),0),M=[],C=1;C<T.length;C++)S(M,void 0===(R=T[C])?R:String(R));var k=T.groups;if(d){var F=w([_],M,L,u);void 0!==k&&S(F,k);var D=p(r(o,void 0,F))}else D=g(_,u,L,M,k,o);L>=P&&(A+=O(u,P,L)+D,P=L+_.length)}return A+O(u,P)}]}),!!u((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!j||I)},function(t,e,n){var r=n(1),o=n(15),i=Math.floor,c=r("".charAt),u=r("".replace),a=r("".slice),f=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,l,p){var v=n+t.length,h=r.length,d=s;return void 0!==l&&(l=o(l),d=f),u(p,d,(function(o,u){var f;switch(c(u,0)){case"$":return"$";case"&":return t;case"`":return a(e,0,n);case"'":return a(e,v);case"<":f=l[a(u,1,-1)];break;default:var s=+u;if(0===s)return o;if(s>h){var p=i(s/10);return 0===p?o:p<=h?void 0===r[p-1]?c(u,1):r[p-1]+c(u,1):o}f=r[s-1]}return void 0===f?"":f}))}},function(t,e,n){var r=n(19),o=n(0);t.exports="process"==r(o.process)},,,,,,,,,,,function(t,e,n){n(5)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},,,function(t,e,n){var r,o,i,c,u=n(0),a=n(91),f=n(50),s=n(2),l=n(6),p=n(3),v=n(106),h=n(74),d=n(44),g=n(187),y=n(172),x=u.setImmediate,m=u.clearImmediate,b=u.process,w=u.Dispatch,S=u.Function,E=u.MessageChannel,O=u.String,j=0,I={};try{r=u.location}catch(t){}var T=function(t){if(l(I,t)){var e=I[t];delete I[t],e()}},R=function(t){return function(){T(t)}},A=function(t){T(t.data)},P=function(t){u.postMessage(O(t),r.protocol+"//"+r.host)};x&&m||(x=function(t){var e=h(arguments,1);return I[++j]=function(){a(s(t)?t:S(t),void 0,e)},o(j),j},m=function(t){delete I[t]},y?o=function(t){b.nextTick(R(t))}:w&&w.now?o=function(t){w.now(R(t))}:E&&!g?(c=(i=new E).port2,i.port1.onmessage=A,o=f(c.postMessage,c)):u.addEventListener&&s(u.postMessage)&&!u.importScripts&&r&&"file:"!==r.protocol&&!p(P)?(o=P,u.addEventListener("message",A,!1)):o="onreadystatechange"in d("script")?function(t){v.appendChild(d("script")).onreadystatechange=function(){v.removeChild(this),T(t)}}:function(t){setTimeout(R(t),0)}),t.exports={set:x,clear:m}},function(t,e,n){var r=n(86);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},function(t,e,n){"use strict";var r=n(37),o=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},,,,function(t,e,n){"use strict";n.r(e),n.d(e,"Snapshot",(function(){return u}));n(183),n(162),n(101),n(61),n(102),n(129),n(72),n(158),n(193),n(169),n(116),n(170),n(194),n(132),n(69);function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o,i,c,u=function(){function t(e){var n=this,r=e.lf;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.lf=r,this.customCssRules="",this.useGlobalRules=!0,r.getSnapshot=function(t,e){n.getSnapshot(t,e)},r.getSnapshotBlob=function(t){return n.getSnapshotBlob(t)},r.getSnapshotBase64=function(t){return n.getSnapshotBase64(t)}}var e,n,o;return e=t,(n=[{key:"getSvgRootElement",value:function(t){var e=this;return this.offsetX=Number.MAX_SAFE_INTEGER,this.offsetY=Number.MAX_SAFE_INTEGER,t.graphModel.nodes.forEach((function(t){var n=t.x-t.width/2,r=t.y-t.height/2;n<e.offsetX&&(e.offsetX=n-5),r<e.offsetY&&(e.offsetY=r-5)})),t.graphModel.edges.forEach((function(t){t.pointsList&&t.pointsList.forEach((function(t){var n=t.x,r=t.y;n<e.offsetX&&(e.offsetX=n-5),r<e.offsetY&&(e.offsetY=r-5)}))})),t.container.querySelector(".lf-canvas-overlay")}},{key:"triggerDownload",value:function(t){var e=new MouseEvent("click",{view:window,bubbles:!1,cancelable:!0}),n=document.createElement("a");n.setAttribute("download",this.fileName),n.setAttribute("href",t),n.setAttribute("target","_blank"),n.dispatchEvent(e)}},{key:"removeAnchor",value:function(t){for(var e=t.childNodes,n=t.childNodes&&t.childNodes.length,r=0;r<n;r++){var o=e[r];(o.classList&&Array.from(o.classList)||[]).indexOf("lf-anchor")>-1&&(t.removeChild(t.childNodes[r]),n--,r--)}}},{key:"getSnapshot",value:function(t,e){var n=this;this.fileName=t||"logic-flow.".concat(Date.now(),".png");var r=this.getSvgRootElement(this.lf);this.getCanvasData(r,e).then((function(t){var e=t.toDataURL("image/png").replace("image/png","image/octet-stream");n.triggerDownload(e)}))}},{key:"getSnapshotBase64",value:function(t){var e=this,n=this.getSvgRootElement(this.lf);return new Promise((function(r){e.getCanvasData(n,t).then((function(t){var e=t.toDataURL("image/png");r({data:e,width:t.width,height:t.height})}))}))}},{key:"getSnapshotBlob",value:function(t){var e=this,n=this.getSvgRootElement(this.lf);return new Promise((function(r){e.getCanvasData(n,t).then((function(t){t.toBlob((function(e){r({data:e,width:t.width,height:t.height})}),"image/png")}))}))}},{key:"getClassRules",value:function(){var t="";if(this.useGlobalRules)for(var e=document.styleSheets,n=0;n<e.length;n++)for(var r=e[n],o=0;o<r.cssRules.length;o++)t+=r.cssRules[o].cssText;return this.customCssRules&&(t+=this.customCssRules),t}},{key:"getCanvasData",value:function(t,e){var n=this,r=t.cloneNode(!0),o=r.lastChild,i=o.childNodes&&o.childNodes.length;if(i)for(var c=0;c<i;c++){var u=o.childNodes[c],a=u.classList&&Array.from(u.classList);if(a&&a.indexOf("lf-base")<0)o.removeChild(o.childNodes[c]),i--,c--;else{var f=o.childNodes[c];f&&f.childNodes.forEach((function(t){var e=t;n.removeAnchor(e.firstChild)}))}}r.lastChild.style.transform="matrix(1, 0, 0, 1, ".concat(10-this.offsetX,", ").concat(10-this.offsetY,")");var s=window.devicePixelRatio||1,l=document.createElement("canvas"),p=document.getElementsByClassName("lf-base")[0].getBoundingClientRect(),v=this.lf.graphModel.transformModel,h=v.SCALE_X,d=v.SCALE_Y,g=Math.ceil(p.width/h),y=Math.ceil(p.height/d);l.style.width="".concat(g,"px"),l.style.height="".concat(y,"px"),l.width=g*s+80,l.height=y*s+80;var x=l.getContext("2d");x.clearRect(0,0,l.width,l.height),x.scale(s,s),e?(x.fillStyle=e,x.fillRect(0,0,g*s+80,y*s+80)):x.clearRect(0,0,g,y);var m=new Image,b=document.createElement("style");b.innerHTML=this.getClassRules();var w=document.createElement("foreignObject");return w.appendChild(b),r.appendChild(w),new Promise((function(t){m.onload=function(){x.drawImage(m,0,0),t(l)};var e="data:image/svg+xml;charset=utf-8,".concat((new XMLSerializer).serializeToString(r)).replace(/\n/g,"").replace(/\t/g,"").replace(/#/g,"%23");m.src=e}))}}])&&r(e.prototype,n),o&&r(e,o),t}();c="snapshot",(i="pluginName")in(o=u)?Object.defineProperty(o,i,{value:c,enumerable:!0,configurable:!0,writable:!0}):o[i]=c,e.default=u},function(t,e,n){var r=n(5),o=n(0),i=n(1),c=o.Date,u=i(c.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return u(new c)}})},function(t,e,n){"use strict";var r,o,i,c,u=n(5),a=n(28),f=n(0),s=n(13),l=n(11),p=n(195),v=n(14),h=n(143),d=n(82),g=n(47),y=n(144),x=n(37),m=n(2),b=n(9),w=n(120),S=n(39),E=n(119),O=n(114),j=n(168),I=n(186).set,T=n(196),R=n(199),A=n(200),P=n(188),N=n(201),_=n(21),L=n(70),M=n(4),C=n(202),k=n(172),F=n(51),D=M("species"),G="Promise",B=_.getterFor(G),$=_.set,X=_.getterFor(G),U=p&&p.prototype,Y=p,V=U,z=f.TypeError,H=f.document,K=f.process,W=P.f,q=W,J=!!(H&&H.createEvent&&f.dispatchEvent),Q=m(f.PromiseRejectionEvent),Z=!1,tt=L(G,(function(){var t=S(Y),e=t!==String(Y);if(!e&&66===F)return!0;if(a&&!V.finally)return!0;if(F>=51&&/native code/.test(t))return!1;var n=new Y((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};return(n.constructor={})[D]=r,!(Z=n.then((function(){}))instanceof r)||!e&&C&&!Q})),et=tt||!O((function(t){Y.all(t).catch((function(){}))})),nt=function(t){var e;return!(!b(t)||!m(e=t.then))&&e},rt=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;T((function(){for(var r=t.value,o=1==t.state,i=0;n.length>i;){var c,u,a,f=n[i++],s=o?f.ok:f.fail,p=f.resolve,v=f.reject,h=f.domain;try{s?(o||(2===t.rejection&&ut(t),t.rejection=1),!0===s?c=r:(h&&h.enter(),c=s(r),h&&(h.exit(),a=!0)),c===f.promise?v(z("Promise-chain cycle")):(u=nt(c))?l(u,c,p,v):p(c)):v(r)}catch(t){h&&!a&&h.exit(),v(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&it(t)}))}},ot=function(t,e,n){var r,o;J?((r=H.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),f.dispatchEvent(r)):r={promise:e,reason:n},!Q&&(o=f["on"+t])?o(r):"unhandledrejection"===t&&A("Unhandled promise rejection",n)},it=function(t){l(I,f,(function(){var e,n=t.facade,r=t.value;if(ct(t)&&(e=N((function(){k?K.emit("unhandledRejection",r,n):ot("unhandledrejection",n,r)})),t.rejection=k||ct(t)?2:1,e.error))throw e.value}))},ct=function(t){return 1!==t.rejection&&!t.parent},ut=function(t){l(I,f,(function(){var e=t.facade;k?K.emit("rejectionHandled",e):ot("rejectionhandled",e,t.value)}))},at=function(t,e,n){return function(r){t(e,r,n)}},ft=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,rt(t,!0))},st=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw z("Promise can't be resolved itself");var r=nt(e);r?T((function(){var n={done:!1};try{l(r,e,at(st,n,t),at(ft,n,t))}catch(e){ft(n,e,t)}})):(t.value=e,t.state=1,rt(t,!1))}catch(e){ft({done:!1},e,t)}}};if(tt&&(V=(Y=function(t){w(this,V),x(t),l(r,this);var e=B(this);try{t(at(st,e),at(ft,e))}catch(t){ft(e,t)}}).prototype,(r=function(t){$(this,{type:G,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(V,{then:function(t,e){var n=X(this),r=n.reactions,o=W(j(this,Y));return o.ok=!m(t)||t,o.fail=m(e)&&e,o.domain=k?K.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&rt(n,!1),o.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=B(t);this.promise=t,this.resolve=at(st,e),this.reject=at(ft,e)},P.f=W=function(t){return t===Y||t===i?new o(t):q(t)},!a&&m(p)&&U!==Object.prototype)){c=U.then,Z||(v(U,"then",(function(t,e){var n=this;return new Y((function(t,e){l(c,n,t,e)})).then(t,e)}),{unsafe:!0}),v(U,"catch",V.catch,{unsafe:!0}));try{delete U.constructor}catch(t){}d&&d(U,V)}u({global:!0,wrap:!0,forced:tt},{Promise:Y}),g(Y,G,!1,!0),y(G),i=s(G),u({target:G,stat:!0,forced:tt},{reject:function(t){var e=W(this);return l(e.reject,void 0,t),e.promise}}),u({target:G,stat:!0,forced:a||tt},{resolve:function(t){return R(a&&this===i?Y:this,t)}}),u({target:G,stat:!0,forced:et},{all:function(t){var e=this,n=W(e),r=n.resolve,o=n.reject,i=N((function(){var n=x(e.resolve),i=[],c=0,u=1;E(t,(function(t){var a=c++,f=!1;u++,l(n,e,t).then((function(t){f||(f=!0,i[a]=t,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=W(e),r=n.reject,o=N((function(){var o=x(e.resolve);E(t,(function(t){l(o,e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(t,e,n){var r=n(0);t.exports=r.Promise},function(t,e,n){var r,o,i,c,u,a,f,s,l=n(0),p=n(50),v=n(25).f,h=n(186).set,d=n(187),g=n(197),y=n(198),x=n(172),m=l.MutationObserver||l.WebKitMutationObserver,b=l.document,w=l.process,S=l.Promise,E=v(l,"queueMicrotask"),O=E&&E.value;O||(r=function(){var t,e;for(x&&(t=w.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?c():i=void 0,t}}i=void 0,t&&t.enter()},d||x||y||!m||!b?!g&&S&&S.resolve?((f=S.resolve(void 0)).constructor=S,s=p(f.then,f),c=function(){s(r)}):x?c=function(){w.nextTick(r)}:(h=p(h,l),c=function(){h(r)}):(u=!0,a=b.createTextNode(""),new m(r).observe(a,{characterData:!0}),c=function(){a.data=u=!u})),t.exports=O||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,c()),i=e}},function(t,e,n){var r=n(86),o=n(0);t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},function(t,e,n){var r=n(86);t.exports=/web0s(?!.*chrome)/i.test(r)},function(t,e,n){var r=n(10),o=n(9),i=n(188);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){var r=n(0);t.exports=function(t,e){var n=r.console;n&&n.error&&(1==arguments.length?n.error(t):n.error(t,e))}},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e){t.exports="object"==typeof window}])}));
|
|
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 n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=192)}([function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(95))},function(t,e){var n=Function.prototype,r=n.bind,o=n.call,i=r&&r.bind(o);t.exports=r?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,n){var r=n(0),o=n(33),i=n(6),c=n(35),u=n(45),a=n(62),f=o("wks"),s=r.Symbol,l=s&&s.for,p=a?s:s&&s.withoutSetter||c;t.exports=function(t){if(!i(f,t)||!u&&"string"!=typeof f[t]){var e="Symbol."+t;u&&i(s,t)?f[t]=s[t]:f[t]=a&&l?l(e):p(e)}return f[t]}},function(t,e,n){var r=n(0),o=n(25).f,i=n(16),c=n(14),u=n(42),a=n(68),f=n(70);t.exports=function(t,e){var n,s,l,p,v,h=t.target,d=t.global,g=t.stat;if(n=d?r:g?r[h]||u(h,{}):(r[h]||{}).prototype)for(s in e){if(p=e[s],l=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(d?s:h+(g?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(n,s,p,t)}}},function(t,e,n){var r=n(1),o=n(15),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},function(t,e,n){var r=n(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var r=n(0),o=n(7),i=n(63),c=n(10),u=n(27),a=r.TypeError,f=Object.defineProperty;e.f=o?f:function(t,e,n){if(c(t),e=u(e),c(n),i)try{return f(t,e,n)}catch(t){}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(2);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},function(t,e,n){var r=n(0),o=n(9),i=r.String,c=r.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not an object")}},function(t,e){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,e,n){var r=n(52),o=n(31);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},function(t,e,n){var r=n(0),o=n(2),i=n(6),c=n(16),u=n(42),a=n(39),f=n(21),s=n(53).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,e,n,a){var f,l=!!a&&!!a.unsafe,h=!!a&&!!a.enumerable,d=!!a&&!!a.noTargetGet,g=a&&void 0!==a.name?a.name:e;o(n)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==g)&&c(n,"name",g),(f=p(n)).source||(f.source=v.join("string"==typeof g?g:""))),t!==r?(l?!d&&t[e]&&(h=!0):delete t[e],h?t[e]=n:c(t,e,n)):h?t[e]=n:u(e,n)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||a(this)}))},function(t,e,n){var r=n(0),o=n(31),i=r.Object;t.exports=function(t){return i(o(t))}},function(t,e,n){var r=n(7),o=n(8),i=n(20);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(88);t.exports=function(t){return r(t.length)}},function(t,e,n){var r,o=n(10),i=n(94),c=n(46),u=n(24),a=n(106),f=n(44),s=n(29),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},h=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},d=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;d="undefined"!=typeof document?document.domain&&r?h(r):((e=f("iframe")).style.display="none",a.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):h(r);for(var n=c.length;n--;)delete d.prototype[c[n]];return d()};u[l]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p.prototype=o(t),n=new p,p.prototype=null,n[l]=t):n=d(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(1),o=r({}.toString),i=r("".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,n){var r,o,i,c=n(97),u=n(0),a=n(1),f=n(9),s=n(16),l=n(6),p=n(41),v=n(29),h=n(24),d=u.TypeError,g=u.WeakMap;if(c||p.state){var y=p.state||(p.state=new g),x=a(y.get),m=a(y.has),b=a(y.set);r=function(t,e){if(m(y,t))throw new d("Object already initialized");return e.facade=t,b(y,t,e),e},o=function(t){return x(y,t)||{}},i=function(t){return m(y,t)}}else{var w=v("state");h[w]=!0,r=function(t,e){if(l(t,w))throw new d("Object already initialized");return e.facade=t,s(t,w,e),e},o=function(t){return l(t,w)?t[w]:{}},i=function(t){return l(t,w)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!f(e)||(n=o(e)).type!==t)throw d("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){var r=n(0),o=n(32),i=r.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,n){var r=n(7),o=n(11),i=n(60),c=n(20),u=n(12),a=n(27),f=n(6),s=n(63),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=u(t),e=a(e),s)try{return l(t,e)}catch(t){}if(f(t,e))return c(!o(i.f,t,e),t[e])}},function(t,e,n){var r=n(1);t.exports=r({}.isPrototypeOf)},function(t,e,n){var r=n(92),o=n(40);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},function(t,e){t.exports=!1},function(t,e,n){var r=n(33),o=n(35),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e){t.exports={}},function(t,e,n){var r=n(0).TypeError;t.exports=function(t){if(null==t)throw r("Can't call method on "+t);return t}},function(t,e,n){var r=n(0),o=n(43),i=n(2),c=n(19),u=n(4)("toStringTag"),a=r.Object,f="Arguments"==c(function(){return arguments}());t.exports=o?c:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=a(t),u))?n:f?c(e):"Object"==(r=c(e))&&i(e.callee)?"Arguments":r}},function(t,e,n){var r=n(28),o=n(41);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.19.3",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(19);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(1),o=0,i=Math.random(),c=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+c(++o+i,36)}},function(t,e,n){var r=n(66),o=n(46).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(0),o=n(2),i=n(55),c=r.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not a function")}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){var e=+t;return e!=e||0===e?0:(e>0?r:n)(e)}},function(t,e,n){var r=n(1),o=n(2),i=n(41),c=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return c(t)}),t.exports=i.inspectSource},function(t,e,n){var r=n(0),o=n(13),i=n(2),c=n(26),u=n(62),a=r.Object;t.exports=u?function(t){return"symbol"==typeof t}:function(t){var e=o("Symbol");return i(e)&&c(e.prototype,a(t))}},function(t,e,n){var r=n(0),o=n(42),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,n){var r=n(0),o=Object.defineProperty;t.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},function(t,e,n){var r={};r[n(4)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e,n){var r=n(0),o=n(9),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,e,n){var r=n(51),o=n(3);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var r=n(8).f,o=n(6),i=n(4)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){"use strict";var r=n(27),o=n(8),i=n(20);t.exports=function(t,e,n){var c=r(e);c in t?o.f(t,c,i(0,n)):t[c]=n}},function(t,e,n){var r=n(37);t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},function(t,e,n){var r=n(1),o=n(37),i=r(r.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,n){var r,o,i=n(0),c=n(86),u=i.process,a=i.Deno,f=u&&u.versions||a&&a.version,s=f&&f.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&c&&(!(r=c.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},function(t,e,n){var r=n(0),o=n(1),i=n(3),c=n(19),u=r.Object,a=o("".split);t.exports=i((function(){return!u("z").propertyIsEnumerable(0)}))?function(t){return"String"==c(t)?a(t,""):u(t)}:u},function(t,e,n){var r=n(7),o=n(6),i=Function.prototype,c=r&&Object.getOwnPropertyDescriptor,u=o(i,"name"),a=u&&"something"===function(){}.name,f=u&&(!r||r&&c(i,"name").configurable);t.exports={EXISTS:u,PROPER:a,CONFIGURABLE:f}},function(t,e,n){var r=n(38),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},function(t,e,n){var r=n(0).String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},function(t,e,n){var r=n(1),o=n(3),i=n(2),c=n(32),u=n(13),a=n(39),f=function(){},s=[],l=u("Reflect","construct"),p=/^\s*(?:class|function)\b/,v=r(p.exec),h=!p.exec(f),d=function(t){if(!i(t))return!1;try{return l(f,s,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(c(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return h||!!v(p,a(t))}:d},function(t,e,n){var r=n(50),o=n(1),i=n(52),c=n(15),u=n(17),a=n(71),f=o([].push),s=function(t){var e=1==t,n=2==t,o=3==t,s=4==t,l=6==t,p=7==t,v=5==t||l;return function(h,d,g,y){for(var x,m,b=c(h),w=i(b),S=r(d,g),E=u(w),O=0,j=y||a,I=e?j(h,E):n||p?j(h,0):void 0;E>O;O++)if((v||O in w)&&(m=S(x=w[O],O,b),t))if(e)I[O]=m;else if(m)switch(t){case 3:return!0;case 5:return x;case 6:return O;case 2:f(I,x)}else switch(t){case 4:return!1;case 7:f(I,x)}return l?-1:o||s?s:I}};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,n){var r=n(66),o=n(46);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(43),o=n(14),i=n(99);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,n){var r=n(45);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var r=n(7),o=n(3),i=n(44);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(0),o=n(6),i=n(2),c=n(15),u=n(29),a=n(104),f=u("IE_PROTO"),s=r.Object,l=s.prototype;t.exports=a?s.getPrototypeOf:function(t){var e=c(t);if(o(e,f))return e[f];var n=e.constructor;return i(n)&&e instanceof n?n.prototype:e instanceof s?l:null}},function(t,e,n){var r=n(1),o=n(6),i=n(12),c=n(89).indexOf,u=n(24),a=r([].push);t.exports=function(t,e){var n,r=i(t),f=0,s=[];for(n in r)!o(u,n)&&o(r,n)&&a(s,n);for(;e.length>f;)o(r,n=e[f++])&&(~c(s,n)||a(s,n));return s}},function(t,e,n){"use strict";var r=n(5),o=n(11),i=n(28),c=n(53),u=n(2),a=n(108),f=n(65),s=n(82),l=n(47),p=n(16),v=n(14),h=n(4),d=n(30),g=n(77),y=c.PROPER,x=c.CONFIGURABLE,m=g.IteratorPrototype,b=g.BUGGY_SAFARI_ITERATORS,w=h("iterator"),S=function(){return this};t.exports=function(t,e,n,c,h,g,E){a(n,e,c);var O,j,I,T=function(t){if(t===h&&_)return _;if(!b&&t in P)return P[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},R=e+" Iterator",A=!1,P=t.prototype,N=P[w]||P["@@iterator"]||h&&P[h],_=!b&&N||T(h),M="Array"==e&&P.entries||N;if(M&&(O=f(M.call(new t)))!==Object.prototype&&O.next&&(i||f(O)===m||(s?s(O,m):u(O[w])||v(O,w,S)),l(O,R,!0,!0),i&&(d[R]=S)),y&&"values"==h&&N&&"values"!==N.name&&(!i&&x?p(P,"name","values"):(A=!0,_=function(){return o(N,this)})),h)if(j={values:T("values"),keys:g?_:T("keys"),entries:T("entries")},E)for(I in j)(b||A||!(I in P))&&v(P,I,j[I]);else r({target:e,proto:!0,forced:b||A},j);return i&&!E||P[w]===_||v(P,w,_,{name:h}),d[e]=_,j}},function(t,e,n){var r=n(6),o=n(87),i=n(25),c=n(8);t.exports=function(t,e){for(var n=o(e),u=c.f,a=i.f,f=0;f<n.length;f++){var s=n[f];r(t,s)||u(t,s,a(e,s))}}},function(t,e,n){var r=n(5),o=n(7);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(8).f})},function(t,e,n){var r=n(3),o=n(2),i=/#|\.prototype\./,c=function(t,e){var n=a[u(t)];return n==s||n!=f&&(o(e)?r(e):!!e)},u=c.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=c.data={},f=c.NATIVE="N",s=c.POLYFILL="P";t.exports=c},function(t,e,n){var r=n(98);t.exports=function(t,e){return new(r(t))(0===e?0:e)}},function(t,e,n){"use strict";var r=n(105).charAt,o=n(22),i=n(21),c=n(67),u=i.set,a=i.getterFor("String Iterator");c(String,"String",(function(t){u(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,e=a(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},,function(t,e,n){var r=n(1);t.exports=r([].slice)},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,n){var r=n(44)("span").classList,o=r&&r.constructor&&r.constructor.prototype;t.exports=o===Object.prototype?void 0:o},function(t,e,n){"use strict";var r,o,i,c=n(3),u=n(2),a=n(18),f=n(65),s=n(14),l=n(4),p=n(28),v=l("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(r=o):h=!0),null==r||c((function(){var t={};return r[v].call(t)!==t}))?r={}:p&&(r=a(r)),u(r[v])||s(r,v,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},,function(t,e,n){var r=n(3),o=n(4),i=n(51),c=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[c]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},,,function(t,e,n){var r=n(1),o=n(10),i=n(109);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return o(n),i(r),e?t(n,r):n.__proto__=r,n}}():void 0)},function(t,e,n){"use strict";var r=n(57).forEach,o=n(90)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},,,function(t,e,n){var r=n(13);t.exports=r("navigator","userAgent")||""},function(t,e,n){var r=n(13),o=n(1),i=n(36),c=n(64),u=n(10),a=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(u(t)),n=c.f;return n?a(e,n(t)):e}},function(t,e,n){var r=n(38),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(12),o=n(54),i=n(17),c=function(t){return function(e,n,c){var u,a=r(e),f=i(a),s=o(c,f);if(t&&n!=n){for(;f>s;)if((u=a[s++])!=u)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},function(t,e,n){"use strict";var r=n(3);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},function(t,e){var n=Function.prototype,r=n.apply,o=n.bind,i=n.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?i.bind(r):function(){return i.apply(r,arguments)})},function(t,e,n){var r=n(0),o=n(11),i=n(9),c=n(40),u=n(49),a=n(96),f=n(4),s=r.TypeError,l=f("toPrimitive");t.exports=function(t,e){if(!i(t)||c(t))return t;var n,r=u(t,l);if(r){if(void 0===e&&(e="default"),n=o(r,t,e),!i(n)||c(n))return n;throw s("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},function(t,e,n){var r=n(32),o=n(49),i=n(30),c=n(4)("iterator");t.exports=function(t){if(null!=t)return o(t,c)||o(t,"@@iterator")||i[r(t)]}},function(t,e,n){var r=n(7),o=n(8),i=n(10),c=n(12),u=n(59);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=c(e),a=u(e),f=a.length,s=0;f>s;)o.f(t,n=a[s++],r[n]);return t}},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(0),o=n(11),i=n(2),c=n(9),u=r.TypeError;t.exports=function(t,e){var n,r;if("string"===e&&i(n=t.toString)&&!c(r=o(n,t)))return r;if(i(n=t.valueOf)&&!c(r=o(n,t)))return r;if("string"!==e&&i(n=t.toString)&&!c(r=o(n,t)))return r;throw u("Can't convert object to primitive value")}},function(t,e,n){var r=n(0),o=n(2),i=n(39),c=r.WeakMap;t.exports=o(c)&&/native code/.test(i(c))},function(t,e,n){var r=n(0),o=n(34),i=n(56),c=n(9),u=n(4)("species"),a=r.Array;t.exports=function(t){var e;return o(t)&&(e=t.constructor,(i(e)&&(e===a||o(e.prototype))||c(e)&&null===(e=e[u]))&&(e=void 0)),void 0===e?a:e}},function(t,e,n){"use strict";var r=n(43),o=n(32);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},,function(t,e,n){"use strict";var r=n(5),o=n(83);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,n){var r=n(0),o=n(75),i=n(76),c=n(83),u=n(16),a=function(t){if(t&&t.forEach!==c)try{u(t,"forEach",c)}catch(e){t.forEach=c}};for(var f in o)o[f]&&a(r[f]&&r[f].prototype);a(i)},,function(t,e,n){var r=n(3);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,n){var r=n(1),o=n(38),i=n(22),c=n(31),u=r("".charAt),a=r("".charCodeAt),f=r("".slice),s=function(t){return function(e,n){var r,s,l=i(c(e)),p=o(n),v=l.length;return p<0||p>=v?t?"":void 0:(r=a(l,p))<55296||r>56319||p+1===v||(s=a(l,p+1))<56320||s>57343?t?u(l,p):r:t?f(l,p,p+2):s-56320+(r-55296<<10)+65536}};t.exports={codeAt:s(!1),charAt:s(!0)}},function(t,e,n){var r=n(13);t.exports=r("document","documentElement")},,function(t,e,n){"use strict";var r=n(77).IteratorPrototype,o=n(18),i=n(20),c=n(47),u=n(30),a=function(){return this};t.exports=function(t,e,n,f){var s=e+" Iterator";return t.prototype=o(r,{next:i(+!f,n)}),c(t,s,!1,!0),u[s]=a,t}},function(t,e,n){var r=n(0),o=n(2),i=r.String,c=r.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw c("Can't set "+i(t)+" as a prototype")}},function(t,e,n){"use strict";var r,o,i=n(11),c=n(1),u=n(22),a=n(118),f=n(121),s=n(33),l=n(18),p=n(21).get,v=n(127),h=n(128),d=s("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,y=g,x=c("".charAt),m=c("".indexOf),b=c("".replace),w=c("".slice),S=(o=/b*/g,i(g,r=/a/,"a"),i(g,o,"a"),0!==r.lastIndex||0!==o.lastIndex),E=f.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];(S||O||E||v||h)&&(y=function(t){var e,n,r,o,c,f,s,v=this,h=p(v),j=u(t),I=h.raw;if(I)return I.lastIndex=v.lastIndex,e=i(y,I,j),v.lastIndex=I.lastIndex,e;var T=h.groups,R=E&&v.sticky,A=i(a,v),P=v.source,N=0,_=j;if(R&&(A=b(A,"y",""),-1===m(A,"g")&&(A+="g"),_=w(j,v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&"\n"!==x(j,v.lastIndex-1))&&(P="(?: "+P+")",_=" "+_,N++),n=new RegExp("^(?:"+P+")",A)),O&&(n=new RegExp("^"+P+"$(?!\\s)",A)),S&&(r=v.lastIndex),o=i(g,R?n:v,_),R?o?(o.input=w(o.input,N),o[0]=w(o[0],N),o.index=v.lastIndex,v.lastIndex+=o[0].length):v.lastIndex=0:S&&o&&(v.lastIndex=v.global?o.index+o[0].length:r),O&&o&&o.length>1&&i(d,o[0],n,(function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(o[c]=void 0)})),o&&T)for(o.groups=f=l(null),c=0;c<T.length;c++)f[(s=T[c])[0]]=o[s[1]];return o}),t.exports=y},function(t,e,n){var r=n(4),o=n(30),i=r("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},function(t,e,n){var r=n(0),o=n(11),i=n(37),c=n(10),u=n(55),a=n(93),f=r.TypeError;t.exports=function(t,e){var n=arguments.length<2?a(t):e;if(i(n))return c(o(n,t));throw f(u(t)+" is not iterable")}},function(t,e,n){var r=n(11),o=n(10),i=n(49);t.exports=function(t,e,n){var c,u;o(t);try{if(!(c=i(t,"return"))){if("throw"===e)throw n;return n}c=r(c,t)}catch(t){u=!0,c=t}if("throw"===e)throw n;if(u)throw c;return o(c),n}},function(t,e,n){var r=n(4)("iterator"),o=!1;try{var i=0,c={next:function(){return{done:!!i++}},return:function(){o=!0}};c[r]=function(){return this},Array.from(c,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(t){}return n}},,function(t,e,n){"use strict";var r=n(5),o=n(110);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},,function(t,e,n){"use strict";var r=n(10);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(0),o=n(50),i=n(11),c=n(10),u=n(55),a=n(111),f=n(17),s=n(26),l=n(112),p=n(93),v=n(113),h=r.TypeError,d=function(t,e){this.stopped=t,this.result=e},g=d.prototype;t.exports=function(t,e,n){var r,y,x,m,b,w,S,E=n&&n.that,O=!(!n||!n.AS_ENTRIES),j=!(!n||!n.IS_ITERATOR),I=!(!n||!n.INTERRUPTED),T=o(e,E),R=function(t){return r&&v(r,"normal",t),new d(!0,t)},A=function(t){return O?(c(t),I?T(t[0],t[1],R):T(t[0],t[1])):I?T(t,R):T(t)};if(j)r=t;else{if(!(y=p(t)))throw h(u(t)+" is not iterable");if(a(y)){for(x=0,m=f(t);m>x;x++)if((b=A(t[x]))&&s(g,b))return b;return new d(!1)}r=l(t,y)}for(w=r.next;!(S=i(w,r)).done;){try{b=A(S.value)}catch(t){v(r,"throw",t)}if("object"==typeof b&&b&&s(g,b))return b}return new d(!1)}},function(t,e,n){var r=n(0),o=n(26),i=r.TypeError;t.exports=function(t,e){if(o(e,t))return t;throw i("Incorrect invocation")}},function(t,e,n){var r=n(3),o=n(0).RegExp,i=r((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),c=i||r((function(){return!o("a","y").sticky})),u=i||r((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:u,MISSED_STICKY:c,UNSUPPORTED_Y:i}},,,,,,function(t,e,n){var r=n(3),o=n(0).RegExp;t.exports=r((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},function(t,e,n){var r=n(3),o=n(0).RegExp;t.exports=r((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},function(t,e,n){var r=n(5),o=n(133);r({target:"Array",stat:!0,forced:!n(114)((function(t){Array.from(t)}))},{from:o})},function(t,e,n){var r=n(2),o=n(9),i=n(82);t.exports=function(t,e,n){var c,u;return i&&r(c=e.constructor)&&c!==n&&o(u=c.prototype)&&u!==n.prototype&&i(t,u),t}},,function(t,e,n){"use strict";var r=n(5),o=n(0),i=n(3),c=n(34),u=n(9),a=n(15),f=n(17),s=n(48),l=n(71),p=n(79),v=n(4),h=n(51),d=v("isConcatSpreadable"),g=o.TypeError,y=h>=51||!i((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),x=p("concat"),m=function(t){if(!u(t))return!1;var e=t[d];return void 0!==e?!!e:c(t)};r({target:"Array",proto:!0,forced:!y||!x},{concat:function(t){var e,n,r,o,i,c=a(this),u=l(c,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(m(i=-1===e?c:arguments[e])){if(p+(o=f(i))>9007199254740991)throw g("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&s(u,p,i[n])}else{if(p>=9007199254740991)throw g("Maximum allowed index exceeded");s(u,p++,i)}return u.length=p,u}})},function(t,e,n){"use strict";var r=n(0),o=n(50),i=n(11),c=n(15),u=n(134),a=n(111),f=n(56),s=n(17),l=n(48),p=n(112),v=n(93),h=r.Array;t.exports=function(t){var e=c(t),n=f(this),r=arguments.length,d=r>1?arguments[1]:void 0,g=void 0!==d;g&&(d=o(d,r>2?arguments[2]:void 0));var y,x,m,b,w,S,E=v(e),O=0;if(!E||this==h&&a(E))for(y=s(e),x=n?new this(y):h(y);y>O;O++)S=g?d(e[O],O):e[O],l(x,O,S);else for(w=(b=p(e,E)).next,x=n?new this:[];!(m=i(w,b)).done;O++)S=g?u(b,d,[m.value,O],!0):m.value,l(x,O,S);return x.length=O,x}},function(t,e,n){var r=n(10),o=n(113);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){o(t,"throw",e)}}},,,,,,,,,function(t,e,n){var r=n(14);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){"use strict";var r=n(13),o=n(8),i=n(4),c=n(7),u=i("species");t.exports=function(t){var e=r(t),n=o.f;c&&e&&!e[u]&&n(e,u,{configurable:!0,get:function(){return this}})}},,,,,function(t,e,n){var r=n(0),o=n(56),i=n(55),c=r.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not a constructor")}},,,,,,function(t,e,n){"use strict";n(116);var r=n(1),o=n(14),i=n(110),c=n(3),u=n(4),a=n(16),f=u("species"),s=RegExp.prototype;t.exports=function(t,e,n,l){var p=u(t),v=!c((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),h=v&&!c((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[f]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return e=!0,null},n[p](""),!e}));if(!v||!h||n){var d=r(/./[p]),g=e(p,""[t],(function(t,e,n,o,c){var u=r(t),a=e.exec;return a===i||a===s.exec?v&&!c?{done:!0,value:d(e,n,o)}:{done:!0,value:u(n,e,o)}:{done:!1}}));o(String.prototype,t,g[0]),o(s,p,g[1])}l&&a(s[p],"sham",!0)}},function(t,e,n){"use strict";var r=n(105).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){var r=n(0),o=n(11),i=n(10),c=n(2),u=n(19),a=n(110),f=r.TypeError;t.exports=function(t,e){var n=t.exec;if(c(n)){var r=o(n,t,e);return null!==r&&i(r),r}if("RegExp"===u(t))return o(a,t,e);throw f("RegExp#exec called on incompatible receiver")}},function(t,e,n){"use strict";var r=n(5),o=n(1),i=n(89).indexOf,c=n(90),u=o([].indexOf),a=!!u&&1/u([1],1,-0)<0,f=c("indexOf");r({target:"Array",proto:!0,forced:a||!f},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return a?u(this,t,e)||0:i(this,t,e)}})},,,,function(t,e,n){"use strict";var r=n(7),o=n(0),i=n(1),c=n(70),u=n(14),a=n(6),f=n(130),s=n(26),l=n(40),p=n(92),v=n(3),h=n(36).f,d=n(25).f,g=n(8).f,y=n(163),x=n(164).trim,m=o.Number,b=m.prototype,w=o.TypeError,S=i("".slice),E=i("".charCodeAt),O=function(t){var e=p(t,"number");return"bigint"==typeof e?e:j(e)},j=function(t){var e,n,r,o,i,c,u,a,f=p(t,"number");if(l(f))throw w("Cannot convert a Symbol value to a number");if("string"==typeof f&&f.length>2)if(f=x(f),43===(e=E(f,0))||45===e){if(88===(n=E(f,2))||120===n)return NaN}else if(48===e){switch(E(f,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+f}for(c=(i=S(f,2)).length,u=0;u<c;u++)if((a=E(i,u))<48||a>o)return NaN;return parseInt(i,r)}return+f};if(c("Number",!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var I,T=function(t){var e=arguments.length<1?0:m(O(t)),n=this;return s(b,n)&&v((function(){y(n)}))?f(Object(e),n,T):e},R=r?h(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),A=0;R.length>A;A++)a(m,I=R[A])&&!a(T,I)&&g(T,I,d(m,I));T.prototype=b,b.constructor=T,u(o,"Number",T)}},function(t,e,n){var r=n(1);t.exports=r(1..valueOf)},function(t,e,n){var r=n(1),o=n(31),i=n(22),c=n(165),u=r("".replace),a="["+c+"]",f=RegExp("^"+a+a+"*"),s=RegExp(a+a+"*$"),l=function(t){return function(e){var n=i(o(e));return 1&t&&(n=u(n,f,"")),2&t&&(n=u(n,s,"")),n}};t.exports={start:l(1),end:l(2),trim:l(3)}},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},,,function(t,e,n){var r=n(10),o=n(149),i=n(4)("species");t.exports=function(t,e){var n,c=r(t).constructor;return void 0===c||null==(n=r(c)[i])?e:o(n)}},function(t,e,n){var r=n(1),o=n(14),i=Date.prototype,c=r(i.toString),u=r(i.getTime);"Invalid Date"!=String(new Date(NaN))&&o(i,"toString",(function(){var t=u(this);return t==t?c(this):"Invalid Date"}))},function(t,e,n){"use strict";var r=n(91),o=n(11),i=n(1),c=n(155),u=n(3),a=n(10),f=n(2),s=n(38),l=n(88),p=n(22),v=n(31),h=n(156),d=n(49),g=n(171),y=n(157),x=n(4)("replace"),m=Math.max,b=Math.min,w=i([].concat),S=i([].push),E=i("".indexOf),O=i("".slice),j="$0"==="a".replace(/./,"$0"),I=!!/./[x]&&""===/./[x]("a","$0");c("replace",(function(t,e,n){var i=I?"$":"$0";return[function(t,n){var r=v(this),i=null==t?void 0:d(t,x);return i?o(i,t,r,n):o(e,p(r),t,n)},function(t,o){var c=a(this),u=p(t);if("string"==typeof o&&-1===E(o,i)&&-1===E(o,"$<")){var v=n(e,c,u,o);if(v.done)return v.value}var d=f(o);d||(o=p(o));var x=c.global;if(x){var j=c.unicode;c.lastIndex=0}for(var I=[];;){var T=y(c,u);if(null===T)break;if(S(I,T),!x)break;""===p(T[0])&&(c.lastIndex=h(u,l(c.lastIndex),j))}for(var R,A="",P=0,N=0;N<I.length;N++){for(var _=p((T=I[N])[0]),M=m(b(s(T.index),u.length),0),L=[],C=1;C<T.length;C++)S(L,void 0===(R=T[C])?R:String(R));var k=T.groups;if(d){var F=w([_],L,M,u);void 0!==k&&S(F,k);var D=p(r(o,void 0,F))}else D=g(_,u,M,L,k,o);M>=P&&(A+=O(u,P,M)+D,P=M+_.length)}return A+O(u,P)}]}),!!u((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!j||I)},function(t,e,n){var r=n(1),o=n(15),i=Math.floor,c=r("".charAt),u=r("".replace),a=r("".slice),f=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,l,p){var v=n+t.length,h=r.length,d=s;return void 0!==l&&(l=o(l),d=f),u(p,d,(function(o,u){var f;switch(c(u,0)){case"$":return"$";case"&":return t;case"`":return a(e,0,n);case"'":return a(e,v);case"<":f=l[a(u,1,-1)];break;default:var s=+u;if(0===s)return o;if(s>h){var p=i(s/10);return 0===p?o:p<=h?void 0===r[p-1]?c(u,1):r[p-1]+c(u,1):o}f=r[s-1]}return void 0===f?"":f}))}},function(t,e,n){var r=n(19),o=n(0);t.exports="process"==r(o.process)},,,,,,,,,,,function(t,e,n){n(5)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},,,function(t,e,n){var r,o,i,c,u=n(0),a=n(91),f=n(50),s=n(2),l=n(6),p=n(3),v=n(106),h=n(74),d=n(44),g=n(187),y=n(172),x=u.setImmediate,m=u.clearImmediate,b=u.process,w=u.Dispatch,S=u.Function,E=u.MessageChannel,O=u.String,j=0,I={};try{r=u.location}catch(t){}var T=function(t){if(l(I,t)){var e=I[t];delete I[t],e()}},R=function(t){return function(){T(t)}},A=function(t){T(t.data)},P=function(t){u.postMessage(O(t),r.protocol+"//"+r.host)};x&&m||(x=function(t){var e=h(arguments,1);return I[++j]=function(){a(s(t)?t:S(t),void 0,e)},o(j),j},m=function(t){delete I[t]},y?o=function(t){b.nextTick(R(t))}:w&&w.now?o=function(t){w.now(R(t))}:E&&!g?(c=(i=new E).port2,i.port1.onmessage=A,o=f(c.postMessage,c)):u.addEventListener&&s(u.postMessage)&&!u.importScripts&&r&&"file:"!==r.protocol&&!p(P)?(o=P,u.addEventListener("message",A,!1)):o="onreadystatechange"in d("script")?function(t){v.appendChild(d("script")).onreadystatechange=function(){v.removeChild(this),T(t)}}:function(t){setTimeout(R(t),0)}),t.exports={set:x,clear:m}},function(t,e,n){var r=n(86);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},function(t,e,n){"use strict";var r=n(37),o=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},,,,function(t,e,n){"use strict";n.r(e),n.d(e,"Snapshot",(function(){return u}));n(183),n(162),n(101),n(61),n(102),n(129),n(72),n(158),n(193),n(169),n(116),n(170),n(194),n(132),n(69);function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o,i,c,u=function(){function t(e){var n=this,r=e.lf;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.lf=r,this.customCssRules="",this.useGlobalRules=!0,r.getSnapshot=function(t,e){n.getSnapshot(t,e)},r.getSnapshotBlob=function(t){return n.getSnapshotBlob(t)},r.getSnapshotBase64=function(t){return n.getSnapshotBase64(t)}}var e,n,o;return e=t,(n=[{key:"getSvgRootElement",value:function(t){var e=this;return this.offsetX=Number.MAX_SAFE_INTEGER,this.offsetY=Number.MAX_SAFE_INTEGER,t.graphModel.nodes.forEach((function(t){var n=t.x-t.width/2,r=t.y-t.height/2;n<e.offsetX&&(e.offsetX=n-5),r<e.offsetY&&(e.offsetY=r-5)})),t.graphModel.edges.forEach((function(t){t.pointsList&&t.pointsList.forEach((function(t){var n=t.x,r=t.y;n<e.offsetX&&(e.offsetX=n-5),r<e.offsetY&&(e.offsetY=r-5)}))})),t.container.querySelector(".lf-canvas-overlay")}},{key:"triggerDownload",value:function(t){var e=new MouseEvent("click",{view:window,bubbles:!1,cancelable:!0}),n=document.createElement("a");n.setAttribute("download",this.fileName),n.setAttribute("href",t),n.setAttribute("target","_blank"),n.dispatchEvent(e)}},{key:"removeAnchor",value:function(t){for(var e=t.childNodes,n=t.childNodes&&t.childNodes.length,r=0;r<n;r++){var o=e[r];(o.classList&&Array.from(o.classList)||[]).indexOf("lf-anchor")>-1&&(t.removeChild(t.childNodes[r]),n--,r--)}}},{key:"getSnapshot",value:function(t,e){var n=this;this.fileName=t||"logic-flow.".concat(Date.now(),".png");var r=this.getSvgRootElement(this.lf);this.getCanvasData(r,e).then((function(t){var e=t.toDataURL("image/png").replace("image/png","image/octet-stream");n.triggerDownload(e)}))}},{key:"getSnapshotBase64",value:function(t){var e=this,n=this.getSvgRootElement(this.lf);return new Promise((function(r){e.getCanvasData(n,t).then((function(t){var e=t.toDataURL("image/png");r({data:e,width:t.width,height:t.height})}))}))}},{key:"getSnapshotBlob",value:function(t){var e=this,n=this.getSvgRootElement(this.lf);return new Promise((function(r){e.getCanvasData(n,t).then((function(t){t.toBlob((function(e){r({data:e,width:t.width,height:t.height})}),"image/png")}))}))}},{key:"getClassRules",value:function(){var t="";if(this.useGlobalRules)for(var e=document.styleSheets,n=0;n<e.length;n++)for(var r=e[n],o=0;o<r.cssRules.length;o++)t+=r.cssRules[o].cssText;return this.customCssRules&&(t+=this.customCssRules),t}},{key:"getCanvasData",value:function(t,e){var n=this,r=t.cloneNode(!0),o=r.lastChild,i=o.childNodes&&o.childNodes.length;if(i)for(var c=0;c<i;c++){var u=o.childNodes[c],a=u.classList&&Array.from(u.classList);if(a&&a.indexOf("lf-base")<0)o.removeChild(o.childNodes[c]),i--,c--;else{var f=o.childNodes[c];f&&f.childNodes.forEach((function(t){var e=t;n.removeAnchor(e.firstChild)}))}}r.lastChild.style.transform="matrix(1, 0, 0, 1, ".concat(10-this.offsetX,", ").concat(10-this.offsetY,")");var s=window.devicePixelRatio||1,l=document.createElement("canvas"),p=this.lf.graphModel.rootEl.querySelector(".lf-base").getBoundingClientRect(),v=this.lf.graphModel.transformModel,h=v.SCALE_X,d=v.SCALE_Y,g=Math.ceil(p.width/h),y=Math.ceil(p.height/d);l.style.width="".concat(g,"px"),l.style.height="".concat(y,"px"),l.width=g*s+80,l.height=y*s+80;var x=l.getContext("2d");x.clearRect(0,0,l.width,l.height),x.scale(s,s),e?(x.fillStyle=e,x.fillRect(0,0,g*s+80,y*s+80)):x.clearRect(0,0,g,y);var m=new Image,b=document.createElement("style");b.innerHTML=this.getClassRules();var w=document.createElement("foreignObject");return w.appendChild(b),r.appendChild(w),new Promise((function(t){m.onload=function(){x.drawImage(m,0,0),t(l)};var e="data:image/svg+xml;charset=utf-8,".concat((new XMLSerializer).serializeToString(r)).replace(/\n/g,"").replace(/\t/g,"").replace(/#/g,"%23");m.src=e}))}}])&&r(e.prototype,n),o&&r(e,o),t}();c="snapshot",(i="pluginName")in(o=u)?Object.defineProperty(o,i,{value:c,enumerable:!0,configurable:!0,writable:!0}):o[i]=c,e.default=u},function(t,e,n){var r=n(5),o=n(0),i=n(1),c=o.Date,u=i(c.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return u(new c)}})},function(t,e,n){"use strict";var r,o,i,c,u=n(5),a=n(28),f=n(0),s=n(13),l=n(11),p=n(195),v=n(14),h=n(143),d=n(82),g=n(47),y=n(144),x=n(37),m=n(2),b=n(9),w=n(120),S=n(39),E=n(119),O=n(114),j=n(168),I=n(186).set,T=n(196),R=n(199),A=n(200),P=n(188),N=n(201),_=n(21),M=n(70),L=n(4),C=n(202),k=n(172),F=n(51),D=L("species"),G="Promise",B=_.getterFor(G),$=_.set,X=_.getterFor(G),U=p&&p.prototype,Y=p,V=U,z=f.TypeError,H=f.document,q=f.process,K=P.f,W=K,J=!!(H&&H.createEvent&&f.dispatchEvent),Q=m(f.PromiseRejectionEvent),Z=!1,tt=M(G,(function(){var t=S(Y),e=t!==String(Y);if(!e&&66===F)return!0;if(a&&!V.finally)return!0;if(F>=51&&/native code/.test(t))return!1;var n=new Y((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};return(n.constructor={})[D]=r,!(Z=n.then((function(){}))instanceof r)||!e&&C&&!Q})),et=tt||!O((function(t){Y.all(t).catch((function(){}))})),nt=function(t){var e;return!(!b(t)||!m(e=t.then))&&e},rt=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;T((function(){for(var r=t.value,o=1==t.state,i=0;n.length>i;){var c,u,a,f=n[i++],s=o?f.ok:f.fail,p=f.resolve,v=f.reject,h=f.domain;try{s?(o||(2===t.rejection&&ut(t),t.rejection=1),!0===s?c=r:(h&&h.enter(),c=s(r),h&&(h.exit(),a=!0)),c===f.promise?v(z("Promise-chain cycle")):(u=nt(c))?l(u,c,p,v):p(c)):v(r)}catch(t){h&&!a&&h.exit(),v(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&it(t)}))}},ot=function(t,e,n){var r,o;J?((r=H.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),f.dispatchEvent(r)):r={promise:e,reason:n},!Q&&(o=f["on"+t])?o(r):"unhandledrejection"===t&&A("Unhandled promise rejection",n)},it=function(t){l(I,f,(function(){var e,n=t.facade,r=t.value;if(ct(t)&&(e=N((function(){k?q.emit("unhandledRejection",r,n):ot("unhandledrejection",n,r)})),t.rejection=k||ct(t)?2:1,e.error))throw e.value}))},ct=function(t){return 1!==t.rejection&&!t.parent},ut=function(t){l(I,f,(function(){var e=t.facade;k?q.emit("rejectionHandled",e):ot("rejectionhandled",e,t.value)}))},at=function(t,e,n){return function(r){t(e,r,n)}},ft=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,rt(t,!0))},st=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw z("Promise can't be resolved itself");var r=nt(e);r?T((function(){var n={done:!1};try{l(r,e,at(st,n,t),at(ft,n,t))}catch(e){ft(n,e,t)}})):(t.value=e,t.state=1,rt(t,!1))}catch(e){ft({done:!1},e,t)}}};if(tt&&(V=(Y=function(t){w(this,V),x(t),l(r,this);var e=B(this);try{t(at(st,e),at(ft,e))}catch(t){ft(e,t)}}).prototype,(r=function(t){$(this,{type:G,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(V,{then:function(t,e){var n=X(this),r=n.reactions,o=K(j(this,Y));return o.ok=!m(t)||t,o.fail=m(e)&&e,o.domain=k?q.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&rt(n,!1),o.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=B(t);this.promise=t,this.resolve=at(st,e),this.reject=at(ft,e)},P.f=K=function(t){return t===Y||t===i?new o(t):W(t)},!a&&m(p)&&U!==Object.prototype)){c=U.then,Z||(v(U,"then",(function(t,e){var n=this;return new Y((function(t,e){l(c,n,t,e)})).then(t,e)}),{unsafe:!0}),v(U,"catch",V.catch,{unsafe:!0}));try{delete U.constructor}catch(t){}d&&d(U,V)}u({global:!0,wrap:!0,forced:tt},{Promise:Y}),g(Y,G,!1,!0),y(G),i=s(G),u({target:G,stat:!0,forced:tt},{reject:function(t){var e=K(this);return l(e.reject,void 0,t),e.promise}}),u({target:G,stat:!0,forced:a||tt},{resolve:function(t){return R(a&&this===i?Y:this,t)}}),u({target:G,stat:!0,forced:et},{all:function(t){var e=this,n=K(e),r=n.resolve,o=n.reject,i=N((function(){var n=x(e.resolve),i=[],c=0,u=1;E(t,(function(t){var a=c++,f=!1;u++,l(n,e,t).then((function(t){f||(f=!0,i[a]=t,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=K(e),r=n.reject,o=N((function(){var o=x(e.resolve);E(t,(function(t){l(o,e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(t,e,n){var r=n(0);t.exports=r.Promise},function(t,e,n){var r,o,i,c,u,a,f,s,l=n(0),p=n(50),v=n(25).f,h=n(186).set,d=n(187),g=n(197),y=n(198),x=n(172),m=l.MutationObserver||l.WebKitMutationObserver,b=l.document,w=l.process,S=l.Promise,E=v(l,"queueMicrotask"),O=E&&E.value;O||(r=function(){var t,e;for(x&&(t=w.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?c():i=void 0,t}}i=void 0,t&&t.enter()},d||x||y||!m||!b?!g&&S&&S.resolve?((f=S.resolve(void 0)).constructor=S,s=p(f.then,f),c=function(){s(r)}):x?c=function(){w.nextTick(r)}:(h=p(h,l),c=function(){h(r)}):(u=!0,a=b.createTextNode(""),new m(r).observe(a,{characterData:!0}),c=function(){a.data=u=!u})),t.exports=O||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,c()),i=e}},function(t,e,n){var r=n(86),o=n(0);t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},function(t,e,n){var r=n(86);t.exports=/web0s(?!.*chrome)/i.test(r)},function(t,e,n){var r=n(10),o=n(9),i=n(188);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){var r=n(0);t.exports=function(t,e){var n=r.console;n&&n.error&&(1==arguments.length?n.error(t):n.error(t,e))}},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e){t.exports="object"==typeof window}])}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logicflow/extension",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.22",
|
|
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.
|
|
35
|
+
"@logicflow/core": "^1.1.22",
|
|
36
36
|
"ids": "^1.0.0",
|
|
37
37
|
"preact": "^10.4.8"
|
|
38
38
|
},
|