@logicflow/extension 1.1.0-alpha.1 → 1.1.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/components/context-menu/index.js +4 -1
- package/cjs/components/menu/index.js +3 -3
- package/cjs/materials/group/GroupNode.js +191 -23
- package/cjs/materials/group/index.js +28 -9
- package/cjs/style/index.css +3 -2
- package/cjs/tools/snapshot/index.js +7 -2
- package/es/components/context-menu/index.d.ts +1 -0
- package/es/components/context-menu/index.js +4 -1
- package/es/components/menu/index.js +3 -3
- package/es/materials/group/GroupNode.d.ts +36 -11
- package/es/materials/group/GroupNode.js +192 -24
- package/es/materials/group/index.d.ts +3 -1
- package/es/materials/group/index.js +27 -9
- package/es/style/index.css +3 -2
- package/es/tools/snapshot/index.js +7 -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/lib/style/index.css +3 -2
- package/package.json +2 -2
- package/types/components/context-menu/index.d.ts +1 -0
- package/types/group-shrink/index.d.ts +28 -0
- package/types/materials/group/GroupNode.d.ts +36 -11
- package/types/materials/group/index.d.ts +3 -1
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=221)}([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(32),i=n(5),u=n(34),c=n(45),a=n(60),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(24).f,i=n(16),u=n(14),c=n(42),a=n(67),f=n(69);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(2);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},function(t,e,n){var r=n(0),o=n(7),i=n(61),u=n(10),c=n(25),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(0),o=n(8),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(51),o=n(30);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(21),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(30),i=r.Object;t.exports=function(t){return i(o(t))}},function(t,e,n){var r=n(7),o=n(9),i=n(20);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(76);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(23),a=n(103),f=n(44),l=n(28),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(8),l=n(16),s=n(5),p=n(41),d=n(28),y=n(23),h=c.TypeError,v=c.WeakMap;if(u||p.state){var g=p.state||(p.state=new v),b=a(g.get),_=a(g.has),m=a(g.set);r=function(t,e){if(_(g,t))throw new h("Object already initialized");return e.facade=t,m(g,t,e),e},o=function(t){return b(g,t)||{}},i=function(t){return _(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(31),i=r.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},function(t,e){t.exports={}},function(t,e,n){var r=n(7),o=n(11),i=n(62),u=n(20),c=n(12),a=n(25),f=n(5),l=n(61),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(87),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(32),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(19),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(27),o=n(41);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.19.3",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(19);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(1),o=0,i=Math.random(),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(64),o=n(46).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(0),o=n(2),i=n(52),u=r.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not a function")}},function(e,n){e.exports=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(26),c=n(60),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(8),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(48),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(9).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,o,i=n(0),u=n(80),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(36);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(25),o=n(9),i=n(20);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(19),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=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(1),o=n(36),i=r(r.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?i(t,e):function(){return t.apply(e,arguments)}}},function(t,e,n){var r=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(3),i=n(2),u=n(31),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(54),o=n(1),i=n(51),u=n(15),c=n(17),a=n(70),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)&&(_=x(b=O[S],S,m),t))if(e)P[S]=_;else if(_)switch(t){case 3:return!0;case 5:return b;case 6:return S;case 2:f(P,b)}else switch(t){case 4:return!1;case 7:f(P,b)}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(64),o=n(46);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){"use strict";var r=n(12),o=n(106),i=n(29),u=n(21),c=n(66),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(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){"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(0),o=n(5),i=n(2),u=n(15),c=n(28),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,n){var r=n(1),o=n(5),i=n(12),u=n(85).indexOf,c=n(23),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){e.f=Object.getOwnPropertySymbols},function(t,e,n){"use strict";var r=n(6),o=n(11),i=n(27),u=n(53),c=n(2),a=n(108),f=n(63),l=n(74),s=n(47),p=n(16),d=n(14),y=n(4),h=n(29),v=n(73),g=u.PROPER,b=u.CONFIGURABLE,_=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,E=function(t){if(t===y&&T)return T;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)}},k=e+" Iterator",R=!1,M=t.prototype,N=M[O]||M["@@iterator"]||y&&M[y],T=!m&&N||E(y),D="Array"==e&&M.entries||N;if(D&&(S=f(D.call(new t)))!==Object.prototype&&S.next&&(i||f(S)===_||(l?l(S,_):c(S[O])||d(S,O,x)),s(S,k,!0,!0),i&&(h[k]=x)),g&&"values"==y&&N&&"values"!==N.name&&(!i&&b?p(M,"name","values"):(R=!0,T=function(){return o(N,this)})),y)if(j={values:E("values"),keys:v?T:E("keys"),entries:E("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]===T||d(M,O,T,{name:y}),h[e]=T,j}},function(t,e,n){var r=n(5),o=n(84),i=n(24),u=n(9);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){var r=n(43),o=n(14),i=n(99);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,n){var r=n(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){"use strict";var r,o,i,u=n(3),c=n(2),a=n(18),f=n(63),l=n(14),s=n(4),p=n(27),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){var r=n(1);t.exports=r([].slice)},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(88)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e,n){"use strict";var r=n(102).charAt,o=n(22),i=n(21),u=n(66),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){var r=n(4);e.f=r},function(t,e,n){var r=n(13);t.exports=r("navigator","userAgent")||""},function(t,e,n){var r=n(3),o=n(4),i=n(48),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){"use strict";var r=n(6),o=n(0),i=n(13),u=n(89),c=n(11),a=n(1),f=n(27),l=n(7),s=n(45),p=n(3),d=n(5),y=n(33),h=n(2),v=n(8),g=n(26),b=n(40),_=n(10),m=n(15),O=n(12),x=n(25),w=n(22),S=n(20),j=n(18),P=n(58),E=n(35),k=n(101),R=n(65),M=n(24),N=n(9),T=n(62),D=n(75),A=n(14),L=n(32),C=n(28),z=n(23),I=n(34),F=n(4),G=n(79),Y=n(83),X=n(47),W=n(21),H=n(57).forEach,B=C("hidden"),U=F("toPrimitive"),q=W.set,V=W.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=k.f,ot=T.f,it=a([].push),ut=L("symbols"),ct=L("op-symbols"),at=L("string-to-symbol-registry"),ft=L("symbol-to-string-registry"),lt=L("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),_(t);var r=x(e);return _(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){_(t);var n=O(e),r=P(n).concat(_t(n));return H(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}},bt=function(t){var e=rt(O(t)),n=[];return H(e,(function(t){d(ut,t)||d(z,t)||it(n,t)})),n},_t=function(t){var e=t===$,n=rt(e?ct:O(t)),r=[];return H(n,(function(t){!d(ut,t)||e&&!d($,t)||it(r,ut[t])})),r};(s||(A(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=I(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})),A(J,"withoutSetter",(function(t){return dt(I(t),t)})),T.f=vt,N.f=yt,M.f=gt,E.f=k.f=bt,R.f=_t,G.f=function(t){return dt(F(t),t)},l&&(nt(K,"description",{configurable:!0,get:function(){return V(this).description}}),f||A($,"propertyIsEnumerable",vt,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!s,sham:!s},{Symbol:J}),H(P(lt),(function(t){Y(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(!b(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:bt,getOwnPropertySymbols:_t}),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=D(arguments),o=e;if((v(e)||void 0!==t)&&!b(t))return y(e)||(e=function(t,e){if(h(o)&&(e=c(o,this,t,e)),!b(e))return e}),r[1]=e,u(tt,null,r)}});if(!K[U]){var mt=K.valueOf;A(K,U,(function(t){return c(mt,this)}))}X(J,"Symbol"),z[B]=!0},function(t,e,n){var r=n(111),o=n(5),i=n(79),u=n(9).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(13),o=n(1),i=n(35),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(12),o=n(55),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){var r=n(0),o=n(71),i=n(72),u=n(59),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(0),o=n(11),i=n(8),u=n(40),c=n(49),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){"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){"use strict";var r=n(6),o=n(7),i=n(0),u=n(1),c=n(5),a=n(2),f=n(26),l=n(22),s=n(9).f,p=n(67),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")),b=u(y.toString),_=u(y.valueOf),m=/^Symbol\((.*)\)[^)]+$/,O=u("".replace),x=u("".slice);s(y,"description",{configurable:!0,get:function(){var t=_(this),e=b(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(83)("iterator")},function(t,e,n){var r=n(6),o=n(7);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(9).f})},function(t,e,n){var r=n(7),o=n(9),i=n(10),u=n(12),c=n(58);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(8),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(33),i=n(56),u=n(8),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(31);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){var r=n(19),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(22),u=n(30),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(13);t.exports=r("document","documentElement")},function(t,e,n){"use strict";var r=n(6),o=n(77);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,n){var r=n(0),o=n(71),i=n(72),u=n(77),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(4),o=n(18),i=n(9),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(0),o=n(55),i=n(17),u=n(50),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(73).IteratorPrototype,o=n(18),i=n(20),u=n(47),c=n(29),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){"use strict";var r=n(6),o=n(0),i=n(3),u=n(33),c=n(8),a=n(15),f=n(17),l=n(50),s=n(70),p=n(81),d=n(4),y=n(48),h=d("isConcatSpreadable"),v=o.TypeError,g=y>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),b=p("concat"),_=function(t){if(!c(t))return!1;var e=t[h];return void 0!==e?!!e:u(t)};r({target:"Array",proto:!0,forced:!g||!b},{concat:function(t){var e,n,r,o,i,u=a(this),c=s(u,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(_(i=-1===e?u:arguments[e])){if(p+(o=f(i))>9007199254740991)throw v("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&l(c,p,i[n])}else{if(p>=9007199254740991)throw v("Maximum allowed index exceeded");l(c,p++,i)}return c.length=p,c}})},,,,function(t,e,n){var r=n(6),o=n(3),i=n(12),u=n(24).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(74)})},function(t,e,n){var r=n(6),o=n(3),i=n(15),u=n(63),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(6),o=n(13),i=n(89),u=n(152),c=n(143),a=n(10),f=n(8),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(6)({target:"Object",stat:!0,sham:!n(7)},{create:n(18)})},,,,,,,,,,,function(t,e,n){var r=n(6),o=n(15),i=n(58);r({target:"Object",stat:!0,forced:n(3)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},,function(t,e,n){var r=n(0),o=n(56),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(6),o=n(57).filter;r({target:"Array",proto:!0,forced:!n(81)("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(84),u=n(12),c=n(24),a=n(50);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){"use strict";var r=n(0),o=n(1),i=n(36),u=n(8),c=n(5),a=n(75),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(11),i=n(8),u=n(10),c=n(171),a=n(24),f=n(63);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(81)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},,,,,,function(t,e,n){"use strict";var r=n(6),o=n(1),i=n(51),u=n(12),c=n(88),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){var r=n(6),o=n(174);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},,,,,,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";var r=n(7),o=n(1),i=n(11),u=n(3),c=n(58),a=n(65),f=n(62),l=n(15),s=n(51),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),b=g.length,_=0;b>_;)h=g[_++],r&&!i(d,v,h)||(n[h]=v[h]);return n}:p},,,,,,,,,,function(t,e,n){var r=n(6),o=n(211),i=n(106);r({target:"Array",proto:!0},{fill:o}),i("fill")},,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r=n(15),o=n(55),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}},,,,,,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"NodeResize",(function(){return _e})),n.d(e,"RectResize",(function(){return Et})),n.d(e,"EllipseResize",(function(){return Xt})),n.d(e,"DiamondResize",(function(){return re}));n(119),n(92),n(127),n(128),n(68),n(129),n(130),n(157),n(123),n(82),n(90),n(91),n(59),n(78),n(86);var r,o,i,u,c,a,f=n(37),l=(n(158),n(165),{}),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 b(t,e){this.props=t,this.context=e}function _(t,e){if(null==e)return t.__?_(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?_(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?_(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,b,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),b=h.__e,(d=h.ref)&&y.ref!=d&&(O||(O=[]),y.ref&&O.push(y.ref,null,h),O.push(d,h.__c||b,h)),null!=b?(null==m&&(m=b),"function"==typeof h.type&&h.__k===y.__k?h.__d=a=S(h,a,t):a=j(t,h,y,x,b,a),"function"==typeof n.type&&(n.__d=a)):a&&y.__e==a&&a.parentNode!=t&&(a=_(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=_(r,p+1)),A(x[p],x[p]));if(O)for(p=0;p<O.length;p++)D(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 E(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:k,i):t.removeEventListener(e,i?R:k,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 k(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,_,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?_=(s=e.__c=n.__c).__=s.__E:("prototype"in j&&j.prototype.render?e.__c=s=new j(m,x):(e.__c=s=new b(m,x),s.constructor=j,s.render=L),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),_&&(s.__E=s.__=null),s.__e=!1}else null==u&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=T(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 T(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||E(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]||E(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&&_(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)&&E(t,"value",g,d.value,!1),"checked"in h&&void 0!==(g=h.checked)&&g!==t.checked&&E(t,"checked",g,d.checked,!1))}return t}function D(t,e,n){try{"function"==typeof t?t(e):t.current=e}catch(t){o.__e(t,n)}}function A(t,e,n){var r,i;if(o.unmount&&o.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||D(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]&&A(r[i],e,"function"!=typeof t.type);n||null==t.__e||y(t.__e),t.__e=t.__d=void 0}function L(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,b.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))},b.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),O(this))},b.prototype.render=g,u=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,x.__r=0;var C;n(104),n(105),n(184),n(141),n(149),n(150),n(151);function z(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 I(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?z(Object(n),!0).forEach((function(e){F(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function F(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function G(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=I(I({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 Y(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 X(t){var e=Y(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 W(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=Y(n),f=Y(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=X(n),h=X(r),v=Y(n),g=v.minX,b=v.minY,_=v.maxX,m=v.maxY,O=-1;if(o-g<c&&i-b<c?O=0:_-o<c&&i-b<c?O=1:_-o<c&&m-i<c?O=2:o-g<c&&b-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 H(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}G.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"}(C||(C={}));var rt=f.LogicFlowUtil.createDrag,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.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};_.sourceEdges.forEach((function(t){x.point=t.startPoint,b=W(x),t.updateStartPoint(b)})),_.targetEdges.forEach((function(t){x.point=t.endPoint,b=W(x),t.updateEndPoint(b)})),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,b=y.maxHeight;if(!(d.width<h/2||d.width>g/2||d.height<v/2||d.height>b/2)){e.updatePosition({deltaX:n,deltaY:r}),e.nodeModel.rx=d.width,e.nodeModel.ry=d.height,e.nodeModel.setProperties({nodeSize:{rx:d.width,ry:d.height}});var _,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,_=H(w),t.updateStartPoint(_)})),m.targetEdges.forEach((function(t){w.point=t.endPoint,_=H(w),t.updateEndPoint(_)})),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=me.sizeRange.ellipse,h=y.minRx,v=y.minRy,g=y.maxRx,b=y.maxRy;if(!(d.width<h||d.width>g||d.height<v||d.height>b)){e.updatePosition({deltaX:n,deltaY:r}),e.nodeModel.rx=d.width,e.nodeModel.ry=d.height,e.nodeModel.setProperties({nodeSize:{rx:d.width,ry:d.height}});var _,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(x),t.updateStartPoint(_)})),w.targetEdges.forEach((function(t){x.point=t.endPoint,_=B(x),t.updateEndPoint(_)})),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===C.RECT_NODE||o===C.HTML_NODE?e.updateRect({deltaX:n,deltaY:r}):o===C.ELLIPSE_NODE?e.updateEllipse({deltaX:n,deltaY:r}):o===C.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.state={},e.dragHandler=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.style,o=t.index,i=me.style.controlPoint,u=i.width,c=i.height,a=i.fill,f=i.stroke;return h("g",{className:"lf-resize-control-".concat(o)},h(G,q({className:"lf-node-control",x:e,y:n},r,{width:u,height:c,fill:a,stroke:f,onMouseDown:this.dragHandler})))}}])&&J(e.prototype,n),r&&J(e,r),i}(b);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,i=me.style.outline;return h(G,{fill:"none",x:e,y:n,width:r,height:o,stroke:i.stroke,strokeWidth:i.strokeWidth,strokeDasharray:i.strokeDasharray})}},{key:"render",value:function(){return h("g",{className:"lf-resize-control"},this.getGroupSolid(),this.getResizeControl())}}])&&ct(e.prototype,n),r&&ct(e,r),i}(b);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=bt(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 bt(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=St(t)););return t}function _t(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=St(t);if(e){var o=St(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 wt(t)}function wt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function St(t){return(St=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function jt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Pt=function(t){_t(n,t);var e=Ot(n);function n(){var t;yt(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return jt(wt(t=e.call.apply(e,[this].concat(o))),"minWidth",30),jt(wt(t),"minHeight",30),jt(wt(t),"maxWidth",2e3),jt(wt(t),"maxHeight",2e3),t}return vt(n,[{key:"getOutlineStyle",value:function(){var t=gt(St(n.prototype),"getOutlineStyle",this).call(this);return t.stroke="none",t.hover&&(t.hover.stroke="none"),t}},{key:"setAttributes",value:function(){var t=this.properties.nodeSize;t&&(this.width=t.width,this.height=t.height)}}]),n}(f.RectNodeModel),Et={type:"rect",view:function(t){_t(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(St(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:Pt};function kt(t){return(kt="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 Rt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mt(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 Nt(t,e,n){return e&&Mt(t.prototype,e),n&&Mt(t,n),t}function Tt(){return(Tt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=Dt(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 Dt(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Ft(t)););return t}function At(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&&Lt(t,e)}function Lt(t,e){return(Lt=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=Ft(t);if(e){var o=Ft(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return zt(this,n)}}function zt(t,e){if(e&&("object"===kt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return It(t)}function It(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ft(t){return(Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Gt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Yt=function(t){At(n,t);var e=Ct(n);function n(t,r){var o;return Rt(this,n),Gt(It(o=e.call(this,t,r)),"minWidth",30),Gt(It(o),"minHeight",30),Gt(It(o),"maxWidth",2e3),Gt(It(o),"maxHeight",2e3),o.rx=50,o.ry=50,o}return Nt(n,[{key:"getOutlineStyle",value:function(){var t=Tt(Ft(n.prototype),"getOutlineStyle",this).call(this);return t.stroke="none",t.hover&&(t.hover.stroke="none"),t}},{key:"setAttributes",value:function(){var t=this.properties.nodeSize;t&&(this.rx=t.rx,this.ry=t.ry)}}]),n}(f.EllipseNodeModel),Xt={type:"ellipse",view:function(t){At(n,t);var e=Ct(n);function n(){return Rt(this,n),e.apply(this,arguments)}return Nt(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 Tt(Ft(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:Yt};n(164);function Wt(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 Bt(){return(Bt=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 Ut(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qt(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&&qt(t.prototype,e),n&&qt(t,n),t}function $t(){return($t="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=Jt(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 Jt(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ee(t)););return t}function Kt(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&&Qt(t,e)}function Qt(t,e){return(Qt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Zt(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=ee(t);if(e){var o=ee(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return te(this,n)}}function te(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 ee(t){return(ee=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ne=function(t){Kt(n,t);var e=Zt(n);function n(){return Ut(this,n),e.apply(this,arguments)}return Vt(n,[{key:"getOutlineStyle",value:function(){var t=$t(ee(n.prototype),"getOutlineStyle",this).call(this);return t.stroke="none",t.hover&&(t.hover.stroke="none"),t}},{key:"setAttributes",value:function(){var t=this.properties.nodeSize;t&&(this.rx=t.rx,this.ry=t.ry)}}]),n}(f.DiamondNodeModel),re={type:"diamond",view:function(t){Kt(n,t);var e=Zt(n);function n(){return Ut(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(){var t=this.props.model,e=t.points,n=t.getNodeStyle();return Object(f.h)("g",null,Object(f.h)(Wt,Bt({},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:ne};function oe(t){return(oe="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 ie(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ue(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 ce(t,e,n){return e&&ue(t.prototype,e),n&&ue(t,n),t}function ae(){return(ae="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=fe(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 fe(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=he(t)););return t}function le(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&&se(t,e)}function se(t,e){return(se=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function pe(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=he(t);if(e){var o=he(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return de(this,n)}}function de(t,e){if(e&&("object"===oe(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return ye(t)}function ye(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function he(t){return(he=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ge=function(t){le(n,t);var e=pe(n);function n(){var t;ie(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return ve(ye(t=e.call.apply(e,[this].concat(o))),"minWidth",30),ve(ye(t),"minHeight",30),ve(ye(t),"maxWidth",2e3),ve(ye(t),"maxHeight",2e3),t}return ce(n,[{key:"getOutlineStyle",value:function(){var t=ae(he(n.prototype),"getOutlineStyle",this).call(this);return t.stroke="none",t.hover&&(t.hover.stroke="none"),t}},{key:"setAttributes",value:function(){var t=this.properties.nodeSize;t&&(this.width=t.width,this.height=t.height)}}]),n}(f.HtmlNodeModel),be={type:"html",view:function(t){le(n,t);var e=pe(n);function n(){return ie(this,n),e.apply(this,arguments)}return ce(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 ae(he(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:ge},_e={pluginName:"nodeResize",step:0,style:{outline:{stroke:"#000000",strokeWidth:1,strokeDasharray:"3,3"},controlPoint:{width:7,height:7,fill:"#FFFFFF",stroke:"#000000"}},sizeRange:{ellipse:{minRx:15,minRy:15,maxRx:150,maxRy:150},diamond:{minRx:15,minRy:15,maxRx:150,maxRy:150}},install:function(t){t.register({type:Et.type,view:Et.view,model:Et.model}),t.register({type:Xt.type,view:Xt.view,model:Xt.model}),t.register({type:re.type,view:re.view,model:re.model}),t.register({type:be.type,view:be.view,model:be.model})}},me=e.default=_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=174)}([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(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(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(2);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},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(0),o=n(8),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(51),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(9),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(8),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),b=a(g.get),_=a(g.has),m=a(g.set);r=function(t,e){if(_(g,t))throw new h("Object already initialized");return e.facade=t,m(g,t,e),e},o=function(t){return b(g,t)||{}},i=function(t){return _(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(91),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(20);t.exports=Array.isArray||function(t){return"Array"==r(t)}},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(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(8),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(48),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(9).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,o,i=n(0),u=n(86),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(37);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(9),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=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(51),u=n(15),c=n(17),a=n(72),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)&&(_=x(b=O[S],S,m),t))if(e)P[S]=_;else if(_)switch(t){case 3:return!0;case 5:return b;case 6:return S;case 2:f(P,b)}else switch(t){case 4:return!1;case 7:f(P,b)}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(78),s=n(47),p=n(16),d=n(14),y=n(4),h=n(30),v=n(76),g=u.PROPER,b=u.CONFIGURABLE,_=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,E=function(t){if(t===y&&T)return T;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)}},k=e+" Iterator",R=!1,M=t.prototype,N=M[O]||M["@@iterator"]||y&&M[y],T=!m&&N||E(y),D="Array"==e&&M.entries||N;if(D&&(S=f(D.call(new t)))!==Object.prototype&&S.next&&(i||f(S)===_||(l?l(S,_):c(S[O])||d(S,O,x)),s(S,k,!0,!0),i&&(h[k]=x)),g&&"values"==y&&N&&"values"!==N.name&&(!i&&b?p(M,"name","values"):(R=!0,T=function(){return o(N,this)})),y)if(j={values:E("values"),keys:v?T:E("keys"),entries:E("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]===T||d(M,O,T,{name:y}),h[e]=T,j}},function(t,e,n){var r=n(5),o=n(87),i=n(25),u=n(9);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(92),c=n(11),a=n(1),f=n(28),l=n(7),s=n(45),p=n(3),d=n(5),y=n(34),h=n(2),v=n(8),g=n(27),b=n(40),_=n(10),m=n(15),O=n(12),x=n(26),w=n(23),S=n(21),j=n(19),P=n(59),E=n(36),k=n(103),R=n(64),M=n(25),N=n(9),T=n(61),D=n(79),A=n(14),L=n(33),C=n(29),z=n(24),I=n(35),F=n(4),G=n(85),Y=n(88),X=n(47),W=n(22),H=n(57).forEach,B=C("hidden"),U=F("toPrimitive"),q=W.set,V=W.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=k.f,ot=T.f,it=a([].push),ut=L("symbols"),ct=L("op-symbols"),at=L("string-to-symbol-registry"),ft=L("symbol-to-string-registry"),lt=L("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),_(t);var r=x(e);return _(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){_(t);var n=O(e),r=P(n).concat(_t(n));return H(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}},bt=function(t){var e=rt(O(t)),n=[];return H(e,(function(t){d(ut,t)||d(z,t)||it(n,t)})),n},_t=function(t){var e=t===$,n=rt(e?ct:O(t)),r=[];return H(n,(function(t){!d(ut,t)||e&&!d($,t)||it(r,ut[t])})),r};(s||(A(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=I(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})),A(J,"withoutSetter",(function(t){return dt(I(t),t)})),T.f=vt,N.f=yt,M.f=gt,E.f=k.f=bt,R.f=_t,G.f=function(t){return dt(F(t),t)},l&&(nt(K,"description",{configurable:!0,get:function(){return V(this).description}}),f||A($,"propertyIsEnumerable",vt,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!s,sham:!s},{Symbol:J}),H(P(lt),(function(t){Y(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(!b(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:bt,getOwnPropertySymbols:_t}),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=D(arguments),o=e;if((v(e)||void 0!==t)&&!b(t))return y(e)||(e=function(t,e){if(h(o)&&(e=c(o,this,t,e)),!b(e))return e}),r[1]=e,u(tt,null,r)}});if(!K[U]){var mt=K.valueOf;A(K,U,(function(t){return c(mt,this)}))}X(J,"Symbol"),z[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(73),i=n(74),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(6),o=n(7);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(9).f})},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){var r=n(1);t.exports=r([].slice)},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(9).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")),b=u(y.toString),_=u(y.valueOf),m=/^Symbol\((.*)\)[^)]+$/,O=u("".replace),x=u("".slice);s(y,"description",{configurable:!0,get:function(){var t=_(this),e=b(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(3),o=n(4),i=n(48),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(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(4);e.f=r},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(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(85),u=n(9).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(8),u=n(40),c=n(49),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){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(7),o=n(9),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(8),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(34),i=n(58),u=n(8),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(73),i=n(74),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(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(19),i=n(9),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(50),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(76).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(78)})},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(92),u=n(154),c=n(146),a=n(10),f=n(8),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){"use strict";var r=n(6),o=n(0),i=n(3),u=n(34),c=n(8),a=n(15),f=n(17),l=n(50),s=n(72),p=n(82),d=n(4),y=n(48),h=d("isConcatSpreadable"),v=o.TypeError,g=y>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),b=p("concat"),_=function(t){if(!c(t))return!1;var e=t[h];return void 0!==e?!!e:u(t)};r({target:"Array",proto:!0,forced:!g||!b},{concat:function(t){var e,n,r,o,i,u=a(this),c=s(u,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(_(i=-1===e?u:arguments[e])){if(p+(o=f(i))>9007199254740991)throw v("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&l(c,p,i[n])}else{if(p>=9007199254740991)throw v("Maximum allowed index exceeded");l(c,p++,i)}return c.length=p,c}})},,,,,,,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(82)("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(50);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(8),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(82)("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(8),c=n(5),a=n(79),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(51),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(51),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),b=g.length,_=0;b>_;)h=g[_++],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){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";n.r(e),n.d(e,"NodeResize",(function(){return _e})),n.d(e,"RectResize",(function(){return Et})),n.d(e,"EllipseResize",(function(){return Xt})),n.d(e,"DiamondResize",(function(){return re}));n(122),n(77),n(118),n(119),n(60),n(120),n(121),n(152),n(116),n(70),n(80),n(81),n(56),n(69),n(75);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 b(t,e){this.props=t,this.context=e}function _(t,e){if(null==e)return t.__?_(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?_(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?_(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,b,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),b=h.__e,(d=h.ref)&&y.ref!=d&&(O||(O=[]),y.ref&&O.push(y.ref,null,h),O.push(d,h.__c||b,h)),null!=b?(null==m&&(m=b),"function"==typeof h.type&&h.__k===y.__k?h.__d=a=S(h,a,t):a=j(t,h,y,x,b,a),"function"==typeof n.type&&(n.__d=a)):a&&y.__e==a&&a.parentNode!=t&&(a=_(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=_(r,p+1)),A(x[p],x[p]));if(O)for(p=0;p<O.length;p++)D(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 E(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:k,i):t.removeEventListener(e,i?R:k,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 k(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,_,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?_=(s=e.__c=n.__c).__=s.__E:("prototype"in j&&j.prototype.render?e.__c=s=new j(m,x):(e.__c=s=new b(m,x),s.constructor=j,s.render=L),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),_&&(s.__E=s.__=null),s.__e=!1}else null==u&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=T(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 T(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||E(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]||E(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&&_(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)&&E(t,"value",g,d.value,!1),"checked"in h&&void 0!==(g=h.checked)&&g!==t.checked&&E(t,"checked",g,d.checked,!1))}return t}function D(t,e,n){try{"function"==typeof t?t(e):t.current=e}catch(t){o.__e(t,n)}}function A(t,e,n){var r,i;if(o.unmount&&o.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||D(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]&&A(r[i],e,"function"!=typeof t.type);n||null==t.__e||y(t.__e),t.__e=t.__d=void 0}function L(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,b.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))},b.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),O(this))},b.prototype.render=g,u=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,x.__r=0;var C;n(100),n(101),n(173),n(129),n(135),n(136),n(137);function z(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 I(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?z(Object(n),!0).forEach((function(e){F(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function F(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function G(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=I(I({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 Y(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 X(t){var e=Y(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 W(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=Y(n),f=Y(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=X(n),h=X(r),v=Y(n),g=v.minX,b=v.minY,_=v.maxX,m=v.maxY,O=-1;if(o-g<c&&i-b<c?O=0:_-o<c&&i-b<c?O=1:_-o<c&&m-i<c?O=2:o-g<c&&b-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 H(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}G.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"}(C||(C={}));var rt=f.LogicFlowUtil.createDrag,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.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};_.sourceEdges.forEach((function(t){x.point=t.startPoint,b=W(x),t.updateStartPoint(b)})),_.targetEdges.forEach((function(t){x.point=t.endPoint,b=W(x),t.updateEndPoint(b)})),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,b=y.maxHeight;if(!(d.width<h/2||d.width>g/2||d.height<v/2||d.height>b/2)){e.updatePosition({deltaX:n,deltaY:r}),e.nodeModel.rx=d.width,e.nodeModel.ry=d.height,e.nodeModel.setProperties({nodeSize:{rx:d.width,ry:d.height}});var _,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,_=H(w),t.updateStartPoint(_)})),m.targetEdges.forEach((function(t){w.point=t.endPoint,_=H(w),t.updateEndPoint(_)})),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=me.sizeRange.ellipse,h=y.minRx,v=y.minRy,g=y.maxRx,b=y.maxRy;if(!(d.width<h||d.width>g||d.height<v||d.height>b)){e.updatePosition({deltaX:n,deltaY:r}),e.nodeModel.rx=d.width,e.nodeModel.ry=d.height,e.nodeModel.setProperties({nodeSize:{rx:d.width,ry:d.height}});var _,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(x),t.updateStartPoint(_)})),w.targetEdges.forEach((function(t){x.point=t.endPoint,_=B(x),t.updateEndPoint(_)})),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===C.RECT_NODE||o===C.HTML_NODE?e.updateRect({deltaX:n,deltaY:r}):o===C.ELLIPSE_NODE?e.updateEllipse({deltaX:n,deltaY:r}):o===C.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.state={},e.dragHandler=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.style,o=t.index,i=me.style.controlPoint,u=i.width,c=i.height,a=i.fill,f=i.stroke;return h("g",{className:"lf-resize-control-".concat(o)},h(G,q({className:"lf-node-control",x:e,y:n},r,{width:u,height:c,fill:a,stroke:f,onMouseDown:this.dragHandler})))}}])&&J(e.prototype,n),r&&J(e,r),i}(b);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,i=me.style.outline;return h(G,{fill:"none",x:e,y:n,width:r,height:o,stroke:i.stroke,strokeWidth:i.strokeWidth,strokeDasharray:i.strokeDasharray})}},{key:"render",value:function(){return h("g",{className:"lf-resize-control"},this.getGroupSolid(),this.getResizeControl())}}])&&ct(e.prototype,n),r&&ct(e,r),i}(b);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=bt(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 bt(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=St(t)););return t}function _t(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=St(t);if(e){var o=St(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 wt(t)}function wt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function St(t){return(St=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function jt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Pt=function(t){_t(n,t);var e=Ot(n);function n(){var t;yt(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return jt(wt(t=e.call.apply(e,[this].concat(o))),"minWidth",30),jt(wt(t),"minHeight",30),jt(wt(t),"maxWidth",2e3),jt(wt(t),"maxHeight",2e3),t}return vt(n,[{key:"getOutlineStyle",value:function(){var t=gt(St(n.prototype),"getOutlineStyle",this).call(this);return t.stroke="none",t.hover&&(t.hover.stroke="none"),t}},{key:"setAttributes",value:function(){var t=this.properties.nodeSize;t&&(this.width=t.width,this.height=t.height)}}]),n}(f.RectNodeModel),Et={type:"rect",view:function(t){_t(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(St(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:Pt};function kt(t){return(kt="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 Rt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mt(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 Nt(t,e,n){return e&&Mt(t.prototype,e),n&&Mt(t,n),t}function Tt(){return(Tt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=Dt(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 Dt(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Ft(t)););return t}function At(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&&Lt(t,e)}function Lt(t,e){return(Lt=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=Ft(t);if(e){var o=Ft(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return zt(this,n)}}function zt(t,e){if(e&&("object"===kt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return It(t)}function It(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ft(t){return(Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Gt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Yt=function(t){At(n,t);var e=Ct(n);function n(t,r){var o;return Rt(this,n),Gt(It(o=e.call(this,t,r)),"minWidth",30),Gt(It(o),"minHeight",30),Gt(It(o),"maxWidth",2e3),Gt(It(o),"maxHeight",2e3),o.rx=50,o.ry=50,o}return Nt(n,[{key:"getOutlineStyle",value:function(){var t=Tt(Ft(n.prototype),"getOutlineStyle",this).call(this);return t.stroke="none",t.hover&&(t.hover.stroke="none"),t}},{key:"setAttributes",value:function(){var t=this.properties.nodeSize;t&&(this.rx=t.rx,this.ry=t.ry)}}]),n}(f.EllipseNodeModel),Xt={type:"ellipse",view:function(t){At(n,t);var e=Ct(n);function n(){return Rt(this,n),e.apply(this,arguments)}return Nt(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 Tt(Ft(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:Yt};n(160);function Wt(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 Bt(){return(Bt=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 Ut(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qt(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&&qt(t.prototype,e),n&&qt(t,n),t}function $t(){return($t="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=Jt(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 Jt(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ee(t)););return t}function Kt(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&&Qt(t,e)}function Qt(t,e){return(Qt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Zt(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=ee(t);if(e){var o=ee(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return te(this,n)}}function te(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 ee(t){return(ee=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ne=function(t){Kt(n,t);var e=Zt(n);function n(){return Ut(this,n),e.apply(this,arguments)}return Vt(n,[{key:"getOutlineStyle",value:function(){var t=$t(ee(n.prototype),"getOutlineStyle",this).call(this);return t.stroke="none",t.hover&&(t.hover.stroke="none"),t}},{key:"setAttributes",value:function(){var t=this.properties.nodeSize;t&&(this.rx=t.rx,this.ry=t.ry)}}]),n}(f.DiamondNodeModel),re={type:"diamond",view:function(t){Kt(n,t);var e=Zt(n);function n(){return Ut(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(){var t=this.props.model,e=t.points,n=t.getNodeStyle();return Object(f.h)("g",null,Object(f.h)(Wt,Bt({},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:ne};function oe(t){return(oe="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 ie(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ue(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 ce(t,e,n){return e&&ue(t.prototype,e),n&&ue(t,n),t}function ae(){return(ae="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=fe(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 fe(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=he(t)););return t}function le(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&&se(t,e)}function se(t,e){return(se=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function pe(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=he(t);if(e){var o=he(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return de(this,n)}}function de(t,e){if(e&&("object"===oe(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return ye(t)}function ye(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function he(t){return(he=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ge=function(t){le(n,t);var e=pe(n);function n(){var t;ie(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return ve(ye(t=e.call.apply(e,[this].concat(o))),"minWidth",30),ve(ye(t),"minHeight",30),ve(ye(t),"maxWidth",2e3),ve(ye(t),"maxHeight",2e3),t}return ce(n,[{key:"getOutlineStyle",value:function(){var t=ae(he(n.prototype),"getOutlineStyle",this).call(this);return t.stroke="none",t.hover&&(t.hover.stroke="none"),t}},{key:"setAttributes",value:function(){var t=this.properties.nodeSize;t&&(this.width=t.width,this.height=t.height)}}]),n}(f.HtmlNodeModel),be={type:"html",view:function(t){le(n,t);var e=pe(n);function n(){return ie(this,n),e.apply(this,arguments)}return ce(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 ae(he(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:ge},_e={pluginName:"nodeResize",step:0,style:{outline:{stroke:"#000000",strokeWidth:1,strokeDasharray:"3,3"},controlPoint:{width:7,height:7,fill:"#FFFFFF",stroke:"#000000"}},sizeRange:{ellipse:{minRx:15,minRy:15,maxRx:150,maxRy:150},diamond:{minRx:15,minRy:15,maxRx:150,maxRy:150}},install:function(t){t.register({type:Et.type,view:Et.view,model:Et.model}),t.register({type:Xt.type,view:Xt.view,model:Xt.model}),t.register({type:re.type,view:re.view,model:re.model}),t.register({type:be.type,view:be.view,model:be.model})}},me=e.default=_e},,,,,,,,,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}}])}));
|
package/lib/RectLabelNode.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("window"));else if("function"==typeof define&&define.amd)define(["window"],r);else{var n="object"==typeof exports?r(require("window")):r(t.window);for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(window,(function(t){return function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},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,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=224)}([function(t,r,n){(function(r){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 r&&r)||function(){return this}()||Function("return this")()}).call(this,n(95))},function(t,r){var n=Function.prototype,e=n.bind,o=n.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,r){t.exports=function(t){return"function"==typeof t}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r,n){var e=n(0),o=n(32),i=n(5),u=n(34),c=n(45),f=n(60),a=o("wks"),s=e.Symbol,p=s&&s.for,l=f?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(a,t)||!c&&"string"!=typeof a[t]){var r="Symbol."+t;c&&i(s,t)?a[t]=s[t]:a[t]=f&&p?p(r):l(r)}return a[t]}},function(t,r,n){var e=n(1),o=n(15),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},function(t,r,n){var e=n(0),o=n(24).f,i=n(16),u=n(14),c=n(42),f=n(67),a=n(69);t.exports=function(t,r){var n,s,p,l,v,y=t.target,b=t.global,d=t.stat;if(n=b?e:d?e[y]||c(y,{}):(e[y]||{}).prototype)for(s in r){if(l=r[s],p=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!a(b?s:y+(d?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;f(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(n,s,l,t)}}},function(t,r,n){var e=n(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,n){var e=n(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,r,n){var e=n(0),o=n(7),i=n(61),u=n(10),c=n(25),f=e.TypeError,a=Object.defineProperty;r.f=o?a:function(t,r,n){if(u(t),r=c(r),u(n),i)try{return a(t,r,n)}catch(t){}if("get"in n||"set"in n)throw f("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},function(t,r,n){var e=n(0),o=n(8),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,r){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,r,n){var e=n(51),o=n(30);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(e[t]):e[t]&&e[t][r]}},function(t,r,n){var e=n(0),o=n(2),i=n(5),u=n(16),c=n(42),f=n(38),a=n(21),s=n(53).CONFIGURABLE,p=a.get,l=a.enforce,v=String(String).split("String");(t.exports=function(t,r,n,f){var a,p=!!f&&!!f.unsafe,y=!!f&&!!f.enumerable,b=!!f&&!!f.noTargetGet,d=f&&void 0!==f.name?f.name:r;o(n)&&("Symbol("===String(d).slice(0,7)&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==d)&&u(n,"name",d),(a=l(n)).source||(a.source=v.join("string"==typeof d?d:""))),t!==e?(p?!b&&t[r]&&(y=!0):delete t[r],y?t[r]=n:u(t,r,n)):y?t[r]=n:c(r,n)})(Function.prototype,"toString",(function(){return o(this)&&p(this).source||f(this)}))},function(t,r,n){var e=n(0),o=n(30),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,r,n){var e=n(7),o=n(9),i=n(20);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},function(t,r,n){var e=n(76);t.exports=function(t){return e(t.length)}},function(t,r,n){var e,o=n(10),i=n(93),u=n(46),c=n(23),f=n(103),a=n(44),s=n(28),p=s("IE_PROTO"),l=function(){},v=function(t){return"<script>"+t+"<\/script>"},y=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},b=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,r;b="undefined"!=typeof document?document.domain&&e?y(e):((r=a("iframe")).style.display="none",f.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):y(e);for(var n=u.length;n--;)delete b.prototype[u[n]];return b()};c[p]=!0,t.exports=Object.create||function(t,r){var n;return null!==t?(l.prototype=o(t),n=new l,l.prototype=null,n[p]=t):n=b(),void 0===r?n:i(n,r)}},function(t,r,n){var e=n(1),o=e({}.toString),i=e("".slice);t.exports=function(t){return i(o(t),8,-1)}},function(t,r){t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},function(t,r,n){var e,o,i,u=n(97),c=n(0),f=n(1),a=n(8),s=n(16),p=n(5),l=n(41),v=n(28),y=n(23),b=c.TypeError,d=c.WeakMap;if(u||l.state){var h=l.state||(l.state=new d),g=f(h.get),m=f(h.has),O=f(h.set);e=function(t,r){if(m(h,t))throw new b("Object already initialized");return r.facade=t,O(h,t,r),r},o=function(t){return g(h,t)||{}},i=function(t){return m(h,t)}}else{var x=v("state");y[x]=!0,e=function(t,r){if(p(t,x))throw new b("Object already initialized");return r.facade=t,s(t,x,r),r},o=function(t){return p(t,x)?t[x]:{}},i=function(t){return p(t,x)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(r){var n;if(!a(r)||(n=o(r)).type!==t)throw b("Incompatible receiver, "+t+" required");return n}}}},function(t,r,n){var e=n(0),o=n(31),i=e.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},function(t,r){t.exports={}},function(t,r,n){var e=n(7),o=n(11),i=n(62),u=n(20),c=n(12),f=n(25),a=n(5),s=n(61),p=Object.getOwnPropertyDescriptor;r.f=e?p:function(t,r){if(t=c(t),r=f(r),s)try{return p(t,r)}catch(t){}if(a(t,r))return u(!o(i.f,t,r),t[r])}},function(t,r,n){var e=n(87),o=n(40);t.exports=function(t){var r=e(t,"string");return o(r)?r:r+""}},function(t,r,n){var e=n(1);t.exports=e({}.isPrototypeOf)},function(t,r){t.exports=!1},function(t,r,n){var e=n(32),o=n(34),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,r){t.exports={}},function(t,r,n){var e=n(0).TypeError;t.exports=function(t){if(null==t)throw e("Can't call method on "+t);return t}},function(t,r,n){var e=n(0),o=n(43),i=n(2),u=n(19),c=n(4)("toStringTag"),f=e.Object,a="Arguments"==u(function(){return arguments}());t.exports=o?u:function(t){var r,n,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,r){try{return t[r]}catch(t){}}(r=f(t),c))?n:a?u(r):"Object"==(e=u(r))&&i(r.callee)?"Arguments":e}},function(t,r,n){var e=n(27),o=n(41);(t.exports=function(t,r){return o[t]||(o[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.19.3",mode:e?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,r,n){var e=n(19);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,r,n){var e=n(1),o=0,i=Math.random(),u=e(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++o+i,36)}},function(t,r,n){var e=n(64),o=n(46).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,r,n){var e=n(0),o=n(2),i=n(52),u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not a function")}},function(r,n){r.exports=t},function(t,r,n){var e=n(1),o=n(2),i=n(41),u=e(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return u(t)}),t.exports=i.inspectSource},function(t,r){var n=Math.ceil,e=Math.floor;t.exports=function(t){var r=+t;return r!=r||0===r?0:(r>0?e:n)(r)}},function(t,r,n){var e=n(0),o=n(13),i=n(2),u=n(26),c=n(60),f=e.Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var r=o("Symbol");return i(r)&&u(r.prototype,f(t))}},function(t,r,n){var e=n(0),o=n(42),i=e["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,r,n){var e=n(0),o=Object.defineProperty;t.exports=function(t,r){try{o(e,t,{value:r,configurable:!0,writable:!0})}catch(n){e[t]=r}return r}},function(t,r,n){var e={};e[n(4)("toStringTag")]="z",t.exports="[object z]"===String(e)},function(t,r,n){var e=n(0),o=n(8),i=e.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,r,n){var e=n(48),o=n(3);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41}))},function(t,r){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,r,n){var e=n(9).f,o=n(5),i=n(4)("toStringTag");t.exports=function(t,r,n){t&&!o(t=n?t:t.prototype,i)&&e(t,i,{configurable:!0,value:r})}},function(t,r,n){var e,o,i=n(0),u=n(80),c=i.process,f=i.Deno,a=c&&c.versions||f&&f.version,s=a&&a.v8;s&&(o=(e=s.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!o&&u&&(!(e=u.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=u.match(/Chrome\/(\d+)/))&&(o=+e[1]),t.exports=o},function(t,r,n){var e=n(36);t.exports=function(t,r){var n=t[r];return null==n?void 0:e(n)}},function(t,r,n){"use strict";var e=n(25),o=n(9),i=n(20);t.exports=function(t,r,n){var u=e(r);u in t?o.f(t,u,i(0,n)):t[u]=n}},function(t,r,n){var e=n(0),o=n(1),i=n(3),u=n(19),c=e.Object,f=o("".split);t.exports=i((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==u(t)?f(t,""):c(t)}:c},function(t,r,n){var e=n(0).String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},function(t,r,n){var e=n(7),o=n(5),i=Function.prototype,u=e&&Object.getOwnPropertyDescriptor,c=o(i,"name"),f=c&&"something"===function(){}.name,a=c&&(!e||e&&u(i,"name").configurable);t.exports={EXISTS:c,PROPER:f,CONFIGURABLE:a}},function(t,r,n){var e=n(1),o=n(36),i=e(e.bind);t.exports=function(t,r){return o(t),void 0===r?t:i?i(t,r):function(){return t.apply(r,arguments)}}},function(t,r,n){var e=n(39),o=Math.max,i=Math.min;t.exports=function(t,r){var n=e(t);return n<0?o(n+r,0):i(n,r)}},function(t,r,n){var e=n(1),o=n(3),i=n(2),u=n(31),c=n(13),f=n(38),a=function(){},s=[],p=c("Reflect","construct"),l=/^\s*(?:class|function)\b/,v=e(l.exec),y=!l.exec(a),b=function(t){if(!i(t))return!1;try{return p(a,s,t),!0}catch(t){return!1}};t.exports=!p||o((function(){var t;return b(b.call)||!b(Object)||!b((function(){t=!0}))||t}))?function(t){if(!i(t))return!1;switch(u(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return y||!!v(l,f(t))}:b},function(t,r,n){var e=n(54),o=n(1),i=n(51),u=n(15),c=n(17),f=n(70),a=o([].push),s=function(t){var r=1==t,n=2==t,o=3==t,s=4==t,p=6==t,l=7==t,v=5==t||p;return function(y,b,d,h){for(var g,m,O=u(y),x=i(O),S=e(b,d),w=c(x),j=0,P=h||f,E=r?P(y,w):n||l?P(y,0):void 0;w>j;j++)if((v||j in x)&&(m=S(g=x[j],j,O),t))if(r)E[j]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return j;case 2:a(E,g)}else switch(t){case 4:return!1;case 7:a(E,g)}return p?-1:o||s?s:E}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},function(t,r,n){var e=n(64),o=n(46);t.exports=Object.keys||function(t){return e(t,o)}},function(t,r,n){"use strict";var e=n(12),o=n(106),i=n(29),u=n(21),c=n(66),f=u.set,a=u.getterFor("Array Iterator");t.exports=c(Array,"Array",(function(t,r){f(this,{type:"Array Iterator",target:e(t),index:0,kind:r})}),(function(){var t=a(this),r=t.target,n=t.kind,e=t.index++;return!r||e>=r.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:e,done:!1}:"values"==n?{value:r[e],done:!1}:{value:[e,r[e]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,r,n){var e=n(45);t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,r,n){var e=n(7),o=n(3),i=n(44);t.exports=!e&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,r,n){"use strict";var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);r.f=i?function(t){var r=o(this,t);return!!r&&r.enumerable}:e},function(t,r,n){var e=n(0),o=n(5),i=n(2),u=n(15),c=n(28),f=n(100),a=c("IE_PROTO"),s=e.Object,p=s.prototype;t.exports=f?s.getPrototypeOf:function(t){var r=u(t);if(o(r,a))return r[a];var n=r.constructor;return i(n)&&r instanceof n?n.prototype:r instanceof s?p:null}},function(t,r,n){var e=n(1),o=n(5),i=n(12),u=n(85).indexOf,c=n(23),f=e([].push);t.exports=function(t,r){var n,e=i(t),a=0,s=[];for(n in e)!o(c,n)&&o(e,n)&&f(s,n);for(;r.length>a;)o(e,n=r[a++])&&(~u(s,n)||f(s,n));return s}},function(t,r){r.f=Object.getOwnPropertySymbols},function(t,r,n){"use strict";var e=n(6),o=n(11),i=n(27),u=n(53),c=n(2),f=n(108),a=n(63),s=n(74),p=n(47),l=n(16),v=n(14),y=n(4),b=n(29),d=n(73),h=u.PROPER,g=u.CONFIGURABLE,m=d.IteratorPrototype,O=d.BUGGY_SAFARI_ITERATORS,x=y("iterator"),S=function(){return this};t.exports=function(t,r,n,u,y,d,w){f(n,r,u);var j,P,E,T=function(t){if(t===y&&F)return F;if(!O&&t in L)return L[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},_=r+" Iterator",A=!1,L=t.prototype,R=L[x]||L["@@iterator"]||y&&L[y],F=!O&&R||T(y),I="Array"==r&&L.entries||R;if(I&&(j=a(I.call(new t)))!==Object.prototype&&j.next&&(i||a(j)===m||(s?s(j,m):c(j[x])||v(j,x,S)),p(j,_,!0,!0),i&&(b[_]=S)),h&&"values"==y&&R&&"values"!==R.name&&(!i&&g?l(L,"name","values"):(A=!0,F=function(){return o(R,this)})),y)if(P={values:T("values"),keys:d?F:T("keys"),entries:T("entries")},w)for(E in P)(O||A||!(E in L))&&v(L,E,P[E]);else e({target:r,proto:!0,forced:O||A},P);return i&&!w||L[x]===F||v(L,x,F,{name:y}),b[r]=F,P}},function(t,r,n){var e=n(5),o=n(84),i=n(24),u=n(9);t.exports=function(t,r){for(var n=o(r),c=u.f,f=i.f,a=0;a<n.length;a++){var s=n[a];e(t,s)||c(t,s,f(r,s))}}},function(t,r,n){var e=n(43),o=n(14),i=n(99);e||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,r,n){var e=n(3),o=n(2),i=/#|\.prototype\./,u=function(t,r){var n=f[c(t)];return n==s||n!=a&&(o(r)?e(r):!!r)},c=u.normalize=function(t){return String(t).replace(i,".").toLowerCase()},f=u.data={},a=u.NATIVE="N",s=u.POLYFILL="P";t.exports=u},function(t,r,n){var e=n(98);t.exports=function(t,r){return new(e(t))(0===r?0:r)}},function(t,r){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,r,n){var e=n(44)("span").classList,o=e&&e.constructor&&e.constructor.prototype;t.exports=o===Object.prototype?void 0:o},function(t,r,n){"use strict";var e,o,i,u=n(3),c=n(2),f=n(18),a=n(63),s=n(14),p=n(4),l=n(27),v=p("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(e=o):y=!0),null==e||u((function(){var t={};return e[v].call(t)!==t}))?e={}:l&&(e=f(e)),c(e[v])||s(e,v,(function(){return this})),t.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:y}},function(t,r,n){var e=n(1),o=n(10),i=n(109);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,n={};try{(t=e(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),r=n instanceof Array}catch(t){}return function(n,e){return o(n),i(e),r?t(n,e):n.__proto__=e,n}}():void 0)},function(t,r,n){var e=n(1);t.exports=e([].slice)},function(t,r,n){var e=n(39),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,r,n){"use strict";var e=n(57).forEach,o=n(88)("forEach");t.exports=o?[].forEach:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,r,n){"use strict";var e=n(102).charAt,o=n(22),i=n(21),u=n(66),c=i.set,f=i.getterFor("String Iterator");u(String,"String",(function(t){c(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,r=f(this),n=r.string,o=r.index;return o>=n.length?{value:void 0,done:!0}:(t=e(n,o),r.index+=t.length,{value:t,done:!1})}))},function(t,r,n){var e=n(4);r.f=e},function(t,r,n){var e=n(13);t.exports=e("navigator","userAgent")||""},function(t,r,n){var e=n(3),o=n(4),i=n(48),u=o("species");t.exports=function(t){return i>=51||!e((function(){var r=[];return(r.constructor={})[u]=function(){return{foo:1}},1!==r[t](Boolean).foo}))}},function(t,r,n){"use strict";var e=n(6),o=n(0),i=n(13),u=n(89),c=n(11),f=n(1),a=n(27),s=n(7),p=n(45),l=n(3),v=n(5),y=n(33),b=n(2),d=n(8),h=n(26),g=n(40),m=n(10),O=n(15),x=n(12),S=n(25),w=n(22),j=n(20),P=n(18),E=n(58),T=n(35),_=n(101),A=n(65),L=n(24),R=n(9),F=n(62),I=n(75),k=n(14),M=n(32),C=n(28),N=n(23),D=n(34),G=n(4),B=n(79),z=n(83),V=n(47),U=n(21),W=n(57).forEach,q=C("hidden"),H=G("toPrimitive"),Y=U.set,$=U.getterFor("Symbol"),J=Object.prototype,X=o.Symbol,K=X&&X.prototype,Q=o.TypeError,Z=o.QObject,tt=i("JSON","stringify"),rt=L.f,nt=R.f,et=_.f,ot=F.f,it=f([].push),ut=M("symbols"),ct=M("op-symbols"),ft=M("string-to-symbol-registry"),at=M("symbol-to-string-registry"),st=M("wks"),pt=!Z||!Z.prototype||!Z.prototype.findChild,lt=s&&l((function(){return 7!=P(nt({},"a",{get:function(){return nt(this,"a",{value:7}).a}})).a}))?function(t,r,n){var e=rt(J,r);e&&delete J[r],nt(t,r,n),e&&t!==J&&nt(J,r,e)}:nt,vt=function(t,r){var n=ut[t]=P(K);return Y(n,{type:"Symbol",tag:t,description:r}),s||(n.description=r),n},yt=function(t,r,n){t===J&&yt(ct,r,n),m(t);var e=S(r);return m(n),v(ut,e)?(n.enumerable?(v(t,q)&&t[q][e]&&(t[q][e]=!1),n=P(n,{enumerable:j(0,!1)})):(v(t,q)||nt(t,q,j(1,{})),t[q][e]=!0),lt(t,e,n)):nt(t,e,n)},bt=function(t,r){m(t);var n=x(r),e=E(n).concat(mt(n));return W(e,(function(r){s&&!c(dt,n,r)||yt(t,r,n[r])})),t},dt=function(t){var r=S(t),n=c(ot,this,r);return!(this===J&&v(ut,r)&&!v(ct,r))&&(!(n||!v(this,r)||!v(ut,r)||v(this,q)&&this[q][r])||n)},ht=function(t,r){var n=x(t),e=S(r);if(n!==J||!v(ut,e)||v(ct,e)){var o=rt(n,e);return!o||!v(ut,e)||v(n,q)&&n[q][e]||(o.enumerable=!0),o}},gt=function(t){var r=et(x(t)),n=[];return W(r,(function(t){v(ut,t)||v(N,t)||it(n,t)})),n},mt=function(t){var r=t===J,n=et(r?ct:x(t)),e=[];return W(n,(function(t){!v(ut,t)||r&&!v(J,t)||it(e,ut[t])})),e};(p||(k(K=(X=function(){if(h(K,this))throw Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?w(arguments[0]):void 0,r=D(t),n=function(t){this===J&&c(n,ct,t),v(this,q)&&v(this[q],r)&&(this[q][r]=!1),lt(this,r,j(1,t))};return s&&pt&<(J,r,{configurable:!0,set:n}),vt(r,t)}).prototype,"toString",(function(){return $(this).tag})),k(X,"withoutSetter",(function(t){return vt(D(t),t)})),F.f=dt,R.f=yt,L.f=ht,T.f=_.f=gt,A.f=mt,B.f=function(t){return vt(G(t),t)},s&&(nt(K,"description",{configurable:!0,get:function(){return $(this).description}}),a||k(J,"propertyIsEnumerable",dt,{unsafe:!0}))),e({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:X}),W(E(st),(function(t){z(t)})),e({target:"Symbol",stat:!0,forced:!p},{for:function(t){var r=w(t);if(v(ft,r))return ft[r];var n=X(r);return ft[r]=n,at[n]=r,n},keyFor:function(t){if(!g(t))throw Q(t+" is not a symbol");if(v(at,t))return at[t]},useSetter:function(){pt=!0},useSimple:function(){pt=!1}}),e({target:"Object",stat:!0,forced:!p,sham:!s},{create:function(t,r){return void 0===r?P(t):bt(P(t),r)},defineProperty:yt,defineProperties:bt,getOwnPropertyDescriptor:ht}),e({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:gt,getOwnPropertySymbols:mt}),e({target:"Object",stat:!0,forced:l((function(){A.f(1)}))},{getOwnPropertySymbols:function(t){return A.f(O(t))}}),tt)&&e({target:"JSON",stat:!0,forced:!p||l((function(){var t=X();return"[null]"!=tt([t])||"{}"!=tt({a:t})||"{}"!=tt(Object(t))}))},{stringify:function(t,r,n){var e=I(arguments),o=r;if((d(r)||void 0!==t)&&!g(t))return y(r)||(r=function(t,r){if(b(o)&&(r=c(o,this,t,r)),!g(r))return r}),e[1]=r,u(tt,null,e)}});if(!K[H]){var Ot=K.valueOf;k(K,H,(function(t){return c(Ot,this)}))}V(X,"Symbol"),N[q]=!0},function(t,r,n){var e=n(111),o=n(5),i=n(79),u=n(9).f;t.exports=function(t){var r=e.Symbol||(e.Symbol={});o(r,t)||u(r,t,{value:i.f(t)})}},function(t,r,n){var e=n(13),o=n(1),i=n(35),u=n(65),c=n(10),f=o([].concat);t.exports=e("Reflect","ownKeys")||function(t){var r=i.f(c(t)),n=u.f;return n?f(r,n(t)):r}},function(t,r,n){var e=n(12),o=n(55),i=n(17),u=function(t){return function(r,n,u){var c,f=e(r),a=i(f),s=o(u,a);if(t&&n!=n){for(;a>s;)if((c=f[s++])!=c)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===n)return t||s||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},function(t,r,n){var e=n(0),o=n(71),i=n(72),u=n(59),c=n(16),f=n(4),a=f("iterator"),s=f("toStringTag"),p=u.values,l=function(t,r){if(t){if(t[a]!==p)try{c(t,a,p)}catch(r){t[a]=p}if(t[s]||c(t,s,r),o[r])for(var n in u)if(t[n]!==u[n])try{c(t,n,u[n])}catch(r){t[n]=u[n]}}};for(var v in o)l(e[v]&&e[v].prototype,v);l(i,"DOMTokenList")},function(t,r,n){var e=n(0),o=n(11),i=n(8),u=n(40),c=n(49),f=n(96),a=n(4),s=e.TypeError,p=a("toPrimitive");t.exports=function(t,r){if(!i(t)||u(t))return t;var n,e=c(t,p);if(e){if(void 0===r&&(r="default"),n=o(e,t,r),!i(n)||u(n))return n;throw s("Can't convert object to primitive value")}return void 0===r&&(r="number"),f(t,r)}},function(t,r,n){"use strict";var e=n(3);t.exports=function(t,r){var n=[][t];return!!n&&e((function(){n.call(null,r||function(){throw 1},1)}))}},function(t,r){var n=Function.prototype,e=n.apply,o=n.bind,i=n.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?i.bind(e):function(){return i.apply(e,arguments)})},function(t,r,n){"use strict";var e=n(6),o=n(7),i=n(0),u=n(1),c=n(5),f=n(2),a=n(26),s=n(22),p=n(9).f,l=n(67),v=i.Symbol,y=v&&v.prototype;if(o&&f(v)&&(!("description"in y)||void 0!==v().description)){var b={},d=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),r=a(y,this)?new v(t):void 0===t?v():v(t);return""===t&&(b[r]=!0),r};l(d,v),d.prototype=y,y.constructor=d;var h="Symbol(test)"==String(v("test")),g=u(y.toString),m=u(y.valueOf),O=/^Symbol\((.*)\)[^)]+$/,x=u("".replace),S=u("".slice);p(y,"description",{configurable:!0,get:function(){var t=m(this),r=g(t);if(c(b,t))return"";var n=h?S(r,7,-1):x(r,O,"$1");return""===n?void 0:n}}),e({global:!0,forced:!0},{Symbol:d})}},function(t,r,n){n(83)("iterator")},function(t,r,n){var e=n(6),o=n(7);e({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(9).f})},function(t,r,n){var e=n(7),o=n(9),i=n(10),u=n(12),c=n(58);t.exports=e?Object.defineProperties:function(t,r){i(t);for(var n,e=u(r),f=c(r),a=f.length,s=0;a>s;)o.f(t,n=f[s++],e[n]);return t}},,function(t,r){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,r,n){var e=n(0),o=n(11),i=n(2),u=n(8),c=e.TypeError;t.exports=function(t,r){var n,e;if("string"===r&&i(n=t.toString)&&!u(e=o(n,t)))return e;if(i(n=t.valueOf)&&!u(e=o(n,t)))return e;if("string"!==r&&i(n=t.toString)&&!u(e=o(n,t)))return e;throw c("Can't convert object to primitive value")}},function(t,r,n){var e=n(0),o=n(2),i=n(38),u=e.WeakMap;t.exports=o(u)&&/native code/.test(i(u))},function(t,r,n){var e=n(0),o=n(33),i=n(56),u=n(8),c=n(4)("species"),f=e.Array;t.exports=function(t){var r;return o(t)&&(r=t.constructor,(i(r)&&(r===f||o(r.prototype))||u(r)&&null===(r=r[c]))&&(r=void 0)),void 0===r?f:r}},function(t,r,n){"use strict";var e=n(43),o=n(31);t.exports=e?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,r,n){var e=n(3);t.exports=!e((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,r,n){var e=n(19),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"==e(t)?function(t){try{return i(t)}catch(t){return u(c)}}(t):i(o(t))}},function(t,r,n){var e=n(1),o=n(39),i=n(22),u=n(30),c=e("".charAt),f=e("".charCodeAt),a=e("".slice),s=function(t){return function(r,n){var e,s,p=i(u(r)),l=o(n),v=p.length;return l<0||l>=v?t?"":void 0:(e=f(p,l))<55296||e>56319||l+1===v||(s=f(p,l+1))<56320||s>57343?t?c(p,l):e:t?a(p,l,l+2):s-56320+(e-55296<<10)+65536}};t.exports={codeAt:s(!1),charAt:s(!0)}},function(t,r,n){var e=n(13);t.exports=e("document","documentElement")},function(t,r,n){"use strict";var e=n(6),o=n(77);e({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,r,n){var e=n(0),o=n(71),i=n(72),u=n(77),c=n(16),f=function(t){if(t&&t.forEach!==u)try{c(t,"forEach",u)}catch(r){t.forEach=u}};for(var a in o)o[a]&&f(e[a]&&e[a].prototype);f(i)},function(t,r,n){var e=n(4),o=n(18),i=n(9),u=e("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,r,n){var e=n(0),o=n(55),i=n(17),u=n(50),c=e.Array,f=Math.max;t.exports=function(t,r,n){for(var e=i(t),a=o(r,e),s=o(void 0===n?e:n,e),p=c(f(s-a,0)),l=0;a<s;a++,l++)u(p,l,t[a]);return p.length=l,p}},function(t,r,n){"use strict";var e=n(73).IteratorPrototype,o=n(18),i=n(20),u=n(47),c=n(29),f=function(){return this};t.exports=function(t,r,n,a){var s=r+" Iterator";return t.prototype=o(e,{next:i(+!a,n)}),u(t,s,!1,!0),c[s]=f,t}},function(t,r,n){var e=n(0),o=n(2),i=e.String,u=e.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw u("Can't set "+i(t)+" as a prototype")}},,function(t,r,n){var e=n(0);t.exports=e},,,,,,,,,,,,function(t,r,n){var e=n(6),o=n(3),i=n(12),u=n(24).f,c=n(7),f=o((function(){u(1)}));e({target:"Object",stat:!0,forced:!c||f,sham:!c},{getOwnPropertyDescriptor:function(t,r){return u(i(t),r)}})},,,,function(t,r,n){n(6)({target:"Object",stat:!0},{setPrototypeOf:n(74)})},function(t,r,n){var e=n(6),o=n(3),i=n(15),u=n(63),c=n(100);e({target:"Object",stat:!0,forced:o((function(){u(1)})),sham:!c},{getPrototypeOf:function(t){return u(i(t))}})},function(t,r,n){var e=n(6),o=n(13),i=n(89),u=n(152),c=n(143),f=n(10),a=n(8),s=n(18),p=n(3),l=o("Reflect","construct"),v=Object.prototype,y=[].push,b=p((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),d=!p((function(){l((function(){}))})),h=b||d;e({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(t,r){c(t),f(r);var n=arguments.length<3?t:c(arguments[2]);if(d&&!b)return l(t,r,n);if(t==n){switch(r.length){case 0:return new t;case 1:return new t(r[0]);case 2:return new t(r[0],r[1]);case 3:return new t(r[0],r[1],r[2]);case 4:return new t(r[0],r[1],r[2],r[3])}var e=[null];return i(y,e,r),new(i(u,t,e))}var o=n.prototype,p=s(a(o)?o:v),h=i(t,p,r);return a(h)?h:p}})},function(t,r,n){n(6)({target:"Object",stat:!0,sham:!n(7)},{create:n(18)})},,,,,,,,,,,function(t,r,n){var e=n(6),o=n(15),i=n(58);e({target:"Object",stat:!0,forced:n(3)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},,function(t,r,n){var e=n(0),o=n(56),i=n(52),u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not a constructor")}},,,,,,function(t,r,n){"use strict";var e=n(6),o=n(57).filter;e({target:"Array",proto:!0,forced:!n(81)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,r,n){var e=n(6),o=n(7),i=n(84),u=n(12),c=n(24),f=n(50);e({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var r,n,e=u(t),o=c.f,a=i(e),s={},p=0;a.length>p;)void 0!==(n=o(e,r=a[p++]))&&f(s,r,n);return s}})},function(t,r,n){var e=n(6),o=n(7);e({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(93)})},function(t,r,n){"use strict";var e=n(0),o=n(1),i=n(36),u=n(8),c=n(5),f=n(75),a=e.Function,s=o([].concat),p=o([].join),l={},v=function(t,r,n){if(!c(l,r)){for(var e=[],o=0;o<r;o++)e[o]="a["+o+"]";l[r]=a("C,a","return new C("+p(e,",")+")")}return l[r](t,n)};t.exports=a.bind||function(t){var r=i(this),n=r.prototype,e=f(arguments,1),o=function(){var n=s(e,f(arguments));return this instanceof o?v(r,n.length,n):r.apply(t,n)};return u(n)&&(o.prototype=n),o}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,r,n){"use strict";n.r(r),n.d(r,"RectLabelNode",(function(){return b}));var e=n(37);n(127),n(128),n(68),n(129),n(130),n(92),n(141),n(82),n(149),n(123),n(104),n(105),n(150),n(151),n(90),n(91),n(59),n(78),n(86);function o(t){return(o="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 i(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);r&&(e=e.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),n.push.apply(n,e)}return n}function u(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?i(Object(n),!0).forEach((function(r){c(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))}))}return t}function c(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function f(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function a(t,r){for(var n=0;n<r.length;n++){var e=r[n];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}function s(t,r){return(s=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t})(t,r)}function p(t){var r=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,e=v(t);if(r){var o=v(this).constructor;n=Reflect.construct(e,arguments,o)}else n=e.apply(this,arguments);return l(this,n)}}function l(t,r){if(r&&("object"===o(r)||"function"==typeof r))return r;if(void 0!==r)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 v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var y=function(t){!function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),r&&s(t,r)}(c,t);var r,n,o,i=p(c);function c(){return f(this,c),i.apply(this,arguments)}return r=c,(n=[{key:"getLabelShape",value:function(){var t=this.props.model,r=t.x,n=t.y,o=t.width,i=t.height,u=t.properties;return Object(e.h)("text",{x:r-o/2+5,y:n-i/2+16,fontSize:12,fill:"blue"},u.moreText)}},{key:"getShape",value:function(){var t=this.props.model,r=t.x,n=t.y,o=t.width,i=t.height,c=this.props.model.getNodeStyle();return Object(e.h)("g",{},[Object(e.h)("rect",u(u({},c),{},{fill:"#FFFFFF",x:r-o/2,y:n-i/2})),this.getLabelShape()])}}])&&a(r.prototype,n),o&&a(r,o),c}(e.RectNode),b={pluginName:"rectLabelNode",install:function(t){t.register({type:"rect-label",model:e.RectNodeModel,view:y})}};r.default=b}])}));
|
|
1
|
+
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("window"));else if("function"==typeof define&&define.amd)define(["window"],r);else{var n="object"==typeof exports?r(require("window")):r(t.window);for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(window,(function(t){return function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},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,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=224)}([function(t,r,n){(function(r){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 r&&r)||function(){return this}()||Function("return this")()}).call(this,n(95))},function(t,r){var n=Function.prototype,e=n.bind,o=n.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,r){t.exports=function(t){return"function"==typeof t}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r,n){var e=n(0),o=n(33),i=n(5),u=n(35),c=n(45),f=n(62),a=o("wks"),s=e.Symbol,p=s&&s.for,l=f?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(a,t)||!c&&"string"!=typeof a[t]){var r="Symbol."+t;c&&i(s,t)?a[t]=s[t]:a[t]=f&&p?p(r):l(r)}return a[t]}},function(t,r,n){var e=n(1),o=n(15),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},function(t,r,n){var e=n(0),o=n(25).f,i=n(16),u=n(14),c=n(42),f=n(68),a=n(71);t.exports=function(t,r){var n,s,p,l,v,y=t.target,b=t.global,d=t.stat;if(n=b?e:d?e[y]||c(y,{}):(e[y]||{}).prototype)for(s in r){if(l=r[s],p=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!a(b?s:y+(d?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;f(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(n,s,l,t)}}},function(t,r,n){var e=n(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,n){var e=n(2);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,r,n){var e=n(0),o=n(7),i=n(63),u=n(10),c=n(26),f=e.TypeError,a=Object.defineProperty;r.f=o?a:function(t,r,n){if(u(t),r=c(r),u(n),i)try{return a(t,r,n)}catch(t){}if("get"in n||"set"in n)throw f("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},function(t,r,n){var e=n(0),o=n(8),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,r){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,r,n){var e=n(51),o=n(31);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(0),o=n(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(e[t]):e[t]&&e[t][r]}},function(t,r,n){var e=n(0),o=n(2),i=n(5),u=n(16),c=n(42),f=n(38),a=n(22),s=n(53).CONFIGURABLE,p=a.get,l=a.enforce,v=String(String).split("String");(t.exports=function(t,r,n,f){var a,p=!!f&&!!f.unsafe,y=!!f&&!!f.enumerable,b=!!f&&!!f.noTargetGet,d=f&&void 0!==f.name?f.name:r;o(n)&&("Symbol("===String(d).slice(0,7)&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==d)&&u(n,"name",d),(a=l(n)).source||(a.source=v.join("string"==typeof d?d:""))),t!==e?(p?!b&&t[r]&&(y=!0):delete t[r],y?t[r]=n:u(t,r,n)):y?t[r]=n:c(r,n)})(Function.prototype,"toString",(function(){return o(this)&&p(this).source||f(this)}))},function(t,r,n){var e=n(0),o=n(31),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,r,n){var e=n(7),o=n(9),i=n(21);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},function(t,r,n){var e=n(83);t.exports=function(t){return e(t.length)}},function(r,n){r.exports=t},function(t,r,n){var e,o=n(10),i=n(93),u=n(46),c=n(24),f=n(106),a=n(44),s=n(29),p=s("IE_PROTO"),l=function(){},v=function(t){return"<script>"+t+"<\/script>"},y=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},b=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,r;b="undefined"!=typeof document?document.domain&&e?y(e):((r=a("iframe")).style.display="none",f.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):y(e);for(var n=u.length;n--;)delete b.prototype[u[n]];return b()};c[p]=!0,t.exports=Object.create||function(t,r){var n;return null!==t?(l.prototype=o(t),n=new l,l.prototype=null,n[p]=t):n=b(),void 0===r?n:i(n,r)}},function(t,r,n){var e=n(1),o=e({}.toString),i=e("".slice);t.exports=function(t){return i(o(t),8,-1)}},function(t,r){t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},function(t,r,n){var e,o,i,u=n(97),c=n(0),f=n(1),a=n(8),s=n(16),p=n(5),l=n(41),v=n(29),y=n(24),b=c.TypeError,d=c.WeakMap;if(u||l.state){var h=l.state||(l.state=new d),g=f(h.get),m=f(h.has),O=f(h.set);e=function(t,r){if(m(h,t))throw new b("Object already initialized");return r.facade=t,O(h,t,r),r},o=function(t){return g(h,t)||{}},i=function(t){return m(h,t)}}else{var x=v("state");y[x]=!0,e=function(t,r){if(p(t,x))throw new b("Object already initialized");return r.facade=t,s(t,x,r),r},o=function(t){return p(t,x)?t[x]:{}},i=function(t){return p(t,x)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(r){var n;if(!a(r)||(n=o(r)).type!==t)throw b("Incompatible receiver, "+t+" required");return n}}}},function(t,r,n){var e=n(0),o=n(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,r){t.exports={}},function(t,r,n){var e=n(7),o=n(11),i=n(61),u=n(21),c=n(12),f=n(26),a=n(5),s=n(63),p=Object.getOwnPropertyDescriptor;r.f=e?p:function(t,r){if(t=c(t),r=f(r),s)try{return p(t,r)}catch(t){}if(a(t,r))return u(!o(i.f,t,r),t[r])}},function(t,r,n){var e=n(91),o=n(40);t.exports=function(t){var r=e(t,"string");return o(r)?r:r+""}},function(t,r,n){var e=n(1);t.exports=e({}.isPrototypeOf)},function(t,r){t.exports=!1},function(t,r,n){var e=n(33),o=n(35),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,r){t.exports={}},function(t,r,n){var e=n(0).TypeError;t.exports=function(t){if(null==t)throw e("Can't call method on "+t);return t}},function(t,r,n){var e=n(0),o=n(43),i=n(2),u=n(20),c=n(4)("toStringTag"),f=e.Object,a="Arguments"==u(function(){return arguments}());t.exports=o?u:function(t){var r,n,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,r){try{return t[r]}catch(t){}}(r=f(t),c))?n:a?u(r):"Object"==(e=u(r))&&i(r.callee)?"Arguments":e}},function(t,r,n){var e=n(28),o=n(41);(t.exports=function(t,r){return o[t]||(o[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.19.3",mode:e?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,r,n){var e=n(20);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,r,n){var e=n(1),o=0,i=Math.random(),u=e(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++o+i,36)}},function(t,r,n){var e=n(66),o=n(46).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,r,n){var e=n(0),o=n(2),i=n(52),u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not a function")}},function(t,r,n){var e=n(1),o=n(2),i=n(41),u=e(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return u(t)}),t.exports=i.inspectSource},function(t,r){var n=Math.ceil,e=Math.floor;t.exports=function(t){var r=+t;return r!=r||0===r?0:(r>0?e:n)(r)}},function(t,r,n){var e=n(0),o=n(13),i=n(2),u=n(27),c=n(62),f=e.Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var r=o("Symbol");return i(r)&&u(r.prototype,f(t))}},function(t,r,n){var e=n(0),o=n(42),i=e["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,r,n){var e=n(0),o=Object.defineProperty;t.exports=function(t,r){try{o(e,t,{value:r,configurable:!0,writable:!0})}catch(n){e[t]=r}return r}},function(t,r,n){var e={};e[n(4)("toStringTag")]="z",t.exports="[object z]"===String(e)},function(t,r,n){var e=n(0),o=n(8),i=e.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,r,n){var e=n(48),o=n(3);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41}))},function(t,r){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,r,n){var e=n(9).f,o=n(5),i=n(4)("toStringTag");t.exports=function(t,r,n){t&&!o(t=n?t:t.prototype,i)&&e(t,i,{configurable:!0,value:r})}},function(t,r,n){var e,o,i=n(0),u=n(86),c=i.process,f=i.Deno,a=c&&c.versions||f&&f.version,s=a&&a.v8;s&&(o=(e=s.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!o&&u&&(!(e=u.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=u.match(/Chrome\/(\d+)/))&&(o=+e[1]),t.exports=o},function(t,r,n){var e=n(37);t.exports=function(t,r){var n=t[r];return null==n?void 0:e(n)}},function(t,r,n){"use strict";var e=n(26),o=n(9),i=n(21);t.exports=function(t,r,n){var u=e(r);u in t?o.f(t,u,i(0,n)):t[u]=n}},function(t,r,n){var e=n(0),o=n(1),i=n(3),u=n(20),c=e.Object,f=o("".split);t.exports=i((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==u(t)?f(t,""):c(t)}:c},function(t,r,n){var e=n(0).String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},function(t,r,n){var e=n(7),o=n(5),i=Function.prototype,u=e&&Object.getOwnPropertyDescriptor,c=o(i,"name"),f=c&&"something"===function(){}.name,a=c&&(!e||e&&u(i,"name").configurable);t.exports={EXISTS:c,PROPER:f,CONFIGURABLE:a}},function(t,r,n){var e=n(39),o=Math.max,i=Math.min;t.exports=function(t,r){var n=e(t);return n<0?o(n+r,0):i(n,r)}},function(t,r,n){var e=n(1),o=n(37),i=e(e.bind);t.exports=function(t,r){return o(t),void 0===r?t:i?i(t,r):function(){return t.apply(r,arguments)}}},function(t,r,n){"use strict";var e=n(12),o=n(105),i=n(30),u=n(22),c=n(67),f=u.set,a=u.getterFor("Array Iterator");t.exports=c(Array,"Array",(function(t,r){f(this,{type:"Array Iterator",target:e(t),index:0,kind:r})}),(function(){var t=a(this),r=t.target,n=t.kind,e=t.index++;return!r||e>=r.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:e,done:!1}:"values"==n?{value:r[e],done:!1}:{value:[e,r[e]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,r,n){var e=n(55),o=n(1),i=n(51),u=n(15),c=n(17),f=n(72),a=o([].push),s=function(t){var r=1==t,n=2==t,o=3==t,s=4==t,p=6==t,l=7==t,v=5==t||p;return function(y,b,d,h){for(var g,m,O=u(y),x=i(O),S=e(b,d),w=c(x),j=0,P=h||f,E=r?P(y,w):n||l?P(y,0):void 0;w>j;j++)if((v||j in x)&&(m=S(g=x[j],j,O),t))if(r)E[j]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return j;case 2:a(E,g)}else switch(t){case 4:return!1;case 7:a(E,g)}return p?-1:o||s?s:E}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},function(t,r,n){var e=n(1),o=n(3),i=n(2),u=n(32),c=n(13),f=n(38),a=function(){},s=[],p=c("Reflect","construct"),l=/^\s*(?:class|function)\b/,v=e(l.exec),y=!l.exec(a),b=function(t){if(!i(t))return!1;try{return p(a,s,t),!0}catch(t){return!1}};t.exports=!p||o((function(){var t;return b(b.call)||!b(Object)||!b((function(){t=!0}))||t}))?function(t){if(!i(t))return!1;switch(u(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return y||!!v(l,f(t))}:b},function(t,r,n){var e=n(66),o=n(46);t.exports=Object.keys||function(t){return e(t,o)}},function(t,r,n){var e=n(43),o=n(14),i=n(99);e||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,r,n){"use strict";var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);r.f=i?function(t){var r=o(this,t);return!!r&&r.enumerable}:e},function(t,r,n){var e=n(45);t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,r,n){var e=n(7),o=n(3),i=n(44);t.exports=!e&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,r){r.f=Object.getOwnPropertySymbols},function(t,r,n){var e=n(0),o=n(5),i=n(2),u=n(15),c=n(29),f=n(102),a=c("IE_PROTO"),s=e.Object,p=s.prototype;t.exports=f?s.getPrototypeOf:function(t){var r=u(t);if(o(r,a))return r[a];var n=r.constructor;return i(n)&&r instanceof n?n.prototype:r instanceof s?p:null}},function(t,r,n){var e=n(1),o=n(5),i=n(12),u=n(89).indexOf,c=n(24),f=e([].push);t.exports=function(t,r){var n,e=i(t),a=0,s=[];for(n in e)!o(c,n)&&o(e,n)&&f(s,n);for(;r.length>a;)o(e,n=r[a++])&&(~u(s,n)||f(s,n));return s}},function(t,r,n){"use strict";var e=n(6),o=n(11),i=n(28),u=n(53),c=n(2),f=n(108),a=n(65),s=n(78),p=n(47),l=n(16),v=n(14),y=n(4),b=n(30),d=n(76),h=u.PROPER,g=u.CONFIGURABLE,m=d.IteratorPrototype,O=d.BUGGY_SAFARI_ITERATORS,x=y("iterator"),S=function(){return this};t.exports=function(t,r,n,u,y,d,w){f(n,r,u);var j,P,E,T=function(t){if(t===y&&F)return F;if(!O&&t in L)return L[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},_=r+" Iterator",A=!1,L=t.prototype,R=L[x]||L["@@iterator"]||y&&L[y],F=!O&&R||T(y),I="Array"==r&&L.entries||R;if(I&&(j=a(I.call(new t)))!==Object.prototype&&j.next&&(i||a(j)===m||(s?s(j,m):c(j[x])||v(j,x,S)),p(j,_,!0,!0),i&&(b[_]=S)),h&&"values"==y&&R&&"values"!==R.name&&(!i&&g?l(L,"name","values"):(A=!0,F=function(){return o(R,this)})),y)if(P={values:T("values"),keys:d?F:T("keys"),entries:T("entries")},w)for(E in P)(O||A||!(E in L))&&v(L,E,P[E]);else e({target:r,proto:!0,forced:O||A},P);return i&&!w||L[x]===F||v(L,x,F,{name:y}),b[r]=F,P}},function(t,r,n){var e=n(5),o=n(87),i=n(25),u=n(9);t.exports=function(t,r){for(var n=o(r),c=u.f,f=i.f,a=0;a<n.length;a++){var s=n[a];e(t,s)||c(t,s,f(r,s))}}},function(t,r,n){"use strict";var e=n(104).charAt,o=n(23),i=n(22),u=n(67),c=i.set,f=i.getterFor("String Iterator");u(String,"String",(function(t){c(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,r=f(this),n=r.string,o=r.index;return o>=n.length?{value:void 0,done:!0}:(t=e(n,o),r.index+=t.length,{value:t,done:!1})}))},function(t,r,n){"use strict";var e=n(6),o=n(0),i=n(13),u=n(92),c=n(11),f=n(1),a=n(28),s=n(7),p=n(45),l=n(3),v=n(5),y=n(34),b=n(2),d=n(8),h=n(27),g=n(40),m=n(10),O=n(15),x=n(12),S=n(26),w=n(23),j=n(21),P=n(19),E=n(59),T=n(36),_=n(103),A=n(64),L=n(25),R=n(9),F=n(61),I=n(79),k=n(14),M=n(33),C=n(29),N=n(24),D=n(35),G=n(4),B=n(85),z=n(88),V=n(47),U=n(22),W=n(57).forEach,q=C("hidden"),H=G("toPrimitive"),Y=U.set,$=U.getterFor("Symbol"),J=Object.prototype,X=o.Symbol,K=X&&X.prototype,Q=o.TypeError,Z=o.QObject,tt=i("JSON","stringify"),rt=L.f,nt=R.f,et=_.f,ot=F.f,it=f([].push),ut=M("symbols"),ct=M("op-symbols"),ft=M("string-to-symbol-registry"),at=M("symbol-to-string-registry"),st=M("wks"),pt=!Z||!Z.prototype||!Z.prototype.findChild,lt=s&&l((function(){return 7!=P(nt({},"a",{get:function(){return nt(this,"a",{value:7}).a}})).a}))?function(t,r,n){var e=rt(J,r);e&&delete J[r],nt(t,r,n),e&&t!==J&&nt(J,r,e)}:nt,vt=function(t,r){var n=ut[t]=P(K);return Y(n,{type:"Symbol",tag:t,description:r}),s||(n.description=r),n},yt=function(t,r,n){t===J&&yt(ct,r,n),m(t);var e=S(r);return m(n),v(ut,e)?(n.enumerable?(v(t,q)&&t[q][e]&&(t[q][e]=!1),n=P(n,{enumerable:j(0,!1)})):(v(t,q)||nt(t,q,j(1,{})),t[q][e]=!0),lt(t,e,n)):nt(t,e,n)},bt=function(t,r){m(t);var n=x(r),e=E(n).concat(mt(n));return W(e,(function(r){s&&!c(dt,n,r)||yt(t,r,n[r])})),t},dt=function(t){var r=S(t),n=c(ot,this,r);return!(this===J&&v(ut,r)&&!v(ct,r))&&(!(n||!v(this,r)||!v(ut,r)||v(this,q)&&this[q][r])||n)},ht=function(t,r){var n=x(t),e=S(r);if(n!==J||!v(ut,e)||v(ct,e)){var o=rt(n,e);return!o||!v(ut,e)||v(n,q)&&n[q][e]||(o.enumerable=!0),o}},gt=function(t){var r=et(x(t)),n=[];return W(r,(function(t){v(ut,t)||v(N,t)||it(n,t)})),n},mt=function(t){var r=t===J,n=et(r?ct:x(t)),e=[];return W(n,(function(t){!v(ut,t)||r&&!v(J,t)||it(e,ut[t])})),e};(p||(k(K=(X=function(){if(h(K,this))throw Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?w(arguments[0]):void 0,r=D(t),n=function(t){this===J&&c(n,ct,t),v(this,q)&&v(this[q],r)&&(this[q][r]=!1),lt(this,r,j(1,t))};return s&&pt&<(J,r,{configurable:!0,set:n}),vt(r,t)}).prototype,"toString",(function(){return $(this).tag})),k(X,"withoutSetter",(function(t){return vt(D(t),t)})),F.f=dt,R.f=yt,L.f=ht,T.f=_.f=gt,A.f=mt,B.f=function(t){return vt(G(t),t)},s&&(nt(K,"description",{configurable:!0,get:function(){return $(this).description}}),a||k(J,"propertyIsEnumerable",dt,{unsafe:!0}))),e({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:X}),W(E(st),(function(t){z(t)})),e({target:"Symbol",stat:!0,forced:!p},{for:function(t){var r=w(t);if(v(ft,r))return ft[r];var n=X(r);return ft[r]=n,at[n]=r,n},keyFor:function(t){if(!g(t))throw Q(t+" is not a symbol");if(v(at,t))return at[t]},useSetter:function(){pt=!0},useSimple:function(){pt=!1}}),e({target:"Object",stat:!0,forced:!p,sham:!s},{create:function(t,r){return void 0===r?P(t):bt(P(t),r)},defineProperty:yt,defineProperties:bt,getOwnPropertyDescriptor:ht}),e({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:gt,getOwnPropertySymbols:mt}),e({target:"Object",stat:!0,forced:l((function(){A.f(1)}))},{getOwnPropertySymbols:function(t){return A.f(O(t))}}),tt)&&e({target:"JSON",stat:!0,forced:!p||l((function(){var t=X();return"[null]"!=tt([t])||"{}"!=tt({a:t})||"{}"!=tt(Object(t))}))},{stringify:function(t,r,n){var e=I(arguments),o=r;if((d(r)||void 0!==t)&&!g(t))return y(r)||(r=function(t,r){if(b(o)&&(r=c(o,this,t,r)),!g(r))return r}),e[1]=r,u(tt,null,e)}});if(!K[H]){var Ot=K.valueOf;k(K,H,(function(t){return c(Ot,this)}))}V(X,"Symbol"),N[q]=!0},function(t,r,n){var e=n(3),o=n(2),i=/#|\.prototype\./,u=function(t,r){var n=f[c(t)];return n==s||n!=a&&(o(r)?e(r):!!r)},c=u.normalize=function(t){return String(t).replace(i,".").toLowerCase()},f=u.data={},a=u.NATIVE="N",s=u.POLYFILL="P";t.exports=u},function(t,r,n){var e=n(98);t.exports=function(t,r){return new(e(t))(0===r?0:r)}},function(t,r){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,r,n){var e=n(44)("span").classList,o=e&&e.constructor&&e.constructor.prototype;t.exports=o===Object.prototype?void 0:o},function(t,r,n){var e=n(0),o=n(73),i=n(74),u=n(56),c=n(16),f=n(4),a=f("iterator"),s=f("toStringTag"),p=u.values,l=function(t,r){if(t){if(t[a]!==p)try{c(t,a,p)}catch(r){t[a]=p}if(t[s]||c(t,s,r),o[r])for(var n in u)if(t[n]!==u[n])try{c(t,n,u[n])}catch(r){t[n]=u[n]}}};for(var v in o)l(e[v]&&e[v].prototype,v);l(i,"DOMTokenList")},function(t,r,n){"use strict";var e,o,i,u=n(3),c=n(2),f=n(19),a=n(65),s=n(14),p=n(4),l=n(28),v=p("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(e=o):y=!0),null==e||u((function(){var t={};return e[v].call(t)!==t}))?e={}:l&&(e=f(e)),c(e[v])||s(e,v,(function(){return this})),t.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:y}},function(t,r,n){var e=n(6),o=n(7);e({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(9).f})},function(t,r,n){var e=n(1),o=n(10),i=n(109);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,n={};try{(t=e(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),r=n instanceof Array}catch(t){}return function(n,e){return o(n),i(e),r?t(n,e):n.__proto__=e,n}}():void 0)},function(t,r,n){var e=n(1);t.exports=e([].slice)},function(t,r,n){"use strict";var e=n(6),o=n(7),i=n(0),u=n(1),c=n(5),f=n(2),a=n(27),s=n(23),p=n(9).f,l=n(68),v=i.Symbol,y=v&&v.prototype;if(o&&f(v)&&(!("description"in y)||void 0!==v().description)){var b={},d=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),r=a(y,this)?new v(t):void 0===t?v():v(t);return""===t&&(b[r]=!0),r};l(d,v),d.prototype=y,y.constructor=d;var h="Symbol(test)"==String(v("test")),g=u(y.toString),m=u(y.valueOf),O=/^Symbol\((.*)\)[^)]+$/,x=u("".replace),S=u("".slice);p(y,"description",{configurable:!0,get:function(){var t=m(this),r=g(t);if(c(b,t))return"";var n=h?S(r,7,-1):x(r,O,"$1");return""===n?void 0:n}}),e({global:!0,forced:!0},{Symbol:d})}},function(t,r,n){n(88)("iterator")},function(t,r,n){var e=n(3),o=n(4),i=n(48),u=o("species");t.exports=function(t){return i>=51||!e((function(){var r=[];return(r.constructor={})[u]=function(){return{foo:1}},1!==r[t](Boolean).foo}))}},function(t,r,n){var e=n(39),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,r,n){"use strict";var e=n(57).forEach,o=n(90)("forEach");t.exports=o?[].forEach:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,r,n){var e=n(4);r.f=e},function(t,r,n){var e=n(13);t.exports=e("navigator","userAgent")||""},function(t,r,n){var e=n(13),o=n(1),i=n(36),u=n(64),c=n(10),f=o([].concat);t.exports=e("Reflect","ownKeys")||function(t){var r=i.f(c(t)),n=u.f;return n?f(r,n(t)):r}},function(t,r,n){var e=n(111),o=n(5),i=n(85),u=n(9).f;t.exports=function(t){var r=e.Symbol||(e.Symbol={});o(r,t)||u(r,t,{value:i.f(t)})}},function(t,r,n){var e=n(12),o=n(54),i=n(17),u=function(t){return function(r,n,u){var c,f=e(r),a=i(f),s=o(u,a);if(t&&n!=n){for(;a>s;)if((c=f[s++])!=c)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===n)return t||s||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},function(t,r,n){"use strict";var e=n(3);t.exports=function(t,r){var n=[][t];return!!n&&e((function(){n.call(null,r||function(){throw 1},1)}))}},function(t,r,n){var e=n(0),o=n(11),i=n(8),u=n(40),c=n(49),f=n(96),a=n(4),s=e.TypeError,p=a("toPrimitive");t.exports=function(t,r){if(!i(t)||u(t))return t;var n,e=c(t,p);if(e){if(void 0===r&&(r="default"),n=o(e,t,r),!i(n)||u(n))return n;throw s("Can't convert object to primitive value")}return void 0===r&&(r="number"),f(t,r)}},function(t,r){var n=Function.prototype,e=n.apply,o=n.bind,i=n.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?i.bind(e):function(){return i.apply(e,arguments)})},function(t,r,n){var e=n(7),o=n(9),i=n(10),u=n(12),c=n(59);t.exports=e?Object.defineProperties:function(t,r){i(t);for(var n,e=u(r),f=c(r),a=f.length,s=0;a>s;)o.f(t,n=f[s++],e[n]);return t}},,function(t,r){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,r,n){var e=n(0),o=n(11),i=n(2),u=n(8),c=e.TypeError;t.exports=function(t,r){var n,e;if("string"===r&&i(n=t.toString)&&!u(e=o(n,t)))return e;if(i(n=t.valueOf)&&!u(e=o(n,t)))return e;if("string"!==r&&i(n=t.toString)&&!u(e=o(n,t)))return e;throw c("Can't convert object to primitive value")}},function(t,r,n){var e=n(0),o=n(2),i=n(38),u=e.WeakMap;t.exports=o(u)&&/native code/.test(i(u))},function(t,r,n){var e=n(0),o=n(34),i=n(58),u=n(8),c=n(4)("species"),f=e.Array;t.exports=function(t){var r;return o(t)&&(r=t.constructor,(i(r)&&(r===f||o(r.prototype))||u(r)&&null===(r=r[c]))&&(r=void 0)),void 0===r?f:r}},function(t,r,n){"use strict";var e=n(43),o=n(32);t.exports=e?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,r,n){"use strict";var e=n(6),o=n(84);e({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,r,n){var e=n(0),o=n(73),i=n(74),u=n(84),c=n(16),f=function(t){if(t&&t.forEach!==u)try{c(t,"forEach",u)}catch(r){t.forEach=u}};for(var a in o)o[a]&&f(e[a]&&e[a].prototype);f(i)},function(t,r,n){var e=n(3);t.exports=!e((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,r,n){var e=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"==e(t)?function(t){try{return i(t)}catch(t){return u(c)}}(t):i(o(t))}},function(t,r,n){var e=n(1),o=n(39),i=n(23),u=n(31),c=e("".charAt),f=e("".charCodeAt),a=e("".slice),s=function(t){return function(r,n){var e,s,p=i(u(r)),l=o(n),v=p.length;return l<0||l>=v?t?"":void 0:(e=f(p,l))<55296||e>56319||l+1===v||(s=f(p,l+1))<56320||s>57343?t?c(p,l):e:t?a(p,l,l+2):s-56320+(e-55296<<10)+65536}};t.exports={codeAt:s(!1),charAt:s(!0)}},function(t,r,n){var e=n(4),o=n(19),i=n(9),u=e("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,r,n){var e=n(13);t.exports=e("document","documentElement")},function(t,r,n){var e=n(0),o=n(54),i=n(17),u=n(50),c=e.Array,f=Math.max;t.exports=function(t,r,n){for(var e=i(t),a=o(r,e),s=o(void 0===n?e:n,e),p=c(f(s-a,0)),l=0;a<s;a++,l++)u(p,l,t[a]);return p.length=l,p}},function(t,r,n){"use strict";var e=n(76).IteratorPrototype,o=n(19),i=n(21),u=n(47),c=n(30),f=function(){return this};t.exports=function(t,r,n,a){var s=r+" Iterator";return t.prototype=o(e,{next:i(+!a,n)}),u(t,s,!1,!0),c[s]=f,t}},function(t,r,n){var e=n(0),o=n(2),i=e.String,u=e.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw u("Can't set "+i(t)+" as a prototype")}},,function(t,r,n){var e=n(0);t.exports=e},,,,,function(t,r,n){var e=n(6),o=n(3),i=n(12),u=n(25).f,c=n(7),f=o((function(){u(1)}));e({target:"Object",stat:!0,forced:!c||f,sham:!c},{getOwnPropertyDescriptor:function(t,r){return u(i(t),r)}})},,function(t,r,n){n(6)({target:"Object",stat:!0},{setPrototypeOf:n(78)})},function(t,r,n){var e=n(6),o=n(3),i=n(15),u=n(65),c=n(102);e({target:"Object",stat:!0,forced:o((function(){u(1)})),sham:!c},{getPrototypeOf:function(t){return u(i(t))}})},function(t,r,n){var e=n(6),o=n(13),i=n(92),u=n(154),c=n(146),f=n(10),a=n(8),s=n(19),p=n(3),l=o("Reflect","construct"),v=Object.prototype,y=[].push,b=p((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),d=!p((function(){l((function(){}))})),h=b||d;e({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(t,r){c(t),f(r);var n=arguments.length<3?t:c(arguments[2]);if(d&&!b)return l(t,r,n);if(t==n){switch(r.length){case 0:return new t;case 1:return new t(r[0]);case 2:return new t(r[0],r[1]);case 3:return new t(r[0],r[1],r[2]);case 4:return new t(r[0],r[1],r[2],r[3])}var e=[null];return i(y,e,r),new(i(u,t,e))}var o=n.prototype,p=s(a(o)?o:v),h=i(t,p,r);return a(h)?h:p}})},function(t,r,n){n(6)({target:"Object",stat:!0,sham:!n(7)},{create:n(19)})},,,,,,,,function(t,r,n){var e=n(6),o=n(15),i=n(59);e({target:"Object",stat:!0,forced:n(3)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},,,,,,function(t,r,n){"use strict";var e=n(6),o=n(57).filter;e({target:"Array",proto:!0,forced:!n(82)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,r,n){var e=n(6),o=n(7),i=n(87),u=n(12),c=n(25),f=n(50);e({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var r,n,e=u(t),o=c.f,a=i(e),s={},p=0;a.length>p;)void 0!==(n=o(e,r=a[p++]))&&f(s,r,n);return s}})},function(t,r,n){var e=n(6),o=n(7);e({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(93)})},,,,,,,,,function(t,r,n){var e=n(0),o=n(58),i=n(52),u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not a constructor")}},,,,,,,,function(t,r,n){"use strict";var e=n(0),o=n(1),i=n(37),u=n(8),c=n(5),f=n(79),a=e.Function,s=o([].concat),p=o([].join),l={},v=function(t,r,n){if(!c(l,r)){for(var e=[],o=0;o<r;o++)e[o]="a["+o+"]";l[r]=a("C,a","return new C("+p(e,",")+")")}return l[r](t,n)};t.exports=a.bind||function(t){var r=i(this),n=r.prototype,e=f(arguments,1),o=function(){var n=s(e,f(arguments));return this instanceof o?v(r,n.length,n):r.apply(t,n)};return u(n)&&(o.prototype=n),o}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,r,n){"use strict";n.r(r),n.d(r,"RectLabelNode",(function(){return b}));var e=n(18);n(118),n(119),n(60),n(120),n(121),n(77),n(129),n(70),n(135),n(116),n(100),n(101),n(136),n(137),n(80),n(81),n(56),n(69),n(75);function o(t){return(o="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 i(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);r&&(e=e.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),n.push.apply(n,e)}return n}function u(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?i(Object(n),!0).forEach((function(r){c(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))}))}return t}function c(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function f(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function a(t,r){for(var n=0;n<r.length;n++){var e=r[n];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}function s(t,r){return(s=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t})(t,r)}function p(t){var r=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,e=v(t);if(r){var o=v(this).constructor;n=Reflect.construct(e,arguments,o)}else n=e.apply(this,arguments);return l(this,n)}}function l(t,r){if(r&&("object"===o(r)||"function"==typeof r))return r;if(void 0!==r)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 v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var y=function(t){!function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),r&&s(t,r)}(c,t);var r,n,o,i=p(c);function c(){return f(this,c),i.apply(this,arguments)}return r=c,(n=[{key:"getLabelShape",value:function(){var t=this.props.model,r=t.x,n=t.y,o=t.width,i=t.height,u=t.properties;return Object(e.h)("text",{x:r-o/2+5,y:n-i/2+16,fontSize:12,fill:"blue"},u.moreText)}},{key:"getShape",value:function(){var t=this.props.model,r=t.x,n=t.y,o=t.width,i=t.height,c=this.props.model.getNodeStyle();return Object(e.h)("g",{},[Object(e.h)("rect",u(u({},c),{},{fill:"#FFFFFF",x:r-o/2,y:n-i/2})),this.getLabelShape()])}}])&&a(r.prototype,n),o&&a(r,o),c}(e.RectNode),b={pluginName:"rectLabelNode",install:function(t){t.register({type:"rect-label",model:e.RectNodeModel,view:y})}};r.default=b}])}));
|