@logicflow/extension 1.1.12 → 1.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/NodeResize/Control/Control.js +8 -8
- package/cjs/NodeResize/Control/Util.js +11 -11
- package/cjs/bpmn-adapter/index.js +124 -76
- package/cjs/bpmn-adapter/json2xml.js +5 -2
- package/cjs/bpmn-adapter/xml2json.js +38 -284
- package/cjs/components/context-menu/index.js +2 -2
- package/cjs/components/menu/index.js +23 -23
- package/cjs/components/mini-map/index.js +2 -2
- package/cjs/components/selection-select/index.js +5 -5
- package/cjs/insert-node-in-polyline/edge.js +4 -4
- package/cjs/insert-node-in-polyline/index.js +1 -1
- package/cjs/materials/group/GroupNode.js +2 -2
- package/cjs/materials/group/index.js +3 -3
- package/cjs/tools/auto-layout/index.js +9 -9
- package/cjs/tools/snapshot/index.js +47 -46
- package/cjs/turbo-adapter/index.js +2 -2
- package/es/NodeResize/Control/Control.d.ts +1 -1
- package/es/NodeResize/Control/Control.js +9 -9
- package/es/NodeResize/Control/Util.d.ts +3 -3
- package/es/NodeResize/Control/Util.js +7 -7
- package/es/bpmn-adapter/index.d.ts +41 -33
- package/es/bpmn-adapter/index.js +124 -76
- package/es/bpmn-adapter/json2xml.js +5 -2
- package/es/bpmn-adapter/xml2json.js +38 -284
- package/es/components/context-menu/index.js +2 -2
- package/es/components/menu/index.js +23 -23
- package/es/components/mini-map/index.js +2 -2
- package/es/components/selection-select/index.d.ts +1 -1
- package/es/components/selection-select/index.js +5 -5
- package/es/insert-node-in-polyline/edge.d.ts +3 -3
- package/es/insert-node-in-polyline/edge.js +3 -3
- package/es/insert-node-in-polyline/index.js +2 -2
- package/es/materials/group/GroupNode.d.ts +1 -1
- package/es/materials/group/GroupNode.js +2 -2
- package/es/materials/group/index.d.ts +1 -1
- package/es/materials/group/index.js +3 -3
- package/es/tools/auto-layout/index.d.ts +2 -2
- package/es/tools/auto-layout/index.js +9 -9
- package/es/tools/snapshot/index.d.ts +15 -7
- package/es/tools/snapshot/index.js +47 -46
- package/es/turbo-adapter/index.js +2 -2
- package/lib/AutoLayout.js +1 -1
- package/lib/BpmnAdapter.js +1 -1
- package/lib/BpmnElement.js +1 -1
- package/lib/ContextMenu.js +1 -1
- package/lib/Control.js +1 -1
- package/lib/CurvedEdge.js +1 -1
- package/lib/DndPanel.js +1 -1
- package/lib/FlowPath.js +1 -1
- package/lib/Group.js +1 -1
- package/lib/InsertNodeInPolyline.js +1 -1
- package/lib/Menu.js +1 -1
- package/lib/MiniMap.js +1 -1
- package/lib/NodeResize.js +1 -1
- package/lib/RectLabelNode.js +1 -1
- package/lib/SelectionSelect.js +1 -1
- package/lib/Snapshot.js +1 -1
- package/lib/TurboAdapter.js +1 -1
- package/lib/lfJson2Xml.js +1 -1
- package/lib/lfXml2Json.js +1 -1
- package/package.json +2 -2
- package/types/NodeResize/Control/Control.d.ts +1 -1
- package/types/NodeResize/Control/Util.d.ts +3 -3
- package/types/bpmn-adapter/index.d.ts +41 -33
- package/types/components/selection-select/index.d.ts +1 -1
- package/types/insert-node-in-polyline/edge.d.ts +3 -3
- package/types/materials/group/GroupNode.d.ts +1 -1
- package/types/materials/group/index.d.ts +1 -1
- package/types/tools/auto-layout/index.d.ts +2 -2
- package/types/tools/snapshot/index.d.ts +15 -7
package/lib/MiniMap.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var r=n();for(var e in r)("object"==typeof exports?exports:t)[e]=r[e]}}(window,(function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=210)}([function(t,n,r){(function(n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,r(95))},function(t,n){var r=Function.prototype,e=r.bind,o=r.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,n){t.exports=function(t){return"function"==typeof t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(0),o=r(33),i=r(5),a=r(34),u=r(45),c=r(62),s=o("wks"),f=e.Symbol,l=f&&f.for,p=c?f:f&&f.withoutSetter||a;t.exports=function(t){if(!i(s,t)||!u&&"string"!=typeof s[t]){var n="Symbol."+t;u&&i(f,t)?s[t]=f[t]:s[t]=c&&l?l(n):p(n)}return s[t]}},function(t,n,r){var e=r(1),o=r(15),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,r){var e=r(0),o=r(25).f,i=r(16),a=r(14),u=r(42),c=r(68),s=r(71);t.exports=function(t,n){var r,f,l,p,v,h=t.target,d=t.global,y=t.stat;if(r=d?e:y?e[h]||u(h,{}):(e[h]||{}).prototype)for(f in n){if(p=n[f],l=t.noTargetGet?(v=o(r,f))&&v.value:r[f],!s(d?f:h+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(r,f,p,t)}}},function(t,n,r){var e=r(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,r){var e=r(0),o=r(7),i=r(63),a=r(10),u=r(26),c=e.TypeError,s=Object.defineProperty;n.f=o?s:function(t,n,r){if(a(t),n=u(n),a(r),i)try{return s(t,n,r)}catch(t){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,n,r){var e=r(0),o=r(9),i=e.String,a=e.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not an object")}},function(t,n){var r=Function.prototype.call;t.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},function(t,n,r){var e=r(49),o=r(31);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(0),o=r(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(e[t]):e[t]&&e[t][n]}},function(t,n,r){var e=r(0),o=r(2),i=r(5),a=r(16),u=r(42),c=r(38),s=r(22),f=r(53).CONFIGURABLE,l=s.get,p=s.enforce,v=String(String).split("String");(t.exports=function(t,n,r,c){var s,l=!!c&&!!c.unsafe,h=!!c&&!!c.enumerable,d=!!c&&!!c.noTargetGet,y=c&&void 0!==c.name?c.name:n;o(r)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||f&&r.name!==y)&&a(r,"name",y),(s=p(r)).source||(s.source=v.join("string"==typeof y?y:""))),t!==e?(l?!d&&t[n]&&(h=!0):delete t[n],h?t[n]=r:a(t,n,r)):h?t[n]=r:u(n,r)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||c(this)}))},function(t,n,r){var e=r(0),o=r(31),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,n,r){var e=r(7),o=r(8),i=r(21);t.exports=e?function(t,n,r){return o.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(83);t.exports=function(t){return e(t.length)}},,function(t,n,r){var e,o=r(10),i=r(93),a=r(46),u=r(24),c=r(106),s=r(44),f=r(29),l=f("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},h=function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n},d=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,n;d="undefined"!=typeof document?document.domain&&e?h(e):((n=s("iframe")).style.display="none",c.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):h(e);for(var r=a.length;r--;)delete d.prototype[a[r]];return d()};u[l]=!0,t.exports=Object.create||function(t,n){var r;return null!==t?(p.prototype=o(t),r=new p,p.prototype=null,r[l]=t):r=d(),void 0===n?r:i(r,n)}},function(t,n,r){var e=r(1),o=e({}.toString),i=e("".slice);t.exports=function(t){return i(o(t),8,-1)}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){var e,o,i,a=r(97),u=r(0),c=r(1),s=r(9),f=r(16),l=r(5),p=r(41),v=r(29),h=r(24),d=u.TypeError,y=u.WeakMap;if(a||p.state){var _=p.state||(p.state=new y),g=c(_.get),x=c(_.has),m=c(_.set);e=function(t,n){if(x(_,t))throw new d("Object already initialized");return n.facade=t,m(_,t,n),n},o=function(t){return g(_,t)||{}},i=function(t){return x(_,t)}}else{var b=v("state");h[b]=!0,e=function(t,n){if(l(t,b))throw new d("Object already initialized");return n.facade=t,f(t,b,n),n},o=function(t){return l(t,b)?t[b]:{}},i=function(t){return l(t,b)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(n){var r;if(!s(n)||(r=o(n)).type!==t)throw d("Incompatible receiver, "+t+" required");return r}}}},function(t,n,r){var e=r(0),o=r(32),i=e.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},function(t,n){t.exports={}},function(t,n,r){var e=r(7),o=r(11),i=r(61),a=r(21),u=r(12),c=r(26),s=r(5),f=r(63),l=Object.getOwnPropertyDescriptor;n.f=e?l:function(t,n){if(t=u(t),n=c(n),f)try{return l(t,n)}catch(t){}if(s(t,n))return a(!o(i.f,t,n),t[n])}},function(t,n,r){var e=r(92),o=r(40);t.exports=function(t){var n=e(t,"string");return o(n)?n:n+""}},function(t,n,r){var e=r(1);t.exports=e({}.isPrototypeOf)},function(t,n){t.exports=!1},function(t,n,r){var e=r(33),o=r(34),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n){t.exports={}},function(t,n,r){var e=r(0).TypeError;t.exports=function(t){if(null==t)throw e("Can't call method on "+t);return t}},function(t,n,r){var e=r(0),o=r(43),i=r(2),a=r(20),u=r(4)("toStringTag"),c=e.Object,s="Arguments"==a(function(){return arguments}());t.exports=o?a:function(t){var n,r,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=c(t),u))?r:s?a(n):"Object"==(e=a(n))&&i(n.callee)?"Arguments":e}},function(t,n,r){var e=r(28),o=r(41);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.19.3",mode:e?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,n,r){var e=r(1),o=0,i=Math.random(),a=e(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},function(t,n,r){var e=r(66),o=r(46).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){var e=r(20);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(0),o=r(2),i=r(52),a=e.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not a function")}},function(t,n,r){var e=r(1),o=r(2),i=r(41),a=e(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){var n=+t;return n!=n||0===n?0:(n>0?e:r)(n)}},function(t,n,r){var e=r(0),o=r(13),i=r(2),a=r(27),u=r(62),c=e.Object;t.exports=u?function(t){return"symbol"==typeof t}:function(t){var n=o("Symbol");return i(n)&&a(n.prototype,c(t))}},function(t,n,r){var e=r(0),o=r(42),i=e["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,n,r){var e=r(0),o=Object.defineProperty;t.exports=function(t,n){try{o(e,t,{value:n,configurable:!0,writable:!0})}catch(r){e[t]=n}return n}},function(t,n,r){var e={};e[r(4)("toStringTag")]="z",t.exports="[object z]"===String(e)},function(t,n,r){var e=r(0),o=r(9),i=e.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,n,r){var e=r(50),o=r(3);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41}))},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n,r){var e=r(8).f,o=r(5),i=r(4)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n,r){var e=r(37);t.exports=function(t,n){var r=t[n];return null==r?void 0:e(r)}},function(t,n,r){var e=r(0),o=r(1),i=r(3),a=r(20),u=e.Object,c=o("".split);t.exports=i((function(){return!u("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?c(t,""):u(t)}:u},function(t,n,r){var e,o,i=r(0),a=r(82),u=i.process,c=i.Deno,s=u&&u.versions||c&&c.version,f=s&&s.v8;f&&(o=(e=f.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!o&&a&&(!(e=a.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=a.match(/Chrome\/(\d+)/))&&(o=+e[1]),t.exports=o},function(t,n,r){"use strict";var e=r(26),o=r(8),i=r(21);t.exports=function(t,n,r){var a=e(n);a in t?o.f(t,a,i(0,r)):t[a]=r}},function(t,n,r){var e=r(0).String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},function(t,n,r){var e=r(7),o=r(5),i=Function.prototype,a=e&&Object.getOwnPropertyDescriptor,u=o(i,"name"),c=u&&"something"===function(){}.name,s=u&&(!e||e&&a(i,"name").configurable);t.exports={EXISTS:u,PROPER:c,CONFIGURABLE:s}},function(t,n,r){var e=r(39),o=Math.max,i=Math.min;t.exports=function(t,n){var r=e(t);return r<0?o(r+n,0):i(r,n)}},function(t,n,r){var e=r(1),o=r(37),i=e(e.bind);t.exports=function(t,n){return o(t),void 0===n?t:i?i(t,n):function(){return t.apply(n,arguments)}}},function(t,n,r){"use strict";var e=r(12),o=r(105),i=r(30),a=r(22),u=r(67),c=a.set,s=a.getterFor("Array Iterator");t.exports=u(Array,"Array",(function(t,n){c(this,{type:"Array Iterator",target:e(t),index:0,kind:n})}),(function(){var t=s(this),n=t.target,r=t.kind,e=t.index++;return!n||e>=n.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:e,done:!1}:"values"==r?{value:n[e],done:!1}:{value:[e,n[e]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,n,r){var e=r(55),o=r(1),i=r(49),a=r(15),u=r(17),c=r(73),s=o([].push),f=function(t){var n=1==t,r=2==t,o=3==t,f=4==t,l=6==t,p=7==t,v=5==t||l;return function(h,d,y,_){for(var g,x,m=a(h),b=i(m),w=e(d,y),S=u(b),O=0,P=_||c,M=n?P(h,S):r||p?P(h,0):void 0;S>O;O++)if((v||O in b)&&(x=w(g=b[O],O,m),t))if(n)M[O]=x;else if(x)switch(t){case 3:return!0;case 5:return g;case 6:return O;case 2:s(M,g)}else switch(t){case 4:return!1;case 7:s(M,g)}return l?-1:o||f?f:M}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},function(t,n,r){var e=r(1),o=r(3),i=r(2),a=r(32),u=r(13),c=r(38),s=function(){},f=[],l=u("Reflect","construct"),p=/^\s*(?:class|function)\b/,v=e(p.exec),h=!p.exec(s),d=function(t){if(!i(t))return!1;try{return l(s,f,t),!0}catch(t){return!1}};t.exports=!l||o((function(){var t;return d(d.call)||!d(Object)||!d((function(){t=!0}))||t}))?function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return h||!!v(p,c(t))}:d},function(t,n,r){var e=r(66),o=r(46);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(43),o=r(14),i=r(99);e||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,n,r){"use strict";var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:e},function(t,n,r){var e=r(45);t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,r){var e=r(7),o=r(3),i=r(44);t.exports=!e&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(0),o=r(5),i=r(2),a=r(15),u=r(29),c=r(102),s=u("IE_PROTO"),f=e.Object,l=f.prototype;t.exports=c?f.getPrototypeOf:function(t){var n=a(t);if(o(n,s))return n[s];var r=n.constructor;return i(r)&&n instanceof r?r.prototype:n instanceof f?l:null}},function(t,n,r){var e=r(1),o=r(5),i=r(12),a=r(89).indexOf,u=r(24),c=e([].push);t.exports=function(t,n){var r,e=i(t),s=0,f=[];for(r in e)!o(u,r)&&o(e,r)&&c(f,r);for(;n.length>s;)o(e,r=n[s++])&&(~a(f,r)||c(f,r));return f}},function(t,n,r){"use strict";var e=r(6),o=r(11),i=r(28),a=r(53),u=r(2),c=r(108),s=r(65),f=r(79),l=r(47),p=r(16),v=r(14),h=r(4),d=r(30),y=r(77),_=a.PROPER,g=a.CONFIGURABLE,x=y.IteratorPrototype,m=y.BUGGY_SAFARI_ITERATORS,b=h("iterator"),w=function(){return this};t.exports=function(t,n,r,a,h,y,S){c(r,n,a);var O,P,M,j=function(t){if(t===h&&I)return I;if(!m&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},E=n+" Iterator",A=!1,T=t.prototype,L=T[b]||T["@@iterator"]||h&&T[h],I=!m&&L||j(h),R="Array"==n&&T.entries||L;if(R&&(O=s(R.call(new t)))!==Object.prototype&&O.next&&(i||s(O)===x||(f?f(O,x):u(O[b])||v(O,b,w)),l(O,E,!0,!0),i&&(d[E]=w)),_&&"values"==h&&L&&"values"!==L.name&&(!i&&g?p(T,"name","values"):(A=!0,I=function(){return o(L,this)})),h)if(P={values:j("values"),keys:y?I:j("keys"),entries:j("entries")},S)for(M in P)(m||A||!(M in T))&&v(T,M,P[M]);else e({target:n,proto:!0,forced:m||A},P);return i&&!S||T[b]===I||v(T,b,I,{name:h}),d[n]=I,P}},function(t,n,r){var e=r(5),o=r(87),i=r(25),a=r(8);t.exports=function(t,n){for(var r=o(n),u=a.f,c=i.f,s=0;s<r.length;s++){var f=r[s];e(t,f)||u(t,f,c(n,f))}}},function(t,n,r){"use strict";var e=r(104).charAt,o=r(23),i=r(22),a=r(67),u=i.set,c=i.getterFor("String Iterator");a(String,"String",(function(t){u(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,n=c(this),r=n.string,o=n.index;return o>=r.length?{value:void 0,done:!0}:(t=e(r,o),n.index+=t.length,{value:t,done:!1})}))},function(t,n,r){"use strict";var e=r(6),o=r(0),i=r(13),a=r(91),u=r(11),c=r(1),s=r(28),f=r(7),l=r(45),p=r(3),v=r(5),h=r(36),d=r(2),y=r(9),_=r(27),g=r(40),x=r(10),m=r(15),b=r(12),w=r(26),S=r(23),O=r(21),P=r(19),M=r(59),j=r(35),E=r(103),A=r(64),T=r(25),L=r(8),I=r(61),R=r(78),k=r(14),C=r(33),F=r(29),N=r(24),D=r(34),G=r(4),V=r(86),W=r(88),B=r(47),H=r(22),U=r(57).forEach,Y=F("hidden"),z=G("toPrimitive"),X=H.set,$=H.getterFor("Symbol"),K=Object.prototype,q=o.Symbol,J=q&&q.prototype,Q=o.TypeError,Z=o.QObject,tt=i("JSON","stringify"),nt=T.f,rt=L.f,et=E.f,ot=I.f,it=c([].push),at=C("symbols"),ut=C("op-symbols"),ct=C("string-to-symbol-registry"),st=C("symbol-to-string-registry"),ft=C("wks"),lt=!Z||!Z.prototype||!Z.prototype.findChild,pt=f&&p((function(){return 7!=P(rt({},"a",{get:function(){return rt(this,"a",{value:7}).a}})).a}))?function(t,n,r){var e=nt(K,n);e&&delete K[n],rt(t,n,r),e&&t!==K&&rt(K,n,e)}:rt,vt=function(t,n){var r=at[t]=P(J);return X(r,{type:"Symbol",tag:t,description:n}),f||(r.description=n),r},ht=function(t,n,r){t===K&&ht(ut,n,r),x(t);var e=w(n);return x(r),v(at,e)?(r.enumerable?(v(t,Y)&&t[Y][e]&&(t[Y][e]=!1),r=P(r,{enumerable:O(0,!1)})):(v(t,Y)||rt(t,Y,O(1,{})),t[Y][e]=!0),pt(t,e,r)):rt(t,e,r)},dt=function(t,n){x(t);var r=b(n),e=M(r).concat(xt(r));return U(e,(function(n){f&&!u(yt,r,n)||ht(t,n,r[n])})),t},yt=function(t){var n=w(t),r=u(ot,this,n);return!(this===K&&v(at,n)&&!v(ut,n))&&(!(r||!v(this,n)||!v(at,n)||v(this,Y)&&this[Y][n])||r)},_t=function(t,n){var r=b(t),e=w(n);if(r!==K||!v(at,e)||v(ut,e)){var o=nt(r,e);return!o||!v(at,e)||v(r,Y)&&r[Y][e]||(o.enumerable=!0),o}},gt=function(t){var n=et(b(t)),r=[];return U(n,(function(t){v(at,t)||v(N,t)||it(r,t)})),r},xt=function(t){var n=t===K,r=et(n?ut:b(t)),e=[];return U(r,(function(t){!v(at,t)||n&&!v(K,t)||it(e,at[t])})),e};(l||(k(J=(q=function(){if(_(J,this))throw Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?S(arguments[0]):void 0,n=D(t),r=function(t){this===K&&u(r,ut,t),v(this,Y)&&v(this[Y],n)&&(this[Y][n]=!1),pt(this,n,O(1,t))};return f&<&&pt(K,n,{configurable:!0,set:r}),vt(n,t)}).prototype,"toString",(function(){return $(this).tag})),k(q,"withoutSetter",(function(t){return vt(D(t),t)})),I.f=yt,L.f=ht,T.f=_t,j.f=E.f=gt,A.f=xt,V.f=function(t){return vt(G(t),t)},f&&(rt(J,"description",{configurable:!0,get:function(){return $(this).description}}),s||k(K,"propertyIsEnumerable",yt,{unsafe:!0}))),e({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:q}),U(M(ft),(function(t){W(t)})),e({target:"Symbol",stat:!0,forced:!l},{for:function(t){var n=S(t);if(v(ct,n))return ct[n];var r=q(n);return ct[n]=r,st[r]=n,r},keyFor:function(t){if(!g(t))throw Q(t+" is not a symbol");if(v(st,t))return st[t]},useSetter:function(){lt=!0},useSimple:function(){lt=!1}}),e({target:"Object",stat:!0,forced:!l,sham:!f},{create:function(t,n){return void 0===n?P(t):dt(P(t),n)},defineProperty:ht,defineProperties:dt,getOwnPropertyDescriptor:_t}),e({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:gt,getOwnPropertySymbols:xt}),e({target:"Object",stat:!0,forced:p((function(){A.f(1)}))},{getOwnPropertySymbols:function(t){return A.f(m(t))}}),tt)&&e({target:"JSON",stat:!0,forced:!l||p((function(){var t=q();return"[null]"!=tt([t])||"{}"!=tt({a:t})||"{}"!=tt(Object(t))}))},{stringify:function(t,n,r){var e=R(arguments),o=n;if((y(n)||void 0!==t)&&!g(t))return h(n)||(n=function(t,n){if(d(o)&&(n=u(o,this,t,n)),!g(n))return n}),e[1]=n,a(tt,null,e)}});if(!J[z]){var mt=J.valueOf;k(J,z,(function(t){return u(mt,this)}))}B(q,"Symbol"),N[Y]=!0},function(t,n,r){var e=r(3),o=r(2),i=/#|\.prototype\./,a=function(t,n){var r=c[u(t)];return r==f||r!=s&&(o(n)?e(n):!!n)},u=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=a.data={},s=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a},function(t,n,r){var e=r(6),o=r(7);e({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:r(8).f})},function(t,n,r){var e=r(98);t.exports=function(t,n){return new(e(t))(0===n?0:n)}},function(t,n){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,n,r){var e=r(44)("span").classList,o=e&&e.constructor&&e.constructor.prototype;t.exports=o===Object.prototype?void 0:o},function(t,n,r){var e=r(0),o=r(74),i=r(75),a=r(56),u=r(16),c=r(4),s=c("iterator"),f=c("toStringTag"),l=a.values,p=function(t,n){if(t){if(t[s]!==l)try{u(t,s,l)}catch(n){t[s]=l}if(t[f]||u(t,f,n),o[n])for(var r in a)if(t[r]!==a[r])try{u(t,r,a[r])}catch(n){t[r]=a[r]}}};for(var v in o)p(e[v]&&e[v].prototype,v);p(i,"DOMTokenList")},function(t,n,r){"use strict";var e,o,i,a=r(3),u=r(2),c=r(19),s=r(65),f=r(14),l=r(4),p=r(28),v=l("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(e=o):h=!0),null==e||a((function(){var t={};return e[v].call(t)!==t}))?e={}:p&&(e=c(e)),u(e[v])||f(e,v,(function(){return this})),t.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:h}},function(t,n,r){var e=r(1);t.exports=e([].slice)},function(t,n,r){var e=r(1),o=r(10),i=r(109);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,r={};try{(t=e(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),n=r instanceof Array}catch(t){}return function(r,e){return o(r),i(e),n?t(r,e):r.__proto__=e,r}}():void 0)},function(t,n,r){"use strict";var e=r(6),o=r(7),i=r(0),a=r(1),u=r(5),c=r(2),s=r(27),f=r(23),l=r(8).f,p=r(68),v=i.Symbol,h=v&&v.prototype;if(o&&c(v)&&(!("description"in h)||void 0!==v().description)){var d={},y=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),n=s(h,this)?new v(t):void 0===t?v():v(t);return""===t&&(d[n]=!0),n};p(y,v),y.prototype=h,h.constructor=y;var _="Symbol(test)"==String(v("test")),g=a(h.toString),x=a(h.valueOf),m=/^Symbol\((.*)\)[^)]+$/,b=a("".replace),w=a("".slice);l(h,"description",{configurable:!0,get:function(){var t=x(this),n=g(t);if(u(d,t))return"";var r=_?w(n,7,-1):b(n,m,"$1");return""===r?void 0:r}}),e({global:!0,forced:!0},{Symbol:y})}},function(t,n,r){r(88)("iterator")},function(t,n,r){var e=r(13);t.exports=e("navigator","userAgent")||""},function(t,n,r){var e=r(39),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){"use strict";var e=r(57).forEach,o=r(90)("forEach");t.exports=o?[].forEach:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,n,r){var e=r(3),o=r(4),i=r(50),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(4);n.f=e},function(t,n,r){var e=r(13),o=r(1),i=r(35),a=r(64),u=r(10),c=o([].concat);t.exports=e("Reflect","ownKeys")||function(t){var n=i.f(u(t)),r=a.f;return r?c(n,r(t)):n}},function(t,n,r){var e=r(111),o=r(5),i=r(86),a=r(8).f;t.exports=function(t){var n=e.Symbol||(e.Symbol={});o(n,t)||a(n,t,{value:i.f(t)})}},function(t,n,r){var e=r(12),o=r(54),i=r(17),a=function(t){return function(n,r,a){var u,c=e(n),s=i(c),f=o(a,s);if(t&&r!=r){for(;s>f;)if((u=c[f++])!=u)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,n,r){"use strict";var e=r(3);t.exports=function(t,n){var r=[][t];return!!r&&e((function(){r.call(null,n||function(){throw 1},1)}))}},function(t,n){var r=Function.prototype,e=r.apply,o=r.bind,i=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?i.bind(e):function(){return i.apply(e,arguments)})},function(t,n,r){var e=r(0),o=r(11),i=r(9),a=r(40),u=r(48),c=r(96),s=r(4),f=e.TypeError,l=s("toPrimitive");t.exports=function(t,n){if(!i(t)||a(t))return t;var r,e=u(t,l);if(e){if(void 0===n&&(n="default"),r=o(e,t,n),!i(r)||a(r))return r;throw f("Can't convert object to primitive value")}return void 0===n&&(n="number"),c(t,n)}},function(t,n,r){var e=r(7),o=r(8),i=r(10),a=r(12),u=r(59);t.exports=e?Object.defineProperties:function(t,n){i(t);for(var r,e=a(n),c=u(n),s=c.length,f=0;s>f;)o.f(t,r=c[f++],e[r]);return t}},function(t,n,r){var e=r(32),o=r(48),i=r(30),a=r(4)("iterator");t.exports=function(t){if(null!=t)return o(t,a)||o(t,"@@iterator")||i[e(t)]}},function(t,n){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,n,r){var e=r(0),o=r(11),i=r(2),a=r(9),u=e.TypeError;t.exports=function(t,n){var r,e;if("string"===n&&i(r=t.toString)&&!a(e=o(r,t)))return e;if(i(r=t.valueOf)&&!a(e=o(r,t)))return e;if("string"!==n&&i(r=t.toString)&&!a(e=o(r,t)))return e;throw u("Can't convert object to primitive value")}},function(t,n,r){var e=r(0),o=r(2),i=r(38),a=e.WeakMap;t.exports=o(a)&&/native code/.test(i(a))},function(t,n,r){var e=r(0),o=r(36),i=r(58),a=r(9),u=r(4)("species"),c=e.Array;t.exports=function(t){var n;return o(t)&&(n=t.constructor,(i(n)&&(n===c||o(n.prototype))||a(n)&&null===(n=n[u]))&&(n=void 0)),void 0===n?c:n}},function(t,n,r){"use strict";var e=r(43),o=r(32);t.exports=e?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,n,r){"use strict";var e=r(6),o=r(84);e({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,n,r){var e=r(0),o=r(74),i=r(75),a=r(84),u=r(16),c=function(t){if(t&&t.forEach!==a)try{u(t,"forEach",a)}catch(n){t.forEach=a}};for(var s in o)o[s]&&c(e[s]&&e[s].prototype);c(i)},function(t,n,r){var e=r(3);t.exports=!e((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,n,r){var e=r(20),o=r(12),i=r(35).f,a=r(107),u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"Window"==e(t)?function(t){try{return i(t)}catch(t){return a(u)}}(t):i(o(t))}},function(t,n,r){var e=r(1),o=r(39),i=r(23),a=r(31),u=e("".charAt),c=e("".charCodeAt),s=e("".slice),f=function(t){return function(n,r){var e,f,l=i(a(n)),p=o(r),v=l.length;return p<0||p>=v?t?"":void 0:(e=c(l,p))<55296||e>56319||p+1===v||(f=c(l,p+1))<56320||f>57343?t?u(l,p):e:t?s(l,p,p+2):f-56320+(e-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},function(t,n,r){var e=r(4),o=r(19),i=r(8),a=e("unscopables"),u=Array.prototype;null==u[a]&&i.f(u,a,{configurable:!0,value:o(null)}),t.exports=function(t){u[a][t]=!0}},function(t,n,r){var e=r(13);t.exports=e("document","documentElement")},function(t,n,r){var e=r(0),o=r(54),i=r(17),a=r(51),u=e.Array,c=Math.max;t.exports=function(t,n,r){for(var e=i(t),s=o(n,e),f=o(void 0===r?e:r,e),l=u(c(f-s,0)),p=0;s<f;s++,p++)a(l,p,t[s]);return l.length=p,l}},function(t,n,r){"use strict";var e=r(77).IteratorPrototype,o=r(19),i=r(21),a=r(47),u=r(30),c=function(){return this};t.exports=function(t,n,r,s){var f=n+" Iterator";return t.prototype=o(e,{next:i(+!s,r)}),a(t,f,!1,!0),u[f]=c,t}},function(t,n,r){var e=r(0),o=r(2),i=e.String,a=e.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw a("Can't set "+i(t)+" as a prototype")}},function(t,n,r){"use strict";var e,o,i=r(11),a=r(1),u=r(23),c=r(124),s=r(125),f=r(33),l=r(19),p=r(22).get,v=r(130),h=r(131),d=f("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,_=y,g=a("".charAt),x=a("".indexOf),m=a("".replace),b=a("".slice),w=(o=/b*/g,i(y,e=/a/,"a"),i(y,o,"a"),0!==e.lastIndex||0!==o.lastIndex),S=s.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];(w||O||S||v||h)&&(_=function(t){var n,r,e,o,a,s,f,v=this,h=p(v),P=u(t),M=h.raw;if(M)return M.lastIndex=v.lastIndex,n=i(_,M,P),v.lastIndex=M.lastIndex,n;var j=h.groups,E=S&&v.sticky,A=i(c,v),T=v.source,L=0,I=P;if(E&&(A=m(A,"y",""),-1===x(A,"g")&&(A+="g"),I=b(P,v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&"\n"!==g(P,v.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,L++),r=new RegExp("^(?:"+T+")",A)),O&&(r=new RegExp("^"+T+"$(?!\\s)",A)),w&&(e=v.lastIndex),o=i(y,E?r:v,I),E?o?(o.input=b(o.input,L),o[0]=b(o[0],L),o.index=v.lastIndex,v.lastIndex+=o[0].length):v.lastIndex=0:w&&o&&(v.lastIndex=v.global?o.index+o[0].length:e),O&&o&&o.length>1&&i(d,o[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&j)for(o.groups=s=l(null),a=0;a<j.length;a++)s[(f=j[a])[0]]=o[f[1]];return o}),t.exports=_},function(t,n,r){var e=r(0);t.exports=e},function(t,n,r){var e=r(4),o=r(30),i=e("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},function(t,n,r){var e=r(0),o=r(11),i=r(37),a=r(10),u=r(52),c=r(94),s=e.TypeError;t.exports=function(t,n){var r=arguments.length<2?c(t):n;if(i(r))return a(o(r,t));throw s(u(t)+" is not iterable")}},function(t,n,r){var e=r(11),o=r(10),i=r(48);t.exports=function(t,n,r){var a,u;o(t);try{if(!(a=i(t,"return"))){if("throw"===n)throw r;return r}a=e(a,t)}catch(t){u=!0,a=t}if("throw"===n)throw r;if(u)throw a;return o(a),r}},function(t,n,r){var e=r(4)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[e]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i={};i[e]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},,function(t,n,r){"use strict";var e=r(6),o=r(110);e({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},,,,,,,function(t,n,r){"use strict";var e=r(10);t.exports=function(){var t=e(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,r){var e=r(3),o=r(0).RegExp,i=e((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),a=i||e((function(){return!o("a","y").sticky})),u=i||e((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:u,MISSED_STICKY:a,UNSUPPORTED_Y:i}},,,,function(t,n,r){"use strict";var e=r(6),o=r(0),i=r(3),a=r(36),u=r(9),c=r(15),s=r(17),f=r(51),l=r(73),p=r(85),v=r(4),h=r(50),d=v("isConcatSpreadable"),y=o.TypeError,_=h>=51||!i((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),g=p("concat"),x=function(t){if(!u(t))return!1;var n=t[d];return void 0!==n?!!n:a(t)};e({target:"Array",proto:!0,forced:!_||!g},{concat:function(t){var n,r,e,o,i,a=c(this),u=l(a,0),p=0;for(n=-1,e=arguments.length;n<e;n++)if(x(i=-1===n?a:arguments[n])){if(p+(o=s(i))>9007199254740991)throw y("Maximum allowed index exceeded");for(r=0;r<o;r++,p++)r in i&&f(u,p,i[r])}else{if(p>=9007199254740991)throw y("Maximum allowed index exceeded");f(u,p++,i)}return u.length=p,u}})},function(t,n,r){var e=r(3),o=r(0).RegExp;t.exports=e((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},function(t,n,r){var e=r(3),o=r(0).RegExp;t.exports=e((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},function(t,n,r){var e=r(6),o=r(133);e({target:"Array",stat:!0,forced:!r(115)((function(t){Array.from(t)}))},{from:o})},function(t,n,r){"use strict";var e=r(0),o=r(55),i=r(11),a=r(15),u=r(134),c=r(112),s=r(58),f=r(17),l=r(51),p=r(113),v=r(94),h=e.Array;t.exports=function(t){var n=a(t),r=s(this),e=arguments.length,d=e>1?arguments[1]:void 0,y=void 0!==d;y&&(d=o(d,e>2?arguments[2]:void 0));var _,g,x,m,b,w,S=v(n),O=0;if(!S||this==h&&c(S))for(_=f(n),g=r?new this(_):h(_);_>O;O++)w=y?d(n[O],O):n[O],l(g,O,w);else for(b=(m=p(n,S)).next,g=r?new this:[];!(x=i(b,m)).done;O++)w=y?u(m,d,[x.value,O],!0):x.value,l(g,O,w);return g.length=O,g}},function(t,n,r){var e=r(10),o=r(114);t.exports=function(t,n,r,i){try{return i?n(e(r)[0],r[1]):n(r)}catch(n){o(t,"throw",n)}}},,,,function(t,n,r){r(6)({target:"Array",stat:!0},{isArray:r(36)})},function(t,n,r){"use strict";var e=r(6),o=r(0),i=r(36),a=r(58),u=r(9),c=r(54),s=r(17),f=r(12),l=r(51),p=r(4),v=r(85),h=r(78),d=v("slice"),y=p("species"),_=o.Array,g=Math.max;e({target:"Array",proto:!0,forced:!d},{slice:function(t,n){var r,e,o,p=f(this),v=s(p),d=c(t,v),x=c(void 0===n?v:n,v);if(i(p)&&(r=p.constructor,(a(r)&&(r===_||i(r.prototype))||u(r)&&null===(r=r[y]))&&(r=void 0),r===_||void 0===r))return h(p,d,x);for(e=new(void 0===r?_:r)(g(x-d,0)),o=0;d<x;d++,o++)d in p&&l(e,o,p[d]);return e.length=o,e}})},function(t,n,r){var e=r(7),o=r(53).EXISTS,i=r(1),a=r(8).f,u=Function.prototype,c=i(u.toString),s=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,f=i(s.exec);e&&!o&&a(u,"name",{configurable:!0,get:function(){try{return f(s,c(this))[1]}catch(t){return""}}})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,r){"use strict";r.r(n),r.d(n,"MiniMap",(function(){return u}));r(129),r(100),r(60),r(101),r(56),r(76),r(72),r(139),r(140),r(132),r(69),r(117),r(70),r(80),r(81),r(138);function e(t,n){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,n){if(!t)return;if("string"==typeof t)return o(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(t,n)}(t))||n&&t&&"number"==typeof t.length){r&&(t=r);var e=0,i=function(){};return{s:i,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return u=t.done,t},e:function(t){c=!0,a=t},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw a}}}}function o(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e}function i(t,n){for(var r=0;r<n.length;r++){var e=n[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}function a(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}var u=function(){function t(n){var r=this,e=n.lf,o=n.LogicFlow;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,"__lf",null),a(this,"__container",null),a(this,"__miniMapWrap",null),a(this,"__miniMapContainer",null),a(this,"__lfMap",null),a(this,"__viewport",null),a(this,"__width",150),a(this,"__height",220),a(this,"__miniMapWidth",450),a(this,"__miniMapHeight",660),a(this,"__viewPortTop",0),a(this,"__viewPortLeft",0),a(this,"__startPosition",null),a(this,"__viewPortScale",1),a(this,"__viewPortWidth",150),a(this,"__viewPortHeight",75),a(this,"__resetDataX",0),a(this,"__resetDataY",0),a(this,"__LogicFlow",null),a(this,"__isShow",!1),a(this,"__disabledPlugins",["miniMap","control","selectionSelect"]),a(this,"show",(function(t,n){r.__setView(),r.__isShow||r.__createMiniMap(t,n),r.__isShow=!0})),a(this,"hide",(function(){r.__isShow&&r.__removeMiniMap(),r.__isShow=!1})),a(this,"__startDrag",(function(t){document.addEventListener("mousemove",r.__drag),document.addEventListener("mouseup",r.__drop),r.__startPosition={x:t.x,y:t.y}})),a(this,"__drag",(function(t){var n=r.__viewport.style;r.__viewPortTop+=t.y-r.__startPosition.y,r.__viewPortLeft+=t.x-r.__startPosition.x,n.top="".concat(r.__viewPortTop,"px"),n.left="".concat(r.__viewPortLeft,"px"),r.__startPosition={x:t.x,y:t.y};var e=(r.__viewPortLeft+r.__viewPortWidth/2)/r.__viewPortScale,o=(r.__viewPortTop+r.__viewPortHeight/2)/r.__viewPortScale;r.__lf.focusOn({coordinate:{x:e+r.__resetDataX,y:o+r.__resetDataY}})})),a(this,"__drop",(function(){document.removeEventListener("mousemove",r.__drag),document.removeEventListener("mouseup",r.__drop)})),this.__lf=e,this.__miniMapWidth=e.graphModel.width,this.__miniMapHeight=220*e.graphModel.width/150,this.__LogicFlow=o,this.__init()}var n,r,o;return n=t,(r=[{key:"render",value:function(t,n){var r=this;this.__container=n,this.__lf.on("history:change",(function(){r.__isShow&&r.__setView()}))}},{key:"init",value:function(t){this.__disabledPlugins=this.__disabledPlugins.concat(t.disabledPlugins||[])}},{key:"__init",value:function(){var t=document.createElement("div");t.className="lf-mini-map-graph",t.style.width="".concat(this.__width,"px"),t.style.height="".concat(this.__height,"px"),this.__lfMap=new this.__LogicFlow({width:this.__lf.graphModel.width,height:220*this.__lf.graphModel.width/150,container:t,isSilentMode:!0,stopZoomGraph:!0,stopScrollGraph:!0,stopMoveGraph:!0,hideAnchors:!0,hoverOutline:!1,disabledPlugins:this.__disabledPlugins}),this.__lfMap.adapterIn=function(t){return t},this.__lfMap.adapterOut=function(t){return t},this.__miniMapWrap=t,this.__createViewPort()}},{key:"__createMiniMap",value:function(t,n){var r=document.createElement("div"),e=this.__miniMapWrap;r.appendChild(e),void 0!==t&&void 0!==n&&(r.style.left="".concat(t,"px"),r.style.top="".concat(n,"px")),r.style.position="absolute",r.className="lf-mini-map",this.__container.appendChild(r),this.__miniMapWrap.appendChild(this.__viewport);var o=document.createElement("div");o.className="lf-mini-map-header",o.innerText="导航",r.appendChild(o);var i=document.createElement("span");i.className="lf-mini-map-close",i.addEventListener("click",this.hide),r.appendChild(i),this.__miniMapContainer=r}},{key:"__removeMiniMap",value:function(){this.__container.removeChild(this.__miniMapContainer)}},{key:"__getBounds",value:function(t){var n=0,r=this.__miniMapWidth,e=0,o=this.__miniMapHeight,i=t.nodes;return i&&i.length>0&&i.forEach((function(t){var i=t.x,a=t.y,u=t.width,c=void 0===u?200:u,s=t.height,f=void 0===s?200:s,l=i-c/2,p=i+c/2,v=a-f/2,h=a+f/2;n=l<n?l:n,r=p>r?p:r,e=v<e?v:e,o=h>o?h:o})),{left:n,top:e,bottom:o,right:r}}},{key:"__resetData",value:function(t){var n=t.nodes,r=t.edges,e=0,o=0;return n&&n.length>0&&(n.forEach((function(t){var n=t.x,r=t.y,i=t.width,a=void 0===i?200:i,u=t.height,c=n-a/2,s=r-(void 0===u?200:u)/2;e=c<e?c:e,o=s<o?s:o})),(e<0||o<0)&&(this.__resetDataX=e,this.__resetDataY=o,n.forEach((function(t){t.x=t.x-e,t.y=t.y-o,t.text&&(t.text.x=t.text.x-e,t.text.y=t.text.y-o)})),r.forEach((function(t){t.startPoint&&(t.startPoint.x=t.startPoint.x-e,t.startPoint.y=t.startPoint.y-o),t.endPoint&&(t.endPoint.x=t.endPoint.x-e,t.endPoint.y=t.endPoint.y-o),t.text&&(t.text.x=t.text.x-e,t.text.y=t.text.y-o),t.pointsList&&t.pointsList.forEach((function(t){t.x=t.x-e,t.y=t.y-o}))})))),t}},{key:"__setView",value:function(){var t,n=this.__resetData(this.__lf.getGraphRawData()),r=this.__lf.viewMap,o=this.__lf.graphModel.modelMap,i=this.__lfMap.viewMap,a=e(r.keys());try{for(a.s();!(t=a.n()).done;){var u=t.value;i.has(u)||(this.__lfMap.setView(u,r.get(u)),this.__lfMap.graphModel.modelMap.set(u,o.get(u)))}}catch(t){a.e(t)}finally{a.f()}this.__lfMap.render(n);var c=this.__getBounds(n),s=c.left,f=c.top,l=c.right,p=c.bottom,v=this.__width/(l-s),h=this.__height/(p-f),d=this.__miniMapWrap.firstChild.style,y=Math.min(v,h);d.transform="matrix(".concat(y,", 0, 0, ").concat(y,", 0, 0)"),d.transformOrigin="left top",d.height="".concat(p-Math.min(f,0),"px"),d.width="".concat(l-Math.min(s,0),"px"),this.__viewPortScale=y,this.__setViewPort(y,{left:s,top:f,right:l,bottom:p})}},{key:"__setViewPort",value:function(t,n){var r=n.left,e=n.right,o=(n.top,n.bottom,this.__viewport.style);o.width="".concat(this.__width-4,"px"),o.height="".concat((this.__width-4)/(this.__lf.graphModel.width/this.__lf.graphModel.height),"px");var i=this.__lf.getTransform(),a=i.TRANSLATE_X,u=i.TRANSLATE_Y,c=e-r,s=(this.__width-4)/(c/this.__lf.graphModel.width),f=s/(this.__lf.graphModel.width/this.__lf.graphModel.height);this.__viewPortTop=u>0?0:-u*t,this.__viewPortLeft=-a*t,this.__viewPortWidth=s,this.__viewPortHeight=f,o.top="".concat(this.__viewPortTop,"px"),o.left="".concat(this.__viewPortLeft,"px"),o.width="".concat(s,"px"),o.height="".concat(f,"px")}},{key:"__createViewPort",value:function(){var t=document.createElement("div");t.className="lf-minimap-viewport",t.addEventListener("mousedown",this.__startDrag),this.__viewport=t}}])&&i(n.prototype,r),o&&i(n,o),t}();a(u,"pluginName","miniMap"),n.default=u}])}));
|
|
1
|
+
!function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var r=n();for(var e in r)("object"==typeof exports?exports:t)[e]=r[e]}}(window,(function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=210)}([function(t,n,r){(function(n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,r(95))},function(t,n){var r=Function.prototype,e=r.bind,o=r.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,n){t.exports=function(t){return"function"==typeof t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(0),o=r(33),i=r(6),a=r(35),u=r(45),c=r(62),s=o("wks"),f=e.Symbol,l=f&&f.for,p=c?f:f&&f.withoutSetter||a;t.exports=function(t){if(!i(s,t)||!u&&"string"!=typeof s[t]){var n="Symbol."+t;u&&i(f,t)?s[t]=f[t]:s[t]=c&&l?l(n):p(n)}return s[t]}},function(t,n,r){var e=r(0),o=r(25).f,i=r(16),a=r(14),u=r(42),c=r(69),s=r(72);t.exports=function(t,n){var r,f,l,p,v,h=t.target,d=t.global,y=t.stat;if(r=d?e:y?e[h]||u(h,{}):(e[h]||{}).prototype)for(f in n){if(p=n[f],l=t.noTargetGet?(v=o(r,f))&&v.value:r[f],!s(d?f:h+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(r,f,p,t)}}},function(t,n,r){var e=r(1),o=r(15),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,r){var e=r(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,r){var e=r(0),o=r(7),i=r(63),a=r(10),u=r(26),c=e.TypeError,s=Object.defineProperty;n.f=o?s:function(t,n,r){if(a(t),n=u(n),a(r),i)try{return s(t,n,r)}catch(t){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,n,r){var e=r(0),o=r(9),i=e.String,a=e.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not an object")}},function(t,n){var r=Function.prototype.call;t.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},function(t,n,r){var e=r(50),o=r(31);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(0),o=r(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(e[t]):e[t]&&e[t][n]}},function(t,n,r){var e=r(0),o=r(2),i=r(6),a=r(16),u=r(42),c=r(38),s=r(22),f=r(53).CONFIGURABLE,l=s.get,p=s.enforce,v=String(String).split("String");(t.exports=function(t,n,r,c){var s,l=!!c&&!!c.unsafe,h=!!c&&!!c.enumerable,d=!!c&&!!c.noTargetGet,y=c&&void 0!==c.name?c.name:n;o(r)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||f&&r.name!==y)&&a(r,"name",y),(s=p(r)).source||(s.source=v.join("string"==typeof y?y:""))),t!==e?(l?!d&&t[n]&&(h=!0):delete t[n],h?t[n]=r:a(t,n,r)):h?t[n]=r:u(n,r)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||c(this)}))},function(t,n,r){var e=r(0),o=r(31),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,n,r){var e=r(7),o=r(8),i=r(21);t.exports=e?function(t,n,r){return o.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(85);t.exports=function(t){return e(t.length)}},function(t,n,r){var e,o=r(10),i=r(93),a=r(46),u=r(24),c=r(106),s=r(44),f=r(29),l=f("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},h=function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n},d=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,n;d="undefined"!=typeof document?document.domain&&e?h(e):((n=s("iframe")).style.display="none",c.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):h(e);for(var r=a.length;r--;)delete d.prototype[a[r]];return d()};u[l]=!0,t.exports=Object.create||function(t,n){var r;return null!==t?(p.prototype=o(t),r=new p,p.prototype=null,r[l]=t):r=d(),void 0===n?r:i(r,n)}},,function(t,n,r){var e=r(1),o=e({}.toString),i=e("".slice);t.exports=function(t){return i(o(t),8,-1)}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){var e,o,i,a=r(97),u=r(0),c=r(1),s=r(9),f=r(16),l=r(6),p=r(41),v=r(29),h=r(24),d=u.TypeError,y=u.WeakMap;if(a||p.state){var _=p.state||(p.state=new y),g=c(_.get),x=c(_.has),m=c(_.set);e=function(t,n){if(x(_,t))throw new d("Object already initialized");return n.facade=t,m(_,t,n),n},o=function(t){return g(_,t)||{}},i=function(t){return x(_,t)}}else{var b=v("state");h[b]=!0,e=function(t,n){if(l(t,b))throw new d("Object already initialized");return n.facade=t,f(t,b,n),n},o=function(t){return l(t,b)?t[b]:{}},i=function(t){return l(t,b)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(n){var r;if(!s(n)||(r=o(n)).type!==t)throw d("Incompatible receiver, "+t+" required");return r}}}},function(t,n,r){var e=r(0),o=r(32),i=e.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},function(t,n){t.exports={}},function(t,n,r){var e=r(7),o=r(11),i=r(61),a=r(21),u=r(12),c=r(26),s=r(6),f=r(63),l=Object.getOwnPropertyDescriptor;n.f=e?l:function(t,n){if(t=u(t),n=c(n),f)try{return l(t,n)}catch(t){}if(s(t,n))return a(!o(i.f,t,n),t[n])}},function(t,n,r){var e=r(92),o=r(40);t.exports=function(t){var n=e(t,"string");return o(n)?n:n+""}},function(t,n,r){var e=r(1);t.exports=e({}.isPrototypeOf)},function(t,n){t.exports=!1},function(t,n,r){var e=r(33),o=r(35),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n){t.exports={}},function(t,n,r){var e=r(0).TypeError;t.exports=function(t){if(null==t)throw e("Can't call method on "+t);return t}},function(t,n,r){var e=r(0),o=r(43),i=r(2),a=r(20),u=r(4)("toStringTag"),c=e.Object,s="Arguments"==a(function(){return arguments}());t.exports=o?a:function(t){var n,r,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=c(t),u))?r:s?a(n):"Object"==(e=a(n))&&i(n.callee)?"Arguments":e}},function(t,n,r){var e=r(28),o=r(41);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.19.3",mode:e?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,n,r){var e=r(0),o=r(2),i=r(52),a=e.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not a function")}},function(t,n,r){var e=r(1),o=0,i=Math.random(),a=e(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},function(t,n,r){var e=r(66),o=r(46).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){var e=r(20);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(1),o=r(2),i=r(41),a=e(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){var n=+t;return n!=n||0===n?0:(n>0?e:r)(n)}},function(t,n,r){var e=r(0),o=r(13),i=r(2),a=r(27),u=r(62),c=e.Object;t.exports=u?function(t){return"symbol"==typeof t}:function(t){var n=o("Symbol");return i(n)&&a(n.prototype,c(t))}},function(t,n,r){var e=r(0),o=r(42),i=e["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,n,r){var e=r(0),o=Object.defineProperty;t.exports=function(t,n){try{o(e,t,{value:n,configurable:!0,writable:!0})}catch(r){e[t]=n}return n}},function(t,n,r){var e={};e[r(4)("toStringTag")]="z",t.exports="[object z]"===String(e)},function(t,n,r){var e=r(0),o=r(9),i=e.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,n,r){var e=r(51),o=r(3);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41}))},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n,r){var e=r(8).f,o=r(6),i=r(4)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n,r){var e=r(34);t.exports=function(t,n){var r=t[n];return null==r?void 0:e(r)}},function(t,n,r){"use strict";var e=r(26),o=r(8),i=r(21);t.exports=function(t,n,r){var a=e(n);a in t?o.f(t,a,i(0,r)):t[a]=r}},function(t,n,r){var e=r(0),o=r(1),i=r(3),a=r(20),u=e.Object,c=o("".split);t.exports=i((function(){return!u("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?c(t,""):u(t)}:u},function(t,n,r){var e,o,i=r(0),a=r(83),u=i.process,c=i.Deno,s=u&&u.versions||c&&c.version,f=s&&s.v8;f&&(o=(e=f.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!o&&a&&(!(e=a.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=a.match(/Chrome\/(\d+)/))&&(o=+e[1]),t.exports=o},function(t,n,r){var e=r(0).String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},function(t,n,r){var e=r(7),o=r(6),i=Function.prototype,a=e&&Object.getOwnPropertyDescriptor,u=o(i,"name"),c=u&&"something"===function(){}.name,s=u&&(!e||e&&a(i,"name").configurable);t.exports={EXISTS:u,PROPER:c,CONFIGURABLE:s}},function(t,n,r){var e=r(39),o=Math.max,i=Math.min;t.exports=function(t,n){var r=e(t);return r<0?o(r+n,0):i(r,n)}},function(t,n,r){var e=r(1),o=r(34),i=e(e.bind);t.exports=function(t,n){return o(t),void 0===n?t:i?i(t,n):function(){return t.apply(n,arguments)}}},function(t,n,r){"use strict";var e=r(12),o=r(105),i=r(30),a=r(22),u=r(67),c=a.set,s=a.getterFor("Array Iterator");t.exports=u(Array,"Array",(function(t,n){c(this,{type:"Array Iterator",target:e(t),index:0,kind:n})}),(function(){var t=s(this),n=t.target,r=t.kind,e=t.index++;return!n||e>=n.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:e,done:!1}:"values"==r?{value:n[e],done:!1}:{value:[e,n[e]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,n,r){var e=r(55),o=r(1),i=r(50),a=r(15),u=r(17),c=r(73),s=o([].push),f=function(t){var n=1==t,r=2==t,o=3==t,f=4==t,l=6==t,p=7==t,v=5==t||l;return function(h,d,y,_){for(var g,x,m=a(h),b=i(m),w=e(d,y),S=u(b),O=0,P=_||c,M=n?P(h,S):r||p?P(h,0):void 0;S>O;O++)if((v||O in b)&&(x=w(g=b[O],O,m),t))if(n)M[O]=x;else if(x)switch(t){case 3:return!0;case 5:return g;case 6:return O;case 2:s(M,g)}else switch(t){case 4:return!1;case 7:s(M,g)}return l?-1:o||f?f:M}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},function(t,n,r){var e=r(1),o=r(3),i=r(2),a=r(32),u=r(13),c=r(38),s=function(){},f=[],l=u("Reflect","construct"),p=/^\s*(?:class|function)\b/,v=e(p.exec),h=!p.exec(s),d=function(t){if(!i(t))return!1;try{return l(s,f,t),!0}catch(t){return!1}};t.exports=!l||o((function(){var t;return d(d.call)||!d(Object)||!d((function(){t=!0}))||t}))?function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return h||!!v(p,c(t))}:d},function(t,n,r){var e=r(66),o=r(46);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(43),o=r(14),i=r(99);e||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,n,r){"use strict";var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:e},function(t,n,r){var e=r(45);t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,r){var e=r(7),o=r(3),i=r(44);t.exports=!e&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,n,r){var e=r(0),o=r(6),i=r(2),a=r(15),u=r(29),c=r(100),s=u("IE_PROTO"),f=e.Object,l=f.prototype;t.exports=c?f.getPrototypeOf:function(t){var n=a(t);if(o(n,s))return n[s];var r=n.constructor;return i(r)&&n instanceof r?r.prototype:n instanceof f?l:null}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(1),o=r(6),i=r(12),a=r(90).indexOf,u=r(24),c=e([].push);t.exports=function(t,n){var r,e=i(t),s=0,f=[];for(r in e)!o(u,r)&&o(e,r)&&c(f,r);for(;n.length>s;)o(e,r=n[s++])&&(~a(f,r)||c(f,r));return f}},function(t,n,r){"use strict";var e=r(5),o=r(11),i=r(28),a=r(53),u=r(2),c=r(108),s=r(64),f=r(79),l=r(47),p=r(16),v=r(14),h=r(4),d=r(30),y=r(78),_=a.PROPER,g=a.CONFIGURABLE,x=y.IteratorPrototype,m=y.BUGGY_SAFARI_ITERATORS,b=h("iterator"),w=function(){return this};t.exports=function(t,n,r,a,h,y,S){c(r,n,a);var O,P,M,j=function(t){if(t===h&&I)return I;if(!m&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},E=n+" Iterator",A=!1,T=t.prototype,L=T[b]||T["@@iterator"]||h&&T[h],I=!m&&L||j(h),R="Array"==n&&T.entries||L;if(R&&(O=s(R.call(new t)))!==Object.prototype&&O.next&&(i||s(O)===x||(f?f(O,x):u(O[b])||v(O,b,w)),l(O,E,!0,!0),i&&(d[E]=w)),_&&"values"==h&&L&&"values"!==L.name&&(!i&&g?p(T,"name","values"):(A=!0,I=function(){return o(L,this)})),h)if(P={values:j("values"),keys:y?I:j("keys"),entries:j("entries")},S)for(M in P)(m||A||!(M in T))&&v(T,M,P[M]);else e({target:n,proto:!0,forced:m||A},P);return i&&!S||T[b]===I||v(T,b,I,{name:h}),d[n]=I,P}},function(t,n,r){var e=r(5),o=r(7);e({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:r(8).f})},function(t,n,r){var e=r(6),o=r(84),i=r(25),a=r(8);t.exports=function(t,n){for(var r=o(n),u=a.f,c=i.f,s=0;s<r.length;s++){var f=r[s];e(t,f)||u(t,f,c(n,f))}}},function(t,n,r){"use strict";var e=r(104).charAt,o=r(23),i=r(22),a=r(67),u=i.set,c=i.getterFor("String Iterator");a(String,"String",(function(t){u(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,n=c(this),r=n.string,o=n.index;return o>=r.length?{value:void 0,done:!0}:(t=e(r,o),n.index+=t.length,{value:t,done:!1})}))},function(t,n,r){"use strict";var e=r(5),o=r(0),i=r(13),a=r(88),u=r(11),c=r(1),s=r(28),f=r(7),l=r(45),p=r(3),v=r(6),h=r(37),d=r(2),y=r(9),_=r(27),g=r(40),x=r(10),m=r(15),b=r(12),w=r(26),S=r(23),O=r(21),P=r(18),M=r(59),j=r(36),E=r(103),A=r(65),T=r(25),L=r(8),I=r(61),R=r(77),k=r(14),C=r(33),F=r(29),N=r(24),D=r(35),G=r(4),V=r(87),W=r(89),B=r(47),H=r(22),U=r(57).forEach,Y=F("hidden"),z=G("toPrimitive"),X=H.set,$=H.getterFor("Symbol"),K=Object.prototype,q=o.Symbol,J=q&&q.prototype,Q=o.TypeError,Z=o.QObject,tt=i("JSON","stringify"),nt=T.f,rt=L.f,et=E.f,ot=I.f,it=c([].push),at=C("symbols"),ut=C("op-symbols"),ct=C("string-to-symbol-registry"),st=C("symbol-to-string-registry"),ft=C("wks"),lt=!Z||!Z.prototype||!Z.prototype.findChild,pt=f&&p((function(){return 7!=P(rt({},"a",{get:function(){return rt(this,"a",{value:7}).a}})).a}))?function(t,n,r){var e=nt(K,n);e&&delete K[n],rt(t,n,r),e&&t!==K&&rt(K,n,e)}:rt,vt=function(t,n){var r=at[t]=P(J);return X(r,{type:"Symbol",tag:t,description:n}),f||(r.description=n),r},ht=function(t,n,r){t===K&&ht(ut,n,r),x(t);var e=w(n);return x(r),v(at,e)?(r.enumerable?(v(t,Y)&&t[Y][e]&&(t[Y][e]=!1),r=P(r,{enumerable:O(0,!1)})):(v(t,Y)||rt(t,Y,O(1,{})),t[Y][e]=!0),pt(t,e,r)):rt(t,e,r)},dt=function(t,n){x(t);var r=b(n),e=M(r).concat(xt(r));return U(e,(function(n){f&&!u(yt,r,n)||ht(t,n,r[n])})),t},yt=function(t){var n=w(t),r=u(ot,this,n);return!(this===K&&v(at,n)&&!v(ut,n))&&(!(r||!v(this,n)||!v(at,n)||v(this,Y)&&this[Y][n])||r)},_t=function(t,n){var r=b(t),e=w(n);if(r!==K||!v(at,e)||v(ut,e)){var o=nt(r,e);return!o||!v(at,e)||v(r,Y)&&r[Y][e]||(o.enumerable=!0),o}},gt=function(t){var n=et(b(t)),r=[];return U(n,(function(t){v(at,t)||v(N,t)||it(r,t)})),r},xt=function(t){var n=t===K,r=et(n?ut:b(t)),e=[];return U(r,(function(t){!v(at,t)||n&&!v(K,t)||it(e,at[t])})),e};(l||(k(J=(q=function(){if(_(J,this))throw Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?S(arguments[0]):void 0,n=D(t),r=function(t){this===K&&u(r,ut,t),v(this,Y)&&v(this[Y],n)&&(this[Y][n]=!1),pt(this,n,O(1,t))};return f&<&&pt(K,n,{configurable:!0,set:r}),vt(n,t)}).prototype,"toString",(function(){return $(this).tag})),k(q,"withoutSetter",(function(t){return vt(D(t),t)})),I.f=yt,L.f=ht,T.f=_t,j.f=E.f=gt,A.f=xt,V.f=function(t){return vt(G(t),t)},f&&(rt(J,"description",{configurable:!0,get:function(){return $(this).description}}),s||k(K,"propertyIsEnumerable",yt,{unsafe:!0}))),e({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:q}),U(M(ft),(function(t){W(t)})),e({target:"Symbol",stat:!0,forced:!l},{for:function(t){var n=S(t);if(v(ct,n))return ct[n];var r=q(n);return ct[n]=r,st[r]=n,r},keyFor:function(t){if(!g(t))throw Q(t+" is not a symbol");if(v(st,t))return st[t]},useSetter:function(){lt=!0},useSimple:function(){lt=!1}}),e({target:"Object",stat:!0,forced:!l,sham:!f},{create:function(t,n){return void 0===n?P(t):dt(P(t),n)},defineProperty:ht,defineProperties:dt,getOwnPropertyDescriptor:_t}),e({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:gt,getOwnPropertySymbols:xt}),e({target:"Object",stat:!0,forced:p((function(){A.f(1)}))},{getOwnPropertySymbols:function(t){return A.f(m(t))}}),tt)&&e({target:"JSON",stat:!0,forced:!l||p((function(){var t=q();return"[null]"!=tt([t])||"{}"!=tt({a:t})||"{}"!=tt(Object(t))}))},{stringify:function(t,n,r){var e=R(arguments),o=n;if((y(n)||void 0!==t)&&!g(t))return h(n)||(n=function(t,n){if(d(o)&&(n=u(o,this,t,n)),!g(n))return n}),e[1]=n,a(tt,null,e)}});if(!J[z]){var mt=J.valueOf;k(J,z,(function(t){return u(mt,this)}))}B(q,"Symbol"),N[Y]=!0},function(t,n,r){var e=r(3),o=r(2),i=/#|\.prototype\./,a=function(t,n){var r=c[u(t)];return r==f||r!=s&&(o(n)?e(n):!!n)},u=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=a.data={},s=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a},function(t,n,r){var e=r(98);t.exports=function(t,n){return new(e(t))(0===n?0:n)}},function(t,n){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,n,r){var e=r(44)("span").classList,o=e&&e.constructor&&e.constructor.prototype;t.exports=o===Object.prototype?void 0:o},function(t,n,r){var e=r(0),o=r(74),i=r(75),a=r(56),u=r(16),c=r(4),s=c("iterator"),f=c("toStringTag"),l=a.values,p=function(t,n){if(t){if(t[s]!==l)try{u(t,s,l)}catch(n){t[s]=l}if(t[f]||u(t,f,n),o[n])for(var r in a)if(t[r]!==a[r])try{u(t,r,a[r])}catch(n){t[r]=a[r]}}};for(var v in o)p(e[v]&&e[v].prototype,v);p(i,"DOMTokenList")},function(t,n,r){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),s=r(64),f=r(14),l=r(4),p=r(28),v=l("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(e=o):h=!0),null==e||a((function(){var t={};return e[v].call(t)!==t}))?e={}:p&&(e=c(e)),u(e[v])||f(e,v,(function(){return this})),t.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:h}},function(t,n,r){var e=r(1),o=r(10),i=r(109);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,r={};try{(t=e(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),n=r instanceof Array}catch(t){}return function(r,e){return o(r),i(e),n?t(r,e):r.__proto__=e,r}}():void 0)},function(t,n,r){"use strict";var e=r(5),o=r(7),i=r(0),a=r(1),u=r(6),c=r(2),s=r(27),f=r(23),l=r(8).f,p=r(69),v=i.Symbol,h=v&&v.prototype;if(o&&c(v)&&(!("description"in h)||void 0!==v().description)){var d={},y=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),n=s(h,this)?new v(t):void 0===t?v():v(t);return""===t&&(d[n]=!0),n};p(y,v),y.prototype=h,h.constructor=y;var _="Symbol(test)"==String(v("test")),g=a(h.toString),x=a(h.valueOf),m=/^Symbol\((.*)\)[^)]+$/,b=a("".replace),w=a("".slice);l(h,"description",{configurable:!0,get:function(){var t=x(this),n=g(t);if(u(d,t))return"";var r=_?w(n,7,-1):b(n,m,"$1");return""===r?void 0:r}}),e({global:!0,forced:!0},{Symbol:y})}},function(t,n,r){r(89)("iterator")},function(t,n,r){var e=r(3),o=r(4),i=r(51),a=o("species");t.exports=function(t){return i>=51||!e((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},function(t,n,r){var e=r(13);t.exports=e("navigator","userAgent")||""},function(t,n,r){var e=r(13),o=r(1),i=r(36),a=r(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(39),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){"use strict";var e=r(57).forEach,o=r(91)("forEach");t.exports=o?[].forEach:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,n,r){var e=r(4);n.f=e},function(t,n){var r=Function.prototype,e=r.apply,o=r.bind,i=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?i.bind(e):function(){return i.apply(e,arguments)})},function(t,n,r){var e=r(111),o=r(6),i=r(87),a=r(8).f;t.exports=function(t){var n=e.Symbol||(e.Symbol={});o(n,t)||a(n,t,{value:i.f(t)})}},function(t,n,r){var e=r(12),o=r(54),i=r(17),a=function(t){return function(n,r,a){var u,c=e(n),s=i(c),f=o(a,s);if(t&&r!=r){for(;s>f;)if((u=c[f++])!=u)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,n,r){"use strict";var e=r(3);t.exports=function(t,n){var r=[][t];return!!r&&e((function(){r.call(null,n||function(){throw 1},1)}))}},function(t,n,r){var e=r(0),o=r(11),i=r(9),a=r(40),u=r(48),c=r(96),s=r(4),f=e.TypeError,l=s("toPrimitive");t.exports=function(t,n){if(!i(t)||a(t))return t;var r,e=u(t,l);if(e){if(void 0===n&&(n="default"),r=o(e,t,n),!i(r)||a(r))return r;throw f("Can't convert object to primitive value")}return void 0===n&&(n="number"),c(t,n)}},function(t,n,r){var e=r(7),o=r(8),i=r(10),a=r(12),u=r(59);t.exports=e?Object.defineProperties:function(t,n){i(t);for(var r,e=a(n),c=u(n),s=c.length,f=0;s>f;)o.f(t,r=c[f++],e[r]);return t}},function(t,n,r){var e=r(32),o=r(48),i=r(30),a=r(4)("iterator");t.exports=function(t){if(null!=t)return o(t,a)||o(t,"@@iterator")||i[e(t)]}},function(t,n){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,n,r){var e=r(0),o=r(11),i=r(2),a=r(9),u=e.TypeError;t.exports=function(t,n){var r,e;if("string"===n&&i(r=t.toString)&&!a(e=o(r,t)))return e;if(i(r=t.valueOf)&&!a(e=o(r,t)))return e;if("string"!==n&&i(r=t.toString)&&!a(e=o(r,t)))return e;throw u("Can't convert object to primitive value")}},function(t,n,r){var e=r(0),o=r(2),i=r(38),a=e.WeakMap;t.exports=o(a)&&/native code/.test(i(a))},function(t,n,r){var e=r(0),o=r(37),i=r(58),a=r(9),u=r(4)("species"),c=e.Array;t.exports=function(t){var n;return o(t)&&(n=t.constructor,(i(n)&&(n===c||o(n.prototype))||a(n)&&null===(n=n[u]))&&(n=void 0)),void 0===n?c:n}},function(t,n,r){"use strict";var e=r(43),o=r(32);t.exports=e?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,n,r){var e=r(3);t.exports=!e((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,n,r){"use strict";var e=r(5),o=r(86);e({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,n,r){var e=r(0),o=r(74),i=r(75),a=r(86),u=r(16),c=function(t){if(t&&t.forEach!==a)try{u(t,"forEach",a)}catch(n){t.forEach=a}};for(var s in o)o[s]&&c(e[s]&&e[s].prototype);c(i)},function(t,n,r){var e=r(20),o=r(12),i=r(36).f,a=r(107),u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"Window"==e(t)?function(t){try{return i(t)}catch(t){return a(u)}}(t):i(o(t))}},function(t,n,r){var e=r(1),o=r(39),i=r(23),a=r(31),u=e("".charAt),c=e("".charCodeAt),s=e("".slice),f=function(t){return function(n,r){var e,f,l=i(a(n)),p=o(r),v=l.length;return p<0||p>=v?t?"":void 0:(e=c(l,p))<55296||e>56319||p+1===v||(f=c(l,p+1))<56320||f>57343?t?u(l,p):e:t?s(l,p,p+2):f-56320+(e-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},function(t,n,r){var e=r(4),o=r(18),i=r(8),a=e("unscopables"),u=Array.prototype;null==u[a]&&i.f(u,a,{configurable:!0,value:o(null)}),t.exports=function(t){u[a][t]=!0}},function(t,n,r){var e=r(13);t.exports=e("document","documentElement")},function(t,n,r){var e=r(0),o=r(54),i=r(17),a=r(49),u=e.Array,c=Math.max;t.exports=function(t,n,r){for(var e=i(t),s=o(n,e),f=o(void 0===r?e:r,e),l=u(c(f-s,0)),p=0;s<f;s++,p++)a(l,p,t[s]);return l.length=p,l}},function(t,n,r){"use strict";var e=r(78).IteratorPrototype,o=r(18),i=r(21),a=r(47),u=r(30),c=function(){return this};t.exports=function(t,n,r,s){var f=n+" Iterator";return t.prototype=o(e,{next:i(+!s,r)}),a(t,f,!1,!0),u[f]=c,t}},function(t,n,r){var e=r(0),o=r(2),i=e.String,a=e.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw a("Can't set "+i(t)+" as a prototype")}},function(t,n,r){"use strict";var e,o,i=r(11),a=r(1),u=r(23),c=r(124),s=r(125),f=r(33),l=r(18),p=r(22).get,v=r(130),h=r(131),d=f("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,_=y,g=a("".charAt),x=a("".indexOf),m=a("".replace),b=a("".slice),w=(o=/b*/g,i(y,e=/a/,"a"),i(y,o,"a"),0!==e.lastIndex||0!==o.lastIndex),S=s.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];(w||O||S||v||h)&&(_=function(t){var n,r,e,o,a,s,f,v=this,h=p(v),P=u(t),M=h.raw;if(M)return M.lastIndex=v.lastIndex,n=i(_,M,P),v.lastIndex=M.lastIndex,n;var j=h.groups,E=S&&v.sticky,A=i(c,v),T=v.source,L=0,I=P;if(E&&(A=m(A,"y",""),-1===x(A,"g")&&(A+="g"),I=b(P,v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&"\n"!==g(P,v.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,L++),r=new RegExp("^(?:"+T+")",A)),O&&(r=new RegExp("^"+T+"$(?!\\s)",A)),w&&(e=v.lastIndex),o=i(y,E?r:v,I),E?o?(o.input=b(o.input,L),o[0]=b(o[0],L),o.index=v.lastIndex,v.lastIndex+=o[0].length):v.lastIndex=0:w&&o&&(v.lastIndex=v.global?o.index+o[0].length:e),O&&o&&o.length>1&&i(d,o[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&j)for(o.groups=s=l(null),a=0;a<j.length;a++)s[(f=j[a])[0]]=o[f[1]];return o}),t.exports=_},function(t,n,r){var e=r(0);t.exports=e},,function(t,n,r){var e=r(4),o=r(30),i=e("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},function(t,n,r){var e=r(0),o=r(11),i=r(34),a=r(10),u=r(52),c=r(94),s=e.TypeError;t.exports=function(t,n){var r=arguments.length<2?c(t):n;if(i(r))return a(o(r,t));throw s(u(t)+" is not iterable")}},function(t,n,r){var e=r(11),o=r(10),i=r(48);t.exports=function(t,n,r){var a,u;o(t);try{if(!(a=i(t,"return"))){if("throw"===n)throw r;return r}a=e(a,t)}catch(t){u=!0,a=t}if("throw"===n)throw r;if(u)throw a;return o(a),r}},function(t,n,r){var e=r(4)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[e]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i={};i[e]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},,,,,function(t,n,r){"use strict";var e=r(5),o=r(110);e({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},,,function(t,n,r){"use strict";var e=r(10);t.exports=function(){var t=e(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,r){var e=r(3),o=r(0).RegExp,i=e((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),a=i||e((function(){return!o("a","y").sticky})),u=i||e((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:u,MISSED_STICKY:a,UNSUPPORTED_Y:i}},,,,function(t,n,r){"use strict";var e=r(5),o=r(0),i=r(3),a=r(37),u=r(9),c=r(15),s=r(17),f=r(49),l=r(73),p=r(82),v=r(4),h=r(51),d=v("isConcatSpreadable"),y=o.TypeError,_=h>=51||!i((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),g=p("concat"),x=function(t){if(!u(t))return!1;var n=t[d];return void 0!==n?!!n:a(t)};e({target:"Array",proto:!0,forced:!_||!g},{concat:function(t){var n,r,e,o,i,a=c(this),u=l(a,0),p=0;for(n=-1,e=arguments.length;n<e;n++)if(x(i=-1===n?a:arguments[n])){if(p+(o=s(i))>9007199254740991)throw y("Maximum allowed index exceeded");for(r=0;r<o;r++,p++)r in i&&f(u,p,i[r])}else{if(p>=9007199254740991)throw y("Maximum allowed index exceeded");f(u,p++,i)}return u.length=p,u}})},function(t,n,r){var e=r(3),o=r(0).RegExp;t.exports=e((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},function(t,n,r){var e=r(3),o=r(0).RegExp;t.exports=e((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},,,,function(t,n,r){var e=r(5),o=r(136);e({target:"Array",stat:!0,forced:!r(116)((function(t){Array.from(t)}))},{from:o})},function(t,n,r){"use strict";var e=r(0),o=r(55),i=r(11),a=r(15),u=r(137),c=r(113),s=r(58),f=r(17),l=r(49),p=r(114),v=r(94),h=e.Array;t.exports=function(t){var n=a(t),r=s(this),e=arguments.length,d=e>1?arguments[1]:void 0,y=void 0!==d;y&&(d=o(d,e>2?arguments[2]:void 0));var _,g,x,m,b,w,S=v(n),O=0;if(!S||this==h&&c(S))for(_=f(n),g=r?new this(_):h(_);_>O;O++)w=y?d(n[O],O):n[O],l(g,O,w);else for(b=(m=p(n,S)).next,g=r?new this:[];!(x=i(b,m)).done;O++)w=y?u(m,d,[x.value,O],!0):x.value,l(g,O,w);return g.length=O,g}},function(t,n,r){var e=r(10),o=r(115);t.exports=function(t,n,r,i){try{return i?n(e(r)[0],r[1]):n(r)}catch(n){o(t,"throw",n)}}},function(t,n,r){r(5)({target:"Array",stat:!0},{isArray:r(37)})},function(t,n,r){"use strict";var e=r(5),o=r(0),i=r(37),a=r(58),u=r(9),c=r(54),s=r(17),f=r(12),l=r(49),p=r(4),v=r(82),h=r(77),d=v("slice"),y=p("species"),_=o.Array,g=Math.max;e({target:"Array",proto:!0,forced:!d},{slice:function(t,n){var r,e,o,p=f(this),v=s(p),d=c(t,v),x=c(void 0===n?v:n,v);if(i(p)&&(r=p.constructor,(a(r)&&(r===_||i(r.prototype))||u(r)&&null===(r=r[y]))&&(r=void 0),r===_||void 0===r))return h(p,d,x);for(e=new(void 0===r?_:r)(g(x-d,0)),o=0;d<x;d++,o++)d in p&&l(e,o,p[d]);return e.length=o,e}})},function(t,n,r){var e=r(7),o=r(53).EXISTS,i=r(1),a=r(8).f,u=Function.prototype,c=i(u.toString),s=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,f=i(s.exec);e&&!o&&a(u,"name",{configurable:!0,get:function(){try{return f(s,c(this))[1]}catch(t){return""}}})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,r){"use strict";r.r(n),r.d(n,"MiniMap",(function(){return u}));r(129),r(101),r(60),r(102),r(56),r(76),r(68),r(139),r(140),r(135),r(70),r(121),r(71),r(80),r(81),r(138);function e(t,n){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,n){if(!t)return;if("string"==typeof t)return o(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(t,n)}(t))||n&&t&&"number"==typeof t.length){r&&(t=r);var e=0,i=function(){};return{s:i,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return u=t.done,t},e:function(t){c=!0,a=t},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw a}}}}function o(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e}function i(t,n){for(var r=0;r<n.length;r++){var e=n[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}function a(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}var u=function(){function t(n){var r=this,e=n.lf,o=n.LogicFlow;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,"__lf",null),a(this,"__container",null),a(this,"__miniMapWrap",null),a(this,"__miniMapContainer",null),a(this,"__lfMap",null),a(this,"__viewport",null),a(this,"__width",150),a(this,"__height",220),a(this,"__miniMapWidth",450),a(this,"__miniMapHeight",660),a(this,"__viewPortTop",0),a(this,"__viewPortLeft",0),a(this,"__startPosition",null),a(this,"__viewPortScale",1),a(this,"__viewPortWidth",150),a(this,"__viewPortHeight",75),a(this,"__resetDataX",0),a(this,"__resetDataY",0),a(this,"__LogicFlow",null),a(this,"__isShow",!1),a(this,"__disabledPlugins",["miniMap","control","selectionSelect"]),a(this,"show",(function(t,n){r.__setView(),r.__isShow||r.__createMiniMap(t,n),r.__isShow=!0})),a(this,"hide",(function(){r.__isShow&&r.__removeMiniMap(),r.__isShow=!1})),a(this,"__startDrag",(function(t){document.addEventListener("mousemove",r.__drag),document.addEventListener("mouseup",r.__drop),r.__startPosition={x:t.x,y:t.y}})),a(this,"__drag",(function(t){var n=r.__viewport.style;r.__viewPortTop+=t.y-r.__startPosition.y,r.__viewPortLeft+=t.x-r.__startPosition.x,n.top="".concat(r.__viewPortTop,"px"),n.left="".concat(r.__viewPortLeft,"px"),r.__startPosition={x:t.x,y:t.y};var e=(r.__viewPortLeft+r.__viewPortWidth/2)/r.__viewPortScale,o=(r.__viewPortTop+r.__viewPortHeight/2)/r.__viewPortScale;r.__lf.focusOn({coordinate:{x:e+r.__resetDataX,y:o+r.__resetDataY}})})),a(this,"__drop",(function(){document.removeEventListener("mousemove",r.__drag),document.removeEventListener("mouseup",r.__drop)})),this.__lf=e,this.__miniMapWidth=e.graphModel.width,this.__miniMapHeight=220*e.graphModel.width/150,this.__LogicFlow=o,this.__init()}var n,r,o;return n=t,(r=[{key:"render",value:function(t,n){var r=this;this.__container=n,this.__lf.on("history:change",(function(){r.__isShow&&r.__setView()}))}},{key:"init",value:function(t){this.__disabledPlugins=this.__disabledPlugins.concat(t.disabledPlugins||[])}},{key:"__init",value:function(){var t=document.createElement("div");t.className="lf-mini-map-graph",t.style.width="".concat(this.__width,"px"),t.style.height="".concat(this.__height,"px"),this.__lfMap=new this.__LogicFlow({width:this.__lf.graphModel.width,height:220*this.__lf.graphModel.width/150,container:t,isSilentMode:!0,stopZoomGraph:!0,stopScrollGraph:!0,stopMoveGraph:!0,hideAnchors:!0,hoverOutline:!1,disabledPlugins:this.__disabledPlugins}),this.__lfMap.adapterIn=function(t){return t},this.__lfMap.adapterOut=function(t){return t},this.__miniMapWrap=t,this.__createViewPort()}},{key:"__createMiniMap",value:function(t,n){var r=document.createElement("div"),e=this.__miniMapWrap;r.appendChild(e),void 0!==t&&void 0!==n&&(r.style.left="".concat(t,"px"),r.style.top="".concat(n,"px")),r.style.position="absolute",r.className="lf-mini-map",this.__container.appendChild(r),this.__miniMapWrap.appendChild(this.__viewport);var o=document.createElement("div");o.className="lf-mini-map-header",o.innerText="导航",r.appendChild(o);var i=document.createElement("span");i.className="lf-mini-map-close",i.addEventListener("click",this.hide),r.appendChild(i),this.__miniMapContainer=r}},{key:"__removeMiniMap",value:function(){this.__container.removeChild(this.__miniMapContainer)}},{key:"__getBounds",value:function(t){var n=0,r=this.__miniMapWidth,e=0,o=this.__miniMapHeight,i=t.nodes;return i&&i.length>0&&i.forEach((function(t){var i=t.x,a=t.y,u=t.width,c=void 0===u?200:u,s=t.height,f=void 0===s?200:s,l=i-c/2,p=i+c/2,v=a-f/2,h=a+f/2;n=l<n?l:n,r=p>r?p:r,e=v<e?v:e,o=h>o?h:o})),{left:n,top:e,bottom:o,right:r}}},{key:"__resetData",value:function(t){var n=t.nodes,r=t.edges,e=0,o=0;return n&&n.length>0&&(n.forEach((function(t){var n=t.x,r=t.y,i=t.width,a=void 0===i?200:i,u=t.height,c=n-a/2,s=r-(void 0===u?200:u)/2;e=c<e?c:e,o=s<o?s:o})),(e<0||o<0)&&(this.__resetDataX=e,this.__resetDataY=o,n.forEach((function(t){t.x=t.x-e,t.y=t.y-o,t.text&&(t.text.x=t.text.x-e,t.text.y=t.text.y-o)})),r.forEach((function(t){t.startPoint&&(t.startPoint.x=t.startPoint.x-e,t.startPoint.y=t.startPoint.y-o),t.endPoint&&(t.endPoint.x=t.endPoint.x-e,t.endPoint.y=t.endPoint.y-o),t.text&&(t.text.x=t.text.x-e,t.text.y=t.text.y-o),t.pointsList&&t.pointsList.forEach((function(t){t.x=t.x-e,t.y=t.y-o}))})))),t}},{key:"__setView",value:function(){var t,n=this.__resetData(this.__lf.getGraphRawData()),r=this.__lf.viewMap,o=this.__lf.graphModel.modelMap,i=this.__lfMap.viewMap,a=e(r.keys());try{for(a.s();!(t=a.n()).done;){var u=t.value;i.has(u)||(this.__lfMap.setView(u,r.get(u)),this.__lfMap.graphModel.modelMap.set(u,o.get(u)))}}catch(t){a.e(t)}finally{a.f()}this.__lfMap.render(n);var c=this.__getBounds(n),s=c.left,f=c.top,l=c.right,p=c.bottom,v=this.__width/(l-s),h=this.__height/(p-f),d=this.__miniMapWrap.firstChild.style,y=Math.min(v,h);d.transform="matrix(".concat(y,", 0, 0, ").concat(y,", 0, 0)"),d.transformOrigin="left top",d.height="".concat(p-Math.min(f,0),"px"),d.width="".concat(l-Math.min(s,0),"px"),this.__viewPortScale=y,this.__setViewPort(y,{left:s,top:f,right:l,bottom:p})}},{key:"__setViewPort",value:function(t,n){var r=n.left,e=n.right,o=(n.top,n.bottom,this.__viewport.style);o.width="".concat(this.__width-4,"px"),o.height="".concat((this.__width-4)/(this.__lf.graphModel.width/this.__lf.graphModel.height),"px");var i=this.__lf.getTransform(),a=i.TRANSLATE_X,u=i.TRANSLATE_Y,c=e-r,s=(this.__width-4)/(c/this.__lf.graphModel.width),f=s/(this.__lf.graphModel.width/this.__lf.graphModel.height);this.__viewPortTop=u>0?0:-u*t,this.__viewPortLeft=-a*t,this.__viewPortWidth=s,this.__viewPortHeight=f,o.top="".concat(this.__viewPortTop,"px"),o.left="".concat(this.__viewPortLeft,"px"),o.width="".concat(s,"px"),o.height="".concat(f,"px")}},{key:"__createViewPort",value:function(){var t=document.createElement("div");t.className="lf-minimap-viewport",t.addEventListener("mousedown",this.__startDrag),this.__viewport=t}}])&&i(n.prototype,r),o&&i(n,o),t}();a(u,"pluginName","miniMap"),n.default=u}])}));
|
package/lib/NodeResize.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("window"));else if("function"==typeof define&&define.amd)define(["window"],e);else{var n="object"==typeof exports?e(require("window")):e(t.window);for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(window,(function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=173)}([function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(95))},function(t,e){var n=Function.prototype,r=n.bind,o=n.call,i=r&&r.bind(o);t.exports=r?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(0),o=n(33),i=n(5),u=n(34),c=n(45),a=n(62),f=o("wks"),l=r.Symbol,s=l&&l.for,p=a?l:l&&l.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!c&&"string"!=typeof f[t]){var e="Symbol."+t;c&&i(l,t)?f[t]=l[t]:f[t]=a&&s?s(e):p(e)}return f[t]}},function(t,e,n){var r=n(1),o=n(15),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},function(t,e,n){var r=n(0),o=n(25).f,i=n(16),u=n(14),c=n(42),a=n(68),f=n(71);t.exports=function(t,e){var n,l,s,p,d,y=t.target,h=t.global,v=t.stat;if(n=h?r:v?r[y]||c(y,{}):(r[y]||{}).prototype)for(l in e){if(p=e[l],s=t.noTargetGet?(d=o(n,l))&&d.value:n[l],!f(h?l:y+(v?".":"#")+l,t.forced)&&void 0!==s){if(typeof p==typeof s)continue;a(p,s)}(t.sham||s&&s.sham)&&i(p,"sham",!0),u(n,l,p,t)}}},function(t,e,n){var r=n(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var r=n(0),o=n(7),i=n(63),u=n(10),c=n(26),a=r.TypeError,f=Object.defineProperty;e.f=o?f:function(t,e,n){if(u(t),e=c(e),u(n),i)try{return f(t,e,n)}catch(t){}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(2);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},function(t,e,n){var r=n(0),o=n(9),i=r.String,u=r.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,e){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,e,n){var r=n(49),o=n(31);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},function(t,e,n){var r=n(0),o=n(2),i=n(5),u=n(16),c=n(42),a=n(38),f=n(22),l=n(53).CONFIGURABLE,s=f.get,p=f.enforce,d=String(String).split("String");(t.exports=function(t,e,n,a){var f,s=!!a&&!!a.unsafe,y=!!a&&!!a.enumerable,h=!!a&&!!a.noTargetGet,v=a&&void 0!==a.name?a.name:e;o(n)&&("Symbol("===String(v).slice(0,7)&&(v="["+String(v).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||l&&n.name!==v)&&u(n,"name",v),(f=p(n)).source||(f.source=d.join("string"==typeof v?v:""))),t!==r?(s?!h&&t[e]&&(y=!0):delete t[e],y?t[e]=n:u(t,e,n)):y?t[e]=n:c(e,n)})(Function.prototype,"toString",(function(){return o(this)&&s(this).source||a(this)}))},function(t,e,n){var r=n(0),o=n(31),i=r.Object;t.exports=function(t){return i(o(t))}},function(t,e,n){var r=n(7),o=n(8),i=n(21);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(83);t.exports=function(t){return r(t.length)}},function(e,n){e.exports=t},function(t,e,n){var r,o=n(10),i=n(93),u=n(46),c=n(24),a=n(106),f=n(44),l=n(29),s=l("IE_PROTO"),p=function(){},d=function(t){return"<script>"+t+"<\/script>"},y=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;h="undefined"!=typeof document?document.domain&&r?y(r):((e=f("iframe")).style.display="none",a.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F):y(r);for(var n=u.length;n--;)delete h.prototype[u[n]];return h()};c[s]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p.prototype=o(t),n=new p,p.prototype=null,n[s]=t):n=h(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(1),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r,o,i,u=n(97),c=n(0),a=n(1),f=n(9),l=n(16),s=n(5),p=n(41),d=n(29),y=n(24),h=c.TypeError,v=c.WeakMap;if(u||p.state){var g=p.state||(p.state=new v),_=a(g.get),b=a(g.has),m=a(g.set);r=function(t,e){if(b(g,t))throw new h("Object already initialized");return e.facade=t,m(g,t,e),e},o=function(t){return _(g,t)||{}},i=function(t){return b(g,t)}}else{var O=d("state");y[O]=!0,r=function(t,e){if(s(t,O))throw new h("Object already initialized");return e.facade=t,l(t,O,e),e},o=function(t){return s(t,O)?t[O]:{}},i=function(t){return s(t,O)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!f(e)||(n=o(e)).type!==t)throw h("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){var r=n(0),o=n(32),i=r.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},function(t,e){t.exports={}},function(t,e,n){var r=n(7),o=n(11),i=n(61),u=n(21),c=n(12),a=n(26),f=n(5),l=n(63),s=Object.getOwnPropertyDescriptor;e.f=r?s:function(t,e){if(t=c(t),e=a(e),l)try{return s(t,e)}catch(t){}if(f(t,e))return u(!o(i.f,t,e),t[e])}},function(t,e,n){var r=n(92),o=n(40);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},function(t,e,n){var r=n(1);t.exports=r({}.isPrototypeOf)},function(t,e){t.exports=!1},function(t,e,n){var r=n(33),o=n(34),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e){t.exports={}},function(t,e,n){var r=n(0).TypeError;t.exports=function(t){if(null==t)throw r("Can't call method on "+t);return t}},function(t,e,n){var r=n(0),o=n(43),i=n(2),u=n(20),c=n(4)("toStringTag"),a=r.Object,f="Arguments"==u(function(){return arguments}());t.exports=o?u:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=a(t),c))?n:f?u(e):"Object"==(r=u(e))&&i(e.callee)?"Arguments":r}},function(t,e,n){var r=n(28),o=n(41);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.19.3",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(1),o=0,i=Math.random(),u=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++o+i,36)}},function(t,e,n){var r=n(66),o=n(46).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(20);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(0),o=n(2),i=n(52),u=r.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not a function")}},function(t,e,n){var r=n(1),o=n(2),i=n(41),u=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return u(t)}),t.exports=i.inspectSource},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){var e=+t;return e!=e||0===e?0:(e>0?r:n)(e)}},function(t,e,n){var r=n(0),o=n(13),i=n(2),u=n(27),c=n(62),a=r.Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var e=o("Symbol");return i(e)&&u(e.prototype,a(t))}},function(t,e,n){var r=n(0),o=n(42),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,n){var r=n(0),o=Object.defineProperty;t.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},function(t,e,n){var r={};r[n(4)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e,n){var r=n(0),o=n(9),i=r.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,e,n){var r=n(50),o=n(3);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var r=n(8).f,o=n(5),i=n(4)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(37);t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},function(t,e,n){var r=n(0),o=n(1),i=n(3),u=n(20),c=r.Object,a=o("".split);t.exports=i((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==u(t)?a(t,""):c(t)}:c},function(t,e,n){var r,o,i=n(0),u=n(82),c=i.process,a=i.Deno,f=c&&c.versions||a&&a.version,l=f&&f.v8;l&&(o=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&u&&(!(r=u.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=u.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},function(t,e,n){"use strict";var r=n(26),o=n(8),i=n(21);t.exports=function(t,e,n){var u=r(e);u in t?o.f(t,u,i(0,n)):t[u]=n}},function(t,e,n){var r=n(0).String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},function(t,e,n){var r=n(7),o=n(5),i=Function.prototype,u=r&&Object.getOwnPropertyDescriptor,c=o(i,"name"),a=c&&"something"===function(){}.name,f=c&&(!r||r&&u(i,"name").configurable);t.exports={EXISTS:c,PROPER:a,CONFIGURABLE:f}},function(t,e,n){var r=n(39),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},function(t,e,n){var r=n(1),o=n(37),i=r(r.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?i(t,e):function(){return t.apply(e,arguments)}}},function(t,e,n){"use strict";var r=n(12),o=n(105),i=n(30),u=n(22),c=n(67),a=u.set,f=u.getterFor("Array Iterator");t.exports=c(Array,"Array",(function(t,e){a(this,{type:"Array Iterator",target:r(t),index:0,kind:e})}),(function(){var t=f(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e,n){var r=n(55),o=n(1),i=n(49),u=n(15),c=n(17),a=n(73),f=o([].push),l=function(t){var e=1==t,n=2==t,o=3==t,l=4==t,s=6==t,p=7==t,d=5==t||s;return function(y,h,v,g){for(var _,b,m=u(y),O=i(m),x=r(h,v),w=c(O),S=0,j=g||a,P=e?j(y,w):n||p?j(y,0):void 0;w>S;S++)if((d||S in O)&&(b=x(_=O[S],S,m),t))if(e)P[S]=b;else if(b)switch(t){case 3:return!0;case 5:return _;case 6:return S;case 2:f(P,_)}else switch(t){case 4:return!1;case 7:f(P,_)}return s?-1:o||l?l:P}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},function(t,e,n){var r=n(1),o=n(3),i=n(2),u=n(32),c=n(13),a=n(38),f=function(){},l=[],s=c("Reflect","construct"),p=/^\s*(?:class|function)\b/,d=r(p.exec),y=!p.exec(f),h=function(t){if(!i(t))return!1;try{return s(f,l,t),!0}catch(t){return!1}};t.exports=!s||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 y||!!d(p,a(t))}:h},function(t,e,n){var r=n(66),o=n(46);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(43),o=n(14),i=n(99);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(45);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var r=n(7),o=n(3),i=n(44);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(0),o=n(5),i=n(2),u=n(15),c=n(29),a=n(102),f=c("IE_PROTO"),l=r.Object,s=l.prototype;t.exports=a?l.getPrototypeOf:function(t){var e=u(t);if(o(e,f))return e[f];var n=e.constructor;return i(n)&&e instanceof n?n.prototype:e instanceof l?s:null}},function(t,e,n){var r=n(1),o=n(5),i=n(12),u=n(89).indexOf,c=n(24),a=r([].push);t.exports=function(t,e){var n,r=i(t),f=0,l=[];for(n in r)!o(c,n)&&o(r,n)&&a(l,n);for(;e.length>f;)o(r,n=e[f++])&&(~u(l,n)||a(l,n));return l}},function(t,e,n){"use strict";var r=n(6),o=n(11),i=n(28),u=n(53),c=n(2),a=n(108),f=n(65),l=n(79),s=n(47),p=n(16),d=n(14),y=n(4),h=n(30),v=n(77),g=u.PROPER,_=u.CONFIGURABLE,b=v.IteratorPrototype,m=v.BUGGY_SAFARI_ITERATORS,O=y("iterator"),x=function(){return this};t.exports=function(t,e,n,u,y,v,w){a(n,e,u);var S,j,P,k=function(t){if(t===y&&D)return D;if(!m&&t in M)return M[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},E=e+" Iterator",R=!1,M=t.prototype,N=M[O]||M["@@iterator"]||y&&M[y],D=!m&&N||k(y),T="Array"==e&&M.entries||N;if(T&&(S=f(T.call(new t)))!==Object.prototype&&S.next&&(i||f(S)===b||(l?l(S,b):c(S[O])||d(S,O,x)),s(S,E,!0,!0),i&&(h[E]=x)),g&&"values"==y&&N&&"values"!==N.name&&(!i&&_?p(M,"name","values"):(R=!0,D=function(){return o(N,this)})),y)if(j={values:k("values"),keys:v?D:k("keys"),entries:k("entries")},w)for(P in j)(m||R||!(P in M))&&d(M,P,j[P]);else r({target:e,proto:!0,forced:m||R},j);return i&&!w||M[O]===D||d(M,O,D,{name:y}),h[e]=D,j}},function(t,e,n){var r=n(5),o=n(87),i=n(25),u=n(8);t.exports=function(t,e){for(var n=o(e),c=u.f,a=i.f,f=0;f<n.length;f++){var l=n[f];r(t,l)||c(t,l,a(e,l))}}},function(t,e,n){"use strict";var r=n(104).charAt,o=n(23),i=n(22),u=n(67),c=i.set,a=i.getterFor("String Iterator");u(String,"String",(function(t){c(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,e=a(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){"use strict";var r=n(6),o=n(0),i=n(13),u=n(91),c=n(11),a=n(1),f=n(28),l=n(7),s=n(45),p=n(3),d=n(5),y=n(36),h=n(2),v=n(9),g=n(27),_=n(40),b=n(10),m=n(15),O=n(12),x=n(26),w=n(23),S=n(21),j=n(19),P=n(59),k=n(35),E=n(103),R=n(64),M=n(25),N=n(8),D=n(61),T=n(78),C=n(14),F=n(33),L=n(29),A=n(24),z=n(34),I=n(4),H=n(86),G=n(88),W=n(47),Y=n(22),X=n(57).forEach,B=L("hidden"),U=I("toPrimitive"),q=Y.set,V=Y.getterFor("Symbol"),$=Object.prototype,J=o.Symbol,K=J&&J.prototype,Q=o.TypeError,Z=o.QObject,tt=i("JSON","stringify"),et=M.f,nt=N.f,rt=E.f,ot=D.f,it=a([].push),ut=F("symbols"),ct=F("op-symbols"),at=F("string-to-symbol-registry"),ft=F("symbol-to-string-registry"),lt=F("wks"),st=!Z||!Z.prototype||!Z.prototype.findChild,pt=l&&p((function(){return 7!=j(nt({},"a",{get:function(){return nt(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=et($,e);r&&delete $[e],nt(t,e,n),r&&t!==$&&nt($,e,r)}:nt,dt=function(t,e){var n=ut[t]=j(K);return q(n,{type:"Symbol",tag:t,description:e}),l||(n.description=e),n},yt=function(t,e,n){t===$&&yt(ct,e,n),b(t);var r=x(e);return b(n),d(ut,r)?(n.enumerable?(d(t,B)&&t[B][r]&&(t[B][r]=!1),n=j(n,{enumerable:S(0,!1)})):(d(t,B)||nt(t,B,S(1,{})),t[B][r]=!0),pt(t,r,n)):nt(t,r,n)},ht=function(t,e){b(t);var n=O(e),r=P(n).concat(bt(n));return X(r,(function(e){l&&!c(vt,n,e)||yt(t,e,n[e])})),t},vt=function(t){var e=x(t),n=c(ot,this,e);return!(this===$&&d(ut,e)&&!d(ct,e))&&(!(n||!d(this,e)||!d(ut,e)||d(this,B)&&this[B][e])||n)},gt=function(t,e){var n=O(t),r=x(e);if(n!==$||!d(ut,r)||d(ct,r)){var o=et(n,r);return!o||!d(ut,r)||d(n,B)&&n[B][r]||(o.enumerable=!0),o}},_t=function(t){var e=rt(O(t)),n=[];return X(e,(function(t){d(ut,t)||d(A,t)||it(n,t)})),n},bt=function(t){var e=t===$,n=rt(e?ct:O(t)),r=[];return X(n,(function(t){!d(ut,t)||e&&!d($,t)||it(r,ut[t])})),r};(s||(C(K=(J=function(){if(g(K,this))throw Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?w(arguments[0]):void 0,e=z(t),n=function(t){this===$&&c(n,ct,t),d(this,B)&&d(this[B],e)&&(this[B][e]=!1),pt(this,e,S(1,t))};return l&&st&&pt($,e,{configurable:!0,set:n}),dt(e,t)}).prototype,"toString",(function(){return V(this).tag})),C(J,"withoutSetter",(function(t){return dt(z(t),t)})),D.f=vt,N.f=yt,M.f=gt,k.f=E.f=_t,R.f=bt,H.f=function(t){return dt(I(t),t)},l&&(nt(K,"description",{configurable:!0,get:function(){return V(this).description}}),f||C($,"propertyIsEnumerable",vt,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!s,sham:!s},{Symbol:J}),X(P(lt),(function(t){G(t)})),r({target:"Symbol",stat:!0,forced:!s},{for:function(t){var e=w(t);if(d(at,e))return at[e];var n=J(e);return at[e]=n,ft[n]=e,n},keyFor:function(t){if(!_(t))throw Q(t+" is not a symbol");if(d(ft,t))return ft[t]},useSetter:function(){st=!0},useSimple:function(){st=!1}}),r({target:"Object",stat:!0,forced:!s,sham:!l},{create:function(t,e){return void 0===e?j(t):ht(j(t),e)},defineProperty:yt,defineProperties:ht,getOwnPropertyDescriptor:gt}),r({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:_t,getOwnPropertySymbols:bt}),r({target:"Object",stat:!0,forced:p((function(){R.f(1)}))},{getOwnPropertySymbols:function(t){return R.f(m(t))}}),tt)&&r({target:"JSON",stat:!0,forced:!s||p((function(){var t=J();return"[null]"!=tt([t])||"{}"!=tt({a:t})||"{}"!=tt(Object(t))}))},{stringify:function(t,e,n){var r=T(arguments),o=e;if((v(e)||void 0!==t)&&!_(t))return y(e)||(e=function(t,e){if(h(o)&&(e=c(o,this,t,e)),!_(e))return e}),r[1]=e,u(tt,null,r)}});if(!K[U]){var mt=K.valueOf;C(K,U,(function(t){return c(mt,this)}))}W(J,"Symbol"),A[B]=!0},function(t,e,n){var r=n(3),o=n(2),i=/#|\.prototype\./,u=function(t,e){var n=a[c(t)];return n==l||n!=f&&(o(e)?r(e):!!e)},c=u.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=u.data={},f=u.NATIVE="N",l=u.POLYFILL="P";t.exports=u},function(t,e,n){var r=n(6),o=n(7);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(8).f})},function(t,e,n){var r=n(98);t.exports=function(t,e){return new(r(t))(0===e?0:e)}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){var r=n(44)("span").classList,o=r&&r.constructor&&r.constructor.prototype;t.exports=o===Object.prototype?void 0:o},function(t,e,n){var r=n(0),o=n(74),i=n(75),u=n(56),c=n(16),a=n(4),f=a("iterator"),l=a("toStringTag"),s=u.values,p=function(t,e){if(t){if(t[f]!==s)try{c(t,f,s)}catch(e){t[f]=s}if(t[l]||c(t,l,e),o[e])for(var n in u)if(t[n]!==u[n])try{c(t,n,u[n])}catch(e){t[n]=u[n]}}};for(var d in o)p(r[d]&&r[d].prototype,d);p(i,"DOMTokenList")},function(t,e,n){"use strict";var r,o,i,u=n(3),c=n(2),a=n(19),f=n(65),l=n(14),s=n(4),p=n(28),d=s("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(r=o):y=!0),null==r||u((function(){var t={};return r[d].call(t)!==t}))?r={}:p&&(r=a(r)),c(r[d])||l(r,d,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:y}},function(t,e,n){var r=n(1);t.exports=r([].slice)},function(t,e,n){var r=n(1),o=n(10),i=n(109);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return o(n),i(r),e?t(n,r):n.__proto__=r,n}}():void 0)},function(t,e,n){"use strict";var r=n(6),o=n(7),i=n(0),u=n(1),c=n(5),a=n(2),f=n(27),l=n(23),s=n(8).f,p=n(68),d=i.Symbol,y=d&&d.prototype;if(o&&a(d)&&(!("description"in y)||void 0!==d().description)){var h={},v=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),e=f(y,this)?new d(t):void 0===t?d():d(t);return""===t&&(h[e]=!0),e};p(v,d),v.prototype=y,y.constructor=v;var g="Symbol(test)"==String(d("test")),_=u(y.toString),b=u(y.valueOf),m=/^Symbol\((.*)\)[^)]+$/,O=u("".replace),x=u("".slice);s(y,"description",{configurable:!0,get:function(){var t=b(this),e=_(t);if(c(h,t))return"";var n=g?x(e,7,-1):O(e,m,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:v})}},function(t,e,n){n(88)("iterator")},function(t,e,n){var r=n(13);t.exports=r("navigator","userAgent")||""},function(t,e,n){var r=n(39),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){"use strict";var r=n(57).forEach,o=n(90)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e,n){var r=n(3),o=n(4),i=n(50),u=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[u]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){var r=n(4);e.f=r},function(t,e,n){var r=n(13),o=n(1),i=n(35),u=n(64),c=n(10),a=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(c(t)),n=u.f;return n?a(e,n(t)):e}},function(t,e,n){var r=n(111),o=n(5),i=n(86),u=n(8).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||u(e,t,{value:i.f(t)})}},function(t,e,n){var r=n(12),o=n(54),i=n(17),u=function(t){return function(e,n,u){var c,a=r(e),f=i(a),l=o(u,f);if(t&&n!=n){for(;f>l;)if((c=a[l++])!=c)return!0}else for(;f>l;l++)if((t||l in a)&&a[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},function(t,e,n){"use strict";var r=n(3);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},function(t,e){var n=Function.prototype,r=n.apply,o=n.bind,i=n.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?i.bind(r):function(){return i.apply(r,arguments)})},function(t,e,n){var r=n(0),o=n(11),i=n(9),u=n(40),c=n(48),a=n(96),f=n(4),l=r.TypeError,s=f("toPrimitive");t.exports=function(t,e){if(!i(t)||u(t))return t;var n,r=c(t,s);if(r){if(void 0===e&&(e="default"),n=o(r,t,e),!i(n)||u(n))return n;throw l("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},function(t,e,n){var r=n(7),o=n(8),i=n(10),u=n(12),c=n(59);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=u(e),a=c(e),f=a.length,l=0;f>l;)o.f(t,n=a[l++],r[n]);return t}},,function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(0),o=n(11),i=n(2),u=n(9),c=r.TypeError;t.exports=function(t,e){var n,r;if("string"===e&&i(n=t.toString)&&!u(r=o(n,t)))return r;if(i(n=t.valueOf)&&!u(r=o(n,t)))return r;if("string"!==e&&i(n=t.toString)&&!u(r=o(n,t)))return r;throw c("Can't convert object to primitive value")}},function(t,e,n){var r=n(0),o=n(2),i=n(38),u=r.WeakMap;t.exports=o(u)&&/native code/.test(i(u))},function(t,e,n){var r=n(0),o=n(36),i=n(58),u=n(9),c=n(4)("species"),a=r.Array;t.exports=function(t){var e;return o(t)&&(e=t.constructor,(i(e)&&(e===a||o(e.prototype))||u(e)&&null===(e=e[c]))&&(e=void 0)),void 0===e?a:e}},function(t,e,n){"use strict";var r=n(43),o=n(32);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e,n){"use strict";var r=n(6),o=n(84);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,n){var r=n(0),o=n(74),i=n(75),u=n(84),c=n(16),a=function(t){if(t&&t.forEach!==u)try{c(t,"forEach",u)}catch(e){t.forEach=u}};for(var f in o)o[f]&&a(r[f]&&r[f].prototype);a(i)},function(t,e,n){var r=n(3);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,n){var r=n(20),o=n(12),i=n(35).f,u=n(107),c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"Window"==r(t)?function(t){try{return i(t)}catch(t){return u(c)}}(t):i(o(t))}},function(t,e,n){var r=n(1),o=n(39),i=n(23),u=n(31),c=r("".charAt),a=r("".charCodeAt),f=r("".slice),l=function(t){return function(e,n){var r,l,s=i(u(e)),p=o(n),d=s.length;return p<0||p>=d?t?"":void 0:(r=a(s,p))<55296||r>56319||p+1===d||(l=a(s,p+1))<56320||l>57343?t?c(s,p):r:t?f(s,p,p+2):l-56320+(r-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},function(t,e,n){var r=n(4),o=n(19),i=n(8),u=r("unscopables"),c=Array.prototype;null==c[u]&&i.f(c,u,{configurable:!0,value:o(null)}),t.exports=function(t){c[u][t]=!0}},function(t,e,n){var r=n(13);t.exports=r("document","documentElement")},function(t,e,n){var r=n(0),o=n(54),i=n(17),u=n(51),c=r.Array,a=Math.max;t.exports=function(t,e,n){for(var r=i(t),f=o(e,r),l=o(void 0===n?r:n,r),s=c(a(l-f,0)),p=0;f<l;f++,p++)u(s,p,t[f]);return s.length=p,s}},function(t,e,n){"use strict";var r=n(77).IteratorPrototype,o=n(19),i=n(21),u=n(47),c=n(30),a=function(){return this};t.exports=function(t,e,n,f){var l=e+" Iterator";return t.prototype=o(r,{next:i(+!f,n)}),u(t,l,!1,!0),c[l]=a,t}},function(t,e,n){var r=n(0),o=n(2),i=r.String,u=r.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw u("Can't set "+i(t)+" as a prototype")}},,function(t,e,n){var r=n(0);t.exports=r},,,,,function(t,e,n){var r=n(6),o=n(3),i=n(12),u=n(25).f,c=n(7),a=o((function(){u(1)}));r({target:"Object",stat:!0,forced:!c||a,sham:!c},{getOwnPropertyDescriptor:function(t,e){return u(i(t),e)}})},,function(t,e,n){n(6)({target:"Object",stat:!0},{setPrototypeOf:n(79)})},function(t,e,n){var r=n(6),o=n(3),i=n(15),u=n(65),c=n(102);r({target:"Object",stat:!0,forced:o((function(){u(1)})),sham:!c},{getPrototypeOf:function(t){return u(i(t))}})},function(t,e,n){var r=n(6),o=n(13),i=n(91),u=n(154),c=n(146),a=n(10),f=n(9),l=n(19),s=n(3),p=o("Reflect","construct"),d=Object.prototype,y=[].push,h=s((function(){function t(){}return!(p((function(){}),[],t)instanceof t)})),v=!s((function(){p((function(){}))})),g=h||v;r({target:"Reflect",stat:!0,forced:g,sham:g},{construct:function(t,e){c(t),a(e);var n=arguments.length<3?t:c(arguments[2]);if(v&&!h)return p(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return i(y,r,e),new(i(u,t,r))}var o=n.prototype,s=l(f(o)?o:d),g=i(t,s,e);return f(g)?g:s}})},function(t,e,n){n(6)({target:"Object",stat:!0,sham:!n(7)},{create:n(19)})},,,,,,,function(t,e,n){var r=n(6),o=n(15),i=n(59);r({target:"Object",stat:!0,forced:n(3)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},,,,,,,function(t,e,n){"use strict";var r=n(6),o=n(57).filter;r({target:"Array",proto:!0,forced:!n(85)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(6),o=n(7),i=n(87),u=n(12),c=n(25),a=n(51);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,n,r=u(t),o=c.f,f=i(r),l={},s=0;f.length>s;)void 0!==(n=o(r,e=f[s++]))&&a(l,e,n);return l}})},function(t,e,n){var r=n(6),o=n(7);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(93)})},,,,,,,,,function(t,e,n){var r=n(0),o=n(58),i=n(52),u=r.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not a constructor")}},,,,,,function(t,e,n){var r=n(6),o=n(11),i=n(9),u=n(10),c=n(172),a=n(25),f=n(65);r({target:"Reflect",stat:!0},{get:function t(e,n){var r,l,s=arguments.length<3?e:arguments[2];return u(e)===s?e[n]:(r=a.f(e,n))?c(r)?r.value:void 0===r.get?void 0:o(r.get,s):i(l=f(e))?t(l,n,s):void 0}})},function(t,e,n){"use strict";var r=n(6),o=n(57).map;r({target:"Array",proto:!0,forced:!n(85)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(0),o=n(1),i=n(37),u=n(9),c=n(5),a=n(78),f=r.Function,l=o([].concat),s=o([].join),p={},d=function(t,e,n){if(!c(p,e)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";p[e]=f("C,a","return new C("+s(r,",")+")")}return p[e](t,n)};t.exports=f.bind||function(t){var e=i(this),n=e.prototype,r=a(arguments,1),o=function(){var n=l(r,a(arguments));return this instanceof o?d(e,n.length,n):e.apply(t,n)};return u(n)&&(o.prototype=n),o}},,,,,function(t,e,n){var r=n(6),o=n(166);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(t,e,n){"use strict";var r=n(6),o=n(1),i=n(49),u=n(12),c=n(90),a=o([].join),f=i!=Object,l=c("join",",");r({target:"Array",proto:!0,forced:f||!l},{join:function(t){return a(u(this),void 0===t?",":t)}})},,,,,,function(t,e,n){"use strict";var r=n(7),o=n(1),i=n(11),u=n(3),c=n(59),a=n(64),f=n(61),l=n(15),s=n(49),p=Object.assign,d=Object.defineProperty,y=o([].concat);t.exports=!p||u((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=p({},t)[n]||"abcdefghijklmnopqrst"!=c(p({},e)).join("")}))?function(t,e){for(var n=l(t),o=arguments.length,u=1,p=a.f,d=f.f;o>u;)for(var h,v=s(arguments[u++]),g=p?y(c(v),p(v)):c(v),_=g.length,b=0;_>b;)h=g[b++],r&&!i(d,v,h)||(n[h]=v[h]);return n}:p},,,,,,function(t,e,n){var r=n(5);t.exports=function(t){return void 0!==t&&(r(t,"value")||r(t,"writable"))}},function(t,e,n){"use strict";n.r(e),n.d(e,"NodeResize",(function(){return de})),n.d(e,"RectResize",(function(){return jt})),n.d(e,"EllipseResize",(function(){return zt})),n.d(e,"DiamondResize",(function(){return Zt})),n.d(e,"HtmlResize",(function(){return pe}));n(118),n(119),n(60),n(120),n(121),n(152),n(116),n(72),n(70),n(80),n(81),n(56),n(69),n(76);var r,o,i,u,c,a,f=n(18),l=(n(153),n(159),{}),s=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function d(t,e){for(var n in e)t[n]=e[n];return t}function y(t){var e=t.parentNode;e&&e.removeChild(t)}function h(t,e,n){var o,i,u,c={};for(u in e)"key"==u?o=e[u]:"ref"==u?i=e[u]:c[u]=e[u];if(arguments.length>2&&(c.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof t&&null!=t.defaultProps)for(u in t.defaultProps)void 0===c[u]&&(c[u]=t.defaultProps[u]);return v(t,c,o,i,null)}function v(t,e,n,r,u){var c={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==u?++i:u};return null==u&&null!=o.vnode&&o.vnode(c),c}function g(t){return t.children}function _(t,e){this.props=t,this.context=e}function b(t,e){if(null==e)return t.__?b(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof t.type?b(t):null}function m(t){var e,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e){t.__e=t.__c.base=n.__e;break}return m(t)}}function O(t){(!t.__d&&(t.__d=!0)&&u.push(t)&&!x.__r++||a!==o.debounceRendering)&&((a=o.debounceRendering)||c)(x)}function x(){for(var t;x.__r=u.length;)t=u.sort((function(t,e){return t.__v.__b-e.__v.__b})),u=[],t.some((function(t){var e,n,r,o,i,u;t.__d&&(i=(o=(e=t).__v).__e,(u=e.__P)&&(n=[],(r=d({},o)).__v=o.__v+1,M(u,o,r,e.__n,void 0!==u.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?b(o):i,o.__h),N(n,o),o.__e!=i&&m(o)))}))}function w(t,e,n,r,o,i,u,c,a,f){var p,d,y,h,_,m,O,x=r&&r.__k||s,w=x.length;for(n.__k=[],p=0;p<e.length;p++)if(null!=(h=n.__k[p]=null==(h=e[p])||"boolean"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?v(null,h,null,null,h):Array.isArray(h)?v(g,{children:h},null,null,null):h.__b>0?v(h.type,h.props,h.key,null,h.__v):h)){if(h.__=n,h.__b=n.__b+1,null===(y=x[p])||y&&h.key==y.key&&h.type===y.type)x[p]=void 0;else for(d=0;d<w;d++){if((y=x[d])&&h.key==y.key&&h.type===y.type){x[d]=void 0;break}y=null}M(t,h,y=y||l,o,i,u,c,a,f),_=h.__e,(d=h.ref)&&y.ref!=d&&(O||(O=[]),y.ref&&O.push(y.ref,null,h),O.push(d,h.__c||_,h)),null!=_?(null==m&&(m=_),"function"==typeof h.type&&h.__k===y.__k?h.__d=a=S(h,a,t):a=j(t,h,y,x,_,a),"function"==typeof n.type&&(n.__d=a)):a&&y.__e==a&&a.parentNode!=t&&(a=b(y))}for(n.__e=m,p=w;p--;)null!=x[p]&&("function"==typeof n.type&&null!=x[p].__e&&x[p].__e==n.__d&&(n.__d=b(r,p+1)),C(x[p],x[p]));if(O)for(p=0;p<O.length;p++)T(O[p],O[++p],O[++p])}function S(t,e,n){for(var r,o=t.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=t,e="function"==typeof r.type?S(r,e,n):j(n,r,r,o,r.__e,e));return e}function j(t,e,n,r,o,i){var u,c,a;if(void 0!==e.__d)u=e.__d,e.__d=void 0;else if(null==n||o!=i||null==o.parentNode)t:if(null==i||i.parentNode!==t)t.appendChild(o),u=null;else{for(c=i,a=0;(c=c.nextSibling)&&a<r.length;a+=2)if(c==o)break t;t.insertBefore(o,i),u=i}return void 0!==u?u:o.nextSibling}function P(t,e,n){"-"===e[0]?t.setProperty(e,n):t[e]=null==n?"":"number"!=typeof n||p.test(e)?n:n+"px"}function k(t,e,n,r,o){var i;t:if("style"===e)if("string"==typeof n)t.style.cssText=n;else{if("string"==typeof r&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||P(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||P(t.style,e,n[e])}else if("o"===e[0]&&"n"===e[1])i=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?r||t.addEventListener(e,i?R:E,i):t.removeEventListener(e,i?R:E,i);else if("dangerouslySetInnerHTML"!==e){if(o)e=e.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==e&&"list"!==e&&"form"!==e&&"tabIndex"!==e&&"download"!==e&&e in t)try{t[e]=null==n?"":n;break t}catch(t){}"function"==typeof n||(null!=n&&(!1!==n||"a"===e[0]&&"r"===e[1])?t.setAttribute(e,n):t.removeAttribute(e))}}function E(t){this.l[t.type+!1](o.event?o.event(t):t)}function R(t){this.l[t.type+!0](o.event?o.event(t):t)}function M(t,e,n,r,i,u,c,a,f){var l,s,p,y,h,v,b,m,O,x,S,j=e.type;if(void 0!==e.constructor)return null;null!=n.__h&&(f=n.__h,a=e.__e=n.__e,e.__h=null,u=[a]),(l=o.__b)&&l(e);try{t:if("function"==typeof j){if(m=e.props,O=(l=j.contextType)&&r[l.__c],x=l?O?O.props.value:l.__:r,n.__c?b=(s=e.__c=n.__c).__=s.__E:("prototype"in j&&j.prototype.render?e.__c=s=new j(m,x):(e.__c=s=new _(m,x),s.constructor=j,s.render=F),O&&O.sub(s),s.props=m,s.state||(s.state={}),s.context=x,s.__n=r,p=s.__d=!0,s.__h=[]),null==s.__s&&(s.__s=s.state),null!=j.getDerivedStateFromProps&&(s.__s==s.state&&(s.__s=d({},s.__s)),d(s.__s,j.getDerivedStateFromProps(m,s.__s))),y=s.props,h=s.state,p)null==j.getDerivedStateFromProps&&null!=s.componentWillMount&&s.componentWillMount(),null!=s.componentDidMount&&s.__h.push(s.componentDidMount);else{if(null==j.getDerivedStateFromProps&&m!==y&&null!=s.componentWillReceiveProps&&s.componentWillReceiveProps(m,x),!s.__e&&null!=s.shouldComponentUpdate&&!1===s.shouldComponentUpdate(m,s.__s,x)||e.__v===n.__v){s.props=m,s.state=s.__s,e.__v!==n.__v&&(s.__d=!1),s.__v=e,e.__e=n.__e,e.__k=n.__k,e.__k.forEach((function(t){t&&(t.__=e)})),s.__h.length&&c.push(s);break t}null!=s.componentWillUpdate&&s.componentWillUpdate(m,s.__s,x),null!=s.componentDidUpdate&&s.__h.push((function(){s.componentDidUpdate(y,h,v)}))}s.context=x,s.props=m,s.state=s.__s,(l=o.__r)&&l(e),s.__d=!1,s.__v=e,s.__P=t,l=s.render(s.props,s.state,s.context),s.state=s.__s,null!=s.getChildContext&&(r=d(d({},r),s.getChildContext())),p||null==s.getSnapshotBeforeUpdate||(v=s.getSnapshotBeforeUpdate(y,h)),S=null!=l&&l.type===g&&null==l.key?l.props.children:l,w(t,Array.isArray(S)?S:[S],e,n,r,i,u,c,a,f),s.base=e.__e,e.__h=null,s.__h.length&&c.push(s),b&&(s.__E=s.__=null),s.__e=!1}else null==u&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=D(n.__e,e,n,r,i,u,c,f);(l=o.diffed)&&l(e)}catch(t){e.__v=null,(f||null!=u)&&(e.__e=a,e.__h=!!f,u[u.indexOf(a)]=null),o.__e(t,e,n)}}function N(t,e){o.__c&&o.__c(e,t),t.some((function(e){try{t=e.__h,e.__h=[],t.some((function(t){t.call(e)}))}catch(t){o.__e(t,e.__v)}}))}function D(t,e,n,o,i,u,c,a){var f,s,p,d=n.props,h=e.props,v=e.type,g=0;if("svg"===v&&(i=!0),null!=u)for(;g<u.length;g++)if((f=u[g])&&"setAttribute"in f==!!v&&(v?f.localName===v:3===f.nodeType)){t=f,u[g]=null;break}if(null==t){if(null===v)return document.createTextNode(h);t=i?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,h.is&&h),u=null,a=!1}if(null===v)d===h||a&&t.data===h||(t.data=h);else{if(u=u&&r.call(t.childNodes),s=(d=n.props||l).dangerouslySetInnerHTML,p=h.dangerouslySetInnerHTML,!a){if(null!=u)for(d={},g=0;g<t.attributes.length;g++)d[t.attributes[g].name]=t.attributes[g].value;(p||s)&&(p&&(s&&p.__html==s.__html||p.__html===t.innerHTML)||(t.innerHTML=p&&p.__html||""))}if(function(t,e,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in e||k(t,i,null,n[i],r);for(i in e)o&&"function"!=typeof e[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===e[i]||k(t,i,e[i],n[i],r)}(t,h,d,i,a),p)e.__k=[];else if(g=e.props.children,w(t,Array.isArray(g)?g:[g],e,n,o,i&&"foreignObject"!==v,u,c,u?u[0]:n.__k&&b(n,0),a),null!=u)for(g=u.length;g--;)null!=u[g]&&y(u[g]);a||("value"in h&&void 0!==(g=h.value)&&(g!==d.value||g!==t.value||"progress"===v&&!g)&&k(t,"value",g,d.value,!1),"checked"in h&&void 0!==(g=h.checked)&&g!==t.checked&&k(t,"checked",g,d.checked,!1))}return t}function T(t,e,n){try{"function"==typeof t?t(e):t.current=e}catch(t){o.__e(t,n)}}function C(t,e,n){var r,i;if(o.unmount&&o.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||T(r,null,e)),null!=(r=t.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(t){o.__e(t,e)}r.base=r.__P=null}if(r=t.__k)for(i=0;i<r.length;i++)r[i]&&C(r[i],e,"function"!=typeof t.type);n||null==t.__e||y(t.__e),t.__e=t.__d=void 0}function F(t,e,n){return this.constructor(t,n)}r=s.slice,o={__e:function(t,e){for(var n,r,o;e=e.__;)if((n=e.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(t)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(t),o=n.__d),o)return n.__E=n}catch(e){t=e}throw t}},i=0,_.prototype.setState=function(t,e){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d({},this.state),"function"==typeof t&&(t=t(d({},n),this.props)),t&&d(n,t),null!=t&&this.__v&&(e&&this.__h.push(e),O(this))},_.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),O(this))},_.prototype.render=g,u=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,x.__r=0;var L;n(100),n(101),n(128),n(135),n(136),n(137);function A(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function z(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?A(Object(n),!0).forEach((function(e){I(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function I(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function H(t){var e=t.x,n=t.y,r=t.width,o=t.height,i=t.radius,u=t.className,c=e-r/2,a=n-o/2,l=z(z({width:10,height:10,cx:0,cy:0,rx:i||0,ry:i||0,fill:"transparent",fillOpacity:1,strokeWidth:"1px",stroke:"#000",strokeOpacity:1,className:"lf-basic-shape ".concat(u)},t),{},{x:c,y:a});return Object(f.h)("rect",l)}function G(t){var e=t.x,n=t.y,r=t.width,o=t.height;return{minX:e-r/2,minY:n-o/2,maxX:e+r/2,maxY:n+o/2}}function W(t){var e=G(t),n=t.radius,r=e.minX,o=e.minY,i=e.maxX,u=e.maxY;return[{x:r+n,y:o+n},{x:i-n,y:o+n},{x:i-n,y:u-n},{x:r+n,y:u-n}]}function Y(t){var e=t.point,n=t.beforeNode,r=t.afterNode,o=e.x,i=e.y,u={x:o,y:i},c=n.radius,a=G(n),f=G(r);if(o===a.minX){u.x=f.minX;var l=(i-n.y)/(n.height/2-c);u.y=l?r.y+(r.height/2-c)*l:r.y}else if(o===a.maxX){u.x=f.maxX;var s=(i-n.y)/(n.height/2-c);u.y=s?r.y+(r.height/2-c)*s:r.y}else if(i===a.minY){u.y=f.minY;var p=(o-n.x)/(n.width/2-c);u.x=p?r.x+(r.width/2-c)*p:r.x}else if(i===a.maxY){u.y=f.maxY;var d=(o-n.x)/(n.width/2-c);u.x=d?r.x+(r.width/2-c)*d:r.x}else{var y=W(n),h=W(r),v=G(n),g=v.minX,_=v.minY,b=v.maxX,m=v.maxY,O=-1;if(o-g<c&&i-_<c?O=0:b-o<c&&i-_<c?O=1:b-o<c&&m-i<c?O=2:o-g<c&&_-i<c&&(O=3),O>-1){var x=Math.atan2(i-y[O].y,o-y[O].x);u.x=h[O].x+c*Math.cos(x),u.y=h[O].y+c*Math.sin(x)}}return u}function X(t){var e,n,r=t.point,o=t.beforeNode,i=t.afterNode,u=i.rx,c=i.ry,a=(r.y-o.y)/(r.x-o.x),f=u,l=c;return a>=1/0?(e=0,n=l):a<=-1/0?(e=0,n=-l):r.x-o.x>0?(e=f*l/Math.sqrt(l*l+f*f*a*a),n=f*l*a/Math.sqrt(l*l+f*f*a*a)):(e=-f*l/Math.sqrt(l*l+f*f*a*a),n=-f*l*a/Math.sqrt(l*l+f*f*a*a)),{x:e+i.x,y:n+i.y}}function B(t){var e,n=t.point,r=t.beforeNode,o=t.afterNode,i=n.x-r.x,u=n.y-r.y,c=r.rx,a=r.ry,f=Math.sqrt((c-Math.abs(i))*(c-Math.abs(i))+u*u)/Math.sqrt(c*c+a*a),l=o.rx,s=o.ry,p=Math.sqrt((l*l+s*s)*f*f*(l*l/(l*l+s*s))),d=p*(s/l);return e=u>0?d:-d,{x:(i>=0?l-p:p-l)+o.x,y:e+o.y}}function U(t){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function q(){return(q=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function V(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function $(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?V(Object(n),!0).forEach((function(e){nt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function J(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function K(t,e){return(K=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Q(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=et(t);if(e){var o=et(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Z(this,n)}}function Z(t,e){if(e&&("object"===U(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return tt(t)}function tt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function et(t){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}H.defaultProps={radius:0,stroke:"",strokeDasharray:"",className:""},function(t){t.NODE="node",t.CIRCLE_NODE="circle-node",t.POLYGON_NODE="polygon-node",t.RECT_NODE="rect-node",t.HTML_NODE="html-node",t.TEXT_NODE="text-node",t.ELLIPSE_NODE="ellipse-node",t.DIAMOND_NODE="diamond-node",t.EDGE="edge",t.LINE_EDGE="line-edge",t.POLYLINE_EDGE="polyline-edge",t.BEZIER_EDGE="bezier-edge",t.GRAPH="graph"}(L||(L={}));var rt=f.LogicFlowUtil.StepDrag,ot=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&K(t,e)}(i,t);var e,n,r,o=Q(i);function i(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),nt(tt(e=o.call(this)),"updatePosition",(function(t){var n=t.deltaX,r=t.deltaY,o=e.nodeModel,i=o.x,u=o.y;e.nodeModel.x=i+n/2,e.nodeModel.y=u+r/2,e.nodeModel.moveText(n/2,r/2)})),nt(tt(e),"getResize",(function(t){var e=t.index,n=t.deltaX,r=t.deltaY,o=t.width,i=t.height,u=t.pct,c=void 0===u?1:u,a={width:o,height:i};switch(e){case 0:a.width=o-n*c,a.height=i-r*c;break;case 1:a.width=o+n*c,a.height=i-r*c;break;case 2:a.width=o+n,a.height=i+r*c;break;case 3:a.width=o-n*c,a.height=i+r*c}return a})),nt(tt(e),"updateRect",(function(t){var n=t.deltaX,r=t.deltaY,o=e.nodeModel,i=o.id,u=o.x,c=o.y,a=o.width,f=o.height,l=o.radius,s=tt(e).index,p=e.getResize({index:s,deltaX:n,deltaY:r,width:a,height:f,pct:1}),d=e.nodeModel,y=d.minWidth,h=d.minHeight,v=d.maxWidth,g=d.maxHeight;if(p.width<y||p.width>v||p.height<h||p.height>g)e.dragHandler.cancelDrag();else{e.updatePosition({deltaX:n,deltaY:r}),e.nodeModel.width=p.width,e.nodeModel.height=p.height,e.nodeModel.setProperties({nodeSize:{width:p.width,height:p.height}});var _,b=e.getNodeEdges(i),m={x:u,y:c,width:a,height:f,radius:l},O={x:e.nodeModel.x,y:e.nodeModel.y,width:e.nodeModel.width,height:e.nodeModel.height,radius:l},x={point:"",beforeNode:m,afterNode:O};b.sourceEdges.forEach((function(t){x.point=t.startPoint,_=Y(x),t.updateStartPoint(_)})),b.targetEdges.forEach((function(t){x.point=t.endPoint,_=Y(x),t.updateEndPoint(_)})),e.eventEmit({beforeNode:m,afterNode:O})}})),nt(tt(e),"updateEllipse",(function(t){var n=t.deltaX,r=t.deltaY,o=e.nodeModel,i=o.id,u=o.rx,c=o.ry,a=o.x,f=o.y,l=tt(e).index,s=u,p=c,d=e.getResize({index:l,deltaX:n,deltaY:r,width:s,height:p,pct:.5}),y=e.nodeModel,h=y.minWidth,v=y.minHeight,g=y.maxWidth,_=y.maxHeight;if(d.width<h/2||d.width>g/2||d.height<v/2||d.height>_/2)e.dragHandler.cancelDrag();else{e.updatePosition({deltaX:n,deltaY:r}),e.nodeModel.rx=e.nodeModel.rx+n/2,e.nodeModel.ry=e.nodeModel.ry+r/2,e.nodeModel.setProperties({nodeSize:{rx:d.width,ry:d.height}});var b,m=e.getNodeEdges(i),O={x:a,y:f},x={rx:d.width,ry:d.height,x:e.nodeModel.x,y:e.nodeModel.y},w={point:{},beforeNode:O,afterNode:x};m.sourceEdges.forEach((function(t){w.point=t.startPoint,b=X(w),t.updateStartPoint(b)})),m.targetEdges.forEach((function(t){w.point=t.endPoint,b=X(w),t.updateEndPoint(b)})),e.eventEmit({beforeNode:$($({},O),{},{rx:u,ry:c}),afterNode:x})}})),nt(tt(e),"updateDiamond",(function(t){var n=t.deltaX,r=t.deltaY,o=e.nodeModel,i=o.id,u=o.rx,c=o.ry,a=o.x,f=o.y,l=tt(e).index,s=u,p=c,d=e.getResize({index:l,deltaX:n,deltaY:r,width:s,height:p,pct:.5}),y=e.nodeModel,h=y.minWidth,v=y.minHeight,g=y.maxWidth,_=y.maxHeight;if(d.width<h/2||d.width>g/2||d.height<v/2||d.height>_/2)e.dragHandler.cancelDrag();else{e.updatePosition({deltaX:n,deltaY:r}),e.nodeModel.rx=e.nodeModel.rx+n/2,e.nodeModel.ry=e.nodeModel.ry+r/2,e.nodeModel.setProperties({nodeSize:{rx:d.width,ry:d.height}});var b,m={x:a,y:f,rx:u,ry:c},O={rx:d.width,ry:d.height,x:e.nodeModel.x,y:e.nodeModel.y},x={point:{},beforeNode:m,afterNode:O},w=e.getNodeEdges(i);w.sourceEdges.forEach((function(t){x.point=t.startPoint,b=B(x),t.updateStartPoint(b)})),w.targetEdges.forEach((function(t){x.point=t.endPoint,b=B(x),t.updateEndPoint(b)})),e.eventEmit({beforeNode:m,afterNode:O})}})),nt(tt(e),"eventEmit",(function(t){var n=t.beforeNode,r=t.afterNode,o=e.nodeModel,i=o.id,u=o.modelType,c=o.type,a=$({id:i,modelType:u,type:c},n),f=$({id:i,modelType:u,type:c},r);e.graphModel.eventCenter.emit("node:resize",{oldNodeSize:a,newNodeSize:f})})),nt(tt(e),"onDraging",(function(t){var n=t.deltaX,r=t.deltaY,o=e.nodeModel.modelType;o===L.RECT_NODE||o===L.HTML_NODE?e.updateRect({deltaX:n,deltaY:r}):o===L.ELLIPSE_NODE?e.updateEllipse({deltaX:n,deltaY:r}):o===L.DIAMOND_NODE&&e.updateDiamond({deltaX:n,deltaY:r})})),e.index=t.index,e.nodeModel=t.model,e.graphModel=t.graphModel;var n=e.graphModel.gridSize,r=2;return n>1&&(r=2*n),e.nodeModel.gridSize&&(r=2*e.nodeModel.gridSize),e.state={},e.dragHandler=new rt({onDraging:e.onDraging,step:r}),e}return e=i,(n=[{key:"getNodeEdges",value:function(t){for(var e=this.graphModel.edges,n=[],r=[],o=0;o<e.length;o++){var i=e[o];i.sourceNodeId===t?n.push(i):e[o].targetNodeId===t&&r.push(i)}return{sourceEdges:n,targetEdges:r}}},{key:"render",value:function(){var t=this.props,e=t.x,n=t.y,r=t.index,o=t.model.getControlPointStyle();return h("g",{className:"lf-resize-control-".concat(r)},h(H,q({className:"lf-node-control",x:e,y:n},o,{onMouseDown:this.dragHandler.handleMouseDown})))}}])&&J(e.prototype,n),r&&J(e,r),i}(_);function it(t){return(it="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ut(){return(ut=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function ct(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function at(t,e){return(at=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ft(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=st(t);if(e){var o=st(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return lt(this,n)}}function lt(t,e){if(e&&("object"===it(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function st(t){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var pt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&at(t,e)}(i,t);var e,n,r,o=ft(i);function i(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this)).state={},t}return e=i,(n=[{key:"getResizeControl",value:function(){var t=this.props,e=t.model,n=t.graphModel,r=e.x,o=e.y,i=e.width,u=e.height,c={minX:r-i/2,minY:o-u/2,maxX:r+i/2,maxY:o+u/2},a=c.minX,f=c.minY,l=c.maxX,s=c.maxY;return[{x:a,y:f},{x:l,y:f},{x:l,y:s},{x:a,y:s}].map((function(t,r){return h(ot,ut({index:r},t,{model:e,graphModel:n}))}))}},{key:"getGroupSolid",value:function(){var t=this.props.model,e=t.x,n=t.y,r=t.width,o=t.height;return h(H,ut({fill:"none"},t.getResizeOutlineStyle(),{x:e,y:n,width:r,height:o}))}},{key:"render",value:function(){return h("g",{className:"lf-resize-control"},this.getGroupSolid(),this.getResizeControl())}}])&&ct(e.prototype,n),r&&ct(e,r),i}(_);function dt(t){return(dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function yt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function vt(t,e,n){return e&&ht(t.prototype,e),n&&ht(t,n),t}function gt(){return(gt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=_t(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}}).apply(this,arguments)}function _t(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=wt(t)););return t}function bt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mt(t,e)}function mt(t,e){return(mt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ot(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=wt(t);if(e){var o=wt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return xt(this,n)}}function xt(t,e){if(e&&("object"===dt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function wt(t){return(wt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var St=function(t){bt(n,t);var e=Ot(n);function n(t,r){var o;yt(this,n);var i=(o=e.call(this,t,r)).properties.nodeSize;return i&&(o.width=i.width,o.height=i.height),o}return vt(n,[{key:"initNodeData",value:function(t){gt(wt(n.prototype),"initNodeData",this).call(this,t),this.minWidth=30,this.minHeight=30,this.maxWidth=2e3,this.maxHeight=2e3}},{key:"getOutlineStyle",value:function(){var t=gt(wt(n.prototype),"getOutlineStyle",this).call(this);return t.stroke="none",t.hover&&(t.hover.stroke="none"),t}},{key:"getResizeOutlineStyle",value:function(){return{fill:"none",stroke:"transparent",strokeWidth:1,strokeDasharray:"3,3"}}},{key:"getControlPointStyle",value:function(){return{width:7,height:7,fill:"#FFFFFF",stroke:"#000000"}}},{key:"resize",value:function(t,e){console.log(t,e)}}]),n}(f.RectNodeModel),jt={type:"rect",view:function(t){bt(n,t);var e=Ot(n);function n(){return yt(this,n),e.apply(this,arguments)}return vt(n,[{key:"getControlGroup",value:function(){var t=this.props,e=t.model,n=t.graphModel;return Object(f.h)(pt,{model:e,graphModel:n})}},{key:"getResizeShape",value:function(){return gt(wt(n.prototype),"getShape",this).call(this)}},{key:"getShape",value:function(){var t=this.props.model.isSelected;return Object(f.h)("g",null,this.getResizeShape(),t?this.getControlGroup():"")}}]),n}(f.RectNode),model:St};function Pt(t){return(Pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function kt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Et(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Rt(t,e,n){return e&&Et(t.prototype,e),n&&Et(t,n),t}function Mt(){return(Mt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=Nt(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}}).apply(this,arguments)}function Nt(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Lt(t)););return t}function Dt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tt(t,e)}function Tt(t,e){return(Tt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ct(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lt(t);if(e){var o=Lt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ft(this,n)}}function Ft(t,e){if(e&&("object"===Pt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Lt(t){return(Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var At=function(t){Dt(n,t);var e=Ct(n);function n(t,r){var o;kt(this,n);var i=(o=e.call(this,t,r)).properties.nodeSize;return i&&(o.rx=i.rx,o.ry=i.ry),o}return Rt(n,[{key:"initNodeData",value:function(t){Mt(Lt(n.prototype),"initNodeData",this).call(this,t),this.minWidth=30,this.minHeight=30,this.maxWidth=2e3,this.maxHeight=2e3}},{key:"getOutlineStyle",value:function(){var t=Mt(Lt(n.prototype),"getOutlineStyle",this).call(this);return t.stroke="none",t.hover&&(t.hover.stroke="none"),t}},{key:"getResizeOutlineStyle",value:function(){return{stroke:"#000000",strokeWidth:1,strokeDasharray:"3,3"}}},{key:"getControlPointStyle",value:function(){return{width:7,height:7,fill:"#FFFFFF",stroke:"#000000"}}}]),n}(f.EllipseNodeModel),zt={type:"ellipse",view:function(t){Dt(n,t);var e=Ct(n);function n(){return kt(this,n),e.apply(this,arguments)}return Rt(n,[{key:"getControlGroup",value:function(){var t=this.props,e=t.model,n=t.graphModel;return Object(f.h)(pt,{model:e,graphModel:n})}},{key:"getResizeShape",value:function(){return Mt(Lt(n.prototype),"getShape",this).call(this)}},{key:"getShape",value:function(){var t=this.props.model;return Object(f.h)("g",null,this.getResizeShape(),t.isSelected?this.getControlGroup():"")}}]),n}(f.EllipseNode),model:At};n(174),n(160);function It(t){var e=t.fillOpacity,n=void 0===e?1:e,r=t.strokeWidth,o=void 0===r?1:r,i=t.strokeOpacity,u=void 0===i?1:i,c=t.fill,a=void 0===c?"transparent":c,l=t.stroke,s=void 0===l?"#000":l,p=t.points,d=t.className,y={fill:a,fillOpacity:n,strokeWidth:o,stroke:s,strokeOpacity:u,points:"",className:void 0===d?"lf-basic-shape":d};return y.points=p.map((function(t){return t.join(",")})).join(" "),Object(f.h)("polygon",y)}function Ht(t){return(Ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Gt(){return(Gt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Wt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Xt(t,e,n){return e&&Yt(t.prototype,e),n&&Yt(t,n),t}function Bt(){return(Bt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=Ut(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}}).apply(this,arguments)}function Ut(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Kt(t)););return t}function qt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vt(t,e)}function Vt(t,e){return(Vt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function $t(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Kt(t);if(e){var o=Kt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Jt(this,n)}}function Jt(t,e){if(e&&("object"===Ht(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Kt(t){return(Kt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Qt=function(t){qt(n,t);var e=$t(n);function n(t,r){var o;Wt(this,n);var i=(o=e.call(this,t,r)).properties.nodeSize;return i&&(o.rx=i.rx,o.ry=i.ry),o}return Xt(n,[{key:"initNodeData",value:function(t){Bt(Kt(n.prototype),"initNodeData",this).call(this,t),this.minWidth=30,this.minHeight=30,this.maxWidth=2e3,this.maxHeight=2e3,this.gridSize=1}},{key:"getOutlineStyle",value:function(){var t=Bt(Kt(n.prototype),"getOutlineStyle",this).call(this);return t.stroke="none",t.hover&&(t.hover.stroke="none"),t}},{key:"getResizeOutlineStyle",value:function(){return{stroke:"#000000",strokeWidth:1,strokeDasharray:"3,3"}}},{key:"getControlPointStyle",value:function(){return{width:7,height:7,fill:"#FFFFFF",stroke:"#000000"}}}]),n}(f.DiamondNodeModel),Zt={type:"diamond",view:function(t){qt(n,t);var e=$t(n);function n(){return Wt(this,n),e.apply(this,arguments)}return Xt(n,[{key:"getControlGroup",value:function(){var t=this.props,e=t.model,n=t.graphModel;return Object(f.h)(pt,{model:e,graphModel:n})}},{key:"getResizeShape",value:function(){var t=this.props.model,e=t.points,n=t.getNodeStyle();return Object(f.h)("g",null,Object(f.h)(It,Gt({},n,{points:e})))}},{key:"getShape",value:function(){var t=this.props.model.isSelected;return Object(f.h)("g",null,this.getResizeShape(),t?this.getControlGroup():"")}}]),n}(f.DiamondNode),model:Qt};function te(t){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ne(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function re(t,e,n){return e&&ne(t.prototype,e),n&&ne(t,n),t}function oe(){return(oe="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=ie(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}}).apply(this,arguments)}function ie(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=le(t)););return t}function ue(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ce(t,e)}function ce(t,e){return(ce=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ae(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=le(t);if(e){var o=le(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fe(this,n)}}function fe(t,e){if(e&&("object"===te(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function le(t){return(le=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var se=function(t){ue(n,t);var e=ae(n);function n(t,r){var o;ee(this,n);var i=(o=e.call(this,t,r)).properties.nodeSize;return i&&(o.width=i.width,o.height=i.height),o}return re(n,[{key:"initNodeData",value:function(t){oe(le(n.prototype),"initNodeData",this).call(this,t),this.minWidth=30,this.minHeight=30,this.maxWidth=2e3,this.maxHeight=2e3}},{key:"getOutlineStyle",value:function(){var t=oe(le(n.prototype),"getOutlineStyle",this).call(this);return t.stroke="none",t.hover&&(t.hover.stroke="none"),t}},{key:"getResizeOutlineStyle",value:function(){return{stroke:"#000000",strokeWidth:1,strokeDasharray:"3,3"}}},{key:"getControlPointStyle",value:function(){return{width:7,height:7,fill:"#FFFFFF",stroke:"#000000"}}}]),n}(f.HtmlNodeModel),pe={type:"html",view:function(t){ue(n,t);var e=ae(n);function n(){return ee(this,n),e.apply(this,arguments)}return re(n,[{key:"getControlGroup",value:function(){var t=this.props,e=t.model,n=t.graphModel;return Object(f.h)(pt,{model:e,graphModel:n})}},{key:"getResizeShape",value:function(){return oe(le(n.prototype),"getShape",this).call(this)}},{key:"getShape",value:function(){var t=this.props.model.isSelected;return Object(f.h)("g",null,this.getResizeShape(),t?this.getControlGroup():"")}}]),n}(f.HtmlNode),model:se},de={pluginName:"nodeResize",step:0,install:function(t){t.register({type:jt.type,view:jt.view,model:jt.model}),t.register({type:zt.type,view:zt.view,model:zt.model}),t.register({type:Zt.type,view:Zt.view,model:Zt.model}),t.register({type:pe.type,view:pe.view,model:pe.model})}};e.default=de},function(t,e,n){var r=n(6),o=n(183),i=n(105);r({target:"Array",proto:!0},{fill:o}),i("fill")},,,,,,,,,function(t,e,n){"use strict";var r=n(15),o=n(54),i=n(17);t.exports=function(t){for(var e=r(this),n=i(e),u=arguments.length,c=o(u>1?arguments[1]:void 0,n),a=u>2?arguments[2]:void 0,f=void 0===a?n:o(a,n);f>c;)e[c++]=t;return e}}])}));
|
|
1
|
+
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("window"));else if("function"==typeof define&&define.amd)define(["window"],e);else{var n="object"==typeof exports?e(require("window")):e(t.window);for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(window,(function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=173)}([function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(95))},function(t,e){var n=Function.prototype,r=n.bind,o=n.call,i=r&&r.bind(o);t.exports=r?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(0),o=n(33),i=n(6),u=n(35),c=n(45),a=n(62),f=o("wks"),l=r.Symbol,s=l&&l.for,p=a?l:l&&l.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!c&&"string"!=typeof f[t]){var e="Symbol."+t;c&&i(l,t)?f[t]=l[t]:f[t]=a&&s?s(e):p(e)}return f[t]}},function(t,e,n){var r=n(0),o=n(25).f,i=n(16),u=n(14),c=n(42),a=n(69),f=n(72);t.exports=function(t,e){var n,l,s,p,d,y=t.target,h=t.global,v=t.stat;if(n=h?r:v?r[y]||c(y,{}):(r[y]||{}).prototype)for(l in e){if(p=e[l],s=t.noTargetGet?(d=o(n,l))&&d.value:n[l],!f(h?l:y+(v?".":"#")+l,t.forced)&&void 0!==s){if(typeof p==typeof s)continue;a(p,s)}(t.sham||s&&s.sham)&&i(p,"sham",!0),u(n,l,p,t)}}},function(t,e,n){var r=n(1),o=n(15),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},function(t,e,n){var r=n(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var r=n(0),o=n(7),i=n(63),u=n(10),c=n(26),a=r.TypeError,f=Object.defineProperty;e.f=o?f:function(t,e,n){if(u(t),e=c(e),u(n),i)try{return f(t,e,n)}catch(t){}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(2);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},function(t,e,n){var r=n(0),o=n(9),i=r.String,u=r.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,e){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,e,n){var r=n(50),o=n(31);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},function(t,e,n){var r=n(0),o=n(2),i=n(6),u=n(16),c=n(42),a=n(38),f=n(22),l=n(53).CONFIGURABLE,s=f.get,p=f.enforce,d=String(String).split("String");(t.exports=function(t,e,n,a){var f,s=!!a&&!!a.unsafe,y=!!a&&!!a.enumerable,h=!!a&&!!a.noTargetGet,v=a&&void 0!==a.name?a.name:e;o(n)&&("Symbol("===String(v).slice(0,7)&&(v="["+String(v).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||l&&n.name!==v)&&u(n,"name",v),(f=p(n)).source||(f.source=d.join("string"==typeof v?v:""))),t!==r?(s?!h&&t[e]&&(y=!0):delete t[e],y?t[e]=n:u(t,e,n)):y?t[e]=n:c(e,n)})(Function.prototype,"toString",(function(){return o(this)&&s(this).source||a(this)}))},function(t,e,n){var r=n(0),o=n(31),i=r.Object;t.exports=function(t){return i(o(t))}},function(t,e,n){var r=n(7),o=n(8),i=n(21);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(85);t.exports=function(t){return r(t.length)}},function(t,e,n){var r,o=n(10),i=n(93),u=n(46),c=n(24),a=n(106),f=n(44),l=n(29),s=l("IE_PROTO"),p=function(){},d=function(t){return"<script>"+t+"<\/script>"},y=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;h="undefined"!=typeof document?document.domain&&r?y(r):((e=f("iframe")).style.display="none",a.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F):y(r);for(var n=u.length;n--;)delete h.prototype[u[n]];return h()};c[s]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p.prototype=o(t),n=new p,p.prototype=null,n[s]=t):n=h(),void 0===e?n:i(n,e)}},function(e,n){e.exports=t},function(t,e,n){var r=n(1),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r,o,i,u=n(97),c=n(0),a=n(1),f=n(9),l=n(16),s=n(6),p=n(41),d=n(29),y=n(24),h=c.TypeError,v=c.WeakMap;if(u||p.state){var g=p.state||(p.state=new v),_=a(g.get),b=a(g.has),m=a(g.set);r=function(t,e){if(b(g,t))throw new h("Object already initialized");return e.facade=t,m(g,t,e),e},o=function(t){return _(g,t)||{}},i=function(t){return b(g,t)}}else{var O=d("state");y[O]=!0,r=function(t,e){if(s(t,O))throw new h("Object already initialized");return e.facade=t,l(t,O,e),e},o=function(t){return s(t,O)?t[O]:{}},i=function(t){return s(t,O)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!f(e)||(n=o(e)).type!==t)throw h("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){var r=n(0),o=n(32),i=r.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},function(t,e){t.exports={}},function(t,e,n){var r=n(7),o=n(11),i=n(61),u=n(21),c=n(12),a=n(26),f=n(6),l=n(63),s=Object.getOwnPropertyDescriptor;e.f=r?s:function(t,e){if(t=c(t),e=a(e),l)try{return s(t,e)}catch(t){}if(f(t,e))return u(!o(i.f,t,e),t[e])}},function(t,e,n){var r=n(92),o=n(40);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},function(t,e,n){var r=n(1);t.exports=r({}.isPrototypeOf)},function(t,e){t.exports=!1},function(t,e,n){var r=n(33),o=n(35),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e){t.exports={}},function(t,e,n){var r=n(0).TypeError;t.exports=function(t){if(null==t)throw r("Can't call method on "+t);return t}},function(t,e,n){var r=n(0),o=n(43),i=n(2),u=n(20),c=n(4)("toStringTag"),a=r.Object,f="Arguments"==u(function(){return arguments}());t.exports=o?u:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=a(t),c))?n:f?u(e):"Object"==(r=u(e))&&i(e.callee)?"Arguments":r}},function(t,e,n){var r=n(28),o=n(41);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.19.3",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(0),o=n(2),i=n(52),u=r.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not a function")}},function(t,e,n){var r=n(1),o=0,i=Math.random(),u=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++o+i,36)}},function(t,e,n){var r=n(66),o=n(46).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(20);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(1),o=n(2),i=n(41),u=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return u(t)}),t.exports=i.inspectSource},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){var e=+t;return e!=e||0===e?0:(e>0?r:n)(e)}},function(t,e,n){var r=n(0),o=n(13),i=n(2),u=n(27),c=n(62),a=r.Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var e=o("Symbol");return i(e)&&u(e.prototype,a(t))}},function(t,e,n){var r=n(0),o=n(42),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,n){var r=n(0),o=Object.defineProperty;t.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},function(t,e,n){var r={};r[n(4)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e,n){var r=n(0),o=n(9),i=r.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,e,n){var r=n(51),o=n(3);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var r=n(8).f,o=n(6),i=n(4)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(34);t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},function(t,e,n){"use strict";var r=n(26),o=n(8),i=n(21);t.exports=function(t,e,n){var u=r(e);u in t?o.f(t,u,i(0,n)):t[u]=n}},function(t,e,n){var r=n(0),o=n(1),i=n(3),u=n(20),c=r.Object,a=o("".split);t.exports=i((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==u(t)?a(t,""):c(t)}:c},function(t,e,n){var r,o,i=n(0),u=n(83),c=i.process,a=i.Deno,f=c&&c.versions||a&&a.version,l=f&&f.v8;l&&(o=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&u&&(!(r=u.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=u.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},function(t,e,n){var r=n(0).String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},function(t,e,n){var r=n(7),o=n(6),i=Function.prototype,u=r&&Object.getOwnPropertyDescriptor,c=o(i,"name"),a=c&&"something"===function(){}.name,f=c&&(!r||r&&u(i,"name").configurable);t.exports={EXISTS:c,PROPER:a,CONFIGURABLE:f}},function(t,e,n){var r=n(39),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},function(t,e,n){var r=n(1),o=n(34),i=r(r.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?i(t,e):function(){return t.apply(e,arguments)}}},function(t,e,n){"use strict";var r=n(12),o=n(105),i=n(30),u=n(22),c=n(67),a=u.set,f=u.getterFor("Array Iterator");t.exports=c(Array,"Array",(function(t,e){a(this,{type:"Array Iterator",target:r(t),index:0,kind:e})}),(function(){var t=f(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e,n){var r=n(55),o=n(1),i=n(50),u=n(15),c=n(17),a=n(73),f=o([].push),l=function(t){var e=1==t,n=2==t,o=3==t,l=4==t,s=6==t,p=7==t,d=5==t||s;return function(y,h,v,g){for(var _,b,m=u(y),O=i(m),x=r(h,v),w=c(O),S=0,j=g||a,P=e?j(y,w):n||p?j(y,0):void 0;w>S;S++)if((d||S in O)&&(b=x(_=O[S],S,m),t))if(e)P[S]=b;else if(b)switch(t){case 3:return!0;case 5:return _;case 6:return S;case 2:f(P,_)}else switch(t){case 4:return!1;case 7:f(P,_)}return s?-1:o||l?l:P}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},function(t,e,n){var r=n(1),o=n(3),i=n(2),u=n(32),c=n(13),a=n(38),f=function(){},l=[],s=c("Reflect","construct"),p=/^\s*(?:class|function)\b/,d=r(p.exec),y=!p.exec(f),h=function(t){if(!i(t))return!1;try{return s(f,l,t),!0}catch(t){return!1}};t.exports=!s||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 y||!!d(p,a(t))}:h},function(t,e,n){var r=n(66),o=n(46);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(43),o=n(14),i=n(99);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(45);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var r=n(7),o=n(3),i=n(44);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(0),o=n(6),i=n(2),u=n(15),c=n(29),a=n(100),f=c("IE_PROTO"),l=r.Object,s=l.prototype;t.exports=a?l.getPrototypeOf:function(t){var e=u(t);if(o(e,f))return e[f];var n=e.constructor;return i(n)&&e instanceof n?n.prototype:e instanceof l?s:null}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(1),o=n(6),i=n(12),u=n(90).indexOf,c=n(24),a=r([].push);t.exports=function(t,e){var n,r=i(t),f=0,l=[];for(n in r)!o(c,n)&&o(r,n)&&a(l,n);for(;e.length>f;)o(r,n=e[f++])&&(~u(l,n)||a(l,n));return l}},function(t,e,n){"use strict";var r=n(5),o=n(11),i=n(28),u=n(53),c=n(2),a=n(108),f=n(64),l=n(79),s=n(47),p=n(16),d=n(14),y=n(4),h=n(30),v=n(78),g=u.PROPER,_=u.CONFIGURABLE,b=v.IteratorPrototype,m=v.BUGGY_SAFARI_ITERATORS,O=y("iterator"),x=function(){return this};t.exports=function(t,e,n,u,y,v,w){a(n,e,u);var S,j,P,k=function(t){if(t===y&&D)return D;if(!m&&t in M)return M[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},E=e+" Iterator",R=!1,M=t.prototype,N=M[O]||M["@@iterator"]||y&&M[y],D=!m&&N||k(y),T="Array"==e&&M.entries||N;if(T&&(S=f(T.call(new t)))!==Object.prototype&&S.next&&(i||f(S)===b||(l?l(S,b):c(S[O])||d(S,O,x)),s(S,E,!0,!0),i&&(h[E]=x)),g&&"values"==y&&N&&"values"!==N.name&&(!i&&_?p(M,"name","values"):(R=!0,D=function(){return o(N,this)})),y)if(j={values:k("values"),keys:v?D:k("keys"),entries:k("entries")},w)for(P in j)(m||R||!(P in M))&&d(M,P,j[P]);else r({target:e,proto:!0,forced:m||R},j);return i&&!w||M[O]===D||d(M,O,D,{name:y}),h[e]=D,j}},function(t,e,n){var r=n(5),o=n(7);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(8).f})},function(t,e,n){var r=n(6),o=n(84),i=n(25),u=n(8);t.exports=function(t,e){for(var n=o(e),c=u.f,a=i.f,f=0;f<n.length;f++){var l=n[f];r(t,l)||c(t,l,a(e,l))}}},function(t,e,n){"use strict";var r=n(104).charAt,o=n(23),i=n(22),u=n(67),c=i.set,a=i.getterFor("String Iterator");u(String,"String",(function(t){c(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,e=a(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){"use strict";var r=n(5),o=n(0),i=n(13),u=n(88),c=n(11),a=n(1),f=n(28),l=n(7),s=n(45),p=n(3),d=n(6),y=n(37),h=n(2),v=n(9),g=n(27),_=n(40),b=n(10),m=n(15),O=n(12),x=n(26),w=n(23),S=n(21),j=n(18),P=n(59),k=n(36),E=n(103),R=n(65),M=n(25),N=n(8),D=n(61),T=n(77),C=n(14),F=n(33),L=n(29),A=n(24),z=n(35),I=n(4),H=n(87),G=n(89),W=n(47),Y=n(22),X=n(57).forEach,B=L("hidden"),U=I("toPrimitive"),q=Y.set,V=Y.getterFor("Symbol"),$=Object.prototype,J=o.Symbol,K=J&&J.prototype,Q=o.TypeError,Z=o.QObject,tt=i("JSON","stringify"),et=M.f,nt=N.f,rt=E.f,ot=D.f,it=a([].push),ut=F("symbols"),ct=F("op-symbols"),at=F("string-to-symbol-registry"),ft=F("symbol-to-string-registry"),lt=F("wks"),st=!Z||!Z.prototype||!Z.prototype.findChild,pt=l&&p((function(){return 7!=j(nt({},"a",{get:function(){return nt(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=et($,e);r&&delete $[e],nt(t,e,n),r&&t!==$&&nt($,e,r)}:nt,dt=function(t,e){var n=ut[t]=j(K);return q(n,{type:"Symbol",tag:t,description:e}),l||(n.description=e),n},yt=function(t,e,n){t===$&&yt(ct,e,n),b(t);var r=x(e);return b(n),d(ut,r)?(n.enumerable?(d(t,B)&&t[B][r]&&(t[B][r]=!1),n=j(n,{enumerable:S(0,!1)})):(d(t,B)||nt(t,B,S(1,{})),t[B][r]=!0),pt(t,r,n)):nt(t,r,n)},ht=function(t,e){b(t);var n=O(e),r=P(n).concat(bt(n));return X(r,(function(e){l&&!c(vt,n,e)||yt(t,e,n[e])})),t},vt=function(t){var e=x(t),n=c(ot,this,e);return!(this===$&&d(ut,e)&&!d(ct,e))&&(!(n||!d(this,e)||!d(ut,e)||d(this,B)&&this[B][e])||n)},gt=function(t,e){var n=O(t),r=x(e);if(n!==$||!d(ut,r)||d(ct,r)){var o=et(n,r);return!o||!d(ut,r)||d(n,B)&&n[B][r]||(o.enumerable=!0),o}},_t=function(t){var e=rt(O(t)),n=[];return X(e,(function(t){d(ut,t)||d(A,t)||it(n,t)})),n},bt=function(t){var e=t===$,n=rt(e?ct:O(t)),r=[];return X(n,(function(t){!d(ut,t)||e&&!d($,t)||it(r,ut[t])})),r};(s||(C(K=(J=function(){if(g(K,this))throw Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?w(arguments[0]):void 0,e=z(t),n=function(t){this===$&&c(n,ct,t),d(this,B)&&d(this[B],e)&&(this[B][e]=!1),pt(this,e,S(1,t))};return l&&st&&pt($,e,{configurable:!0,set:n}),dt(e,t)}).prototype,"toString",(function(){return V(this).tag})),C(J,"withoutSetter",(function(t){return dt(z(t),t)})),D.f=vt,N.f=yt,M.f=gt,k.f=E.f=_t,R.f=bt,H.f=function(t){return dt(I(t),t)},l&&(nt(K,"description",{configurable:!0,get:function(){return V(this).description}}),f||C($,"propertyIsEnumerable",vt,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!s,sham:!s},{Symbol:J}),X(P(lt),(function(t){G(t)})),r({target:"Symbol",stat:!0,forced:!s},{for:function(t){var e=w(t);if(d(at,e))return at[e];var n=J(e);return at[e]=n,ft[n]=e,n},keyFor:function(t){if(!_(t))throw Q(t+" is not a symbol");if(d(ft,t))return ft[t]},useSetter:function(){st=!0},useSimple:function(){st=!1}}),r({target:"Object",stat:!0,forced:!s,sham:!l},{create:function(t,e){return void 0===e?j(t):ht(j(t),e)},defineProperty:yt,defineProperties:ht,getOwnPropertyDescriptor:gt}),r({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:_t,getOwnPropertySymbols:bt}),r({target:"Object",stat:!0,forced:p((function(){R.f(1)}))},{getOwnPropertySymbols:function(t){return R.f(m(t))}}),tt)&&r({target:"JSON",stat:!0,forced:!s||p((function(){var t=J();return"[null]"!=tt([t])||"{}"!=tt({a:t})||"{}"!=tt(Object(t))}))},{stringify:function(t,e,n){var r=T(arguments),o=e;if((v(e)||void 0!==t)&&!_(t))return y(e)||(e=function(t,e){if(h(o)&&(e=c(o,this,t,e)),!_(e))return e}),r[1]=e,u(tt,null,r)}});if(!K[U]){var mt=K.valueOf;C(K,U,(function(t){return c(mt,this)}))}W(J,"Symbol"),A[B]=!0},function(t,e,n){var r=n(3),o=n(2),i=/#|\.prototype\./,u=function(t,e){var n=a[c(t)];return n==l||n!=f&&(o(e)?r(e):!!e)},c=u.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=u.data={},f=u.NATIVE="N",l=u.POLYFILL="P";t.exports=u},function(t,e,n){var r=n(98);t.exports=function(t,e){return new(r(t))(0===e?0:e)}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){var r=n(44)("span").classList,o=r&&r.constructor&&r.constructor.prototype;t.exports=o===Object.prototype?void 0:o},function(t,e,n){var r=n(0),o=n(74),i=n(75),u=n(56),c=n(16),a=n(4),f=a("iterator"),l=a("toStringTag"),s=u.values,p=function(t,e){if(t){if(t[f]!==s)try{c(t,f,s)}catch(e){t[f]=s}if(t[l]||c(t,l,e),o[e])for(var n in u)if(t[n]!==u[n])try{c(t,n,u[n])}catch(e){t[n]=u[n]}}};for(var d in o)p(r[d]&&r[d].prototype,d);p(i,"DOMTokenList")},function(t,e,n){var r=n(1);t.exports=r([].slice)},function(t,e,n){"use strict";var r,o,i,u=n(3),c=n(2),a=n(18),f=n(64),l=n(14),s=n(4),p=n(28),d=s("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(r=o):y=!0),null==r||u((function(){var t={};return r[d].call(t)!==t}))?r={}:p&&(r=a(r)),c(r[d])||l(r,d,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:y}},function(t,e,n){var r=n(1),o=n(10),i=n(109);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return o(n),i(r),e?t(n,r):n.__proto__=r,n}}():void 0)},function(t,e,n){"use strict";var r=n(5),o=n(7),i=n(0),u=n(1),c=n(6),a=n(2),f=n(27),l=n(23),s=n(8).f,p=n(69),d=i.Symbol,y=d&&d.prototype;if(o&&a(d)&&(!("description"in y)||void 0!==d().description)){var h={},v=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),e=f(y,this)?new d(t):void 0===t?d():d(t);return""===t&&(h[e]=!0),e};p(v,d),v.prototype=y,y.constructor=v;var g="Symbol(test)"==String(d("test")),_=u(y.toString),b=u(y.valueOf),m=/^Symbol\((.*)\)[^)]+$/,O=u("".replace),x=u("".slice);s(y,"description",{configurable:!0,get:function(){var t=b(this),e=_(t);if(c(h,t))return"";var n=g?x(e,7,-1):O(e,m,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:v})}},function(t,e,n){n(89)("iterator")},function(t,e,n){var r=n(3),o=n(4),i=n(51),u=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[u]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){var r=n(13);t.exports=r("navigator","userAgent")||""},function(t,e,n){var r=n(13),o=n(1),i=n(36),u=n(65),c=n(10),a=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(c(t)),n=u.f;return n?a(e,n(t)):e}},function(t,e,n){var r=n(39),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){"use strict";var r=n(57).forEach,o=n(91)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e,n){var r=n(4);e.f=r},function(t,e){var n=Function.prototype,r=n.apply,o=n.bind,i=n.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?i.bind(r):function(){return i.apply(r,arguments)})},function(t,e,n){var r=n(111),o=n(6),i=n(87),u=n(8).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||u(e,t,{value:i.f(t)})}},function(t,e,n){var r=n(12),o=n(54),i=n(17),u=function(t){return function(e,n,u){var c,a=r(e),f=i(a),l=o(u,f);if(t&&n!=n){for(;f>l;)if((c=a[l++])!=c)return!0}else for(;f>l;l++)if((t||l in a)&&a[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},function(t,e,n){"use strict";var r=n(3);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},function(t,e,n){var r=n(0),o=n(11),i=n(9),u=n(40),c=n(48),a=n(96),f=n(4),l=r.TypeError,s=f("toPrimitive");t.exports=function(t,e){if(!i(t)||u(t))return t;var n,r=c(t,s);if(r){if(void 0===e&&(e="default"),n=o(r,t,e),!i(n)||u(n))return n;throw l("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},function(t,e,n){var r=n(7),o=n(8),i=n(10),u=n(12),c=n(59);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=u(e),a=c(e),f=a.length,l=0;f>l;)o.f(t,n=a[l++],r[n]);return t}},,function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(0),o=n(11),i=n(2),u=n(9),c=r.TypeError;t.exports=function(t,e){var n,r;if("string"===e&&i(n=t.toString)&&!u(r=o(n,t)))return r;if(i(n=t.valueOf)&&!u(r=o(n,t)))return r;if("string"!==e&&i(n=t.toString)&&!u(r=o(n,t)))return r;throw c("Can't convert object to primitive value")}},function(t,e,n){var r=n(0),o=n(2),i=n(38),u=r.WeakMap;t.exports=o(u)&&/native code/.test(i(u))},function(t,e,n){var r=n(0),o=n(37),i=n(58),u=n(9),c=n(4)("species"),a=r.Array;t.exports=function(t){var e;return o(t)&&(e=t.constructor,(i(e)&&(e===a||o(e.prototype))||u(e)&&null===(e=e[c]))&&(e=void 0)),void 0===e?a:e}},function(t,e,n){"use strict";var r=n(43),o=n(32);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e,n){var r=n(3);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,n){"use strict";var r=n(5),o=n(86);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,n){var r=n(0),o=n(74),i=n(75),u=n(86),c=n(16),a=function(t){if(t&&t.forEach!==u)try{c(t,"forEach",u)}catch(e){t.forEach=u}};for(var f in o)o[f]&&a(r[f]&&r[f].prototype);a(i)},function(t,e,n){var r=n(20),o=n(12),i=n(36).f,u=n(107),c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"Window"==r(t)?function(t){try{return i(t)}catch(t){return u(c)}}(t):i(o(t))}},function(t,e,n){var r=n(1),o=n(39),i=n(23),u=n(31),c=r("".charAt),a=r("".charCodeAt),f=r("".slice),l=function(t){return function(e,n){var r,l,s=i(u(e)),p=o(n),d=s.length;return p<0||p>=d?t?"":void 0:(r=a(s,p))<55296||r>56319||p+1===d||(l=a(s,p+1))<56320||l>57343?t?c(s,p):r:t?f(s,p,p+2):l-56320+(r-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},function(t,e,n){var r=n(4),o=n(18),i=n(8),u=r("unscopables"),c=Array.prototype;null==c[u]&&i.f(c,u,{configurable:!0,value:o(null)}),t.exports=function(t){c[u][t]=!0}},function(t,e,n){var r=n(13);t.exports=r("document","documentElement")},function(t,e,n){var r=n(0),o=n(54),i=n(17),u=n(49),c=r.Array,a=Math.max;t.exports=function(t,e,n){for(var r=i(t),f=o(e,r),l=o(void 0===n?r:n,r),s=c(a(l-f,0)),p=0;f<l;f++,p++)u(s,p,t[f]);return s.length=p,s}},function(t,e,n){"use strict";var r=n(78).IteratorPrototype,o=n(18),i=n(21),u=n(47),c=n(30),a=function(){return this};t.exports=function(t,e,n,f){var l=e+" Iterator";return t.prototype=o(r,{next:i(+!f,n)}),u(t,l,!1,!0),c[l]=a,t}},function(t,e,n){var r=n(0),o=n(2),i=r.String,u=r.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw u("Can't set "+i(t)+" as a prototype")}},,function(t,e,n){var r=n(0);t.exports=r},function(t,e,n){var r=n(5),o=n(3),i=n(12),u=n(25).f,c=n(7),a=o((function(){u(1)}));r({target:"Object",stat:!0,forced:!c||a,sham:!c},{getOwnPropertyDescriptor:function(t,e){return u(i(t),e)}})},,,,,function(t,e,n){n(5)({target:"Object",stat:!0},{setPrototypeOf:n(79)})},function(t,e,n){var r=n(5),o=n(3),i=n(15),u=n(64),c=n(100);r({target:"Object",stat:!0,forced:o((function(){u(1)})),sham:!c},{getPrototypeOf:function(t){return u(i(t))}})},function(t,e,n){var r=n(5),o=n(13),i=n(88),u=n(152),c=n(145),a=n(10),f=n(9),l=n(18),s=n(3),p=o("Reflect","construct"),d=Object.prototype,y=[].push,h=s((function(){function t(){}return!(p((function(){}),[],t)instanceof t)})),v=!s((function(){p((function(){}))})),g=h||v;r({target:"Reflect",stat:!0,forced:g,sham:g},{construct:function(t,e){c(t),a(e);var n=arguments.length<3?t:c(arguments[2]);if(v&&!h)return p(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return i(y,r,e),new(i(u,t,r))}var o=n.prototype,s=l(f(o)?o:d),g=i(t,s,e);return f(g)?g:s}})},function(t,e,n){n(5)({target:"Object",stat:!0,sham:!n(7)},{create:n(18)})},,,,,,,,function(t,e,n){var r=n(5),o=n(15),i=n(59);r({target:"Object",stat:!0,forced:n(3)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},,,,function(t,e,n){"use strict";var r=n(5),o=n(57).filter;r({target:"Array",proto:!0,forced:!n(82)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(5),o=n(7),i=n(84),u=n(12),c=n(25),a=n(49);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,n,r=u(t),o=c.f,f=i(r),l={},s=0;f.length>s;)void 0!==(n=o(r,e=f[s++]))&&a(l,e,n);return l}})},function(t,e,n){var r=n(5),o=n(7);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(93)})},,,,,,,,,,,function(t,e,n){var r=n(0),o=n(58),i=n(52),u=r.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not a constructor")}},,,,,,,function(t,e,n){"use strict";var r=n(0),o=n(1),i=n(34),u=n(9),c=n(6),a=n(77),f=r.Function,l=o([].concat),s=o([].join),p={},d=function(t,e,n){if(!c(p,e)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";p[e]=f("C,a","return new C("+s(r,",")+")")}return p[e](t,n)};t.exports=f.bind||function(t){var e=i(this),n=e.prototype,r=a(arguments,1),o=function(){var n=l(r,a(arguments));return this instanceof o?d(e,n.length,n):e.apply(t,n)};return u(n)&&(o.prototype=n),o}},function(t,e,n){var r=n(5),o=n(11),i=n(9),u=n(10),c=n(172),a=n(25),f=n(64);r({target:"Reflect",stat:!0},{get:function t(e,n){var r,l,s=arguments.length<3?e:arguments[2];return u(e)===s?e[n]:(r=a.f(e,n))?c(r)?r.value:void 0===r.get?void 0:o(r.get,s):i(l=f(e))?t(l,n,s):void 0}})},function(t,e,n){"use strict";var r=n(5),o=n(57).map;r({target:"Array",proto:!0,forced:!n(82)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},,,,,function(t,e,n){var r=n(5),o=n(166);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(t,e,n){"use strict";var r=n(5),o=n(1),i=n(50),u=n(12),c=n(91),a=o([].join),f=i!=Object,l=c("join",",");r({target:"Array",proto:!0,forced:f||!l},{join:function(t){return a(u(this),void 0===t?",":t)}})},,,,,,function(t,e,n){"use strict";var r=n(7),o=n(1),i=n(11),u=n(3),c=n(59),a=n(65),f=n(61),l=n(15),s=n(50),p=Object.assign,d=Object.defineProperty,y=o([].concat);t.exports=!p||u((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=p({},t)[n]||"abcdefghijklmnopqrst"!=c(p({},e)).join("")}))?function(t,e){for(var n=l(t),o=arguments.length,u=1,p=a.f,d=f.f;o>u;)for(var h,v=s(arguments[u++]),g=p?y(c(v),p(v)):c(v),_=g.length,b=0;_>b;)h=g[b++],r&&!i(d,v,h)||(n[h]=v[h]);return n}:p},,,,,,function(t,e,n){var r=n(6);t.exports=function(t){return void 0!==t&&(r(t,"value")||r(t,"writable"))}},function(t,e,n){"use strict";n.r(e),n.d(e,"NodeResize",(function(){return de})),n.d(e,"RectResize",(function(){return jt})),n.d(e,"EllipseResize",(function(){return zt})),n.d(e,"DiamondResize",(function(){return Zt})),n.d(e,"HtmlResize",(function(){return pe}));n(117),n(118),n(60),n(119),n(120),n(153),n(112),n(68),n(71),n(80),n(81),n(56),n(70),n(76);var r,o,i,u,c,a,f=n(19),l=(n(154),n(159),{}),s=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function d(t,e){for(var n in e)t[n]=e[n];return t}function y(t){var e=t.parentNode;e&&e.removeChild(t)}function h(t,e,n){var o,i,u,c={};for(u in e)"key"==u?o=e[u]:"ref"==u?i=e[u]:c[u]=e[u];if(arguments.length>2&&(c.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof t&&null!=t.defaultProps)for(u in t.defaultProps)void 0===c[u]&&(c[u]=t.defaultProps[u]);return v(t,c,o,i,null)}function v(t,e,n,r,u){var c={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==u?++i:u};return null==u&&null!=o.vnode&&o.vnode(c),c}function g(t){return t.children}function _(t,e){this.props=t,this.context=e}function b(t,e){if(null==e)return t.__?b(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof t.type?b(t):null}function m(t){var e,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e){t.__e=t.__c.base=n.__e;break}return m(t)}}function O(t){(!t.__d&&(t.__d=!0)&&u.push(t)&&!x.__r++||a!==o.debounceRendering)&&((a=o.debounceRendering)||c)(x)}function x(){for(var t;x.__r=u.length;)t=u.sort((function(t,e){return t.__v.__b-e.__v.__b})),u=[],t.some((function(t){var e,n,r,o,i,u;t.__d&&(i=(o=(e=t).__v).__e,(u=e.__P)&&(n=[],(r=d({},o)).__v=o.__v+1,M(u,o,r,e.__n,void 0!==u.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?b(o):i,o.__h),N(n,o),o.__e!=i&&m(o)))}))}function w(t,e,n,r,o,i,u,c,a,f){var p,d,y,h,_,m,O,x=r&&r.__k||s,w=x.length;for(n.__k=[],p=0;p<e.length;p++)if(null!=(h=n.__k[p]=null==(h=e[p])||"boolean"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?v(null,h,null,null,h):Array.isArray(h)?v(g,{children:h},null,null,null):h.__b>0?v(h.type,h.props,h.key,null,h.__v):h)){if(h.__=n,h.__b=n.__b+1,null===(y=x[p])||y&&h.key==y.key&&h.type===y.type)x[p]=void 0;else for(d=0;d<w;d++){if((y=x[d])&&h.key==y.key&&h.type===y.type){x[d]=void 0;break}y=null}M(t,h,y=y||l,o,i,u,c,a,f),_=h.__e,(d=h.ref)&&y.ref!=d&&(O||(O=[]),y.ref&&O.push(y.ref,null,h),O.push(d,h.__c||_,h)),null!=_?(null==m&&(m=_),"function"==typeof h.type&&h.__k===y.__k?h.__d=a=S(h,a,t):a=j(t,h,y,x,_,a),"function"==typeof n.type&&(n.__d=a)):a&&y.__e==a&&a.parentNode!=t&&(a=b(y))}for(n.__e=m,p=w;p--;)null!=x[p]&&("function"==typeof n.type&&null!=x[p].__e&&x[p].__e==n.__d&&(n.__d=b(r,p+1)),C(x[p],x[p]));if(O)for(p=0;p<O.length;p++)T(O[p],O[++p],O[++p])}function S(t,e,n){for(var r,o=t.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=t,e="function"==typeof r.type?S(r,e,n):j(n,r,r,o,r.__e,e));return e}function j(t,e,n,r,o,i){var u,c,a;if(void 0!==e.__d)u=e.__d,e.__d=void 0;else if(null==n||o!=i||null==o.parentNode)t:if(null==i||i.parentNode!==t)t.appendChild(o),u=null;else{for(c=i,a=0;(c=c.nextSibling)&&a<r.length;a+=2)if(c==o)break t;t.insertBefore(o,i),u=i}return void 0!==u?u:o.nextSibling}function P(t,e,n){"-"===e[0]?t.setProperty(e,n):t[e]=null==n?"":"number"!=typeof n||p.test(e)?n:n+"px"}function k(t,e,n,r,o){var i;t:if("style"===e)if("string"==typeof n)t.style.cssText=n;else{if("string"==typeof r&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||P(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||P(t.style,e,n[e])}else if("o"===e[0]&&"n"===e[1])i=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?r||t.addEventListener(e,i?R:E,i):t.removeEventListener(e,i?R:E,i);else if("dangerouslySetInnerHTML"!==e){if(o)e=e.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==e&&"list"!==e&&"form"!==e&&"tabIndex"!==e&&"download"!==e&&e in t)try{t[e]=null==n?"":n;break t}catch(t){}"function"==typeof n||(null!=n&&(!1!==n||"a"===e[0]&&"r"===e[1])?t.setAttribute(e,n):t.removeAttribute(e))}}function E(t){this.l[t.type+!1](o.event?o.event(t):t)}function R(t){this.l[t.type+!0](o.event?o.event(t):t)}function M(t,e,n,r,i,u,c,a,f){var l,s,p,y,h,v,b,m,O,x,S,j=e.type;if(void 0!==e.constructor)return null;null!=n.__h&&(f=n.__h,a=e.__e=n.__e,e.__h=null,u=[a]),(l=o.__b)&&l(e);try{t:if("function"==typeof j){if(m=e.props,O=(l=j.contextType)&&r[l.__c],x=l?O?O.props.value:l.__:r,n.__c?b=(s=e.__c=n.__c).__=s.__E:("prototype"in j&&j.prototype.render?e.__c=s=new j(m,x):(e.__c=s=new _(m,x),s.constructor=j,s.render=F),O&&O.sub(s),s.props=m,s.state||(s.state={}),s.context=x,s.__n=r,p=s.__d=!0,s.__h=[]),null==s.__s&&(s.__s=s.state),null!=j.getDerivedStateFromProps&&(s.__s==s.state&&(s.__s=d({},s.__s)),d(s.__s,j.getDerivedStateFromProps(m,s.__s))),y=s.props,h=s.state,p)null==j.getDerivedStateFromProps&&null!=s.componentWillMount&&s.componentWillMount(),null!=s.componentDidMount&&s.__h.push(s.componentDidMount);else{if(null==j.getDerivedStateFromProps&&m!==y&&null!=s.componentWillReceiveProps&&s.componentWillReceiveProps(m,x),!s.__e&&null!=s.shouldComponentUpdate&&!1===s.shouldComponentUpdate(m,s.__s,x)||e.__v===n.__v){s.props=m,s.state=s.__s,e.__v!==n.__v&&(s.__d=!1),s.__v=e,e.__e=n.__e,e.__k=n.__k,e.__k.forEach((function(t){t&&(t.__=e)})),s.__h.length&&c.push(s);break t}null!=s.componentWillUpdate&&s.componentWillUpdate(m,s.__s,x),null!=s.componentDidUpdate&&s.__h.push((function(){s.componentDidUpdate(y,h,v)}))}s.context=x,s.props=m,s.state=s.__s,(l=o.__r)&&l(e),s.__d=!1,s.__v=e,s.__P=t,l=s.render(s.props,s.state,s.context),s.state=s.__s,null!=s.getChildContext&&(r=d(d({},r),s.getChildContext())),p||null==s.getSnapshotBeforeUpdate||(v=s.getSnapshotBeforeUpdate(y,h)),S=null!=l&&l.type===g&&null==l.key?l.props.children:l,w(t,Array.isArray(S)?S:[S],e,n,r,i,u,c,a,f),s.base=e.__e,e.__h=null,s.__h.length&&c.push(s),b&&(s.__E=s.__=null),s.__e=!1}else null==u&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=D(n.__e,e,n,r,i,u,c,f);(l=o.diffed)&&l(e)}catch(t){e.__v=null,(f||null!=u)&&(e.__e=a,e.__h=!!f,u[u.indexOf(a)]=null),o.__e(t,e,n)}}function N(t,e){o.__c&&o.__c(e,t),t.some((function(e){try{t=e.__h,e.__h=[],t.some((function(t){t.call(e)}))}catch(t){o.__e(t,e.__v)}}))}function D(t,e,n,o,i,u,c,a){var f,s,p,d=n.props,h=e.props,v=e.type,g=0;if("svg"===v&&(i=!0),null!=u)for(;g<u.length;g++)if((f=u[g])&&"setAttribute"in f==!!v&&(v?f.localName===v:3===f.nodeType)){t=f,u[g]=null;break}if(null==t){if(null===v)return document.createTextNode(h);t=i?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,h.is&&h),u=null,a=!1}if(null===v)d===h||a&&t.data===h||(t.data=h);else{if(u=u&&r.call(t.childNodes),s=(d=n.props||l).dangerouslySetInnerHTML,p=h.dangerouslySetInnerHTML,!a){if(null!=u)for(d={},g=0;g<t.attributes.length;g++)d[t.attributes[g].name]=t.attributes[g].value;(p||s)&&(p&&(s&&p.__html==s.__html||p.__html===t.innerHTML)||(t.innerHTML=p&&p.__html||""))}if(function(t,e,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in e||k(t,i,null,n[i],r);for(i in e)o&&"function"!=typeof e[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===e[i]||k(t,i,e[i],n[i],r)}(t,h,d,i,a),p)e.__k=[];else if(g=e.props.children,w(t,Array.isArray(g)?g:[g],e,n,o,i&&"foreignObject"!==v,u,c,u?u[0]:n.__k&&b(n,0),a),null!=u)for(g=u.length;g--;)null!=u[g]&&y(u[g]);a||("value"in h&&void 0!==(g=h.value)&&(g!==d.value||g!==t.value||"progress"===v&&!g)&&k(t,"value",g,d.value,!1),"checked"in h&&void 0!==(g=h.checked)&&g!==t.checked&&k(t,"checked",g,d.checked,!1))}return t}function T(t,e,n){try{"function"==typeof t?t(e):t.current=e}catch(t){o.__e(t,n)}}function C(t,e,n){var r,i;if(o.unmount&&o.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||T(r,null,e)),null!=(r=t.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(t){o.__e(t,e)}r.base=r.__P=null}if(r=t.__k)for(i=0;i<r.length;i++)r[i]&&C(r[i],e,"function"!=typeof t.type);n||null==t.__e||y(t.__e),t.__e=t.__d=void 0}function F(t,e,n){return this.constructor(t,n)}r=s.slice,o={__e:function(t,e){for(var n,r,o;e=e.__;)if((n=e.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(t)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(t),o=n.__d),o)return n.__E=n}catch(e){t=e}throw t}},i=0,_.prototype.setState=function(t,e){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d({},this.state),"function"==typeof t&&(t=t(d({},n),this.props)),t&&d(n,t),null!=t&&this.__v&&(e&&this.__h.push(e),O(this))},_.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),O(this))},_.prototype.render=g,u=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,x.__r=0;var L;n(101),n(102),n(128),n(132),n(133),n(134);function A(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function z(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?A(Object(n),!0).forEach((function(e){I(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function I(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function H(t){var e=t.x,n=t.y,r=t.width,o=t.height,i=t.radius,u=t.className,c=e-r/2,a=n-o/2,l=z(z({width:10,height:10,cx:0,cy:0,rx:i||0,ry:i||0,fill:"transparent",fillOpacity:1,strokeWidth:"1px",stroke:"#000",strokeOpacity:1,className:"lf-basic-shape ".concat(u)},t),{},{x:c,y:a});return Object(f.h)("rect",l)}function G(t){var e=t.x,n=t.y,r=t.width,o=t.height;return{minX:e-r/2,minY:n-o/2,maxX:e+r/2,maxY:n+o/2}}function W(t){var e=G(t),n=t.radius,r=e.minX,o=e.minY,i=e.maxX,u=e.maxY;return[{x:r+n,y:o+n},{x:i-n,y:o+n},{x:i-n,y:u-n},{x:r+n,y:u-n}]}function Y(t){var e=t.point,n=t.beforeNode,r=t.afterNode,o=e.x,i=e.y,u={x:o,y:i},c=n.radius,a=G(n),f=G(r);if(o===a.minX){u.x=f.minX;var l=(i-n.y)/(n.height/2-c);u.y=l?r.y+(r.height/2-c)*l:r.y}else if(o===a.maxX){u.x=f.maxX;var s=(i-n.y)/(n.height/2-c);u.y=s?r.y+(r.height/2-c)*s:r.y}else if(i===a.minY){u.y=f.minY;var p=(o-n.x)/(n.width/2-c);u.x=p?r.x+(r.width/2-c)*p:r.x}else if(i===a.maxY){u.y=f.maxY;var d=(o-n.x)/(n.width/2-c);u.x=d?r.x+(r.width/2-c)*d:r.x}else{var y=W(n),h=W(r),v=G(n),g=v.minX,_=v.minY,b=v.maxX,m=v.maxY,O=-1;if(o-g<c&&i-_<c?O=0:b-o<c&&i-_<c?O=1:b-o<c&&m-i<c?O=2:o-g<c&&_-i<c&&(O=3),O>-1){var x=Math.atan2(i-y[O].y,o-y[O].x);u.x=h[O].x+c*Math.cos(x),u.y=h[O].y+c*Math.sin(x)}}return u}function X(t){var e,n,r=t.point,o=t.beforeNode,i=t.afterNode,u=i.rx,c=i.ry,a=(r.y-o.y)/(r.x-o.x),f=u,l=c;return a>=1/0?(e=0,n=l):a<=-1/0?(e=0,n=-l):r.x-o.x>0?(e=f*l/Math.sqrt(l*l+f*f*a*a),n=f*l*a/Math.sqrt(l*l+f*f*a*a)):(e=-f*l/Math.sqrt(l*l+f*f*a*a),n=-f*l*a/Math.sqrt(l*l+f*f*a*a)),{x:e+i.x,y:n+i.y}}function B(t){var e,n=t.point,r=t.beforeNode,o=t.afterNode,i=n.x-r.x,u=n.y-r.y,c=r.rx,a=r.ry,f=Math.sqrt((c-Math.abs(i))*(c-Math.abs(i))+u*u)/Math.sqrt(c*c+a*a),l=o.rx,s=o.ry,p=Math.sqrt((l*l+s*s)*f*f*(l*l/(l*l+s*s))),d=p*(s/l);return e=u>0?d:-d,{x:(i>=0?l-p:p-l)+o.x,y:e+o.y}}function U(t){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function q(){return(q=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function V(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function $(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?V(Object(n),!0).forEach((function(e){nt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function J(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function K(t,e){return(K=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Q(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=et(t);if(e){var o=et(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Z(this,n)}}function Z(t,e){if(e&&("object"===U(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return tt(t)}function tt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function et(t){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}H.defaultProps={radius:0,stroke:"",strokeDasharray:"",className:""},function(t){t.NODE="node",t.CIRCLE_NODE="circle-node",t.POLYGON_NODE="polygon-node",t.RECT_NODE="rect-node",t.HTML_NODE="html-node",t.TEXT_NODE="text-node",t.ELLIPSE_NODE="ellipse-node",t.DIAMOND_NODE="diamond-node",t.EDGE="edge",t.LINE_EDGE="line-edge",t.POLYLINE_EDGE="polyline-edge",t.BEZIER_EDGE="bezier-edge",t.GRAPH="graph"}(L||(L={}));var rt=f.LogicFlowUtil.StepDrag,ot=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&K(t,e)}(i,t);var e,n,r,o=Q(i);function i(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),nt(tt(e=o.call(this)),"updatePosition",(function(t){var n=t.deltaX,r=t.deltaY,o=e.nodeModel,i=o.x,u=o.y;e.nodeModel.x=i+n/2,e.nodeModel.y=u+r/2,e.nodeModel.moveText(n/2,r/2)})),nt(tt(e),"getResize",(function(t){var e=t.index,n=t.deltaX,r=t.deltaY,o=t.width,i=t.height,u=t.pct,c=void 0===u?1:u,a={width:o,height:i};switch(e){case 0:a.width=o-n*c,a.height=i-r*c;break;case 1:a.width=o+n*c,a.height=i-r*c;break;case 2:a.width=o+n,a.height=i+r*c;break;case 3:a.width=o-n*c,a.height=i+r*c}return a})),nt(tt(e),"updateRect",(function(t){var n=t.deltaX,r=t.deltaY,o=e.nodeModel,i=o.id,u=o.x,c=o.y,a=o.width,f=o.height,l=o.radius,s=tt(e).index,p=e.getResize({index:s,deltaX:n,deltaY:r,width:a,height:f,pct:1}),d=e.nodeModel,y=d.minWidth,h=d.minHeight,v=d.maxWidth,g=d.maxHeight;if(p.width<y||p.width>v||p.height<h||p.height>g)e.dragHandler.cancelDrag();else{e.updatePosition({deltaX:n,deltaY:r}),e.nodeModel.width=p.width,e.nodeModel.height=p.height,e.nodeModel.setProperties({nodeSize:{width:p.width,height:p.height}});var _,b=e.getNodeEdges(i),m={x:u,y:c,width:a,height:f,radius:l},O={x:e.nodeModel.x,y:e.nodeModel.y,width:e.nodeModel.width,height:e.nodeModel.height,radius:l},x={point:"",beforeNode:m,afterNode:O};b.sourceEdges.forEach((function(t){x.point=t.startPoint,_=Y(x),t.updateStartPoint(_)})),b.targetEdges.forEach((function(t){x.point=t.endPoint,_=Y(x),t.updateEndPoint(_)})),e.eventEmit({beforeNode:m,afterNode:O})}})),nt(tt(e),"updateEllipse",(function(t){var n=t.deltaX,r=t.deltaY,o=e.nodeModel,i=o.id,u=o.rx,c=o.ry,a=o.x,f=o.y,l=tt(e).index,s=u,p=c,d=e.getResize({index:l,deltaX:n,deltaY:r,width:s,height:p,pct:.5}),y=e.nodeModel,h=y.minWidth,v=y.minHeight,g=y.maxWidth,_=y.maxHeight;if(d.width<h/2||d.width>g/2||d.height<v/2||d.height>_/2)e.dragHandler.cancelDrag();else{e.updatePosition({deltaX:n,deltaY:r}),e.nodeModel.rx=e.nodeModel.rx+n/2,e.nodeModel.ry=e.nodeModel.ry+r/2,e.nodeModel.setProperties({nodeSize:{rx:d.width,ry:d.height}});var b,m=e.getNodeEdges(i),O={x:a,y:f},x={rx:d.width,ry:d.height,x:e.nodeModel.x,y:e.nodeModel.y},w={point:{},beforeNode:O,afterNode:x};m.sourceEdges.forEach((function(t){w.point=t.startPoint,b=X(w),t.updateStartPoint(b)})),m.targetEdges.forEach((function(t){w.point=t.endPoint,b=X(w),t.updateEndPoint(b)})),e.eventEmit({beforeNode:$($({},O),{},{rx:u,ry:c}),afterNode:x})}})),nt(tt(e),"updateDiamond",(function(t){var n=t.deltaX,r=t.deltaY,o=e.nodeModel,i=o.id,u=o.rx,c=o.ry,a=o.x,f=o.y,l=tt(e).index,s=u,p=c,d=e.getResize({index:l,deltaX:n,deltaY:r,width:s,height:p,pct:.5}),y=e.nodeModel,h=y.minWidth,v=y.minHeight,g=y.maxWidth,_=y.maxHeight;if(d.width<h/2||d.width>g/2||d.height<v/2||d.height>_/2)e.dragHandler.cancelDrag();else{e.updatePosition({deltaX:n,deltaY:r}),e.nodeModel.rx=e.nodeModel.rx+n/2,e.nodeModel.ry=e.nodeModel.ry+r/2,e.nodeModel.setProperties({nodeSize:{rx:d.width,ry:d.height}});var b,m={x:a,y:f,rx:u,ry:c},O={rx:d.width,ry:d.height,x:e.nodeModel.x,y:e.nodeModel.y},x={point:{},beforeNode:m,afterNode:O},w=e.getNodeEdges(i);w.sourceEdges.forEach((function(t){x.point=t.startPoint,b=B(x),t.updateStartPoint(b)})),w.targetEdges.forEach((function(t){x.point=t.endPoint,b=B(x),t.updateEndPoint(b)})),e.eventEmit({beforeNode:m,afterNode:O})}})),nt(tt(e),"eventEmit",(function(t){var n=t.beforeNode,r=t.afterNode,o=e.nodeModel,i=o.id,u=o.modelType,c=o.type,a=$({id:i,modelType:u,type:c},n),f=$({id:i,modelType:u,type:c},r);e.graphModel.eventCenter.emit("node:resize",{oldNodeSize:a,newNodeSize:f})})),nt(tt(e),"onDragging",(function(t){var n=t.deltaX,r=t.deltaY,o=e.nodeModel.modelType;o===L.RECT_NODE||o===L.HTML_NODE?e.updateRect({deltaX:n,deltaY:r}):o===L.ELLIPSE_NODE?e.updateEllipse({deltaX:n,deltaY:r}):o===L.DIAMOND_NODE&&e.updateDiamond({deltaX:n,deltaY:r})})),e.index=t.index,e.nodeModel=t.model,e.graphModel=t.graphModel;var n=e.graphModel.gridSize,r=2;return n>1&&(r=2*n),e.nodeModel.gridSize&&(r=2*e.nodeModel.gridSize),e.state={},e.dragHandler=new rt({onDragging:e.onDragging,step:r}),e}return e=i,(n=[{key:"getNodeEdges",value:function(t){for(var e=this.graphModel.edges,n=[],r=[],o=0;o<e.length;o++){var i=e[o];i.sourceNodeId===t?n.push(i):e[o].targetNodeId===t&&r.push(i)}return{sourceEdges:n,targetEdges:r}}},{key:"render",value:function(){var t=this.props,e=t.x,n=t.y,r=t.index,o=t.model.getControlPointStyle();return h("g",{className:"lf-resize-control-".concat(r)},h(H,q({className:"lf-node-control",x:e,y:n},o,{onMouseDown:this.dragHandler.handleMouseDown})))}}])&&J(e.prototype,n),r&&J(e,r),i}(_);function it(t){return(it="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ut(){return(ut=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function ct(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function at(t,e){return(at=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ft(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=st(t);if(e){var o=st(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return lt(this,n)}}function lt(t,e){if(e&&("object"===it(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function st(t){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var pt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&at(t,e)}(i,t);var e,n,r,o=ft(i);function i(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this)).state={},t}return e=i,(n=[{key:"getResizeControl",value:function(){var t=this.props,e=t.model,n=t.graphModel,r=e.x,o=e.y,i=e.width,u=e.height,c={minX:r-i/2,minY:o-u/2,maxX:r+i/2,maxY:o+u/2},a=c.minX,f=c.minY,l=c.maxX,s=c.maxY;return[{x:a,y:f},{x:l,y:f},{x:l,y:s},{x:a,y:s}].map((function(t,r){return h(ot,ut({index:r},t,{model:e,graphModel:n}))}))}},{key:"getGroupSolid",value:function(){var t=this.props.model,e=t.x,n=t.y,r=t.width,o=t.height;return h(H,ut({fill:"none"},t.getResizeOutlineStyle(),{x:e,y:n,width:r,height:o}))}},{key:"render",value:function(){return h("g",{className:"lf-resize-control"},this.getGroupSolid(),this.getResizeControl())}}])&&ct(e.prototype,n),r&&ct(e,r),i}(_);function dt(t){return(dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function yt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function vt(t,e,n){return e&&ht(t.prototype,e),n&&ht(t,n),t}function gt(){return(gt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=_t(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}}).apply(this,arguments)}function _t(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=wt(t)););return t}function bt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mt(t,e)}function mt(t,e){return(mt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ot(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=wt(t);if(e){var o=wt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return xt(this,n)}}function xt(t,e){if(e&&("object"===dt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function wt(t){return(wt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var St=function(t){bt(n,t);var e=Ot(n);function n(t,r){var o;yt(this,n);var i=(o=e.call(this,t,r)).properties.nodeSize;return i&&(o.width=i.width,o.height=i.height),o}return vt(n,[{key:"initNodeData",value:function(t){gt(wt(n.prototype),"initNodeData",this).call(this,t),this.minWidth=30,this.minHeight=30,this.maxWidth=2e3,this.maxHeight=2e3}},{key:"getOutlineStyle",value:function(){var t=gt(wt(n.prototype),"getOutlineStyle",this).call(this);return t.stroke="none",t.hover&&(t.hover.stroke="none"),t}},{key:"getResizeOutlineStyle",value:function(){return{fill:"none",stroke:"transparent",strokeWidth:1,strokeDasharray:"3,3"}}},{key:"getControlPointStyle",value:function(){return{width:7,height:7,fill:"#FFFFFF",stroke:"#000000"}}},{key:"resize",value:function(t,e){console.log(t,e)}}]),n}(f.RectNodeModel),jt={type:"rect",view:function(t){bt(n,t);var e=Ot(n);function n(){return yt(this,n),e.apply(this,arguments)}return vt(n,[{key:"getControlGroup",value:function(){var t=this.props,e=t.model,n=t.graphModel;return Object(f.h)(pt,{model:e,graphModel:n})}},{key:"getResizeShape",value:function(){return gt(wt(n.prototype),"getShape",this).call(this)}},{key:"getShape",value:function(){var t=this.props.model.isSelected;return Object(f.h)("g",null,this.getResizeShape(),t?this.getControlGroup():"")}}]),n}(f.RectNode),model:St};function Pt(t){return(Pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function kt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Et(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Rt(t,e,n){return e&&Et(t.prototype,e),n&&Et(t,n),t}function Mt(){return(Mt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=Nt(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}}).apply(this,arguments)}function Nt(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Lt(t)););return t}function Dt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tt(t,e)}function Tt(t,e){return(Tt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ct(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lt(t);if(e){var o=Lt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ft(this,n)}}function Ft(t,e){if(e&&("object"===Pt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Lt(t){return(Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var At=function(t){Dt(n,t);var e=Ct(n);function n(t,r){var o;kt(this,n);var i=(o=e.call(this,t,r)).properties.nodeSize;return i&&(o.rx=i.rx,o.ry=i.ry),o}return Rt(n,[{key:"initNodeData",value:function(t){Mt(Lt(n.prototype),"initNodeData",this).call(this,t),this.minWidth=30,this.minHeight=30,this.maxWidth=2e3,this.maxHeight=2e3}},{key:"getOutlineStyle",value:function(){var t=Mt(Lt(n.prototype),"getOutlineStyle",this).call(this);return t.stroke="none",t.hover&&(t.hover.stroke="none"),t}},{key:"getResizeOutlineStyle",value:function(){return{stroke:"#000000",strokeWidth:1,strokeDasharray:"3,3"}}},{key:"getControlPointStyle",value:function(){return{width:7,height:7,fill:"#FFFFFF",stroke:"#000000"}}}]),n}(f.EllipseNodeModel),zt={type:"ellipse",view:function(t){Dt(n,t);var e=Ct(n);function n(){return kt(this,n),e.apply(this,arguments)}return Rt(n,[{key:"getControlGroup",value:function(){var t=this.props,e=t.model,n=t.graphModel;return Object(f.h)(pt,{model:e,graphModel:n})}},{key:"getResizeShape",value:function(){return Mt(Lt(n.prototype),"getShape",this).call(this)}},{key:"getShape",value:function(){var t=this.props.model;return Object(f.h)("g",null,this.getResizeShape(),t.isSelected?this.getControlGroup():"")}}]),n}(f.EllipseNode),model:At};n(174),n(160);function It(t){var e=t.fillOpacity,n=void 0===e?1:e,r=t.strokeWidth,o=void 0===r?1:r,i=t.strokeOpacity,u=void 0===i?1:i,c=t.fill,a=void 0===c?"transparent":c,l=t.stroke,s=void 0===l?"#000":l,p=t.points,d=t.className,y={fill:a,fillOpacity:n,strokeWidth:o,stroke:s,strokeOpacity:u,points:"",className:void 0===d?"lf-basic-shape":d};return y.points=p.map((function(t){return t.join(",")})).join(" "),Object(f.h)("polygon",y)}function Ht(t){return(Ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Gt(){return(Gt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Wt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Xt(t,e,n){return e&&Yt(t.prototype,e),n&&Yt(t,n),t}function Bt(){return(Bt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=Ut(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}}).apply(this,arguments)}function Ut(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Kt(t)););return t}function qt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vt(t,e)}function Vt(t,e){return(Vt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function $t(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Kt(t);if(e){var o=Kt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Jt(this,n)}}function Jt(t,e){if(e&&("object"===Ht(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Kt(t){return(Kt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Qt=function(t){qt(n,t);var e=$t(n);function n(t,r){var o;Wt(this,n);var i=(o=e.call(this,t,r)).properties.nodeSize;return i&&(o.rx=i.rx,o.ry=i.ry),o}return Xt(n,[{key:"initNodeData",value:function(t){Bt(Kt(n.prototype),"initNodeData",this).call(this,t),this.minWidth=30,this.minHeight=30,this.maxWidth=2e3,this.maxHeight=2e3,this.gridSize=1}},{key:"getOutlineStyle",value:function(){var t=Bt(Kt(n.prototype),"getOutlineStyle",this).call(this);return t.stroke="none",t.hover&&(t.hover.stroke="none"),t}},{key:"getResizeOutlineStyle",value:function(){return{stroke:"#000000",strokeWidth:1,strokeDasharray:"3,3"}}},{key:"getControlPointStyle",value:function(){return{width:7,height:7,fill:"#FFFFFF",stroke:"#000000"}}}]),n}(f.DiamondNodeModel),Zt={type:"diamond",view:function(t){qt(n,t);var e=$t(n);function n(){return Wt(this,n),e.apply(this,arguments)}return Xt(n,[{key:"getControlGroup",value:function(){var t=this.props,e=t.model,n=t.graphModel;return Object(f.h)(pt,{model:e,graphModel:n})}},{key:"getResizeShape",value:function(){var t=this.props.model,e=t.points,n=t.getNodeStyle();return Object(f.h)("g",null,Object(f.h)(It,Gt({},n,{points:e})))}},{key:"getShape",value:function(){var t=this.props.model.isSelected;return Object(f.h)("g",null,this.getResizeShape(),t?this.getControlGroup():"")}}]),n}(f.DiamondNode),model:Qt};function te(t){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ne(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function re(t,e,n){return e&&ne(t.prototype,e),n&&ne(t,n),t}function oe(){return(oe="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=ie(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}}).apply(this,arguments)}function ie(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=le(t)););return t}function ue(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ce(t,e)}function ce(t,e){return(ce=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ae(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=le(t);if(e){var o=le(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fe(this,n)}}function fe(t,e){if(e&&("object"===te(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function le(t){return(le=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var se=function(t){ue(n,t);var e=ae(n);function n(t,r){var o;ee(this,n);var i=(o=e.call(this,t,r)).properties.nodeSize;return i&&(o.width=i.width,o.height=i.height),o}return re(n,[{key:"initNodeData",value:function(t){oe(le(n.prototype),"initNodeData",this).call(this,t),this.minWidth=30,this.minHeight=30,this.maxWidth=2e3,this.maxHeight=2e3}},{key:"getOutlineStyle",value:function(){var t=oe(le(n.prototype),"getOutlineStyle",this).call(this);return t.stroke="none",t.hover&&(t.hover.stroke="none"),t}},{key:"getResizeOutlineStyle",value:function(){return{stroke:"#000000",strokeWidth:1,strokeDasharray:"3,3"}}},{key:"getControlPointStyle",value:function(){return{width:7,height:7,fill:"#FFFFFF",stroke:"#000000"}}}]),n}(f.HtmlNodeModel),pe={type:"html",view:function(t){ue(n,t);var e=ae(n);function n(){return ee(this,n),e.apply(this,arguments)}return re(n,[{key:"getControlGroup",value:function(){var t=this.props,e=t.model,n=t.graphModel;return Object(f.h)(pt,{model:e,graphModel:n})}},{key:"getResizeShape",value:function(){return oe(le(n.prototype),"getShape",this).call(this)}},{key:"getShape",value:function(){var t=this.props.model.isSelected;return Object(f.h)("g",null,this.getResizeShape(),t?this.getControlGroup():"")}}]),n}(f.HtmlNode),model:se},de={pluginName:"nodeResize",step:0,install:function(t){t.register({type:jt.type,view:jt.view,model:jt.model}),t.register({type:zt.type,view:zt.view,model:zt.model}),t.register({type:Zt.type,view:Zt.view,model:Zt.model}),t.register({type:pe.type,view:pe.view,model:pe.model})}};e.default=de},function(t,e,n){var r=n(5),o=n(183),i=n(105);r({target:"Array",proto:!0},{fill:o}),i("fill")},,,,,,,,,function(t,e,n){"use strict";var r=n(15),o=n(54),i=n(17);t.exports=function(t){for(var e=r(this),n=i(e),u=arguments.length,c=o(u>1?arguments[1]:void 0,n),a=u>2?arguments[2]:void 0,f=void 0===a?n:o(a,n);f>c;)e[c++]=t;return e}}])}));
|