@logicflow/extension 1.0.0 → 1.0.4
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 +6 -5
- package/cjs/tools/snapshot/index.js +17 -1
- package/es/components/mini-map/index.js +6 -5
- package/es/tools/snapshot/index.d.ts +1 -0
- package/es/tools/snapshot/index.js +17 -1
- package/lib/MiniMap.js +1 -1
- package/lib/Snapshot.js +1 -1
- package/package.json +2 -2
- package/types/tools/snapshot/index.d.ts +1 -0
|
@@ -89,8 +89,8 @@ var MiniMap = {
|
|
|
89
89
|
miniMapWrap.style.width = MiniMap.__width + "px";
|
|
90
90
|
miniMapWrap.style.height = MiniMap.__height + "px";
|
|
91
91
|
MiniMap.__lfMap = new MiniMap.__LogicFlow({
|
|
92
|
-
width: MiniMap.__lf.width,
|
|
93
|
-
height: (MiniMap.__lf.width * 220) / 150,
|
|
92
|
+
width: MiniMap.__lf.graphModel.width,
|
|
93
|
+
height: (MiniMap.__lf.graphModel.width * 220) / 150,
|
|
94
94
|
container: miniMapWrap,
|
|
95
95
|
isSilentMode: true,
|
|
96
96
|
stopZoomGraph: true,
|
|
@@ -272,14 +272,15 @@ var MiniMap = {
|
|
|
272
272
|
var left = _a.left, right = _a.right;
|
|
273
273
|
var viewStyle = MiniMap.__viewport.style;
|
|
274
274
|
viewStyle.width = MiniMap.__width - 4 + "px";
|
|
275
|
-
viewStyle.height = (MiniMap.__width - 4) / (MiniMap.__lf.width / MiniMap.__lf.height) + "px";
|
|
275
|
+
viewStyle.height = (MiniMap.__width - 4) / (MiniMap.__lf.graphModel.width / MiniMap.__lf.graphModel.height) + "px";
|
|
276
276
|
// top
|
|
277
277
|
var _b = MiniMap.__lf.getTransform(), TRANSLATE_X = _b.TRANSLATE_X, TRANSLATE_Y = _b.TRANSLATE_Y;
|
|
278
278
|
var realWidth = right - left;
|
|
279
279
|
// 视口实际宽 = 视口默认宽 / (所有元素一起占据的真实宽 / 绘布宽)
|
|
280
|
-
var realViewPortWidth = (MiniMap.__width - 4) / (realWidth / MiniMap.__lf.width);
|
|
280
|
+
var realViewPortWidth = (MiniMap.__width - 4) / (realWidth / MiniMap.__lf.graphModel.width);
|
|
281
281
|
// 视口实际高 = 视口实际宽 / (绘布宽 / 绘布高)
|
|
282
|
-
var
|
|
282
|
+
var graphRatio = (MiniMap.__lf.graphModel.width / MiniMap.__lf.graphModel.height);
|
|
283
|
+
var realViewPortHeight = realViewPortWidth / graphRatio;
|
|
283
284
|
MiniMap.__viewPortTop = TRANSLATE_Y > 0 ? 0 : -TRANSLATE_Y * scale;
|
|
284
285
|
MiniMap.__viewPortLeft = -TRANSLATE_X * scale;
|
|
285
286
|
MiniMap.__viewPortWidth = realViewPortWidth;
|
|
@@ -55,7 +55,7 @@ var Snapshot = {
|
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
|
-
var svgRootElement = lf.container.querySelector('
|
|
58
|
+
var svgRootElement = lf.container.querySelector('.lf-canvas-overlay');
|
|
59
59
|
return svgRootElement;
|
|
60
60
|
},
|
|
61
61
|
triggerDownload: function (imgURI) {
|
|
@@ -116,11 +116,27 @@ var Snapshot = {
|
|
|
116
116
|
});
|
|
117
117
|
});
|
|
118
118
|
},
|
|
119
|
+
getClassRules: function () {
|
|
120
|
+
var rules = '';
|
|
121
|
+
var styleSheets = document.styleSheets;
|
|
122
|
+
for (var i = 0; i < styleSheets.length; i++) {
|
|
123
|
+
var sheet = styleSheets[i];
|
|
124
|
+
for (var j = 0; j < sheet.cssRules.length; j++) {
|
|
125
|
+
rules += sheet.cssRules[j].cssText;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
return rules;
|
|
129
|
+
},
|
|
119
130
|
// 获取图片生成中中间产物canvas对象,用户转换为其他需要的格式
|
|
120
131
|
getCanvasData: function (svg, backgroundColor) {
|
|
121
132
|
var _this = this;
|
|
122
133
|
var copy = svg.cloneNode(true);
|
|
123
134
|
var graph = copy.lastChild;
|
|
135
|
+
var style = document.createElement('style');
|
|
136
|
+
style.innerHTML = this.getClassRules();
|
|
137
|
+
var foreignObject = document.createElement('foreignObject');
|
|
138
|
+
foreignObject.appendChild(style);
|
|
139
|
+
copy.appendChild(foreignObject);
|
|
124
140
|
var childLength = graph.childNodes && graph.childNodes.length;
|
|
125
141
|
if (childLength) {
|
|
126
142
|
for (var i = 0; i < childLength; i++) {
|
|
@@ -86,8 +86,8 @@ var MiniMap = {
|
|
|
86
86
|
miniMapWrap.style.width = MiniMap.__width + "px";
|
|
87
87
|
miniMapWrap.style.height = MiniMap.__height + "px";
|
|
88
88
|
MiniMap.__lfMap = new MiniMap.__LogicFlow({
|
|
89
|
-
width: MiniMap.__lf.width,
|
|
90
|
-
height: (MiniMap.__lf.width * 220) / 150,
|
|
89
|
+
width: MiniMap.__lf.graphModel.width,
|
|
90
|
+
height: (MiniMap.__lf.graphModel.width * 220) / 150,
|
|
91
91
|
container: miniMapWrap,
|
|
92
92
|
isSilentMode: true,
|
|
93
93
|
stopZoomGraph: true,
|
|
@@ -269,14 +269,15 @@ var MiniMap = {
|
|
|
269
269
|
var left = _a.left, right = _a.right;
|
|
270
270
|
var viewStyle = MiniMap.__viewport.style;
|
|
271
271
|
viewStyle.width = MiniMap.__width - 4 + "px";
|
|
272
|
-
viewStyle.height = (MiniMap.__width - 4) / (MiniMap.__lf.width / MiniMap.__lf.height) + "px";
|
|
272
|
+
viewStyle.height = (MiniMap.__width - 4) / (MiniMap.__lf.graphModel.width / MiniMap.__lf.graphModel.height) + "px";
|
|
273
273
|
// top
|
|
274
274
|
var _b = MiniMap.__lf.getTransform(), TRANSLATE_X = _b.TRANSLATE_X, TRANSLATE_Y = _b.TRANSLATE_Y;
|
|
275
275
|
var realWidth = right - left;
|
|
276
276
|
// 视口实际宽 = 视口默认宽 / (所有元素一起占据的真实宽 / 绘布宽)
|
|
277
|
-
var realViewPortWidth = (MiniMap.__width - 4) / (realWidth / MiniMap.__lf.width);
|
|
277
|
+
var realViewPortWidth = (MiniMap.__width - 4) / (realWidth / MiniMap.__lf.graphModel.width);
|
|
278
278
|
// 视口实际高 = 视口实际宽 / (绘布宽 / 绘布高)
|
|
279
|
-
var
|
|
279
|
+
var graphRatio = (MiniMap.__lf.graphModel.width / MiniMap.__lf.graphModel.height);
|
|
280
|
+
var realViewPortHeight = realViewPortWidth / graphRatio;
|
|
280
281
|
MiniMap.__viewPortTop = TRANSLATE_Y > 0 ? 0 : -TRANSLATE_Y * scale;
|
|
281
282
|
MiniMap.__viewPortLeft = -TRANSLATE_X * scale;
|
|
282
283
|
MiniMap.__viewPortWidth = realViewPortWidth;
|
|
@@ -10,6 +10,7 @@ declare const Snapshot: {
|
|
|
10
10
|
downloadSvg(svg: SVGGraphicsElement, fileName: string, backgroundColor: string): void;
|
|
11
11
|
getBase64(svg: SVGGraphicsElement, backgroundColor: string): Promise<unknown>;
|
|
12
12
|
getBlob(svg: SVGGraphicsElement, backgroundColor: string): Promise<unknown>;
|
|
13
|
+
getClassRules(): string;
|
|
13
14
|
getCanvasData(svg: SVGGraphicsElement, backgroundColor: string): Promise<unknown>;
|
|
14
15
|
};
|
|
15
16
|
export default Snapshot;
|
|
@@ -52,7 +52,7 @@ var Snapshot = {
|
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
|
-
var svgRootElement = lf.container.querySelector('
|
|
55
|
+
var svgRootElement = lf.container.querySelector('.lf-canvas-overlay');
|
|
56
56
|
return svgRootElement;
|
|
57
57
|
},
|
|
58
58
|
triggerDownload: function (imgURI) {
|
|
@@ -113,11 +113,27 @@ var Snapshot = {
|
|
|
113
113
|
});
|
|
114
114
|
});
|
|
115
115
|
},
|
|
116
|
+
getClassRules: function () {
|
|
117
|
+
var rules = '';
|
|
118
|
+
var styleSheets = document.styleSheets;
|
|
119
|
+
for (var i = 0; i < styleSheets.length; i++) {
|
|
120
|
+
var sheet = styleSheets[i];
|
|
121
|
+
for (var j = 0; j < sheet.cssRules.length; j++) {
|
|
122
|
+
rules += sheet.cssRules[j].cssText;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
return rules;
|
|
126
|
+
},
|
|
116
127
|
// 获取图片生成中中间产物canvas对象,用户转换为其他需要的格式
|
|
117
128
|
getCanvasData: function (svg, backgroundColor) {
|
|
118
129
|
var _this = this;
|
|
119
130
|
var copy = svg.cloneNode(true);
|
|
120
131
|
var graph = copy.lastChild;
|
|
132
|
+
var style = document.createElement('style');
|
|
133
|
+
style.innerHTML = this.getClassRules();
|
|
134
|
+
var foreignObject = document.createElement('foreignObject');
|
|
135
|
+
foreignObject.appendChild(style);
|
|
136
|
+
copy.appendChild(foreignObject);
|
|
121
137
|
var childLength = graph.childNodes && graph.childNodes.length;
|
|
122
138
|
if (childLength) {
|
|
123
139
|
for (var i = 0; i < childLength; i++) {
|
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=206)}([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(97))},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(34),i=r(5),u=r(36),a=r(45),c=r(59),f=o("wks"),s=e.Symbol,p=s&&s.for,l=c?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!a&&"string"!=typeof f[t]){var n="Symbol."+t;a&&i(s,t)?f[t]=s[t]:f[t]=c&&p?p(n):l(n)}return f[t]}},function(t,n,r){var e=r(1),o=r(15),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,r){var e=r(0),o=r(24).f,i=r(16),u=r(14),a=r(41),c=r(68),f=r(69);t.exports=function(t,n){var r,s,p,l,v,d=t.target,h=t.global,y=t.stat;if(r=h?e:y?e[d]||a(d,{}):(e[d]||{}).prototype)for(s in n){if(l=n[s],p=t.noTargetGet?(v=o(r,s))&&v.value:r[s],!f(h?s:d+(y?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;c(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(r,s,l,t)}}},function(t,n,r){var e=r(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,r){var e=r(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,n,r){var e=r(0),o=r(7),i=r(60),u=r(10),a=r(26),c=e.TypeError,f=Object.defineProperty;n.f=o?f:function(t,n,r){if(u(t),n=a(n),u(r),i)try{return f(t,n,r)}catch(t){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(0),o=r(8),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(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(54),o=r(32);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(0),o=r(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(e[t]):e[t]&&e[t][n]}},function(t,n,r){var e=r(0),o=r(2),i=r(5),u=r(16),a=r(41),c=r(38),f=r(21),s=r(55).CONFIGURABLE,p=f.get,l=f.enforce,v=String(String).split("String");(t.exports=function(t,n,r,c){var f,p=!!c&&!!c.unsafe,d=!!c&&!!c.enumerable,h=!!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")||s&&r.name!==y)&&u(r,"name",y),(f=l(r)).source||(f.source=v.join("string"==typeof y?y:""))),t!==e?(p?!h&&t[n]&&(d=!0):delete t[n],d?t[n]=r:u(t,n,r)):d?t[n]=r:a(n,r)})(Function.prototype,"toString",(function(){return o(this)&&p(this).source||c(this)}))},function(t,n,r){var e=r(0),o=r(32),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,n,r){var e=r(7),o=r(9),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(84);t.exports=function(t){return e(t.length)}},function(t,n,r){var e,o=r(10),i=r(96),u=r(46),a=r(23),c=r(104),f=r(44),s=r(30),p=s("IE_PROTO"),l=function(){},v=function(t){return"<script>"+t+"<\/script>"},d=function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n},h=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,n;h="undefined"!=typeof document?document.domain&&e?d(e):((n=f("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):d(e);for(var r=u.length;r--;)delete h.prototype[u[r]];return h()};a[p]=!0,t.exports=Object.create||function(t,n){var r;return null!==t?(l.prototype=o(t),r=new l,l.prototype=null,r[p]=t):r=h(),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,u=r(99),a=r(0),c=r(1),f=r(8),s=r(16),p=r(5),l=r(40),v=r(30),d=r(23),h=a.TypeError,y=a.WeakMap;if(u||l.state){var _=l.state||(l.state=new y),g=c(_.get),x=c(_.has),m=c(_.set);e=function(t,n){if(x(_,t))throw new h("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");d[b]=!0,e=function(t,n){if(p(t,b))throw new h("Object already initialized");return n.facade=t,s(t,b,n),n},o=function(t){return p(t,b)?t[b]:{}},i=function(t){return p(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(!f(n)||(r=o(n)).type!==t)throw h("Incompatible receiver, "+t+" required");return r}}}},function(t,n,r){var e=r(0),o=r(31),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(62),u=r(20),a=r(12),c=r(26),f=r(5),s=r(60),p=Object.getOwnPropertyDescriptor;n.f=e?p:function(t,n){if(t=a(t),n=c(n),s)try{return p(t,n)}catch(t){}if(f(t,n))return u(!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(87),o=r(39);t.exports=function(t){var n=e(t,"string");return o(n)?n:n+""}},function(t,n){t.exports={}},,function(t,n){t.exports=!1},function(t,n,r){var e=r(34),o=r(36),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n,r){var e=r(0),o=r(43),i=r(2),u=r(19),a=r(4)("toStringTag"),c=e.Object,f="Arguments"==u(function(){return arguments}());t.exports=o?u: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),a))?r:f?u(n):"Object"==(e=u(n))&&i(n.callee)?"Arguments":e}},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(19);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(29),o=r(40);(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(0),o=r(2),i=r(51),u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not a function")}},function(t,n,r){var e=r(1),o=0,i=Math.random(),u=e(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++o+i,36)}},function(t,n,r){var e=r(64),o=r(46).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){var e=r(1),o=r(2),i=r(40),u=e(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return u(t)}),t.exports=i.inspectSource},function(t,n,r){var e=r(0),o=r(13),i=r(2),u=r(25),a=r(59),c=e.Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var n=o("Symbol");return i(n)&&u(n.prototype,c(t))}},function(t,n,r){var e=r(0),o=r(41),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){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={};e[r(4)("toStringTag")]="z",t.exports="[object z]"===String(e)},function(t,n,r){var e=r(0),o=r(8),i=e.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,n,r){var e=r(47),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,o,i=r(0),u=r(78),a=i.process,c=i.Deno,f=a&&a.versions||c&&c.version,s=f&&f.v8;s&&(o=(e=s.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!o&&u&&(!(e=u.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=u.match(/Chrome\/(\d+)/))&&(o=+e[1]),t.exports=o},function(t,n,r){var e=r(9).f,o=r(5),i=r(4)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n,r){"use strict";var e=r(26),o=r(9),i=r(20);t.exports=function(t,n,r){var u=e(n);u in t?o.f(t,u,i(0,r)):t[u]=r}},function(t,n,r){var e=r(35);t.exports=function(t,n){var r=t[n];return null==r?void 0:e(r)}},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(35),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=r(1),o=r(3),i=r(2),u=r(31),a=r(13),c=r(38),f=function(){},s=[],p=a("Reflect","construct"),l=/^\s*(?:class|function)\b/,v=e(l.exec),d=!l.exec(f),h=function(t){if(!i(t))return!1;try{return p(f,s,t),!0}catch(t){return!1}};t.exports=!p||o((function(){var t;return h(h.call)||!h(Object)||!h((function(){t=!0}))||t}))?function(t){if(!i(t))return!1;switch(u(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return d||!!v(l,c(t))}:h},function(t,n,r){var e=r(0),o=r(1),i=r(3),u=r(19),a=e.Object,c=o("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==u(t)?c(t,""):a(t)}:a},function(t,n,r){var e=r(7),o=r(5),i=Function.prototype,u=e&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,f=a&&(!e||e&&u(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:f}},function(t,n,r){var e=r(42),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(52),o=r(1),i=r(54),u=r(15),a=r(17),c=r(70),f=o([].push),s=function(t){var n=1==t,r=2==t,o=3==t,s=4==t,p=6==t,l=7==t,v=5==t||p;return function(d,h,y,_){for(var g,x,m=u(d),b=i(m),w=e(h,y),S=a(b),O=0,P=_||c,E=n?P(d,S):r||l?P(d,0):void 0;S>O;O++)if((v||O in b)&&(x=w(g=b[O],O,m),t))if(n)E[O]=x;else if(x)switch(t){case 3:return!0;case 5:return g;case 6:return O;case 2:f(E,g)}else switch(t){case 4:return!1;case 7:f(E,g)}return p?-1:o||s?s:E}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},function(t,n,r){var e=r(64),o=r(46);t.exports=Object.keys||function(t){return e(t,o)}},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,r){"use strict";var e=r(12),o=r(106),i=r(27),u=r(21),a=r(67),c=u.set,f=u.getterFor("Array Iterator");t.exports=a(Array,"Array",(function(t,n){c(this,{type:"Array Iterator",target:e(t),index:0,kind:n})}),(function(){var t=f(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){"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(0),o=r(5),i=r(2),u=r(15),a=r(30),c=r(102),f=a("IE_PROTO"),s=e.Object,p=s.prototype;t.exports=c?s.getPrototypeOf:function(t){var n=u(t);if(o(n,f))return n[f];var r=n.constructor;return i(r)&&n instanceof r?r.prototype:n instanceof s?p:null}},function(t,n,r){var e=r(1),o=r(5),i=r(12),u=r(83).indexOf,a=r(23),c=e([].push);t.exports=function(t,n){var r,e=i(t),f=0,s=[];for(r in e)!o(a,r)&&o(e,r)&&c(s,r);for(;n.length>f;)o(e,r=n[f++])&&(~u(s,r)||c(s,r));return s}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(43),o=r(14),i=r(101);e||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,n,r){"use strict";var e=r(6),o=r(11),i=r(29),u=r(55),a=r(2),c=r(108),f=r(63),s=r(75),p=r(48),l=r(16),v=r(14),d=r(4),h=r(27),y=r(77),_=u.PROPER,g=u.CONFIGURABLE,x=y.IteratorPrototype,m=y.BUGGY_SAFARI_ITERATORS,b=d("iterator"),w=function(){return this};t.exports=function(t,n,r,u,d,y,S){c(r,n,u);var O,P,E,j=function(t){if(t===d&&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)}},M=n+" Iterator",A=!1,T=t.prototype,L=T[b]||T["@@iterator"]||d&&T[d],I=!m&&L||j(d),R="Array"==n&&T.entries||L;if(R&&(O=f(R.call(new t)))!==Object.prototype&&O.next&&(i||f(O)===x||(s?s(O,x):a(O[b])||v(O,b,w)),p(O,M,!0,!0),i&&(h[M]=w)),_&&"values"==d&&L&&"values"!==L.name&&(!i&&g?l(T,"name","values"):(A=!0,I=function(){return o(L,this)})),d)if(P={values:j("values"),keys:y?I:j("keys"),entries:j("entries")},S)for(E in P)(m||A||!(E in T))&&v(T,E,P[E]);else e({target:n,proto:!0,forced:m||A},P);return i&&!S||T[b]===I||v(T,b,I,{name:d}),h[n]=I,P}},function(t,n,r){var e=r(5),o=r(82),i=r(24),u=r(9);t.exports=function(t,n){for(var r=o(n),a=u.f,c=i.f,f=0;f<r.length;f++){var s=r[f];e(t,s)||a(t,s,c(n,s))}}},function(t,n,r){var e=r(3),o=r(2),i=/#|\.prototype\./,u=function(t,n){var r=c[a(t)];return r==s||r!=f&&(o(n)?e(n):!!n)},a=u.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=u.data={},f=u.NATIVE="N",s=u.POLYFILL="P";t.exports=u},function(t,n,r){var e=r(100);t.exports=function(t,n){return new(e(t))(0===n?0:n)}},function(t,n,r){"use strict";var e=r(57).forEach,o=r(79)("forEach");t.exports=o?[].forEach:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,n){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,n,r){var e=r(44)("span").classList,o=e&&e.constructor&&e.constructor.prototype;t.exports=o===Object.prototype?void 0:o},function(t,n,r){var e=r(3),o=r(4),i=r(47),u=o("species");t.exports=function(t){return i>=51||!e((function(){var n=[];return(n.constructor={})[u]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},function(t,n,r){var e=r(1),o=r(10),i=r(109);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,r={};try{(t=e(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),n=r instanceof Array}catch(t){}return function(r,e){return o(r),i(e),n?t(r,e):r.__proto__=e,r}}():void 0)},function(t,n,r){var e=r(1);t.exports=e([].slice)},function(t,n,r){"use strict";var e,o,i,u=r(3),a=r(2),c=r(18),f=r(63),s=r(14),p=r(4),l=r(29),v=p("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(e=o):d=!0),null==e||u((function(){var t={};return e[v].call(t)!==t}))?e={}:l&&(e=c(e)),a(e[v])||s(e,v,(function(){return this})),t.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:d}},function(t,n,r){var e=r(13);t.exports=e("navigator","userAgent")||""},function(t,n,r){"use strict";var e=r(3);t.exports=function(t,n){var r=[][t];return!!r&&e((function(){r.call(null,n||function(){throw 1},1)}))}},function(t,n,r){"use strict";var e=r(105).charAt,o=r(22),i=r(21),u=r(67),a=i.set,c=i.getterFor("String Iterator");u(String,"String",(function(t){a(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,n=c(this),r=n.string,o=n.index;return o>=r.length?{value:void 0,done:!0}:(t=e(r,o),n.index+=t.length,{value:t,done:!1})}))},function(t,n,r){"use strict";var e=r(6),o=r(0),i=r(13),u=r(90),a=r(11),c=r(1),f=r(29),s=r(7),p=r(45),l=r(3),v=r(5),d=r(33),h=r(2),y=r(8),_=r(25),g=r(39),x=r(10),m=r(15),b=r(12),w=r(26),S=r(22),O=r(20),P=r(18),E=r(58),j=r(37),M=r(103),A=r(65),T=r(24),L=r(9),I=r(62),R=r(76),C=r(14),F=r(34),k=r(30),N=r(23),D=r(36),G=r(4),V=r(86),W=r(89),B=r(48),H=r(21),U=r(57).forEach,Y=k("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=M.f,ot=I.f,it=c([].push),ut=F("symbols"),at=F("op-symbols"),ct=F("string-to-symbol-registry"),ft=F("symbol-to-string-registry"),st=F("wks"),pt=!Z||!Z.prototype||!Z.prototype.findChild,lt=s&&l((function(){return 7!=P(rt({},"a",{get:function(){return rt(this,"a",{value:7}).a}})).a}))?function(t,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=ut[t]=P(J);return X(r,{type:"Symbol",tag:t,description:n}),s||(r.description=n),r},dt=function(t,n,r){t===K&&dt(at,n,r),x(t);var e=w(n);return x(r),v(ut,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),lt(t,e,r)):rt(t,e,r)},ht=function(t,n){x(t);var r=b(n),e=E(r).concat(xt(r));return U(e,(function(n){s&&!a(yt,r,n)||dt(t,n,r[n])})),t},yt=function(t){var n=w(t),r=a(ot,this,n);return!(this===K&&v(ut,n)&&!v(at,n))&&(!(r||!v(this,n)||!v(ut,n)||v(this,Y)&&this[Y][n])||r)},_t=function(t,n){var r=b(t),e=w(n);if(r!==K||!v(ut,e)||v(at,e)){var o=nt(r,e);return!o||!v(ut,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(ut,t)||v(N,t)||it(r,t)})),r},xt=function(t){var n=t===K,r=et(n?at:b(t)),e=[];return U(r,(function(t){!v(ut,t)||n&&!v(K,t)||it(e,ut[t])})),e};(p||(C(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&&a(r,at,t),v(this,Y)&&v(this[Y],n)&&(this[Y][n]=!1),lt(this,n,O(1,t))};return s&&pt&<(K,n,{configurable:!0,set:r}),vt(n,t)}).prototype,"toString",(function(){return $(this).tag})),C(q,"withoutSetter",(function(t){return vt(D(t),t)})),I.f=yt,L.f=dt,T.f=_t,j.f=M.f=gt,A.f=xt,V.f=function(t){return vt(G(t),t)},s&&(rt(J,"description",{configurable:!0,get:function(){return $(this).description}}),f||C(K,"propertyIsEnumerable",yt,{unsafe:!0}))),e({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:q}),U(E(st),(function(t){W(t)})),e({target:"Symbol",stat:!0,forced:!p},{for:function(t){var n=S(t);if(v(ct,n))return ct[n];var r=q(n);return ct[n]=r,ft[r]=n,r},keyFor:function(t){if(!g(t))throw Q(t+" is not a symbol");if(v(ft,t))return ft[t]},useSetter:function(){pt=!0},useSimple:function(){pt=!1}}),e({target:"Object",stat:!0,forced:!p,sham:!s},{create:function(t,n){return void 0===n?P(t):ht(P(t),n)},defineProperty:dt,defineProperties:ht,getOwnPropertyDescriptor:_t}),e({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:gt,getOwnPropertySymbols:xt}),e({target:"Object",stat:!0,forced:l((function(){A.f(1)}))},{getOwnPropertySymbols:function(t){return A.f(m(t))}}),tt)&&e({target:"JSON",stat:!0,forced:!p||l((function(){var t=q();return"[null]"!=tt([t])||"{}"!=tt({a:t})||"{}"!=tt(Object(t))}))},{stringify:function(t,n,r){var e=R(arguments),o=n;if((y(n)||void 0!==t)&&!g(t))return d(n)||(n=function(t,n){if(h(o)&&(n=a(o,this,t,n)),!g(n))return n}),e[1]=n,u(tt,null,e)}});if(!J[z]){var mt=J.valueOf;C(J,z,(function(t){return a(mt,this)}))}B(q,"Symbol"),N[Y]=!0},function(t,n,r){var e=r(13),o=r(1),i=r(37),u=r(65),a=r(10),c=o([].concat);t.exports=e("Reflect","ownKeys")||function(t){var n=i.f(a(t)),r=u.f;return r?c(n,r(t)):n}},function(t,n,r){var e=r(12),o=r(56),i=r(17),u=function(t){return function(n,r,u){var a,c=e(n),f=i(c),s=o(u,f);if(t&&r!=r){for(;f>s;)if((a=c[s++])!=a)return!0}else for(;f>s;s++)if((t||s in c)&&c[s]===r)return t||s||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},function(t,n,r){var e=r(42),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){var e=r(31),o=r(50),i=r(27),u=r(4)("iterator");t.exports=function(t){if(null!=t)return o(t,u)||o(t,"@@iterator")||i[e(t)]}},function(t,n,r){var e=r(4);n.f=e},function(t,n,r){var e=r(0),o=r(11),i=r(8),u=r(39),a=r(50),c=r(98),f=r(4),s=e.TypeError,p=f("toPrimitive");t.exports=function(t,n){if(!i(t)||u(t))return t;var r,e=a(t,p);if(e){if(void 0===n&&(n="default"),r=o(e,t,n),!i(r)||u(r))return r;throw s("Can't convert object to primitive value")}return void 0===n&&(n="number"),c(t,n)}},function(t,n,r){var e=r(0),o=r(72),i=r(73),u=r(61),a=r(16),c=r(4),f=c("iterator"),s=c("toStringTag"),p=u.values,l=function(t,n){if(t){if(t[f]!==p)try{a(t,f,p)}catch(n){t[f]=p}if(t[s]||a(t,s,n),o[n])for(var r in u)if(t[r]!==u[r])try{a(t,r,u[r])}catch(n){t[r]=u[r]}}};for(var v in o)l(e[v]&&e[v].prototype,v);l(i,"DOMTokenList")},function(t,n,r){var e=r(115),o=r(5),i=r(86),u=r(9).f;t.exports=function(t){var n=e.Symbol||(e.Symbol={});o(n,t)||u(n,t,{value:i.f(t)})}},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){"use strict";var e=r(6),o=r(7),i=r(0),u=r(1),a=r(5),c=r(2),f=r(25),s=r(22),p=r(9).f,l=r(68),v=i.Symbol,d=v&&v.prototype;if(o&&c(v)&&(!("description"in d)||void 0!==v().description)){var h={},y=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),n=f(d,this)?new v(t):void 0===t?v():v(t);return""===t&&(h[n]=!0),n};l(y,v),y.prototype=d,d.constructor=y;var _="Symbol(test)"==String(v("test")),g=u(d.toString),x=u(d.valueOf),m=/^Symbol\((.*)\)[^)]+$/,b=u("".replace),w=u("".slice);p(d,"description",{configurable:!0,get:function(){var t=x(this),n=g(t);if(a(h,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(89)("iterator")},function(t,n,r){"use strict";var e=r(6),o=r(71);e({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,n,r){var e=r(0),o=r(72),i=r(73),u=r(71),a=r(16),c=function(t){if(t&&t.forEach!==u)try{a(t,"forEach",u)}catch(n){t.forEach=u}};for(var f in o)o[f]&&c(e[f]&&e[f].prototype);c(i)},function(t,n,r){var e=r(7),o=r(9),i=r(10),u=r(12),a=r(58);t.exports=e?Object.defineProperties:function(t,n){i(t);for(var r,e=u(n),c=a(n),f=c.length,s=0;f>s;)o.f(t,r=c[s++],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),u=r(8),a=e.TypeError;t.exports=function(t,n){var r,e;if("string"===n&&i(r=t.toString)&&!u(e=o(r,t)))return e;if(i(r=t.valueOf)&&!u(e=o(r,t)))return e;if("string"!==n&&i(r=t.toString)&&!u(e=o(r,t)))return e;throw a("Can't convert object to primitive value")}},function(t,n,r){var e=r(0),o=r(2),i=r(38),u=e.WeakMap;t.exports=o(u)&&/native code/.test(i(u))},function(t,n,r){var e=r(0),o=r(33),i=r(53),u=r(8),a=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))||u(n)&&null===(n=n[a]))&&(n=void 0)),void 0===n?c:n}},function(t,n,r){"use strict";var e=r(43),o=r(31);t.exports=e?{}.toString:function(){return"[object "+o(this)+"]"}},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(19),o=r(12),i=r(37).f,u=r(107),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"Window"==e(t)?function(t){try{return i(t)}catch(t){return u(a)}}(t):i(o(t))}},function(t,n,r){var e=r(13);t.exports=e("document","documentElement")},function(t,n,r){var e=r(1),o=r(42),i=r(22),u=r(32),a=e("".charAt),c=e("".charCodeAt),f=e("".slice),s=function(t){return function(n,r){var e,s,p=i(u(n)),l=o(r),v=p.length;return l<0||l>=v?t?"":void 0:(e=c(p,l))<55296||e>56319||l+1===v||(s=c(p,l+1))<56320||s>57343?t?a(p,l):e:t?f(p,l,l+2):s-56320+(e-55296<<10)+65536}};t.exports={codeAt:s(!1),charAt:s(!0)}},function(t,n,r){var e=r(4),o=r(18),i=r(9),u=e("unscopables"),a=Array.prototype;null==a[u]&&i.f(a,u,{configurable:!0,value:o(null)}),t.exports=function(t){a[u][t]=!0}},function(t,n,r){var e=r(0),o=r(56),i=r(17),u=r(49),a=e.Array,c=Math.max;t.exports=function(t,n,r){for(var e=i(t),f=o(n,e),s=o(void 0===r?e:r,e),p=a(c(s-f,0)),l=0;f<s;f++,l++)u(p,l,t[f]);return p.length=l,p}},function(t,n,r){"use strict";var e=r(77).IteratorPrototype,o=r(18),i=r(20),u=r(48),a=r(27),c=function(){return this};t.exports=function(t,n,r,f){var s=n+" Iterator";return t.prototype=o(e,{next:i(+!f,r)}),u(t,s,!1,!0),a[s]=c,t}},function(t,n,r){var e=r(0),o=r(2),i=e.String,u=e.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw u("Can't set "+i(t)+" as a prototype")}},function(t,n,r){var e=r(4),o=r(27),i=e("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||u[i]===t)}},function(t,n,r){var e=r(0),o=r(11),i=r(35),u=r(10),a=r(51),c=r(85),f=e.TypeError;t.exports=function(t,n){var r=arguments.length<2?c(t):n;if(i(r))return u(o(r,t));throw f(a(t)+" is not iterable")}},function(t,n,r){var e=r(11),o=r(10),i=r(50);t.exports=function(t,n,r){var u,a;o(t);try{if(!(u=i(t,"return"))){if("throw"===n)throw r;return r}u=e(u,t)}catch(t){a=!0,u=t}if("throw"===n)throw r;if(a)throw u;return o(u),r}},function(t,n,r){var e=r(4)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[e]=function(){return this},Array.from(u,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i={};i[e]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},function(t,n,r){"use strict";var e,o,i=r(11),u=r(1),a=r(22),c=r(124),f=r(123),s=r(34),p=r(18),l=r(21).get,v=r(130),d=r(131),h=s("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,_=y,g=u("".charAt),x=u("".indexOf),m=u("".replace),b=u("".slice),w=(o=/b*/g,i(y,e=/a/,"a"),i(y,o,"a"),0!==e.lastIndex||0!==o.lastIndex),S=f.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];(w||O||S||v||d)&&(_=function(t){var n,r,e,o,u,f,s,v=this,d=l(v),P=a(t),E=d.raw;if(E)return E.lastIndex=v.lastIndex,n=i(_,E,P),v.lastIndex=E.lastIndex,n;var j=d.groups,M=S&&v.sticky,A=i(c,v),T=v.source,L=0,I=P;if(M&&(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,M?r:v,I),M?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(h,o[0],r,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(o[u]=void 0)})),o&&j)for(o.groups=f=p(null),u=0;u<j.length;u++)f[(s=j[u])[0]]=o[s[1]];return o}),t.exports=_},function(t,n,r){var e=r(0);t.exports=e},,,function(t,n,r){"use strict";var e=r(6),o=r(114);e({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(t,n,r){"use strict";var e=r(6),o=r(0),i=r(3),u=r(33),a=r(8),c=r(15),f=r(17),s=r(49),p=r(70),l=r(74),v=r(4),d=r(47),h=v("isConcatSpreadable"),y=o.TypeError,_=d>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),g=l("concat"),x=function(t){if(!a(t))return!1;var n=t[h];return void 0!==n?!!n:u(t)};e({target:"Array",proto:!0,forced:!_||!g},{concat:function(t){var n,r,e,o,i,u=c(this),a=p(u,0),l=0;for(n=-1,e=arguments.length;n<e;n++)if(x(i=-1===n?u:arguments[n])){if(l+(o=f(i))>9007199254740991)throw y("Maximum allowed index exceeded");for(r=0;r<o;r++,l++)r in i&&s(a,l,i[r])}else{if(l>=9007199254740991)throw y("Maximum allowed index exceeded");s(a,l++,i)}return a.length=l,a}})},,,,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")})),u=i||e((function(){return!o("a","y").sticky})),a=i||e((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:a,MISSED_STICKY:u,UNSUPPORTED_Y:i}},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(6),o=r(132);e({target:"Array",stat:!0,forced:!r(113)((function(t){Array.from(t)}))},{from:o})},,,,,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){"use strict";var e=r(0),o=r(52),i=r(11),u=r(15),a=r(133),c=r(110),f=r(53),s=r(17),p=r(49),l=r(111),v=r(85),d=e.Array;t.exports=function(t){var n=u(t),r=f(this),e=arguments.length,h=e>1?arguments[1]:void 0,y=void 0!==h;y&&(h=o(h,e>2?arguments[2]:void 0));var _,g,x,m,b,w,S=v(n),O=0;if(!S||this==d&&c(S))for(_=s(n),g=r?new this(_):d(_);_>O;O++)w=y?h(n[O],O):n[O],p(g,O,w);else for(b=(m=l(n,S)).next,g=r?new this:[];!(x=i(b,m)).done;O++)w=y?a(m,h,[x.value,O],!0):x.value,p(g,O,w);return g.length=O,g}},function(t,n,r){var e=r(10),o=r(112);t.exports=function(t,n,r,i){try{return i?n(e(r)[0],r[1]):n(r)}catch(n){o(t,"throw",n)}}},function(t,n,r){r(6)({target:"Array",stat:!0},{isArray:r(33)})},,function(t,n,r){"use strict";var e=r(6),o=r(0),i=r(33),u=r(53),a=r(8),c=r(56),f=r(17),s=r(12),p=r(49),l=r(4),v=r(74),d=r(76),h=v("slice"),y=l("species"),_=o.Array,g=Math.max;e({target:"Array",proto:!0,forced:!h},{slice:function(t,n){var r,e,o,l=s(this),v=f(l),h=c(t,v),x=c(void 0===n?v:n,v);if(i(l)&&(r=l.constructor,(u(r)&&(r===_||i(r.prototype))||a(r)&&null===(r=r[y]))&&(r=void 0),r===_||void 0===r))return d(l,h,x);for(e=new(void 0===r?_:r)(g(x-h,0)),o=0;h<x;h++,o++)h in l&&p(e,o,l[h]);return e.length=o,e}})},function(t,n,r){var e=r(7),o=r(55).EXISTS,i=r(1),u=r(9).f,a=Function.prototype,c=i(a.toString),f=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(f.exec);e&&!o&&u(a,"name",{configurable:!0,get:function(){try{return s(f,c(this))[1]}catch(t){return""}}})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,r){"use strict";r.r(n),r.d(n,"MiniMap",(function(){return i}));r(119),r(94),r(66),r(95),r(61),r(88),r(136),r(137),r(125),r(80),r(118),r(81),r(92),r(93),r(134);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 u,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,u=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw u}}}}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}var i={pluginName:"minimap",__lf:null,__container:null,__miniMapWrap:null,__miniMapContainer:null,__lfMap:null,__viewport:null,__width:150,__height:220,__miniMapWidth:450,__miniMapHeight:660,__viewPortTop:0,__viewPortLeft:0,__startPosition:null,__viewPortScale:1,__viewPortWidth:150,__viewPortHeight:75,__resetDataX:0,__resetDataY:0,__LogicFlow:null,__disabledPlugins:["minimap","control","selection-select"],install:function(t,n){i.__lf=t,i.__miniMapWidth=t.graphModel.width,i.__miniMapHeight=220*t.graphModel.width/150,i.__LogicFlow=n,this.__init(),i.__isShow=!1},init:function(t){this.__disabledPlugins=this.__disabledPlugins.concat(t.disabledPlugins||[])},render:function(t,n){i.__container=n;["node:add","node:delete","edge:add","edge:delete","node:drop","blank:drop"].forEach((function(t){i.__lf.on(t,(function(){i.__isShow&&i.__setView()}))}))},show:function(t,n){i.__setView(),i.__isShow||i.__createMiniMap(t,n),i.__isShow=!0},hide:function(){i.__isShow&&i.__removeMiniMap(),i.__isShow=!1},__init:function(){var t=document.createElement("div");t.className="lf-mini-map-graph",t.style.width="".concat(i.__width,"px"),t.style.height="".concat(i.__height,"px"),i.__lfMap=new i.__LogicFlow({width:i.__lf.width,height:220*i.__lf.width/150,container:t,isSilentMode:!0,stopZoomGraph:!0,stopScrollGraph:!0,stopMoveGraph:!0,hideAnchors:!0,hoverOutline:!1,disabledPlugins:i.__disabledPlugins}),i.__lfMap.adapterIn=function(t){return t},i.__lfMap.adapterOut=function(t){return t},i.__miniMapWrap=t,i.__createViewPort()},__createMiniMap:function(t,n){var r=document.createElement("div"),e=i.__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",i.__container.appendChild(r),i.__miniMapWrap.appendChild(i.__viewport);var o=document.createElement("div");o.className="lf-mini-map-header",o.innerText="导航",r.appendChild(o);var u=document.createElement("span");u.className="lf-mini-map-close",u.addEventListener("click",i.hide),r.appendChild(u),i.__miniMapContainer=r},__removeMiniMap:function(){i.__container.removeChild(i.__miniMapContainer)},__getBounds:function(t){var n=0,r=i.__miniMapWidth,e=0,o=i.__miniMapHeight,u=t.nodes;return u&&u.length>0&&u.forEach((function(t){var i=t.x,u=t.y,a=t.width,c=void 0===a?200:a,f=t.height,s=void 0===f?200:f,p=i-c/2,l=i+c/2,v=u-s/2,d=u+s/2;n=p<n?p:n,r=l>r?l:r,e=v<e?v:e,o=d>o?d:o})),{left:n,top:e,bottom:o,right:r}},__resetData: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,u=void 0===i?200:i,a=t.height,c=n-u/2,f=r-(void 0===a?200:a)/2;e=c<e?c:e,o=f<o?f:o})),(e<0||o<0)&&(i.__resetDataX=e,i.__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},__setView:function(){var t,n=i.__resetData(i.__lf.getGraphRawData()),r=i.__lf.viewMap,o=i.__lf.graphModel.modelMap,u=i.__lfMap.viewMap,a=e(r.keys());try{for(a.s();!(t=a.n()).done;){var c=t.value;u.has(c)||(i.__lfMap.setView(c,r.get(c)),i.__lfMap.graphModel.modelMap.set(c,o.get(c)))}}catch(t){a.e(t)}finally{a.f()}i.__lfMap.render(n);var f=i.__getBounds(n),s=f.left,p=f.top,l=f.right,v=f.bottom,d=i.__width/(l-s),h=i.__height/(v-p),y=i.__miniMapWrap.firstChild.style,_=Math.min(d,h);y.transform="matrix(".concat(_,", 0, 0, ").concat(_,", 0, 0)"),y.transformOrigin="left top",y.height="".concat(v-Math.min(p,0),"px"),y.width="".concat(l-Math.min(s,0),"px"),i.__viewPortScale=_,i.__setViewPort(_,{left:s,top:p,right:l,bottom:v})},__setViewPort:function(t,n){var r=n.left,e=n.right,o=i.__viewport.style;o.width="".concat(i.__width-4,"px"),o.height="".concat((i.__width-4)/(i.__lf.width/i.__lf.height),"px");var u=i.__lf.getTransform(),a=u.TRANSLATE_X,c=u.TRANSLATE_Y,f=e-r,s=(i.__width-4)/(f/i.__lf.width),p=s/(i.__lf.width/i.__lf.height);i.__viewPortTop=c>0?0:-c*t,i.__viewPortLeft=-a*t,i.__viewPortWidth=s,i.__viewPortHeight=p,o.top="".concat(i.__viewPortTop,"px"),o.left="".concat(i.__viewPortLeft,"px"),o.width="".concat(s,"px"),o.height="".concat(p,"px")},__createViewPort:function(){var t=document.createElement("div");t.className="lf-minimap-viewport",t.addEventListener("mousedown",i.__startDrag),i.__viewport=t},__startDrag:function(t){document.addEventListener("mousemove",i.__drag),document.addEventListener("mouseup",i.__drop),i.__startPosition={x:t.x,y:t.y}},__drag:function(t){var n=i.__viewport.style;i.__viewPortTop+=t.y-i.__startPosition.y,i.__viewPortLeft+=t.x-i.__startPosition.x,n.top="".concat(i.__viewPortTop,"px"),n.left="".concat(i.__viewPortLeft,"px"),i.__startPosition={x:t.x,y:t.y};var r=(i.__viewPortLeft+i.__viewPortWidth/2)/i.__viewPortScale,e=(i.__viewPortTop+i.__viewPortHeight/2)/i.__viewPortScale;i.__lf.focusOn({coordinate:{x:r+i.__resetDataX,y:e+i.__resetDataY}})},__drop:function(){document.removeEventListener("mousemove",i.__drag),document.removeEventListener("mouseup",i.__drop)}};n.default=i}])}));
|
|
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=206)}([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(97))},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(34),i=r(5),a=r(36),u=r(45),c=r(59),f=o("wks"),s=e.Symbol,p=s&&s.for,l=c?s:s&&s.withoutSetter||a;t.exports=function(t){if(!i(f,t)||!u&&"string"!=typeof f[t]){var n="Symbol."+t;u&&i(s,t)?f[t]=s[t]:f[t]=c&&p?p(n):l(n)}return f[t]}},function(t,n,r){var e=r(1),o=r(15),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,r){var e=r(0),o=r(24).f,i=r(16),a=r(14),u=r(41),c=r(68),f=r(69);t.exports=function(t,n){var r,s,p,l,v,d=t.target,h=t.global,y=t.stat;if(r=h?e:y?e[d]||u(d,{}):(e[d]||{}).prototype)for(s in n){if(l=n[s],p=t.noTargetGet?(v=o(r,s))&&v.value:r[s],!f(h?s:d+(y?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;c(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),a(r,s,l,t)}}},function(t,n,r){var e=r(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,r){var e=r(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,n,r){var e=r(0),o=r(7),i=r(60),a=r(10),u=r(26),c=e.TypeError,f=Object.defineProperty;n.f=o?f:function(t,n,r){if(a(t),n=u(n),a(r),i)try{return f(t,n,r)}catch(t){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(0),o=r(8),i=e.String,a=e.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not an object")}},function(t,n){var r=Function.prototype.call;t.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},function(t,n,r){var e=r(54),o=r(32);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(0),o=r(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(e[t]):e[t]&&e[t][n]}},function(t,n,r){var e=r(0),o=r(2),i=r(5),a=r(16),u=r(41),c=r(38),f=r(21),s=r(55).CONFIGURABLE,p=f.get,l=f.enforce,v=String(String).split("String");(t.exports=function(t,n,r,c){var f,p=!!c&&!!c.unsafe,d=!!c&&!!c.enumerable,h=!!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")||s&&r.name!==y)&&a(r,"name",y),(f=l(r)).source||(f.source=v.join("string"==typeof y?y:""))),t!==e?(p?!h&&t[n]&&(d=!0):delete t[n],d?t[n]=r:a(t,n,r)):d?t[n]=r:u(n,r)})(Function.prototype,"toString",(function(){return o(this)&&p(this).source||c(this)}))},function(t,n,r){var e=r(0),o=r(32),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,n,r){var e=r(7),o=r(9),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(84);t.exports=function(t){return e(t.length)}},function(t,n,r){var e,o=r(10),i=r(96),a=r(46),u=r(23),c=r(104),f=r(44),s=r(30),p=s("IE_PROTO"),l=function(){},v=function(t){return"<script>"+t+"<\/script>"},d=function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n},h=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,n;h="undefined"!=typeof document?document.domain&&e?d(e):((n=f("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):d(e);for(var r=a.length;r--;)delete h.prototype[a[r]];return h()};u[p]=!0,t.exports=Object.create||function(t,n){var r;return null!==t?(l.prototype=o(t),r=new l,l.prototype=null,r[p]=t):r=h(),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(99),u=r(0),c=r(1),f=r(8),s=r(16),p=r(5),l=r(40),v=r(30),d=r(23),h=u.TypeError,y=u.WeakMap;if(a||l.state){var _=l.state||(l.state=new y),g=c(_.get),x=c(_.has),m=c(_.set);e=function(t,n){if(x(_,t))throw new h("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");d[b]=!0,e=function(t,n){if(p(t,b))throw new h("Object already initialized");return n.facade=t,s(t,b,n),n},o=function(t){return p(t,b)?t[b]:{}},i=function(t){return p(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(!f(n)||(r=o(n)).type!==t)throw h("Incompatible receiver, "+t+" required");return r}}}},function(t,n,r){var e=r(0),o=r(31),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(62),a=r(20),u=r(12),c=r(26),f=r(5),s=r(60),p=Object.getOwnPropertyDescriptor;n.f=e?p:function(t,n){if(t=u(t),n=c(n),s)try{return p(t,n)}catch(t){}if(f(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(87),o=r(39);t.exports=function(t){var n=e(t,"string");return o(n)?n:n+""}},function(t,n){t.exports={}},,function(t,n){t.exports=!1},function(t,n,r){var e=r(34),o=r(36),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(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,f="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:f?a(n):"Object"==(e=a(n))&&i(n.callee)?"Arguments":e}},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(19);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(29),o=r(40);(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(0),o=r(2),i=r(51),a=e.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not a function")}},function(t,n,r){var e=r(1),o=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(64),o=r(46).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){var e=r(1),o=r(2),i=r(40),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(25),u=r(59),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(41),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){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={};e[r(4)("toStringTag")]="z",t.exports="[object z]"===String(e)},function(t,n,r){var e=r(0),o=r(8),i=e.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,n,r){var e=r(47),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,o,i=r(0),a=r(78),u=i.process,c=i.Deno,f=u&&u.versions||c&&c.version,s=f&&f.v8;s&&(o=(e=s.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(9).f,o=r(5),i=r(4)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n,r){"use strict";var e=r(26),o=r(9),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(35);t.exports=function(t,n){var r=t[n];return null==r?void 0:e(r)}},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(35),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=r(1),o=r(3),i=r(2),a=r(31),u=r(13),c=r(38),f=function(){},s=[],p=u("Reflect","construct"),l=/^\s*(?:class|function)\b/,v=e(l.exec),d=!l.exec(f),h=function(t){if(!i(t))return!1;try{return p(f,s,t),!0}catch(t){return!1}};t.exports=!p||o((function(){var t;return h(h.call)||!h(Object)||!h((function(){t=!0}))||t}))?function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return d||!!v(l,c(t))}:h},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(5),i=Function.prototype,a=e&&Object.getOwnPropertyDescriptor,u=o(i,"name"),c=u&&"something"===function(){}.name,f=u&&(!e||e&&a(i,"name").configurable);t.exports={EXISTS:u,PROPER:c,CONFIGURABLE:f}},function(t,n,r){var e=r(42),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(52),o=r(1),i=r(54),a=r(15),u=r(17),c=r(70),f=o([].push),s=function(t){var n=1==t,r=2==t,o=3==t,s=4==t,p=6==t,l=7==t,v=5==t||p;return function(d,h,y,_){for(var g,x,m=a(d),b=i(m),w=e(h,y),S=u(b),O=0,P=_||c,M=n?P(d,S):r||l?P(d,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:f(M,g)}else switch(t){case 4:return!1;case 7:f(M,g)}return p?-1:o||s?s:M}};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,n,r){var e=r(64),o=r(46);t.exports=Object.keys||function(t){return e(t,o)}},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,r){"use strict";var e=r(12),o=r(106),i=r(27),a=r(21),u=r(67),c=a.set,f=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=f(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){"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(0),o=r(5),i=r(2),a=r(15),u=r(30),c=r(102),f=u("IE_PROTO"),s=e.Object,p=s.prototype;t.exports=c?s.getPrototypeOf:function(t){var n=a(t);if(o(n,f))return n[f];var r=n.constructor;return i(r)&&n instanceof r?r.prototype:n instanceof s?p:null}},function(t,n,r){var e=r(1),o=r(5),i=r(12),a=r(83).indexOf,u=r(23),c=e([].push);t.exports=function(t,n){var r,e=i(t),f=0,s=[];for(r in e)!o(u,r)&&o(e,r)&&c(s,r);for(;n.length>f;)o(e,r=n[f++])&&(~a(s,r)||c(s,r));return s}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(43),o=r(14),i=r(101);e||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,n,r){"use strict";var e=r(6),o=r(11),i=r(29),a=r(55),u=r(2),c=r(108),f=r(63),s=r(75),p=r(48),l=r(16),v=r(14),d=r(4),h=r(27),y=r(77),_=a.PROPER,g=a.CONFIGURABLE,x=y.IteratorPrototype,m=y.BUGGY_SAFARI_ITERATORS,b=d("iterator"),w=function(){return this};t.exports=function(t,n,r,a,d,y,S){c(r,n,a);var O,P,M,E=function(t){if(t===d&&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)}},j=n+" Iterator",A=!1,T=t.prototype,L=T[b]||T["@@iterator"]||d&&T[d],I=!m&&L||E(d),R="Array"==n&&T.entries||L;if(R&&(O=f(R.call(new t)))!==Object.prototype&&O.next&&(i||f(O)===x||(s?s(O,x):u(O[b])||v(O,b,w)),p(O,j,!0,!0),i&&(h[j]=w)),_&&"values"==d&&L&&"values"!==L.name&&(!i&&g?l(T,"name","values"):(A=!0,I=function(){return o(L,this)})),d)if(P={values:E("values"),keys:y?I:E("keys"),entries:E("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:d}),h[n]=I,P}},function(t,n,r){var e=r(5),o=r(82),i=r(24),a=r(9);t.exports=function(t,n){for(var r=o(n),u=a.f,c=i.f,f=0;f<r.length;f++){var s=r[f];e(t,s)||u(t,s,c(n,s))}}},function(t,n,r){var e=r(3),o=r(2),i=/#|\.prototype\./,a=function(t,n){var r=c[u(t)];return r==s||r!=f&&(o(n)?e(n):!!n)},u=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=a.data={},f=a.NATIVE="N",s=a.POLYFILL="P";t.exports=a},function(t,n,r){var e=r(100);t.exports=function(t,n){return new(e(t))(0===n?0:n)}},function(t,n,r){"use strict";var e=r(57).forEach,o=r(79)("forEach");t.exports=o?[].forEach:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,n){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,n,r){var e=r(44)("span").classList,o=e&&e.constructor&&e.constructor.prototype;t.exports=o===Object.prototype?void 0:o},function(t,n,r){var e=r(3),o=r(4),i=r(47),a=o("species");t.exports=function(t){return i>=51||!e((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},function(t,n,r){var e=r(1),o=r(10),i=r(109);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,r={};try{(t=e(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),n=r instanceof Array}catch(t){}return function(r,e){return o(r),i(e),n?t(r,e):r.__proto__=e,r}}():void 0)},function(t,n,r){var e=r(1);t.exports=e([].slice)},function(t,n,r){"use strict";var e,o,i,a=r(3),u=r(2),c=r(18),f=r(63),s=r(14),p=r(4),l=r(29),v=p("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(e=o):d=!0),null==e||a((function(){var t={};return e[v].call(t)!==t}))?e={}:l&&(e=c(e)),u(e[v])||s(e,v,(function(){return this})),t.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:d}},function(t,n,r){var e=r(13);t.exports=e("navigator","userAgent")||""},function(t,n,r){"use strict";var e=r(3);t.exports=function(t,n){var r=[][t];return!!r&&e((function(){r.call(null,n||function(){throw 1},1)}))}},function(t,n,r){"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(6),o=r(0),i=r(13),a=r(90),u=r(11),c=r(1),f=r(29),s=r(7),p=r(45),l=r(3),v=r(5),d=r(33),h=r(2),y=r(8),_=r(25),g=r(39),x=r(10),m=r(15),b=r(12),w=r(26),S=r(22),O=r(20),P=r(18),M=r(58),E=r(37),j=r(103),A=r(65),T=r(24),L=r(9),I=r(62),R=r(76),C=r(14),F=r(34),k=r(30),N=r(23),D=r(36),G=r(4),V=r(86),W=r(89),B=r(48),H=r(21),U=r(57).forEach,Y=k("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=j.f,ot=I.f,it=c([].push),at=F("symbols"),ut=F("op-symbols"),ct=F("string-to-symbol-registry"),ft=F("symbol-to-string-registry"),st=F("wks"),pt=!Z||!Z.prototype||!Z.prototype.findChild,lt=s&&l((function(){return 7!=P(rt({},"a",{get:function(){return rt(this,"a",{value:7}).a}})).a}))?function(t,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}),s||(r.description=n),r},dt=function(t,n,r){t===K&&dt(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),lt(t,e,r)):rt(t,e,r)},ht=function(t,n){x(t);var r=b(n),e=M(r).concat(xt(r));return U(e,(function(n){s&&!u(yt,r,n)||dt(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};(p||(C(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),lt(this,n,O(1,t))};return s&&pt&<(K,n,{configurable:!0,set:r}),vt(n,t)}).prototype,"toString",(function(){return $(this).tag})),C(q,"withoutSetter",(function(t){return vt(D(t),t)})),I.f=yt,L.f=dt,T.f=_t,E.f=j.f=gt,A.f=xt,V.f=function(t){return vt(G(t),t)},s&&(rt(J,"description",{configurable:!0,get:function(){return $(this).description}}),f||C(K,"propertyIsEnumerable",yt,{unsafe:!0}))),e({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:q}),U(M(st),(function(t){W(t)})),e({target:"Symbol",stat:!0,forced:!p},{for:function(t){var n=S(t);if(v(ct,n))return ct[n];var r=q(n);return ct[n]=r,ft[r]=n,r},keyFor:function(t){if(!g(t))throw Q(t+" is not a symbol");if(v(ft,t))return ft[t]},useSetter:function(){pt=!0},useSimple:function(){pt=!1}}),e({target:"Object",stat:!0,forced:!p,sham:!s},{create:function(t,n){return void 0===n?P(t):ht(P(t),n)},defineProperty:dt,defineProperties:ht,getOwnPropertyDescriptor:_t}),e({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:gt,getOwnPropertySymbols:xt}),e({target:"Object",stat:!0,forced:l((function(){A.f(1)}))},{getOwnPropertySymbols:function(t){return A.f(m(t))}}),tt)&&e({target:"JSON",stat:!0,forced:!p||l((function(){var t=q();return"[null]"!=tt([t])||"{}"!=tt({a:t})||"{}"!=tt(Object(t))}))},{stringify:function(t,n,r){var e=R(arguments),o=n;if((y(n)||void 0!==t)&&!g(t))return d(n)||(n=function(t,n){if(h(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;C(J,z,(function(t){return u(mt,this)}))}B(q,"Symbol"),N[Y]=!0},function(t,n,r){var e=r(13),o=r(1),i=r(37),a=r(65),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(12),o=r(56),i=r(17),a=function(t){return function(n,r,a){var u,c=e(n),f=i(c),s=o(a,f);if(t&&r!=r){for(;f>s;)if((u=c[s++])!=u)return!0}else for(;f>s;s++)if((t||s in c)&&c[s]===r)return t||s||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,n,r){var e=r(42),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){var e=r(31),o=r(50),i=r(27),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(4);n.f=e},function(t,n,r){var e=r(0),o=r(11),i=r(8),a=r(39),u=r(50),c=r(98),f=r(4),s=e.TypeError,p=f("toPrimitive");t.exports=function(t,n){if(!i(t)||a(t))return t;var r,e=u(t,p);if(e){if(void 0===n&&(n="default"),r=o(e,t,n),!i(r)||a(r))return r;throw s("Can't convert object to primitive value")}return void 0===n&&(n="number"),c(t,n)}},function(t,n,r){var e=r(0),o=r(72),i=r(73),a=r(61),u=r(16),c=r(4),f=c("iterator"),s=c("toStringTag"),p=a.values,l=function(t,n){if(t){if(t[f]!==p)try{u(t,f,p)}catch(n){t[f]=p}if(t[s]||u(t,s,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)l(e[v]&&e[v].prototype,v);l(i,"DOMTokenList")},function(t,n,r){var e=r(115),o=r(5),i=r(86),a=r(9).f;t.exports=function(t){var n=e.Symbol||(e.Symbol={});o(n,t)||a(n,t,{value:i.f(t)})}},function(t,n){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){"use strict";var e=r(6),o=r(7),i=r(0),a=r(1),u=r(5),c=r(2),f=r(25),s=r(22),p=r(9).f,l=r(68),v=i.Symbol,d=v&&v.prototype;if(o&&c(v)&&(!("description"in d)||void 0!==v().description)){var h={},y=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),n=f(d,this)?new v(t):void 0===t?v():v(t);return""===t&&(h[n]=!0),n};l(y,v),y.prototype=d,d.constructor=y;var _="Symbol(test)"==String(v("test")),g=a(d.toString),x=a(d.valueOf),m=/^Symbol\((.*)\)[^)]+$/,b=a("".replace),w=a("".slice);p(d,"description",{configurable:!0,get:function(){var t=x(this),n=g(t);if(u(h,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(89)("iterator")},function(t,n,r){"use strict";var e=r(6),o=r(71);e({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,n,r){var e=r(0),o=r(72),i=r(73),a=r(71),u=r(16),c=function(t){if(t&&t.forEach!==a)try{u(t,"forEach",a)}catch(n){t.forEach=a}};for(var f in o)o[f]&&c(e[f]&&e[f].prototype);c(i)},function(t,n,r){var e=r(7),o=r(9),i=r(10),a=r(12),u=r(58);t.exports=e?Object.defineProperties:function(t,n){i(t);for(var r,e=a(n),c=u(n),f=c.length,s=0;f>s;)o.f(t,r=c[s++],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(8),u=e.TypeError;t.exports=function(t,n){var r,e;if("string"===n&&i(r=t.toString)&&!a(e=o(r,t)))return e;if(i(r=t.valueOf)&&!a(e=o(r,t)))return e;if("string"!==n&&i(r=t.toString)&&!a(e=o(r,t)))return e;throw u("Can't convert object to primitive value")}},function(t,n,r){var e=r(0),o=r(2),i=r(38),a=e.WeakMap;t.exports=o(a)&&/native code/.test(i(a))},function(t,n,r){var e=r(0),o=r(33),i=r(53),a=r(8),u=r(4)("species"),c=e.Array;t.exports=function(t){var n;return o(t)&&(n=t.constructor,(i(n)&&(n===c||o(n.prototype))||a(n)&&null===(n=n[u]))&&(n=void 0)),void 0===n?c:n}},function(t,n,r){"use strict";var e=r(43),o=r(31);t.exports=e?{}.toString:function(){return"[object "+o(this)+"]"}},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(19),o=r(12),i=r(37).f,a=r(107),u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"Window"==e(t)?function(t){try{return i(t)}catch(t){return a(u)}}(t):i(o(t))}},function(t,n,r){var e=r(13);t.exports=e("document","documentElement")},function(t,n,r){var e=r(1),o=r(42),i=r(22),a=r(32),u=e("".charAt),c=e("".charCodeAt),f=e("".slice),s=function(t){return function(n,r){var e,s,p=i(a(n)),l=o(r),v=p.length;return l<0||l>=v?t?"":void 0:(e=c(p,l))<55296||e>56319||l+1===v||(s=c(p,l+1))<56320||s>57343?t?u(p,l):e:t?f(p,l,l+2):s-56320+(e-55296<<10)+65536}};t.exports={codeAt:s(!1),charAt:s(!0)}},function(t,n,r){var e=r(4),o=r(18),i=r(9),a=e("unscopables"),u=Array.prototype;null==u[a]&&i.f(u,a,{configurable:!0,value:o(null)}),t.exports=function(t){u[a][t]=!0}},function(t,n,r){var e=r(0),o=r(56),i=r(17),a=r(49),u=e.Array,c=Math.max;t.exports=function(t,n,r){for(var e=i(t),f=o(n,e),s=o(void 0===r?e:r,e),p=u(c(s-f,0)),l=0;f<s;f++,l++)a(p,l,t[f]);return p.length=l,p}},function(t,n,r){"use strict";var e=r(77).IteratorPrototype,o=r(18),i=r(20),a=r(48),u=r(27),c=function(){return this};t.exports=function(t,n,r,f){var s=n+" Iterator";return t.prototype=o(e,{next:i(+!f,r)}),a(t,s,!1,!0),u[s]=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){var e=r(4),o=r(27),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(35),a=r(10),u=r(51),c=r(85),f=e.TypeError;t.exports=function(t,n){var r=arguments.length<2?c(t):n;if(i(r))return a(o(r,t));throw f(u(t)+" is not iterable")}},function(t,n,r){var e=r(11),o=r(10),i=r(50);t.exports=function(t,n,r){var a,u;o(t);try{if(!(a=i(t,"return"))){if("throw"===n)throw r;return r}a=e(a,t)}catch(t){u=!0,a=t}if("throw"===n)throw r;if(u)throw a;return o(a),r}},function(t,n,r){var e=r(4)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[e]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i={};i[e]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},function(t,n,r){"use strict";var e,o,i=r(11),a=r(1),u=r(22),c=r(124),f=r(123),s=r(34),p=r(18),l=r(21).get,v=r(130),d=r(131),h=s("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=f.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];(w||O||S||v||d)&&(_=function(t){var n,r,e,o,a,f,s,v=this,d=l(v),P=u(t),M=d.raw;if(M)return M.lastIndex=v.lastIndex,n=i(_,M,P),v.lastIndex=M.lastIndex,n;var E=d.groups,j=S&&v.sticky,A=i(c,v),T=v.source,L=0,I=P;if(j&&(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,j?r:v,I),j?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(h,o[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&E)for(o.groups=f=p(null),a=0;a<E.length;a++)f[(s=E[a])[0]]=o[s[1]];return o}),t.exports=_},function(t,n,r){var e=r(0);t.exports=e},,,function(t,n,r){"use strict";var e=r(6),o=r(114);e({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(t,n,r){"use strict";var e=r(6),o=r(0),i=r(3),a=r(33),u=r(8),c=r(15),f=r(17),s=r(49),p=r(70),l=r(74),v=r(4),d=r(47),h=v("isConcatSpreadable"),y=o.TypeError,_=d>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),g=l("concat"),x=function(t){if(!u(t))return!1;var n=t[h];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=p(a,0),l=0;for(n=-1,e=arguments.length;n<e;n++)if(x(i=-1===n?a:arguments[n])){if(l+(o=f(i))>9007199254740991)throw y("Maximum allowed index exceeded");for(r=0;r<o;r++,l++)r in i&&s(u,l,i[r])}else{if(l>=9007199254740991)throw y("Maximum allowed index exceeded");s(u,l++,i)}return u.length=l,u}})},,,,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){"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(6),o=r(132);e({target:"Array",stat:!0,forced:!r(113)((function(t){Array.from(t)}))},{from:o})},,,,,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){"use strict";var e=r(0),o=r(52),i=r(11),a=r(15),u=r(133),c=r(110),f=r(53),s=r(17),p=r(49),l=r(111),v=r(85),d=e.Array;t.exports=function(t){var n=a(t),r=f(this),e=arguments.length,h=e>1?arguments[1]:void 0,y=void 0!==h;y&&(h=o(h,e>2?arguments[2]:void 0));var _,g,x,m,b,w,S=v(n),O=0;if(!S||this==d&&c(S))for(_=s(n),g=r?new this(_):d(_);_>O;O++)w=y?h(n[O],O):n[O],p(g,O,w);else for(b=(m=l(n,S)).next,g=r?new this:[];!(x=i(b,m)).done;O++)w=y?u(m,h,[x.value,O],!0):x.value,p(g,O,w);return g.length=O,g}},function(t,n,r){var e=r(10),o=r(112);t.exports=function(t,n,r,i){try{return i?n(e(r)[0],r[1]):n(r)}catch(n){o(t,"throw",n)}}},function(t,n,r){r(6)({target:"Array",stat:!0},{isArray:r(33)})},,function(t,n,r){"use strict";var e=r(6),o=r(0),i=r(33),a=r(53),u=r(8),c=r(56),f=r(17),s=r(12),p=r(49),l=r(4),v=r(74),d=r(76),h=v("slice"),y=l("species"),_=o.Array,g=Math.max;e({target:"Array",proto:!0,forced:!h},{slice:function(t,n){var r,e,o,l=s(this),v=f(l),h=c(t,v),x=c(void 0===n?v:n,v);if(i(l)&&(r=l.constructor,(a(r)&&(r===_||i(r.prototype))||u(r)&&null===(r=r[y]))&&(r=void 0),r===_||void 0===r))return d(l,h,x);for(e=new(void 0===r?_:r)(g(x-h,0)),o=0;h<x;h++,o++)h in l&&p(e,o,l[h]);return e.length=o,e}})},function(t,n,r){var e=r(7),o=r(55).EXISTS,i=r(1),a=r(9).f,u=Function.prototype,c=i(u.toString),f=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(f.exec);e&&!o&&a(u,"name",{configurable:!0,get:function(){try{return s(f,c(this))[1]}catch(t){return""}}})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,r){"use strict";r.r(n),r.d(n,"MiniMap",(function(){return i}));r(119),r(94),r(66),r(95),r(61),r(88),r(136),r(137),r(125),r(80),r(118),r(81),r(92),r(93),r(134);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}var i={pluginName:"minimap",__lf:null,__container:null,__miniMapWrap:null,__miniMapContainer:null,__lfMap:null,__viewport:null,__width:150,__height:220,__miniMapWidth:450,__miniMapHeight:660,__viewPortTop:0,__viewPortLeft:0,__startPosition:null,__viewPortScale:1,__viewPortWidth:150,__viewPortHeight:75,__resetDataX:0,__resetDataY:0,__LogicFlow:null,__disabledPlugins:["minimap","control","selection-select"],install:function(t,n){i.__lf=t,i.__miniMapWidth=t.graphModel.width,i.__miniMapHeight=220*t.graphModel.width/150,i.__LogicFlow=n,this.__init(),i.__isShow=!1},init:function(t){this.__disabledPlugins=this.__disabledPlugins.concat(t.disabledPlugins||[])},render:function(t,n){i.__container=n;["node:add","node:delete","edge:add","edge:delete","node:drop","blank:drop"].forEach((function(t){i.__lf.on(t,(function(){i.__isShow&&i.__setView()}))}))},show:function(t,n){i.__setView(),i.__isShow||i.__createMiniMap(t,n),i.__isShow=!0},hide:function(){i.__isShow&&i.__removeMiniMap(),i.__isShow=!1},__init:function(){var t=document.createElement("div");t.className="lf-mini-map-graph",t.style.width="".concat(i.__width,"px"),t.style.height="".concat(i.__height,"px"),i.__lfMap=new i.__LogicFlow({width:i.__lf.graphModel.width,height:220*i.__lf.graphModel.width/150,container:t,isSilentMode:!0,stopZoomGraph:!0,stopScrollGraph:!0,stopMoveGraph:!0,hideAnchors:!0,hoverOutline:!1,disabledPlugins:i.__disabledPlugins}),i.__lfMap.adapterIn=function(t){return t},i.__lfMap.adapterOut=function(t){return t},i.__miniMapWrap=t,i.__createViewPort()},__createMiniMap:function(t,n){var r=document.createElement("div"),e=i.__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",i.__container.appendChild(r),i.__miniMapWrap.appendChild(i.__viewport);var o=document.createElement("div");o.className="lf-mini-map-header",o.innerText="导航",r.appendChild(o);var a=document.createElement("span");a.className="lf-mini-map-close",a.addEventListener("click",i.hide),r.appendChild(a),i.__miniMapContainer=r},__removeMiniMap:function(){i.__container.removeChild(i.__miniMapContainer)},__getBounds:function(t){var n=0,r=i.__miniMapWidth,e=0,o=i.__miniMapHeight,a=t.nodes;return a&&a.length>0&&a.forEach((function(t){var i=t.x,a=t.y,u=t.width,c=void 0===u?200:u,f=t.height,s=void 0===f?200:f,p=i-c/2,l=i+c/2,v=a-s/2,d=a+s/2;n=p<n?p:n,r=l>r?l:r,e=v<e?v:e,o=d>o?d:o})),{left:n,top:e,bottom:o,right:r}},__resetData: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,f=r-(void 0===u?200:u)/2;e=c<e?c:e,o=f<o?f:o})),(e<0||o<0)&&(i.__resetDataX=e,i.__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},__setView:function(){var t,n=i.__resetData(i.__lf.getGraphRawData()),r=i.__lf.viewMap,o=i.__lf.graphModel.modelMap,a=i.__lfMap.viewMap,u=e(r.keys());try{for(u.s();!(t=u.n()).done;){var c=t.value;a.has(c)||(i.__lfMap.setView(c,r.get(c)),i.__lfMap.graphModel.modelMap.set(c,o.get(c)))}}catch(t){u.e(t)}finally{u.f()}i.__lfMap.render(n);var f=i.__getBounds(n),s=f.left,p=f.top,l=f.right,v=f.bottom,d=i.__width/(l-s),h=i.__height/(v-p),y=i.__miniMapWrap.firstChild.style,_=Math.min(d,h);y.transform="matrix(".concat(_,", 0, 0, ").concat(_,", 0, 0)"),y.transformOrigin="left top",y.height="".concat(v-Math.min(p,0),"px"),y.width="".concat(l-Math.min(s,0),"px"),i.__viewPortScale=_,i.__setViewPort(_,{left:s,top:p,right:l,bottom:v})},__setViewPort:function(t,n){var r=n.left,e=n.right,o=i.__viewport.style;o.width="".concat(i.__width-4,"px"),o.height="".concat((i.__width-4)/(i.__lf.graphModel.width/i.__lf.graphModel.height),"px");var a=i.__lf.getTransform(),u=a.TRANSLATE_X,c=a.TRANSLATE_Y,f=e-r,s=(i.__width-4)/(f/i.__lf.graphModel.width),p=s/(i.__lf.graphModel.width/i.__lf.graphModel.height);i.__viewPortTop=c>0?0:-c*t,i.__viewPortLeft=-u*t,i.__viewPortWidth=s,i.__viewPortHeight=p,o.top="".concat(i.__viewPortTop,"px"),o.left="".concat(i.__viewPortLeft,"px"),o.width="".concat(s,"px"),o.height="".concat(p,"px")},__createViewPort:function(){var t=document.createElement("div");t.className="lf-minimap-viewport",t.addEventListener("mousedown",i.__startDrag),i.__viewport=t},__startDrag:function(t){document.addEventListener("mousemove",i.__drag),document.addEventListener("mouseup",i.__drop),i.__startPosition={x:t.x,y:t.y}},__drag:function(t){var n=i.__viewport.style;i.__viewPortTop+=t.y-i.__startPosition.y,i.__viewPortLeft+=t.x-i.__startPosition.x,n.top="".concat(i.__viewPortTop,"px"),n.left="".concat(i.__viewPortLeft,"px"),i.__startPosition={x:t.x,y:t.y};var r=(i.__viewPortLeft+i.__viewPortWidth/2)/i.__viewPortScale,e=(i.__viewPortTop+i.__viewPortHeight/2)/i.__viewPortScale;i.__lf.focusOn({coordinate:{x:r+i.__resetDataX,y:e+i.__resetDataY}})},__drop:function(){document.removeEventListener("mousemove",i.__drag),document.removeEventListener("mouseup",i.__drop)}};n.default=i}])}));
|
package/lib/Snapshot.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 e=n();for(var r in e)("object"==typeof exports?exports:t)[r]=e[r]}}(window,(function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=187)}([function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,e(97))},function(t,n){var e=Function.prototype,r=e.bind,o=e.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,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,e){var r=e(0),o=e(34),i=e(5),c=e(36),u=e(45),a=e(59),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 n="Symbol."+t;u&&i(s,t)?f[t]=s[t]:f[t]=a&&l?l(n):p(n)}return f[t]}},function(t,n,e){var r=e(1),o=e(15),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,e){var r=e(0),o=e(24).f,i=e(16),c=e(14),u=e(41),a=e(68),f=e(69);t.exports=function(t,n){var e,s,l,p,v,d=t.target,h=t.global,g=t.stat;if(e=h?r:g?r[d]||u(d,{}):(r[d]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(e,s))&&v.value:e[s],!f(h?s:d+(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(e,s,p,t)}}},function(t,n,e){var r=e(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,e){var r=e(2);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},function(t,n,e){var r=e(0),o=e(7),i=e(60),c=e(10),u=e(26),a=r.TypeError,f=Object.defineProperty;n.f=o?f:function(t,n,e){if(c(t),n=u(n),c(e),i)try{return f(t,n,e)}catch(t){}if("get"in e||"set"in e)throw a("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(0),o=e(8),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,n){var e=Function.prototype.call;t.exports=e.bind?e.bind(e):function(){return e.apply(e,arguments)}},function(t,n,e){var r=e(54),o=e(32);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(0),o=e(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(r[t]):r[t]&&r[t][n]}},function(t,n,e){var r=e(0),o=e(2),i=e(5),c=e(16),u=e(41),a=e(38),f=e(21),s=e(55).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,n,e,a){var f,l=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,h=!!a&&!!a.noTargetGet,g=a&&void 0!==a.name?a.name:n;o(e)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(e,"name")||s&&e.name!==g)&&c(e,"name",g),(f=p(e)).source||(f.source=v.join("string"==typeof g?g:""))),t!==r?(l?!h&&t[n]&&(d=!0):delete t[n],d?t[n]=e:c(t,n,e)):d?t[n]=e:u(n,e)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||a(this)}))},function(t,n,e){var r=e(0),o=e(32),i=r.Object;t.exports=function(t){return i(o(t))}},function(t,n,e){var r=e(7),o=e(9),i=e(20);t.exports=r?function(t,n,e){return o.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(84);t.exports=function(t){return r(t.length)}},function(t,n,e){var r,o=e(10),i=e(96),c=e(46),u=e(23),a=e(104),f=e(44),s=e(30),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},d=function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n},h=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,n;h="undefined"!=typeof document?document.domain&&r?d(r):((n=f("iframe")).style.display="none",a.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):d(r);for(var e=c.length;e--;)delete h.prototype[c[e]];return h()};u[l]=!0,t.exports=Object.create||function(t,n){var e;return null!==t?(p.prototype=o(t),e=new p,p.prototype=null,e[l]=t):e=h(),void 0===n?e:i(e,n)}},function(t,n,e){var r=e(1),o=r({}.toString),i=r("".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,e){var r,o,i,c=e(99),u=e(0),a=e(1),f=e(8),s=e(16),l=e(5),p=e(40),v=e(30),d=e(23),h=u.TypeError,g=u.WeakMap;if(c||p.state){var x=p.state||(p.state=new g),y=a(x.get),m=a(x.has),b=a(x.set);r=function(t,n){if(m(x,t))throw new h("Object already initialized");return n.facade=t,b(x,t,n),n},o=function(t){return y(x,t)||{}},i=function(t){return m(x,t)}}else{var w=v("state");d[w]=!0,r=function(t,n){if(l(t,w))throw new h("Object already initialized");return n.facade=t,s(t,w,n),n},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(n){var e;if(!f(n)||(e=o(n)).type!==t)throw h("Incompatible receiver, "+t+" required");return e}}}},function(t,n,e){var r=e(0),o=e(31),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,n){t.exports={}},function(t,n,e){var r=e(7),o=e(11),i=e(62),c=e(20),u=e(12),a=e(26),f=e(5),s=e(60),l=Object.getOwnPropertyDescriptor;n.f=r?l:function(t,n){if(t=u(t),n=a(n),s)try{return l(t,n)}catch(t){}if(f(t,n))return c(!o(i.f,t,n),t[n])}},function(t,n,e){var r=e(1);t.exports=r({}.isPrototypeOf)},function(t,n,e){var r=e(87),o=e(39);t.exports=function(t){var n=r(t,"string");return o(n)?n:n+""}},function(t,n){t.exports={}},,function(t,n){t.exports=!1},function(t,n,e){var r=e(34),o=e(36),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n,e){var r=e(0),o=e(43),i=e(2),c=e(19),u=e(4)("toStringTag"),a=r.Object,f="Arguments"==c(function(){return arguments}());t.exports=o?c:function(t){var n,e,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=a(t),u))?e:f?c(n):"Object"==(r=c(n))&&i(n.callee)?"Arguments":r}},function(t,n,e){var r=e(0).TypeError;t.exports=function(t){if(null==t)throw r("Can't call method on "+t);return t}},function(t,n,e){var r=e(19);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(29),o=e(40);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.19.3",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(0),o=e(2),i=e(51),c=r.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not a function")}},function(t,n,e){var r=e(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,n,e){var r=e(64),o=e(46).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n,e){var r=e(1),o=e(2),i=e(40),c=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return c(t)}),t.exports=i.inspectSource},function(t,n,e){var r=e(0),o=e(13),i=e(2),c=e(25),u=e(59),a=r.Object;t.exports=u?function(t){return"symbol"==typeof t}:function(t){var n=o("Symbol");return i(n)&&c(n.prototype,a(t))}},function(t,n,e){var r=e(0),o=e(41),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,n,e){var r=e(0),o=Object.defineProperty;t.exports=function(t,n){try{o(r,t,{value:n,configurable:!0,writable:!0})}catch(e){r[t]=n}return n}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){var n=+t;return n!=n||0===n?0:(n>0?r:e)(n)}},function(t,n,e){var r={};r[e(4)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,n,e){var r=e(0),o=e(8),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,n,e){var r=e(47),o=e(3);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n,e){var r,o,i=e(0),c=e(78),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,n,e){var r=e(9).f,o=e(5),i=e(4)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){"use strict";var r=e(26),o=e(9),i=e(20);t.exports=function(t,n,e){var c=r(n);c in t?o.f(t,c,i(0,e)):t[c]=e}},function(t,n,e){var r=e(35);t.exports=function(t,n){var e=t[n];return null==e?void 0:r(e)}},function(t,n,e){var r=e(0).String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},function(t,n,e){var r=e(1),o=e(35),i=r(r.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,e){var r=e(1),o=e(3),i=e(2),c=e(31),u=e(13),a=e(38),f=function(){},s=[],l=u("Reflect","construct"),p=/^\s*(?:class|function)\b/,v=r(p.exec),d=!p.exec(f),h=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 h(h.call)||!h(Object)||!h((function(){t=!0}))||t}))?function(t){if(!i(t))return!1;switch(c(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return d||!!v(p,a(t))}:h},function(t,n,e){var r=e(0),o=e(1),i=e(3),c=e(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,n,e){var r=e(7),o=e(5),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,n,e){var r=e(42),o=Math.max,i=Math.min;t.exports=function(t,n){var e=r(t);return e<0?o(e+n,0):i(e,n)}},function(t,n,e){var r=e(52),o=e(1),i=e(54),c=e(15),u=e(17),a=e(70),f=o([].push),s=function(t){var n=1==t,e=2==t,o=3==t,s=4==t,l=6==t,p=7==t,v=5==t||l;return function(d,h,g,x){for(var y,m,b=c(d),w=i(b),S=r(h,g),E=u(w),O=0,j=x||a,I=n?j(d,E):e||p?j(d,0):void 0;E>O;O++)if((v||O in w)&&(m=S(y=w[O],O,b),t))if(n)I[O]=m;else if(m)switch(t){case 3:return!0;case 5:return y;case 6:return O;case 2:f(I,y)}else switch(t){case 4:return!1;case 7:f(I,y)}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,n,e){var r=e(64),o=e(46);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){var r=e(45);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,e){var r=e(7),o=e(3),i=e(44);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},,function(t,n,e){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:r},function(t,n,e){var r=e(0),o=e(5),i=e(2),c=e(15),u=e(30),a=e(102),f=u("IE_PROTO"),s=r.Object,l=s.prototype;t.exports=a?s.getPrototypeOf:function(t){var n=c(t);if(o(n,f))return n[f];var e=n.constructor;return i(e)&&n instanceof e?e.prototype:n instanceof s?l:null}},function(t,n,e){var r=e(1),o=e(5),i=e(12),c=e(83).indexOf,u=e(23),a=r([].push);t.exports=function(t,n){var e,r=i(t),f=0,s=[];for(e in r)!o(u,e)&&o(r,e)&&a(s,e);for(;n.length>f;)o(r,e=n[f++])&&(~c(s,e)||a(s,e));return s}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(43),o=e(14),i=e(101);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,n,e){"use strict";var r=e(6),o=e(11),i=e(29),c=e(55),u=e(2),a=e(108),f=e(63),s=e(75),l=e(48),p=e(16),v=e(14),d=e(4),h=e(27),g=e(77),x=c.PROPER,y=c.CONFIGURABLE,m=g.IteratorPrototype,b=g.BUGGY_SAFARI_ITERATORS,w=d("iterator"),S=function(){return this};t.exports=function(t,n,e,c,d,g,E){a(e,n,c);var O,j,I,T=function(t){if(t===d&&_)return _;if(!b&&t in N)return N[t];switch(t){case"keys":case"values":case"entries":return function(){return new e(this,t)}}return function(){return new e(this)}},A=n+" Iterator",R=!1,N=t.prototype,P=N[w]||N["@@iterator"]||d&&N[d],_=!b&&P||T(d),L="Array"==n&&N.entries||P;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,A,!0,!0),i&&(h[A]=S)),x&&"values"==d&&P&&"values"!==P.name&&(!i&&y?p(N,"name","values"):(R=!0,_=function(){return o(P,this)})),d)if(j={values:T("values"),keys:g?_:T("keys"),entries:T("entries")},E)for(I in j)(b||R||!(I in N))&&v(N,I,j[I]);else r({target:n,proto:!0,forced:b||R},j);return i&&!E||N[w]===_||v(N,w,_,{name:d}),h[n]=_,j}},function(t,n,e){var r=e(5),o=e(82),i=e(24),c=e(9);t.exports=function(t,n){for(var e=o(n),u=c.f,a=i.f,f=0;f<e.length;f++){var s=e[f];r(t,s)||u(t,s,a(n,s))}}},function(t,n,e){var r=e(3),o=e(2),i=/#|\.prototype\./,c=function(t,n){var e=a[u(t)];return e==s||e!=f&&(o(n)?r(n):!!n)},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,n,e){var r=e(100);t.exports=function(t,n){return new(r(t))(0===n?0:n)}},function(t,n,e){"use strict";var r=e(57).forEach,o=e(79)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},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,e){var r=e(44)("span").classList,o=r&&r.constructor&&r.constructor.prototype;t.exports=o===Object.prototype?void 0:o},function(t,n,e){var r=e(3),o=e(4),i=e(47),c=o("species");t.exports=function(t){return i>=51||!r((function(){var n=[];return(n.constructor={})[c]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},function(t,n,e){var r=e(1),o=e(10),i=e(109);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,e={};try{(t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(e,[]),n=e instanceof Array}catch(t){}return function(e,r){return o(e),i(r),n?t(e,r):e.__proto__=r,e}}():void 0)},function(t,n,e){var r=e(1);t.exports=r([].slice)},function(t,n,e){"use strict";var r,o,i,c=e(3),u=e(2),a=e(18),f=e(63),s=e(14),l=e(4),p=e(29),v=l("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(r=o):d=!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:d}},function(t,n,e){var r=e(13);t.exports=r("navigator","userAgent")||""},function(t,n,e){"use strict";var r=e(3);t.exports=function(t,n){var e=[][t];return!!e&&r((function(){e.call(null,n||function(){throw 1},1)}))}},function(t,n,e){"use strict";var r=e(105).charAt,o=e(22),i=e(21),c=e(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,n=a(this),e=n.string,o=n.index;return o>=e.length?{value:void 0,done:!0}:(t=r(e,o),n.index+=t.length,{value:t,done:!1})}))},,function(t,n,e){var r=e(13),o=e(1),i=e(37),c=e(65),u=e(10),a=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var n=i.f(u(t)),e=c.f;return e?a(n,e(t)):n}},function(t,n,e){var r=e(12),o=e(56),i=e(17),c=function(t){return function(n,e,c){var u,a=r(n),f=i(a),s=o(c,f);if(t&&e!=e){for(;f>s;)if((u=a[s++])!=u)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===e)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},function(t,n,e){var r=e(42),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(31),o=e(50),i=e(27),c=e(4)("iterator");t.exports=function(t){if(null!=t)return o(t,c)||o(t,"@@iterator")||i[r(t)]}},,function(t,n,e){var r=e(0),o=e(11),i=e(8),c=e(39),u=e(50),a=e(98),f=e(4),s=r.TypeError,l=f("toPrimitive");t.exports=function(t,n){if(!i(t)||c(t))return t;var e,r=u(t,l);if(r){if(void 0===n&&(n="default"),e=o(r,t,n),!i(e)||c(e))return e;throw s("Can't convert object to primitive value")}return void 0===n&&(n="number"),a(t,n)}},,,function(t,n){var e=Function.prototype,r=e.apply,o=e.bind,i=e.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?i.bind(r):function(){return i.apply(r,arguments)})},,,,function(t,n,e){"use strict";var r=e(6),o=e(71);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,n,e){var r=e(0),o=e(72),i=e(73),c=e(71),u=e(16),a=function(t){if(t&&t.forEach!==c)try{u(t,"forEach",c)}catch(n){t.forEach=c}};for(var f in o)o[f]&&a(r[f]&&r[f].prototype);a(i)},function(t,n,e){var r=e(7),o=e(9),i=e(10),c=e(12),u=e(58);t.exports=r?Object.defineProperties:function(t,n){i(t);for(var e,r=c(n),a=u(n),f=a.length,s=0;f>s;)o.f(t,e=a[s++],r[e]);return t}},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){var r=e(0),o=e(11),i=e(2),c=e(8),u=r.TypeError;t.exports=function(t,n){var e,r;if("string"===n&&i(e=t.toString)&&!c(r=o(e,t)))return r;if(i(e=t.valueOf)&&!c(r=o(e,t)))return r;if("string"!==n&&i(e=t.toString)&&!c(r=o(e,t)))return r;throw u("Can't convert object to primitive value")}},function(t,n,e){var r=e(0),o=e(2),i=e(38),c=r.WeakMap;t.exports=o(c)&&/native code/.test(i(c))},function(t,n,e){var r=e(0),o=e(33),i=e(53),c=e(8),u=e(4)("species"),a=r.Array;t.exports=function(t){var n;return o(t)&&(n=t.constructor,(i(n)&&(n===a||o(n.prototype))||c(n)&&null===(n=n[u]))&&(n=void 0)),void 0===n?a:n}},function(t,n,e){"use strict";var r=e(43),o=e(31);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,n,e){var r=e(3);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},,function(t,n,e){var r=e(13);t.exports=r("document","documentElement")},function(t,n,e){var r=e(1),o=e(42),i=e(22),c=e(32),u=r("".charAt),a=r("".charCodeAt),f=r("".slice),s=function(t){return function(n,e){var r,s,l=i(c(n)),p=o(e),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,n,e){"use strict";var r=e(77).IteratorPrototype,o=e(18),i=e(20),c=e(48),u=e(27),a=function(){return this};t.exports=function(t,n,e,f){var s=n+" Iterator";return t.prototype=o(r,{next:i(+!f,e)}),c(t,s,!1,!0),u[s]=a,t}},function(t,n,e){var r=e(0),o=e(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,n,e){var r=e(4),o=e(27),i=r("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},function(t,n,e){var r=e(0),o=e(11),i=e(35),c=e(10),u=e(51),a=e(85),f=r.TypeError;t.exports=function(t,n){var e=arguments.length<2?a(t):n;if(i(e))return c(o(e,t));throw f(u(t)+" is not iterable")}},function(t,n,e){var r=e(11),o=e(10),i=e(50);t.exports=function(t,n,e){var c,u;o(t);try{if(!(c=i(t,"return"))){if("throw"===n)throw e;return e}c=r(c,t)}catch(t){u=!0,c=t}if("throw"===n)throw e;if(u)throw c;return o(c),e}},function(t,n,e){var r=e(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,n){if(!n&&!o)return!1;var e=!1;try{var i={};i[r]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}},function(t,n,e){"use strict";var r,o,i=e(11),c=e(1),u=e(22),a=e(124),f=e(123),s=e(34),l=e(18),p=e(21).get,v=e(130),d=e(131),h=s("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,x=g,y=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||d)&&(x=function(t){var n,e,r,o,c,f,s,v=this,d=p(v),j=u(t),I=d.raw;if(I)return I.lastIndex=v.lastIndex,n=i(x,I,j),v.lastIndex=I.lastIndex,n;var T=d.groups,A=E&&v.sticky,R=i(a,v),N=v.source,P=0,_=j;if(A&&(R=b(R,"y",""),-1===m(R,"g")&&(R+="g"),_=w(j,v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&"\n"!==y(j,v.lastIndex-1))&&(N="(?: "+N+")",_=" "+_,P++),e=new RegExp("^(?:"+N+")",R)),O&&(e=new RegExp("^"+N+"$(?!\\s)",R)),S&&(r=v.lastIndex),o=i(g,A?e:v,_),A?o?(o.input=w(o.input,P),o[0]=w(o[0],P),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(h,o[0],e,(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=x},,function(t,n,e){var r=e(0),o=e(52),i=e(11),c=e(10),u=e(51),a=e(110),f=e(17),s=e(25),l=e(111),p=e(85),v=e(112),d=r.TypeError,h=function(t,n){this.stopped=t,this.result=n},g=h.prototype;t.exports=function(t,n,e){var r,x,y,m,b,w,S,E=e&&e.that,O=!(!e||!e.AS_ENTRIES),j=!(!e||!e.IS_ITERATOR),I=!(!e||!e.INTERRUPTED),T=o(n,E),A=function(t){return r&&v(r,"normal",t),new h(!0,t)},R=function(t){return O?(c(t),I?T(t[0],t[1],A):T(t[0],t[1])):I?T(t,A):T(t)};if(j)r=t;else{if(!(x=p(t)))throw d(u(t)+" is not iterable");if(a(x)){for(y=0,m=f(t);m>y;y++)if((b=R(t[y]))&&s(g,b))return b;return new h(!1)}r=l(t,x)}for(w=r.next;!(S=i(w,r)).done;){try{b=R(S.value)}catch(t){v(r,"throw",t)}if("object"==typeof b&&b&&s(g,b))return b}return new h(!1)}},function(t,n,e){var r=e(0),o=e(25),i=r.TypeError;t.exports=function(t,n){if(o(n,t))return t;throw i("Incorrect invocation")}},function(t,n,e){"use strict";var r=e(6),o=e(114);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(t,n,e){"use strict";var r=e(6),o=e(0),i=e(3),c=e(33),u=e(8),a=e(15),f=e(17),s=e(49),l=e(70),p=e(74),v=e(4),d=e(47),h=v("isConcatSpreadable"),g=o.TypeError,x=d>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),y=p("concat"),m=function(t){if(!u(t))return!1;var n=t[h];return void 0!==n?!!n:c(t)};r({target:"Array",proto:!0,forced:!x||!y},{concat:function(t){var n,e,r,o,i,c=a(this),u=l(c,0),p=0;for(n=-1,r=arguments.length;n<r;n++)if(m(i=-1===n?c:arguments[n])){if(p+(o=f(i))>9007199254740991)throw g("Maximum allowed index exceeded");for(e=0;e<o;e++,p++)e in i&&s(u,p,i[e])}else{if(p>=9007199254740991)throw g("Maximum allowed index exceeded");s(u,p++,i)}return u.length=p,u}})},,,function(t,n,e){var r=e(2),o=e(8),i=e(75);t.exports=function(t,n,e){var c,u;return i&&r(c=n.constructor)&&c!==e&&o(u=c.prototype)&&u!==e.prototype&&i(t,u),t}},function(t,n,e){var r=e(3),o=e(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,n,e){"use strict";var r=e(10);t.exports=function(){var t=r(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,e){var r=e(6),o=e(132);r({target:"Array",stat:!0,forced:!e(113)((function(t){Array.from(t)}))},{from:o})},,,,,function(t,n,e){var r=e(3),o=e(0).RegExp;t.exports=r((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},function(t,n,e){var r=e(3),o=e(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,n,e){"use strict";var r=e(0),o=e(52),i=e(11),c=e(15),u=e(133),a=e(110),f=e(53),s=e(17),l=e(49),p=e(111),v=e(85),d=r.Array;t.exports=function(t){var n=c(t),e=f(this),r=arguments.length,h=r>1?arguments[1]:void 0,g=void 0!==h;g&&(h=o(h,r>2?arguments[2]:void 0));var x,y,m,b,w,S,E=v(n),O=0;if(!E||this==d&&a(E))for(x=s(n),y=e?new this(x):d(x);x>O;O++)S=g?h(n[O],O):n[O],l(y,O,S);else for(w=(b=p(n,E)).next,y=e?new this:[];!(m=i(w,b)).done;O++)S=g?u(b,h,[m.value,O],!0):m.value,l(y,O,S);return y.length=O,y}},function(t,n,e){var r=e(10),o=e(112);t.exports=function(t,n,e,i){try{return i?n(r(e)[0],e[1]):n(e)}catch(n){o(t,"throw",n)}}},,,,,,,function(t,n,e){var r=e(14);t.exports=function(t,n,e){for(var o in n)r(t,o,n[o],e);return t}},function(t,n,e){"use strict";var r=e(13),o=e(9),i=e(4),c=e(7),u=i("species");t.exports=function(t){var n=r(t),e=o.f;c&&n&&!n[u]&&e(n,u,{configurable:!0,get:function(){return this}})}},,function(t,n,e){var r=e(0),o=e(53),i=e(51),c=r.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not a constructor")}},,,,,,,,,,function(t,n,e){"use strict";var r=e(6),o=e(1),i=e(83).indexOf,c=e(79),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 n=arguments.length>1?arguments[1]:void 0;return a?u(this,t,n)||0:i(this,t,n)}})},,,,function(t,n,e){"use strict";var r=e(7),o=e(0),i=e(1),c=e(69),u=e(14),a=e(5),f=e(122),s=e(25),l=e(39),p=e(87),v=e(3),d=e(37).f,h=e(24).f,g=e(9).f,x=e(158),y=e(159).trim,m=o.Number,b=m.prototype,w=o.TypeError,S=i("".slice),E=i("".charCodeAt),O=function(t){var n=p(t,"number");return"bigint"==typeof n?n:j(n)},j=function(t){var n,e,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=y(f),43===(n=E(f,0))||45===n){if(88===(e=E(f,2))||120===e)return NaN}else if(48===n){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 n=arguments.length<1?0:m(O(t)),e=this;return s(b,e)&&v((function(){x(e)}))?f(Object(n),e,T):n},A=r?d(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(","),R=0;A.length>R;R++)a(m,I=A[R])&&!a(T,I)&&g(T,I,h(m,I));T.prototype=b,b.constructor=T,u(o,"Number",T)}},function(t,n,e){var r=e(1);t.exports=r(1..valueOf)},function(t,n,e){var r=e(1),o=e(32),i=e(22),c=e(160),u=r("".replace),a="["+c+"]",f=RegExp("^"+a+a+"*"),s=RegExp(a+a+"*$"),l=function(t){return function(n){var e=i(o(n));return 1&t&&(e=u(e,f,"")),2&t&&(e=u(e,s,"")),e}};t.exports={start:l(1),end:l(2),trim:l(3)}},function(t,n){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,n,e){"use strict";e(118);var r=e(1),o=e(14),i=e(114),c=e(3),u=e(4),a=e(16),f=u("species"),s=RegExp.prototype;t.exports=function(t,n,e,l){var p=u(t),v=!c((function(){var n={};return n[p]=function(){return 7},7!=""[t](n)})),d=v&&!c((function(){var n=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[f]=function(){return e},e.flags="",e[p]=/./[p]),e.exec=function(){return n=!0,null},e[p](""),!n}));if(!v||!d||e){var h=r(/./[p]),g=n(p,""[t],(function(t,n,e,o,c){var u=r(t),a=n.exec;return a===i||a===s.exec?v&&!c?{done:!0,value:h(n,e,o)}:{done:!0,value:u(e,n,o)}:{done:!1}}));o(String.prototype,t,g[0]),o(s,p,g[1])}l&&a(s[p],"sham",!0)}},function(t,n,e){"use strict";var r=e(105).charAt;t.exports=function(t,n,e){return n+(e?r(t,n).length:1)}},function(t,n,e){var r=e(0),o=e(11),i=e(10),c=e(2),u=e(19),a=e(114),f=r.TypeError;t.exports=function(t,n){var e=t.exec;if(c(e)){var r=o(e,t,n);return null!==r&&i(r),r}if("RegExp"===u(t))return o(a,t,n);throw f("RegExp#exec called on incompatible receiver")}},,function(t,n,e){var r=e(10),o=e(143),i=e(4)("species");t.exports=function(t,n){var e,c=r(t).constructor;return void 0===c||null==(e=r(c)[i])?n:o(e)}},,function(t,n,e){var r=e(19),o=e(0);t.exports="process"==r(o.process)},,,,,function(t,n,e){var r=e(1),o=e(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,n,e){"use strict";var r=e(90),o=e(11),i=e(1),c=e(161),u=e(3),a=e(10),f=e(2),s=e(42),l=e(84),p=e(22),v=e(32),d=e(162),h=e(50),g=e(174),x=e(163),y=e(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=!!/./[y]&&""===/./[y]("a","$0");c("replace",(function(t,n,e){var i=I?"$":"$0";return[function(t,e){var r=v(this),i=null==t?void 0:h(t,y);return i?o(i,t,r,e):o(n,p(r),t,e)},function(t,o){var c=a(this),u=p(t);if("string"==typeof o&&-1===E(o,i)&&-1===E(o,"$<")){var v=e(n,c,u,o);if(v.done)return v.value}var h=f(o);h||(o=p(o));var y=c.global;if(y){var j=c.unicode;c.lastIndex=0}for(var I=[];;){var T=x(c,u);if(null===T)break;if(S(I,T),!y)break;""===p(T[0])&&(c.lastIndex=d(u,l(c.lastIndex),j))}for(var A,R="",N=0,P=0;P<I.length;P++){for(var _=p((T=I[P])[0]),L=m(b(s(T.index),u.length),0),M=[],C=1;C<T.length;C++)S(M,void 0===(A=T[C])?A:String(A));var F=T.groups;if(h){var k=w([_],M,L,u);void 0!==F&&S(k,F);var D=p(r(o,void 0,k))}else D=g(_,u,L,M,F,o);L>=N&&(R+=O(u,N,L)+D,N=L+_.length)}return R+O(u,N)}]}),!!u((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!j||I)},function(t,n,e){var r=e(1),o=e(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,n,e,r,l,p){var v=e+t.length,d=r.length,h=s;return void 0!==l&&(l=o(l),h=f),u(p,h,(function(o,u){var f;switch(c(u,0)){case"$":return"$";case"&":return t;case"`":return a(n,0,e);case"'":return a(n,v);case"<":f=l[a(u,1,-1)];break;default:var s=+u;if(0===s)return o;if(s>d){var p=i(s/10);return 0===p?o:p<=d?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,n,e){e(6)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},,function(t,n,e){var r,o,i,c,u=e(0),a=e(90),f=e(52),s=e(2),l=e(5),p=e(3),v=e(104),d=e(76),h=e(44),g=e(178),x=e(167),y=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 n=I[t];delete I[t],n()}},A=function(t){return function(){T(t)}},R=function(t){T(t.data)},N=function(t){u.postMessage(O(t),r.protocol+"//"+r.host)};y&&m||(y=function(t){var n=d(arguments,1);return I[++j]=function(){a(s(t)?t:S(t),void 0,n)},o(j),j},m=function(t){delete I[t]},x?o=function(t){b.nextTick(A(t))}:w&&w.now?o=function(t){w.now(A(t))}:E&&!g?(c=(i=new E).port2,i.port1.onmessage=R,o=f(c.postMessage,c)):u.addEventListener&&s(u.postMessage)&&!u.importScripts&&r&&"file:"!==r.protocol&&!p(N)?(o=N,u.addEventListener("message",R,!1)):o="onreadystatechange"in h("script")?function(t){v.appendChild(h("script")).onreadystatechange=function(){v.removeChild(this),T(t)}}:function(t){setTimeout(A(t),0)}),t.exports={set:y,clear:m}},function(t,n,e){var r=e(78);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},function(t,n,e){"use strict";var r=e(35),o=function(t){var n,e;this.promise=new t((function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r})),this.resolve=r(n),this.reject=r(e)};t.exports.f=function(t){return new o(t)}},,,,,,,,function(t,n,e){"use strict";e.r(n),e.d(n,"Snapshot",(function(){return r}));e(175),e(157),e(188),e(172),e(94),e(66),e(95),e(125),e(80),e(153),e(118),e(173),e(189),e(119);var r={pluginName:"snapshot",install:function(t){var n=this;this.lf=t,this.offsetX=Number.MAX_SAFE_INTEGER,this.offsetY=Number.MAX_SAFE_INTEGER,t.getSnapshot=function(e,r){n.fileName=e||"logic-flow.".concat(Date.now(),".png");var o=n.getSvgRootElement(t);n.downloadSvg(o,n.fileName,r)},t.getSnapshotBlob=function(e){var r=n.getSvgRootElement(t);return n.getBlob(r,e)},t.getSnapshotBase64=function(e){var r=n.getSvgRootElement(t);return n.getBase64(r,e)}},getSvgRootElement:function(t){var n=this;return t.graphModel.nodes.forEach((function(t){var e=t.x-t.width/2,r=t.y-t.height/2;e<n.offsetX&&(n.offsetX=e-5),r<n.offsetY&&(n.offsetY=r-5)})),t.graphModel.edges.forEach((function(t){t.pointsList&&t.pointsList.forEach((function(t){var e=t.x,r=t.y;e<n.offsetX&&(n.offsetX=e-5),r<n.offsetY&&(n.offsetY=r-5)}))})),t.container.querySelector("svg")},triggerDownload:function(t){var n=new MouseEvent("click",{view:window,bubbles:!1,cancelable:!0}),e=document.createElement("a");e.setAttribute("download",this.fileName),e.setAttribute("href",t),e.setAttribute("target","_blank"),e.dispatchEvent(n)},removeAnchor:function(t){for(var n=t.childNodes,e=t.childNodes&&t.childNodes.length,r=0;r<e;r++){var o=n[r];(o.classList&&Array.from(o.classList)||[]).indexOf("lf-anchor")>-1&&(t.removeChild(t.childNodes[r]),e--,r--)}},downloadSvg:function(t,n,e){var r=this;this.getCanvasData(t,e).then((function(t){var e=t.toDataURL("image/png").replace("image/png","image/octet-stream");r.triggerDownload(e,n)}))},getBase64:function(t,n){var e=this;return new Promise((function(r){e.getCanvasData(t,n).then((function(t){var n=t.toDataURL("image/png");r({data:n,width:t.width,height:t.height})}))}))},getBlob:function(t,n){var e=this;return new Promise((function(r){e.getCanvasData(t,n).then((function(t){t.toBlob((function(n){r({data:n,width:t.width,height:t.height})}),"image/png")}))}))},getCanvasData:function(t,n){var e=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 n=t;e.removeAnchor(n.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,d=v.SCALE_X,h=v.SCALE_Y,g=Math.ceil(p.width/d),x=Math.ceil(p.height/h);l.style.width="".concat(g,"px"),l.style.height="".concat(x,"px"),l.width=g*s+80,l.height=x*s+80;var y=l.getContext("2d");y.scale(s,s),n?(y.fillStyle=n,y.fillRect(0,0,g*s+80,x*s+80)):y.clearRect(0,0,g,x);var m=new Image;return new Promise((function(t){m.onload=function(){y.drawImage(m,0,0),t(l)};var n="data:image/svg+xml;charset=utf-8,".concat((new XMLSerializer).serializeToString(r)).replace(/\n/g,"").replace(/\t/g,"").replace(/#/g,"%23");m.src=n}))}};n.default=r},function(t,n,e){var r=e(6),o=e(0),i=e(1),c=o.Date,u=i(c.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return u(new c)}})},function(t,n,e){"use strict";var r,o,i,c,u=e(6),a=e(29),f=e(0),s=e(13),l=e(11),p=e(190),v=e(14),d=e(140),h=e(75),g=e(48),x=e(141),y=e(35),m=e(2),b=e(8),w=e(117),S=e(38),E=e(116),O=e(113),j=e(165),I=e(177).set,T=e(191),A=e(194),R=e(195),N=e(179),P=e(196),_=e(21),L=e(69),M=e(4),C=e(197),F=e(167),k=e(47),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=N.f,q=W,J=!!(H&&H.createEvent&&f.dispatchEvent),Q=m(f.PromiseRejectionEvent),Z=!1,tt=L(G,(function(){var t=S(Y),n=t!==String(Y);if(!n&&66===k)return!0;if(a&&!V.finally)return!0;if(k>=51&&/native code/.test(t))return!1;var e=new Y((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};return(e.constructor={})[D]=r,!(Z=e.then((function(){}))instanceof r)||!n&&C&&!Q})),nt=tt||!O((function(t){Y.all(t).catch((function(){}))})),et=function(t){var n;return!(!b(t)||!m(n=t.then))&&n},rt=function(t,n){if(!t.notified){t.notified=!0;var e=t.reactions;T((function(){for(var r=t.value,o=1==t.state,i=0;e.length>i;){var c,u,a,f=e[i++],s=o?f.ok:f.fail,p=f.resolve,v=f.reject,d=f.domain;try{s?(o||(2===t.rejection&&ut(t),t.rejection=1),!0===s?c=r:(d&&d.enter(),c=s(r),d&&(d.exit(),a=!0)),c===f.promise?v(z("Promise-chain cycle")):(u=et(c))?l(u,c,p,v):p(c)):v(r)}catch(t){d&&!a&&d.exit(),v(t)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&it(t)}))}},ot=function(t,n,e){var r,o;J?((r=H.createEvent("Event")).promise=n,r.reason=e,r.initEvent(t,!1,!0),f.dispatchEvent(r)):r={promise:n,reason:e},!Q&&(o=f["on"+t])?o(r):"unhandledrejection"===t&&R("Unhandled promise rejection",e)},it=function(t){l(I,f,(function(){var n,e=t.facade,r=t.value;if(ct(t)&&(n=P((function(){F?K.emit("unhandledRejection",r,e):ot("unhandledrejection",e,r)})),t.rejection=F||ct(t)?2:1,n.error))throw n.value}))},ct=function(t){return 1!==t.rejection&&!t.parent},ut=function(t){l(I,f,(function(){var n=t.facade;F?K.emit("rejectionHandled",n):ot("rejectionhandled",n,t.value)}))},at=function(t,n,e){return function(r){t(n,r,e)}},ft=function(t,n,e){t.done||(t.done=!0,e&&(t=e),t.value=n,t.state=2,rt(t,!0))},st=function(t,n,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===n)throw z("Promise can't be resolved itself");var r=et(n);r?T((function(){var e={done:!1};try{l(r,n,at(st,e,t),at(ft,e,t))}catch(n){ft(e,n,t)}})):(t.value=n,t.state=1,rt(t,!1))}catch(n){ft({done:!1},n,t)}}};if(tt&&(V=(Y=function(t){w(this,V),y(t),l(r,this);var n=B(this);try{t(at(st,n),at(ft,n))}catch(t){ft(n,t)}}).prototype,(r=function(t){$(this,{type:G,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(V,{then:function(t,n){var e=X(this),r=e.reactions,o=W(j(this,Y));return o.ok=!m(t)||t,o.fail=m(n)&&n,o.domain=F?K.domain:void 0,e.parent=!0,r[r.length]=o,0!=e.state&&rt(e,!1),o.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,n=B(t);this.promise=t,this.resolve=at(st,n),this.reject=at(ft,n)},N.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,n){var e=this;return new Y((function(t,n){l(c,e,t,n)})).then(t,n)}),{unsafe:!0}),v(U,"catch",V.catch,{unsafe:!0}));try{delete U.constructor}catch(t){}h&&h(U,V)}u({global:!0,wrap:!0,forced:tt},{Promise:Y}),g(Y,G,!1,!0),x(G),i=s(G),u({target:G,stat:!0,forced:tt},{reject:function(t){var n=W(this);return l(n.reject,void 0,t),n.promise}}),u({target:G,stat:!0,forced:a||tt},{resolve:function(t){return A(a&&this===i?Y:this,t)}}),u({target:G,stat:!0,forced:nt},{all:function(t){var n=this,e=W(n),r=e.resolve,o=e.reject,i=P((function(){var e=y(n.resolve),i=[],c=0,u=1;E(t,(function(t){var a=c++,f=!1;u++,l(e,n,t).then((function(t){f||(f=!0,i[a]=t,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),e.promise},race:function(t){var n=this,e=W(n),r=e.reject,o=P((function(){var o=y(n.resolve);E(t,(function(t){l(o,n,t).then(e.resolve,r)}))}));return o.error&&r(o.value),e.promise}})},function(t,n,e){var r=e(0);t.exports=r.Promise},function(t,n,e){var r,o,i,c,u,a,f,s,l=e(0),p=e(52),v=e(24).f,d=e(177).set,h=e(178),g=e(192),x=e(193),y=e(167),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,n;for(y&&(t=w.domain)&&t.exit();o;){n=o.fn,o=o.next;try{n()}catch(t){throw o?c():i=void 0,t}}i=void 0,t&&t.enter()},h||y||x||!m||!b?!g&&S&&S.resolve?((f=S.resolve(void 0)).constructor=S,s=p(f.then,f),c=function(){s(r)}):y?c=function(){w.nextTick(r)}:(d=p(d,l),c=function(){d(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 n={fn:t,next:void 0};i&&(i.next=n),o||(o=n,c()),i=n}},function(t,n,e){var r=e(78),o=e(0);t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},function(t,n,e){var r=e(78);t.exports=/web0s(?!.*chrome)/i.test(r)},function(t,n,e){var r=e(10),o=e(8),i=e(179);t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t);return(0,e.resolve)(n),e.promise}},function(t,n,e){var r=e(0);t.exports=function(t,n){var e=r.console;e&&e.error&&(1==arguments.length?e.error(t):e.error(t,n))}},function(t,n){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,n){t.exports="object"==typeof window}])}));
|
|
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 e=n();for(var r in e)("object"==typeof exports?exports:t)[r]=e[r]}}(window,(function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=187)}([function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,e(97))},function(t,n){var e=Function.prototype,r=e.bind,o=e.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,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,e){var r=e(0),o=e(34),i=e(5),c=e(36),u=e(45),a=e(59),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 n="Symbol."+t;u&&i(s,t)?f[t]=s[t]:f[t]=a&&l?l(n):p(n)}return f[t]}},function(t,n,e){var r=e(1),o=e(15),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,e){var r=e(0),o=e(24).f,i=e(16),c=e(14),u=e(41),a=e(68),f=e(69);t.exports=function(t,n){var e,s,l,p,v,d=t.target,h=t.global,g=t.stat;if(e=h?r:g?r[d]||u(d,{}):(r[d]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(e,s))&&v.value:e[s],!f(h?s:d+(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(e,s,p,t)}}},function(t,n,e){var r=e(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,e){var r=e(2);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},function(t,n,e){var r=e(0),o=e(7),i=e(60),c=e(10),u=e(26),a=r.TypeError,f=Object.defineProperty;n.f=o?f:function(t,n,e){if(c(t),n=u(n),c(e),i)try{return f(t,n,e)}catch(t){}if("get"in e||"set"in e)throw a("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(0),o=e(8),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,n){var e=Function.prototype.call;t.exports=e.bind?e.bind(e):function(){return e.apply(e,arguments)}},function(t,n,e){var r=e(54),o=e(32);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(0),o=e(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(r[t]):r[t]&&r[t][n]}},function(t,n,e){var r=e(0),o=e(2),i=e(5),c=e(16),u=e(41),a=e(38),f=e(21),s=e(55).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,n,e,a){var f,l=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,h=!!a&&!!a.noTargetGet,g=a&&void 0!==a.name?a.name:n;o(e)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(e,"name")||s&&e.name!==g)&&c(e,"name",g),(f=p(e)).source||(f.source=v.join("string"==typeof g?g:""))),t!==r?(l?!h&&t[n]&&(d=!0):delete t[n],d?t[n]=e:c(t,n,e)):d?t[n]=e:u(n,e)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||a(this)}))},function(t,n,e){var r=e(0),o=e(32),i=r.Object;t.exports=function(t){return i(o(t))}},function(t,n,e){var r=e(7),o=e(9),i=e(20);t.exports=r?function(t,n,e){return o.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(84);t.exports=function(t){return r(t.length)}},function(t,n,e){var r,o=e(10),i=e(96),c=e(46),u=e(23),a=e(104),f=e(44),s=e(30),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},d=function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n},h=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,n;h="undefined"!=typeof document?document.domain&&r?d(r):((n=f("iframe")).style.display="none",a.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):d(r);for(var e=c.length;e--;)delete h.prototype[c[e]];return h()};u[l]=!0,t.exports=Object.create||function(t,n){var e;return null!==t?(p.prototype=o(t),e=new p,p.prototype=null,e[l]=t):e=h(),void 0===n?e:i(e,n)}},function(t,n,e){var r=e(1),o=r({}.toString),i=r("".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,e){var r,o,i,c=e(99),u=e(0),a=e(1),f=e(8),s=e(16),l=e(5),p=e(40),v=e(30),d=e(23),h=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,n){if(m(y,t))throw new h("Object already initialized");return n.facade=t,b(y,t,n),n},o=function(t){return x(y,t)||{}},i=function(t){return m(y,t)}}else{var w=v("state");d[w]=!0,r=function(t,n){if(l(t,w))throw new h("Object already initialized");return n.facade=t,s(t,w,n),n},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(n){var e;if(!f(n)||(e=o(n)).type!==t)throw h("Incompatible receiver, "+t+" required");return e}}}},function(t,n,e){var r=e(0),o=e(31),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,n){t.exports={}},function(t,n,e){var r=e(7),o=e(11),i=e(62),c=e(20),u=e(12),a=e(26),f=e(5),s=e(60),l=Object.getOwnPropertyDescriptor;n.f=r?l:function(t,n){if(t=u(t),n=a(n),s)try{return l(t,n)}catch(t){}if(f(t,n))return c(!o(i.f,t,n),t[n])}},function(t,n,e){var r=e(1);t.exports=r({}.isPrototypeOf)},function(t,n,e){var r=e(87),o=e(39);t.exports=function(t){var n=r(t,"string");return o(n)?n:n+""}},function(t,n){t.exports={}},,function(t,n){t.exports=!1},function(t,n,e){var r=e(34),o=e(36),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n,e){var r=e(0),o=e(43),i=e(2),c=e(19),u=e(4)("toStringTag"),a=r.Object,f="Arguments"==c(function(){return arguments}());t.exports=o?c:function(t){var n,e,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=a(t),u))?e:f?c(n):"Object"==(r=c(n))&&i(n.callee)?"Arguments":r}},function(t,n,e){var r=e(0).TypeError;t.exports=function(t){if(null==t)throw r("Can't call method on "+t);return t}},function(t,n,e){var r=e(19);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(29),o=e(40);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.19.3",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(0),o=e(2),i=e(51),c=r.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not a function")}},function(t,n,e){var r=e(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,n,e){var r=e(64),o=e(46).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n,e){var r=e(1),o=e(2),i=e(40),c=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return c(t)}),t.exports=i.inspectSource},function(t,n,e){var r=e(0),o=e(13),i=e(2),c=e(25),u=e(59),a=r.Object;t.exports=u?function(t){return"symbol"==typeof t}:function(t){var n=o("Symbol");return i(n)&&c(n.prototype,a(t))}},function(t,n,e){var r=e(0),o=e(41),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,n,e){var r=e(0),o=Object.defineProperty;t.exports=function(t,n){try{o(r,t,{value:n,configurable:!0,writable:!0})}catch(e){r[t]=n}return n}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){var n=+t;return n!=n||0===n?0:(n>0?r:e)(n)}},function(t,n,e){var r={};r[e(4)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,n,e){var r=e(0),o=e(8),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,n,e){var r=e(47),o=e(3);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n,e){var r,o,i=e(0),c=e(78),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,n,e){var r=e(9).f,o=e(5),i=e(4)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){"use strict";var r=e(26),o=e(9),i=e(20);t.exports=function(t,n,e){var c=r(n);c in t?o.f(t,c,i(0,e)):t[c]=e}},function(t,n,e){var r=e(35);t.exports=function(t,n){var e=t[n];return null==e?void 0:r(e)}},function(t,n,e){var r=e(0).String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},function(t,n,e){var r=e(1),o=e(35),i=r(r.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,e){var r=e(1),o=e(3),i=e(2),c=e(31),u=e(13),a=e(38),f=function(){},s=[],l=u("Reflect","construct"),p=/^\s*(?:class|function)\b/,v=r(p.exec),d=!p.exec(f),h=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 h(h.call)||!h(Object)||!h((function(){t=!0}))||t}))?function(t){if(!i(t))return!1;switch(c(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return d||!!v(p,a(t))}:h},function(t,n,e){var r=e(0),o=e(1),i=e(3),c=e(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,n,e){var r=e(7),o=e(5),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,n,e){var r=e(42),o=Math.max,i=Math.min;t.exports=function(t,n){var e=r(t);return e<0?o(e+n,0):i(e,n)}},function(t,n,e){var r=e(52),o=e(1),i=e(54),c=e(15),u=e(17),a=e(70),f=o([].push),s=function(t){var n=1==t,e=2==t,o=3==t,s=4==t,l=6==t,p=7==t,v=5==t||l;return function(d,h,g,y){for(var x,m,b=c(d),w=i(b),S=r(h,g),E=u(w),O=0,j=y||a,I=n?j(d,E):e||p?j(d,0):void 0;E>O;O++)if((v||O in w)&&(m=S(x=w[O],O,b),t))if(n)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,n,e){var r=e(64),o=e(46);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){var r=e(45);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,e){var r=e(7),o=e(3),i=e(44);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},,function(t,n,e){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:r},function(t,n,e){var r=e(0),o=e(5),i=e(2),c=e(15),u=e(30),a=e(102),f=u("IE_PROTO"),s=r.Object,l=s.prototype;t.exports=a?s.getPrototypeOf:function(t){var n=c(t);if(o(n,f))return n[f];var e=n.constructor;return i(e)&&n instanceof e?e.prototype:n instanceof s?l:null}},function(t,n,e){var r=e(1),o=e(5),i=e(12),c=e(83).indexOf,u=e(23),a=r([].push);t.exports=function(t,n){var e,r=i(t),f=0,s=[];for(e in r)!o(u,e)&&o(r,e)&&a(s,e);for(;n.length>f;)o(r,e=n[f++])&&(~c(s,e)||a(s,e));return s}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(43),o=e(14),i=e(101);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,n,e){"use strict";var r=e(6),o=e(11),i=e(29),c=e(55),u=e(2),a=e(108),f=e(63),s=e(75),l=e(48),p=e(16),v=e(14),d=e(4),h=e(27),g=e(77),y=c.PROPER,x=c.CONFIGURABLE,m=g.IteratorPrototype,b=g.BUGGY_SAFARI_ITERATORS,w=d("iterator"),S=function(){return this};t.exports=function(t,n,e,c,d,g,E){a(e,n,c);var O,j,I,T=function(t){if(t===d&&_)return _;if(!b&&t in N)return N[t];switch(t){case"keys":case"values":case"entries":return function(){return new e(this,t)}}return function(){return new e(this)}},A=n+" Iterator",R=!1,N=t.prototype,P=N[w]||N["@@iterator"]||d&&N[d],_=!b&&P||T(d),L="Array"==n&&N.entries||P;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,A,!0,!0),i&&(h[A]=S)),y&&"values"==d&&P&&"values"!==P.name&&(!i&&x?p(N,"name","values"):(R=!0,_=function(){return o(P,this)})),d)if(j={values:T("values"),keys:g?_:T("keys"),entries:T("entries")},E)for(I in j)(b||R||!(I in N))&&v(N,I,j[I]);else r({target:n,proto:!0,forced:b||R},j);return i&&!E||N[w]===_||v(N,w,_,{name:d}),h[n]=_,j}},function(t,n,e){var r=e(5),o=e(82),i=e(24),c=e(9);t.exports=function(t,n){for(var e=o(n),u=c.f,a=i.f,f=0;f<e.length;f++){var s=e[f];r(t,s)||u(t,s,a(n,s))}}},function(t,n,e){var r=e(3),o=e(2),i=/#|\.prototype\./,c=function(t,n){var e=a[u(t)];return e==s||e!=f&&(o(n)?r(n):!!n)},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,n,e){var r=e(100);t.exports=function(t,n){return new(r(t))(0===n?0:n)}},function(t,n,e){"use strict";var r=e(57).forEach,o=e(79)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},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,e){var r=e(44)("span").classList,o=r&&r.constructor&&r.constructor.prototype;t.exports=o===Object.prototype?void 0:o},function(t,n,e){var r=e(3),o=e(4),i=e(47),c=o("species");t.exports=function(t){return i>=51||!r((function(){var n=[];return(n.constructor={})[c]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},function(t,n,e){var r=e(1),o=e(10),i=e(109);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,e={};try{(t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(e,[]),n=e instanceof Array}catch(t){}return function(e,r){return o(e),i(r),n?t(e,r):e.__proto__=r,e}}():void 0)},function(t,n,e){var r=e(1);t.exports=r([].slice)},function(t,n,e){"use strict";var r,o,i,c=e(3),u=e(2),a=e(18),f=e(63),s=e(14),l=e(4),p=e(29),v=l("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(r=o):d=!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:d}},function(t,n,e){var r=e(13);t.exports=r("navigator","userAgent")||""},function(t,n,e){"use strict";var r=e(3);t.exports=function(t,n){var e=[][t];return!!e&&r((function(){e.call(null,n||function(){throw 1},1)}))}},function(t,n,e){"use strict";var r=e(105).charAt,o=e(22),i=e(21),c=e(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,n=a(this),e=n.string,o=n.index;return o>=e.length?{value:void 0,done:!0}:(t=r(e,o),n.index+=t.length,{value:t,done:!1})}))},,function(t,n,e){var r=e(13),o=e(1),i=e(37),c=e(65),u=e(10),a=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var n=i.f(u(t)),e=c.f;return e?a(n,e(t)):n}},function(t,n,e){var r=e(12),o=e(56),i=e(17),c=function(t){return function(n,e,c){var u,a=r(n),f=i(a),s=o(c,f);if(t&&e!=e){for(;f>s;)if((u=a[s++])!=u)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===e)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},function(t,n,e){var r=e(42),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(31),o=e(50),i=e(27),c=e(4)("iterator");t.exports=function(t){if(null!=t)return o(t,c)||o(t,"@@iterator")||i[r(t)]}},,function(t,n,e){var r=e(0),o=e(11),i=e(8),c=e(39),u=e(50),a=e(98),f=e(4),s=r.TypeError,l=f("toPrimitive");t.exports=function(t,n){if(!i(t)||c(t))return t;var e,r=u(t,l);if(r){if(void 0===n&&(n="default"),e=o(r,t,n),!i(e)||c(e))return e;throw s("Can't convert object to primitive value")}return void 0===n&&(n="number"),a(t,n)}},,,function(t,n){var e=Function.prototype,r=e.apply,o=e.bind,i=e.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?i.bind(r):function(){return i.apply(r,arguments)})},,,,function(t,n,e){"use strict";var r=e(6),o=e(71);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,n,e){var r=e(0),o=e(72),i=e(73),c=e(71),u=e(16),a=function(t){if(t&&t.forEach!==c)try{u(t,"forEach",c)}catch(n){t.forEach=c}};for(var f in o)o[f]&&a(r[f]&&r[f].prototype);a(i)},function(t,n,e){var r=e(7),o=e(9),i=e(10),c=e(12),u=e(58);t.exports=r?Object.defineProperties:function(t,n){i(t);for(var e,r=c(n),a=u(n),f=a.length,s=0;f>s;)o.f(t,e=a[s++],r[e]);return t}},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){var r=e(0),o=e(11),i=e(2),c=e(8),u=r.TypeError;t.exports=function(t,n){var e,r;if("string"===n&&i(e=t.toString)&&!c(r=o(e,t)))return r;if(i(e=t.valueOf)&&!c(r=o(e,t)))return r;if("string"!==n&&i(e=t.toString)&&!c(r=o(e,t)))return r;throw u("Can't convert object to primitive value")}},function(t,n,e){var r=e(0),o=e(2),i=e(38),c=r.WeakMap;t.exports=o(c)&&/native code/.test(i(c))},function(t,n,e){var r=e(0),o=e(33),i=e(53),c=e(8),u=e(4)("species"),a=r.Array;t.exports=function(t){var n;return o(t)&&(n=t.constructor,(i(n)&&(n===a||o(n.prototype))||c(n)&&null===(n=n[u]))&&(n=void 0)),void 0===n?a:n}},function(t,n,e){"use strict";var r=e(43),o=e(31);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,n,e){var r=e(3);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},,function(t,n,e){var r=e(13);t.exports=r("document","documentElement")},function(t,n,e){var r=e(1),o=e(42),i=e(22),c=e(32),u=r("".charAt),a=r("".charCodeAt),f=r("".slice),s=function(t){return function(n,e){var r,s,l=i(c(n)),p=o(e),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,n,e){"use strict";var r=e(77).IteratorPrototype,o=e(18),i=e(20),c=e(48),u=e(27),a=function(){return this};t.exports=function(t,n,e,f){var s=n+" Iterator";return t.prototype=o(r,{next:i(+!f,e)}),c(t,s,!1,!0),u[s]=a,t}},function(t,n,e){var r=e(0),o=e(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,n,e){var r=e(4),o=e(27),i=r("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},function(t,n,e){var r=e(0),o=e(11),i=e(35),c=e(10),u=e(51),a=e(85),f=r.TypeError;t.exports=function(t,n){var e=arguments.length<2?a(t):n;if(i(e))return c(o(e,t));throw f(u(t)+" is not iterable")}},function(t,n,e){var r=e(11),o=e(10),i=e(50);t.exports=function(t,n,e){var c,u;o(t);try{if(!(c=i(t,"return"))){if("throw"===n)throw e;return e}c=r(c,t)}catch(t){u=!0,c=t}if("throw"===n)throw e;if(u)throw c;return o(c),e}},function(t,n,e){var r=e(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,n){if(!n&&!o)return!1;var e=!1;try{var i={};i[r]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}},function(t,n,e){"use strict";var r,o,i=e(11),c=e(1),u=e(22),a=e(124),f=e(123),s=e(34),l=e(18),p=e(21).get,v=e(130),d=e(131),h=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||d)&&(y=function(t){var n,e,r,o,c,f,s,v=this,d=p(v),j=u(t),I=d.raw;if(I)return I.lastIndex=v.lastIndex,n=i(y,I,j),v.lastIndex=I.lastIndex,n;var T=d.groups,A=E&&v.sticky,R=i(a,v),N=v.source,P=0,_=j;if(A&&(R=b(R,"y",""),-1===m(R,"g")&&(R+="g"),_=w(j,v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&"\n"!==x(j,v.lastIndex-1))&&(N="(?: "+N+")",_=" "+_,P++),e=new RegExp("^(?:"+N+")",R)),O&&(e=new RegExp("^"+N+"$(?!\\s)",R)),S&&(r=v.lastIndex),o=i(g,A?e:v,_),A?o?(o.input=w(o.input,P),o[0]=w(o[0],P),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(h,o[0],e,(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,n,e){var r=e(0),o=e(52),i=e(11),c=e(10),u=e(51),a=e(110),f=e(17),s=e(25),l=e(111),p=e(85),v=e(112),d=r.TypeError,h=function(t,n){this.stopped=t,this.result=n},g=h.prototype;t.exports=function(t,n,e){var r,y,x,m,b,w,S,E=e&&e.that,O=!(!e||!e.AS_ENTRIES),j=!(!e||!e.IS_ITERATOR),I=!(!e||!e.INTERRUPTED),T=o(n,E),A=function(t){return r&&v(r,"normal",t),new h(!0,t)},R=function(t){return O?(c(t),I?T(t[0],t[1],A):T(t[0],t[1])):I?T(t,A):T(t)};if(j)r=t;else{if(!(y=p(t)))throw d(u(t)+" is not iterable");if(a(y)){for(x=0,m=f(t);m>x;x++)if((b=R(t[x]))&&s(g,b))return b;return new h(!1)}r=l(t,y)}for(w=r.next;!(S=i(w,r)).done;){try{b=R(S.value)}catch(t){v(r,"throw",t)}if("object"==typeof b&&b&&s(g,b))return b}return new h(!1)}},function(t,n,e){var r=e(0),o=e(25),i=r.TypeError;t.exports=function(t,n){if(o(n,t))return t;throw i("Incorrect invocation")}},function(t,n,e){"use strict";var r=e(6),o=e(114);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(t,n,e){"use strict";var r=e(6),o=e(0),i=e(3),c=e(33),u=e(8),a=e(15),f=e(17),s=e(49),l=e(70),p=e(74),v=e(4),d=e(47),h=v("isConcatSpreadable"),g=o.TypeError,y=d>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),x=p("concat"),m=function(t){if(!u(t))return!1;var n=t[h];return void 0!==n?!!n:c(t)};r({target:"Array",proto:!0,forced:!y||!x},{concat:function(t){var n,e,r,o,i,c=a(this),u=l(c,0),p=0;for(n=-1,r=arguments.length;n<r;n++)if(m(i=-1===n?c:arguments[n])){if(p+(o=f(i))>9007199254740991)throw g("Maximum allowed index exceeded");for(e=0;e<o;e++,p++)e in i&&s(u,p,i[e])}else{if(p>=9007199254740991)throw g("Maximum allowed index exceeded");s(u,p++,i)}return u.length=p,u}})},,,function(t,n,e){var r=e(2),o=e(8),i=e(75);t.exports=function(t,n,e){var c,u;return i&&r(c=n.constructor)&&c!==e&&o(u=c.prototype)&&u!==e.prototype&&i(t,u),t}},function(t,n,e){var r=e(3),o=e(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,n,e){"use strict";var r=e(10);t.exports=function(){var t=r(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,e){var r=e(6),o=e(132);r({target:"Array",stat:!0,forced:!e(113)((function(t){Array.from(t)}))},{from:o})},,,,,function(t,n,e){var r=e(3),o=e(0).RegExp;t.exports=r((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},function(t,n,e){var r=e(3),o=e(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,n,e){"use strict";var r=e(0),o=e(52),i=e(11),c=e(15),u=e(133),a=e(110),f=e(53),s=e(17),l=e(49),p=e(111),v=e(85),d=r.Array;t.exports=function(t){var n=c(t),e=f(this),r=arguments.length,h=r>1?arguments[1]:void 0,g=void 0!==h;g&&(h=o(h,r>2?arguments[2]:void 0));var y,x,m,b,w,S,E=v(n),O=0;if(!E||this==d&&a(E))for(y=s(n),x=e?new this(y):d(y);y>O;O++)S=g?h(n[O],O):n[O],l(x,O,S);else for(w=(b=p(n,E)).next,x=e?new this:[];!(m=i(w,b)).done;O++)S=g?u(b,h,[m.value,O],!0):m.value,l(x,O,S);return x.length=O,x}},function(t,n,e){var r=e(10),o=e(112);t.exports=function(t,n,e,i){try{return i?n(r(e)[0],e[1]):n(e)}catch(n){o(t,"throw",n)}}},,,,,,,function(t,n,e){var r=e(14);t.exports=function(t,n,e){for(var o in n)r(t,o,n[o],e);return t}},function(t,n,e){"use strict";var r=e(13),o=e(9),i=e(4),c=e(7),u=i("species");t.exports=function(t){var n=r(t),e=o.f;c&&n&&!n[u]&&e(n,u,{configurable:!0,get:function(){return this}})}},,function(t,n,e){var r=e(0),o=e(53),i=e(51),c=r.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not a constructor")}},,,,,,,,,,function(t,n,e){"use strict";var r=e(6),o=e(1),i=e(83).indexOf,c=e(79),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 n=arguments.length>1?arguments[1]:void 0;return a?u(this,t,n)||0:i(this,t,n)}})},,,,function(t,n,e){"use strict";var r=e(7),o=e(0),i=e(1),c=e(69),u=e(14),a=e(5),f=e(122),s=e(25),l=e(39),p=e(87),v=e(3),d=e(37).f,h=e(24).f,g=e(9).f,y=e(158),x=e(159).trim,m=o.Number,b=m.prototype,w=o.TypeError,S=i("".slice),E=i("".charCodeAt),O=function(t){var n=p(t,"number");return"bigint"==typeof n?n:j(n)},j=function(t){var n,e,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===(n=E(f,0))||45===n){if(88===(e=E(f,2))||120===e)return NaN}else if(48===n){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 n=arguments.length<1?0:m(O(t)),e=this;return s(b,e)&&v((function(){y(e)}))?f(Object(n),e,T):n},A=r?d(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(","),R=0;A.length>R;R++)a(m,I=A[R])&&!a(T,I)&&g(T,I,h(m,I));T.prototype=b,b.constructor=T,u(o,"Number",T)}},function(t,n,e){var r=e(1);t.exports=r(1..valueOf)},function(t,n,e){var r=e(1),o=e(32),i=e(22),c=e(160),u=r("".replace),a="["+c+"]",f=RegExp("^"+a+a+"*"),s=RegExp(a+a+"*$"),l=function(t){return function(n){var e=i(o(n));return 1&t&&(e=u(e,f,"")),2&t&&(e=u(e,s,"")),e}};t.exports={start:l(1),end:l(2),trim:l(3)}},function(t,n){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,n,e){"use strict";e(118);var r=e(1),o=e(14),i=e(114),c=e(3),u=e(4),a=e(16),f=u("species"),s=RegExp.prototype;t.exports=function(t,n,e,l){var p=u(t),v=!c((function(){var n={};return n[p]=function(){return 7},7!=""[t](n)})),d=v&&!c((function(){var n=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[f]=function(){return e},e.flags="",e[p]=/./[p]),e.exec=function(){return n=!0,null},e[p](""),!n}));if(!v||!d||e){var h=r(/./[p]),g=n(p,""[t],(function(t,n,e,o,c){var u=r(t),a=n.exec;return a===i||a===s.exec?v&&!c?{done:!0,value:h(n,e,o)}:{done:!0,value:u(e,n,o)}:{done:!1}}));o(String.prototype,t,g[0]),o(s,p,g[1])}l&&a(s[p],"sham",!0)}},function(t,n,e){"use strict";var r=e(105).charAt;t.exports=function(t,n,e){return n+(e?r(t,n).length:1)}},function(t,n,e){var r=e(0),o=e(11),i=e(10),c=e(2),u=e(19),a=e(114),f=r.TypeError;t.exports=function(t,n){var e=t.exec;if(c(e)){var r=o(e,t,n);return null!==r&&i(r),r}if("RegExp"===u(t))return o(a,t,n);throw f("RegExp#exec called on incompatible receiver")}},,function(t,n,e){var r=e(10),o=e(143),i=e(4)("species");t.exports=function(t,n){var e,c=r(t).constructor;return void 0===c||null==(e=r(c)[i])?n:o(e)}},,function(t,n,e){var r=e(19),o=e(0);t.exports="process"==r(o.process)},,,,,function(t,n,e){var r=e(1),o=e(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,n,e){"use strict";var r=e(90),o=e(11),i=e(1),c=e(161),u=e(3),a=e(10),f=e(2),s=e(42),l=e(84),p=e(22),v=e(32),d=e(162),h=e(50),g=e(174),y=e(163),x=e(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,n,e){var i=I?"$":"$0";return[function(t,e){var r=v(this),i=null==t?void 0:h(t,x);return i?o(i,t,r,e):o(n,p(r),t,e)},function(t,o){var c=a(this),u=p(t);if("string"==typeof o&&-1===E(o,i)&&-1===E(o,"$<")){var v=e(n,c,u,o);if(v.done)return v.value}var h=f(o);h||(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=d(u,l(c.lastIndex),j))}for(var A,R="",N=0,P=0;P<I.length;P++){for(var _=p((T=I[P])[0]),L=m(b(s(T.index),u.length),0),M=[],C=1;C<T.length;C++)S(M,void 0===(A=T[C])?A:String(A));var F=T.groups;if(h){var k=w([_],M,L,u);void 0!==F&&S(k,F);var D=p(r(o,void 0,k))}else D=g(_,u,L,M,F,o);L>=N&&(R+=O(u,N,L)+D,N=L+_.length)}return R+O(u,N)}]}),!!u((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!j||I)},function(t,n,e){var r=e(1),o=e(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,n,e,r,l,p){var v=e+t.length,d=r.length,h=s;return void 0!==l&&(l=o(l),h=f),u(p,h,(function(o,u){var f;switch(c(u,0)){case"$":return"$";case"&":return t;case"`":return a(n,0,e);case"'":return a(n,v);case"<":f=l[a(u,1,-1)];break;default:var s=+u;if(0===s)return o;if(s>d){var p=i(s/10);return 0===p?o:p<=d?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,n,e){e(6)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},,function(t,n,e){var r,o,i,c,u=e(0),a=e(90),f=e(52),s=e(2),l=e(5),p=e(3),v=e(104),d=e(76),h=e(44),g=e(178),y=e(167),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 n=I[t];delete I[t],n()}},A=function(t){return function(){T(t)}},R=function(t){T(t.data)},N=function(t){u.postMessage(O(t),r.protocol+"//"+r.host)};x&&m||(x=function(t){var n=d(arguments,1);return I[++j]=function(){a(s(t)?t:S(t),void 0,n)},o(j),j},m=function(t){delete I[t]},y?o=function(t){b.nextTick(A(t))}:w&&w.now?o=function(t){w.now(A(t))}:E&&!g?(c=(i=new E).port2,i.port1.onmessage=R,o=f(c.postMessage,c)):u.addEventListener&&s(u.postMessage)&&!u.importScripts&&r&&"file:"!==r.protocol&&!p(N)?(o=N,u.addEventListener("message",R,!1)):o="onreadystatechange"in h("script")?function(t){v.appendChild(h("script")).onreadystatechange=function(){v.removeChild(this),T(t)}}:function(t){setTimeout(A(t),0)}),t.exports={set:x,clear:m}},function(t,n,e){var r=e(78);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},function(t,n,e){"use strict";var r=e(35),o=function(t){var n,e;this.promise=new t((function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r})),this.resolve=r(n),this.reject=r(e)};t.exports.f=function(t){return new o(t)}},,,,,,,,function(t,n,e){"use strict";e.r(n),e.d(n,"Snapshot",(function(){return r}));e(175),e(157),e(188),e(172),e(94),e(66),e(95),e(125),e(80),e(153),e(118),e(173),e(189),e(119);var r={pluginName:"snapshot",install:function(t){var n=this;this.lf=t,this.offsetX=Number.MAX_SAFE_INTEGER,this.offsetY=Number.MAX_SAFE_INTEGER,t.getSnapshot=function(e,r){n.fileName=e||"logic-flow.".concat(Date.now(),".png");var o=n.getSvgRootElement(t);n.downloadSvg(o,n.fileName,r)},t.getSnapshotBlob=function(e){var r=n.getSvgRootElement(t);return n.getBlob(r,e)},t.getSnapshotBase64=function(e){var r=n.getSvgRootElement(t);return n.getBase64(r,e)}},getSvgRootElement:function(t){var n=this;return t.graphModel.nodes.forEach((function(t){var e=t.x-t.width/2,r=t.y-t.height/2;e<n.offsetX&&(n.offsetX=e-5),r<n.offsetY&&(n.offsetY=r-5)})),t.graphModel.edges.forEach((function(t){t.pointsList&&t.pointsList.forEach((function(t){var e=t.x,r=t.y;e<n.offsetX&&(n.offsetX=e-5),r<n.offsetY&&(n.offsetY=r-5)}))})),t.container.querySelector(".lf-canvas-overlay")},triggerDownload:function(t){var n=new MouseEvent("click",{view:window,bubbles:!1,cancelable:!0}),e=document.createElement("a");e.setAttribute("download",this.fileName),e.setAttribute("href",t),e.setAttribute("target","_blank"),e.dispatchEvent(n)},removeAnchor:function(t){for(var n=t.childNodes,e=t.childNodes&&t.childNodes.length,r=0;r<e;r++){var o=n[r];(o.classList&&Array.from(o.classList)||[]).indexOf("lf-anchor")>-1&&(t.removeChild(t.childNodes[r]),e--,r--)}},downloadSvg:function(t,n,e){var r=this;this.getCanvasData(t,e).then((function(t){var e=t.toDataURL("image/png").replace("image/png","image/octet-stream");r.triggerDownload(e,n)}))},getBase64:function(t,n){var e=this;return new Promise((function(r){e.getCanvasData(t,n).then((function(t){var n=t.toDataURL("image/png");r({data:n,width:t.width,height:t.height})}))}))},getBlob:function(t,n){var e=this;return new Promise((function(r){e.getCanvasData(t,n).then((function(t){t.toBlob((function(n){r({data:n,width:t.width,height:t.height})}),"image/png")}))}))},getClassRules:function(){for(var t="",n=document.styleSheets,e=0;e<n.length;e++)for(var r=n[e],o=0;o<r.cssRules.length;o++)t+=r.cssRules[o].cssText;return t},getCanvasData:function(t,n){var e=this,r=t.cloneNode(!0),o=r.lastChild,i=document.createElement("style");i.innerHTML=this.getClassRules();var c=document.createElement("foreignObject");c.appendChild(i),r.appendChild(c);var u=o.childNodes&&o.childNodes.length;if(u)for(var a=0;a<u;a++){var f=o.childNodes[a],s=f.classList&&Array.from(f.classList);if(s&&s.indexOf("lf-base")<0)o.removeChild(o.childNodes[a]),u--,a--;else{var l=o.childNodes[a];l&&l.childNodes.forEach((function(t){var n=t;e.removeAnchor(n.firstChild)}))}}r.lastChild.style.transform="matrix(1, 0, 0, 1, ".concat(10-this.offsetX,", ").concat(10-this.offsetY,")");var p=window.devicePixelRatio||1,v=document.createElement("canvas"),d=document.getElementsByClassName("lf-base")[0].getBoundingClientRect(),h=this.lf.graphModel.transformModel,g=h.SCALE_X,y=h.SCALE_Y,x=Math.ceil(d.width/g),m=Math.ceil(d.height/y);v.style.width="".concat(x,"px"),v.style.height="".concat(m,"px"),v.width=x*p+80,v.height=m*p+80;var b=v.getContext("2d");b.scale(p,p),n?(b.fillStyle=n,b.fillRect(0,0,x*p+80,m*p+80)):b.clearRect(0,0,x,m);var w=new Image;return new Promise((function(t){w.onload=function(){b.drawImage(w,0,0),t(v)};var n="data:image/svg+xml;charset=utf-8,".concat((new XMLSerializer).serializeToString(r)).replace(/\n/g,"").replace(/\t/g,"").replace(/#/g,"%23");w.src=n}))}};n.default=r},function(t,n,e){var r=e(6),o=e(0),i=e(1),c=o.Date,u=i(c.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return u(new c)}})},function(t,n,e){"use strict";var r,o,i,c,u=e(6),a=e(29),f=e(0),s=e(13),l=e(11),p=e(190),v=e(14),d=e(140),h=e(75),g=e(48),y=e(141),x=e(35),m=e(2),b=e(8),w=e(117),S=e(38),E=e(116),O=e(113),j=e(165),I=e(177).set,T=e(191),A=e(194),R=e(195),N=e(179),P=e(196),_=e(21),L=e(69),M=e(4),C=e(197),F=e(167),k=e(47),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=N.f,q=W,J=!!(H&&H.createEvent&&f.dispatchEvent),Q=m(f.PromiseRejectionEvent),Z=!1,tt=L(G,(function(){var t=S(Y),n=t!==String(Y);if(!n&&66===k)return!0;if(a&&!V.finally)return!0;if(k>=51&&/native code/.test(t))return!1;var e=new Y((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};return(e.constructor={})[D]=r,!(Z=e.then((function(){}))instanceof r)||!n&&C&&!Q})),nt=tt||!O((function(t){Y.all(t).catch((function(){}))})),et=function(t){var n;return!(!b(t)||!m(n=t.then))&&n},rt=function(t,n){if(!t.notified){t.notified=!0;var e=t.reactions;T((function(){for(var r=t.value,o=1==t.state,i=0;e.length>i;){var c,u,a,f=e[i++],s=o?f.ok:f.fail,p=f.resolve,v=f.reject,d=f.domain;try{s?(o||(2===t.rejection&&ut(t),t.rejection=1),!0===s?c=r:(d&&d.enter(),c=s(r),d&&(d.exit(),a=!0)),c===f.promise?v(z("Promise-chain cycle")):(u=et(c))?l(u,c,p,v):p(c)):v(r)}catch(t){d&&!a&&d.exit(),v(t)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&it(t)}))}},ot=function(t,n,e){var r,o;J?((r=H.createEvent("Event")).promise=n,r.reason=e,r.initEvent(t,!1,!0),f.dispatchEvent(r)):r={promise:n,reason:e},!Q&&(o=f["on"+t])?o(r):"unhandledrejection"===t&&R("Unhandled promise rejection",e)},it=function(t){l(I,f,(function(){var n,e=t.facade,r=t.value;if(ct(t)&&(n=P((function(){F?K.emit("unhandledRejection",r,e):ot("unhandledrejection",e,r)})),t.rejection=F||ct(t)?2:1,n.error))throw n.value}))},ct=function(t){return 1!==t.rejection&&!t.parent},ut=function(t){l(I,f,(function(){var n=t.facade;F?K.emit("rejectionHandled",n):ot("rejectionhandled",n,t.value)}))},at=function(t,n,e){return function(r){t(n,r,e)}},ft=function(t,n,e){t.done||(t.done=!0,e&&(t=e),t.value=n,t.state=2,rt(t,!0))},st=function(t,n,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===n)throw z("Promise can't be resolved itself");var r=et(n);r?T((function(){var e={done:!1};try{l(r,n,at(st,e,t),at(ft,e,t))}catch(n){ft(e,n,t)}})):(t.value=n,t.state=1,rt(t,!1))}catch(n){ft({done:!1},n,t)}}};if(tt&&(V=(Y=function(t){w(this,V),x(t),l(r,this);var n=B(this);try{t(at(st,n),at(ft,n))}catch(t){ft(n,t)}}).prototype,(r=function(t){$(this,{type:G,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(V,{then:function(t,n){var e=X(this),r=e.reactions,o=W(j(this,Y));return o.ok=!m(t)||t,o.fail=m(n)&&n,o.domain=F?K.domain:void 0,e.parent=!0,r[r.length]=o,0!=e.state&&rt(e,!1),o.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,n=B(t);this.promise=t,this.resolve=at(st,n),this.reject=at(ft,n)},N.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,n){var e=this;return new Y((function(t,n){l(c,e,t,n)})).then(t,n)}),{unsafe:!0}),v(U,"catch",V.catch,{unsafe:!0}));try{delete U.constructor}catch(t){}h&&h(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 n=W(this);return l(n.reject,void 0,t),n.promise}}),u({target:G,stat:!0,forced:a||tt},{resolve:function(t){return A(a&&this===i?Y:this,t)}}),u({target:G,stat:!0,forced:nt},{all:function(t){var n=this,e=W(n),r=e.resolve,o=e.reject,i=P((function(){var e=x(n.resolve),i=[],c=0,u=1;E(t,(function(t){var a=c++,f=!1;u++,l(e,n,t).then((function(t){f||(f=!0,i[a]=t,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),e.promise},race:function(t){var n=this,e=W(n),r=e.reject,o=P((function(){var o=x(n.resolve);E(t,(function(t){l(o,n,t).then(e.resolve,r)}))}));return o.error&&r(o.value),e.promise}})},function(t,n,e){var r=e(0);t.exports=r.Promise},function(t,n,e){var r,o,i,c,u,a,f,s,l=e(0),p=e(52),v=e(24).f,d=e(177).set,h=e(178),g=e(192),y=e(193),x=e(167),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,n;for(x&&(t=w.domain)&&t.exit();o;){n=o.fn,o=o.next;try{n()}catch(t){throw o?c():i=void 0,t}}i=void 0,t&&t.enter()},h||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)}:(d=p(d,l),c=function(){d(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 n={fn:t,next:void 0};i&&(i.next=n),o||(o=n,c()),i=n}},function(t,n,e){var r=e(78),o=e(0);t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},function(t,n,e){var r=e(78);t.exports=/web0s(?!.*chrome)/i.test(r)},function(t,n,e){var r=e(10),o=e(8),i=e(179);t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t);return(0,e.resolve)(n),e.promise}},function(t,n,e){var r=e(0);t.exports=function(t,n){var e=r.console;e&&e.error&&(1==arguments.length?e.error(t):e.error(t,n))}},function(t,n){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,n){t.exports="object"==typeof window}])}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logicflow/extension",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
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.0.
|
|
35
|
+
"@logicflow/core": "^1.0.4",
|
|
36
36
|
"ids": "^1.0.0",
|
|
37
37
|
"preact": "^10.4.8"
|
|
38
38
|
},
|
|
@@ -10,6 +10,7 @@ declare const Snapshot: {
|
|
|
10
10
|
downloadSvg(svg: SVGGraphicsElement, fileName: string, backgroundColor: string): void;
|
|
11
11
|
getBase64(svg: SVGGraphicsElement, backgroundColor: string): Promise<unknown>;
|
|
12
12
|
getBlob(svg: SVGGraphicsElement, backgroundColor: string): Promise<unknown>;
|
|
13
|
+
getClassRules(): string;
|
|
13
14
|
getCanvasData(svg: SVGGraphicsElement, backgroundColor: string): Promise<unknown>;
|
|
14
15
|
};
|
|
15
16
|
export default Snapshot;
|