@logicflow/extension 1.1.0-alpha.4 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/cjs/NodeResize/Control/Control.js +9 -9
  2. package/cjs/NodeResize/Control/ControlGroup.js +8 -4
  3. package/cjs/NodeResize/Node/DiamondResize.js +21 -1
  4. package/cjs/NodeResize/Node/EllipseResize.js +15 -0
  5. package/cjs/NodeResize/Node/HtmlResize.js +15 -0
  6. package/cjs/NodeResize/Node/RectResize.js +19 -0
  7. package/cjs/NodeResize/index.js +2 -36
  8. package/cjs/index.js +0 -1
  9. package/cjs/materials/group/GroupNode.js +37 -24
  10. package/cjs/materials/group/index.js +1 -1
  11. package/es/NodeResize/Control/Control.js +9 -9
  12. package/es/NodeResize/Control/ControlGroup.js +8 -4
  13. package/es/NodeResize/Node/DiamondResize.d.ts +15 -0
  14. package/es/NodeResize/Node/DiamondResize.js +21 -1
  15. package/es/NodeResize/Node/EllipseResize.d.ts +11 -0
  16. package/es/NodeResize/Node/EllipseResize.js +15 -0
  17. package/es/NodeResize/Node/HtmlResize.d.ts +11 -0
  18. package/es/NodeResize/Node/HtmlResize.js +15 -0
  19. package/es/NodeResize/Node/RectResize.d.ts +13 -0
  20. package/es/NodeResize/Node/RectResize.js +19 -0
  21. package/es/NodeResize/index.d.ts +2 -28
  22. package/es/NodeResize/index.js +1 -36
  23. package/es/index.d.ts +0 -1
  24. package/es/index.js +0 -1
  25. package/es/materials/group/GroupNode.d.ts +8 -0
  26. package/es/materials/group/GroupNode.js +37 -24
  27. package/es/materials/group/index.js +1 -1
  28. package/lib/AutoLayout.js +1 -1
  29. package/lib/BpmnAdapter.js +1 -1
  30. package/lib/BpmnElement.js +1 -1
  31. package/lib/ContextMenu.js +1 -1
  32. package/lib/Control.js +1 -1
  33. package/lib/CurvedEdge.js +1 -1
  34. package/lib/DndPanel.js +1 -1
  35. package/lib/FlowPath.js +1 -1
  36. package/lib/Group.js +1 -1
  37. package/lib/InsertNodeInPolyline.js +1 -1
  38. package/lib/Menu.js +1 -1
  39. package/lib/MiniMap.js +1 -1
  40. package/lib/NodeResize.js +1 -1
  41. package/lib/RectLabelNode.js +1 -1
  42. package/lib/SelectionSelect.js +1 -1
  43. package/lib/Snapshot.js +1 -1
  44. package/lib/TurboAdapter.js +1 -1
  45. package/lib/lfJson2Xml.js +1 -1
  46. package/lib/lfXml2Json.js +1 -1
  47. package/package.json +2 -2
  48. package/types/NodeResize/Node/DiamondResize.d.ts +15 -0
  49. package/types/NodeResize/Node/EllipseResize.d.ts +11 -0
  50. package/types/NodeResize/Node/HtmlResize.d.ts +11 -0
  51. package/types/NodeResize/Node/RectResize.d.ts +13 -0
  52. package/types/NodeResize/index.d.ts +2 -28
  53. package/types/index.d.ts +0 -1
  54. package/types/materials/group/GroupNode.d.ts +8 -0
  55. package/cjs/group-shrink/index.js +0 -213
  56. package/es/group-shrink/index.d.ts +0 -28
  57. package/es/group-shrink/index.js +0 -210
  58. package/lib/GroupShrink.js +0 -1
@@ -1 +0,0 @@
1
- !function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var e=r();for(var n in e)("object"==typeof exports?exports:t)[n]=e[n]}}(window,(function(){return function(t){var r={};function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)e.d(n,o,function(r){return t[r]}.bind(null,o));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=228)}([function(t,r,e){(function(r){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof r&&r)||function(){return this}()||Function("return this")()}).call(this,e(95))},function(t,r){var e=Function.prototype,n=e.bind,o=e.call,i=n&&n.bind(o);t.exports=n?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,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,e){var n=e(0),o=e(33),i=e(5),u=e(35),a=e(45),c=e(62),f=o("wks"),s=n.Symbol,l=s&&s.for,p=c?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!a&&"string"!=typeof f[t]){var r="Symbol."+t;a&&i(s,t)?f[t]=s[t]:f[t]=c&&l?l(r):p(r)}return f[t]}},function(t,r,e){var n=e(1),o=e(14),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},function(t,r,e){var n=e(0),o=e(25).f,i=e(16),u=e(15),a=e(42),c=e(68),f=e(72);t.exports=function(t,r){var e,s,l,p,v,h=t.target,d=t.global,y=t.stat;if(e=d?n:y?n[h]||a(h,{}):(n[h]||{}).prototype)for(s in r){if(p=r[s],l=t.noTargetGet?(v=o(e,s))&&v.value:e[s],!f(d?s:h+(y?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(e,s,p,t)}}},function(t,r,e){var n=e(3);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,e){var n=e(0),o=e(7),i=e(63),u=e(10),a=e(26),c=n.TypeError,f=Object.defineProperty;r.f=o?f:function(t,r,e){if(u(t),r=a(r),u(e),i)try{return f(t,r,e)}catch(t){}if("get"in e||"set"in e)throw c("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},function(t,r,e){var n=e(2);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},function(t,r,e){var n=e(0),o=e(9),i=n.String,u=n.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,r){var e=Function.prototype.call;t.exports=e.bind?e.bind(e):function(){return e.apply(e,arguments)}},function(t,r,e){var n=e(51),o=e(32);t.exports=function(t){return n(o(t))}},function(t,r,e){var n=e(0),o=e(2),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(n[t]):n[t]&&n[t][r]}},function(t,r,e){var n=e(0),o=e(32),i=n.Object;t.exports=function(t){return i(o(t))}},function(t,r,e){var n=e(0),o=e(2),i=e(5),u=e(16),a=e(42),c=e(38),f=e(22),s=e(52).CONFIGURABLE,l=f.get,p=f.enforce,v=String(String).split("String");(t.exports=function(t,r,e,c){var f,l=!!c&&!!c.unsafe,h=!!c&&!!c.enumerable,d=!!c&&!!c.noTargetGet,y=c&&void 0!==c.name?c.name:r;o(e)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(e,"name")||s&&e.name!==y)&&u(e,"name",y),(f=p(e)).source||(f.source=v.join("string"==typeof y?y:""))),t!==n?(l?!d&&t[r]&&(h=!0):delete t[r],h?t[r]=e:u(t,r,e)):h?t[r]=e:a(r,e)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||c(this)}))},function(t,r,e){var n=e(7),o=e(8),i=e(19);t.exports=n?function(t,r,e){return o.f(t,r,i(1,e))}:function(t,r,e){return t[r]=e,t}},function(t,r,e){var n=e(86);t.exports=function(t){return n(t.length)}},function(t,r,e){var n,o=e(10),i=e(93),u=e(46),a=e(24),c=e(106),f=e(44),s=e(29),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},h=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},d=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,r;d="undefined"!=typeof document?document.domain&&n?h(n):((r=f("iframe")).style.display="none",c.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):h(n);for(var e=u.length;e--;)delete d.prototype[u[e]];return d()};a[l]=!0,t.exports=Object.create||function(t,r){var e;return null!==t?(p.prototype=o(t),e=new p,p.prototype=null,e[l]=t):e=d(),void 0===r?e:i(e,r)}},function(t,r){t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},function(t,r,e){var n=e(1),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},,function(t,r,e){var n,o,i,u=e(97),a=e(0),c=e(1),f=e(9),s=e(16),l=e(5),p=e(41),v=e(29),h=e(24),d=a.TypeError,y=a.WeakMap;if(u||p.state){var g=p.state||(p.state=new y),b=c(g.get),x=c(g.has),j=c(g.set);n=function(t,r){if(x(g,t))throw new d("Object already initialized");return r.facade=t,j(g,t,r),r},o=function(t){return b(g,t)||{}},i=function(t){return x(g,t)}}else{var m=v("state");h[m]=!0,n=function(t,r){if(l(t,m))throw new d("Object already initialized");return r.facade=t,s(t,m,r),r},o=function(t){return l(t,m)?t[m]:{}},i=function(t){return l(t,m)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(r){var e;if(!f(r)||(e=o(r)).type!==t)throw d("Incompatible receiver, "+t+" required");return e}}}},function(t,r,e){var n=e(0),o=e(31),i=n.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},function(t,r){t.exports={}},function(t,r,e){var n=e(7),o=e(11),i=e(61),u=e(19),a=e(12),c=e(26),f=e(5),s=e(63),l=Object.getOwnPropertyDescriptor;r.f=n?l:function(t,r){if(t=a(t),r=c(r),s)try{return l(t,r)}catch(t){}if(f(t,r))return u(!o(i.f,t,r),t[r])}},function(t,r,e){var n=e(91),o=e(40);t.exports=function(t){var r=n(t,"string");return o(r)?r:r+""}},function(t,r,e){var n=e(1);t.exports=n({}.isPrototypeOf)},function(t,r){t.exports=!1},function(t,r,e){var n=e(33),o=e(35),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,r){t.exports={}},function(t,r,e){var n=e(0),o=e(43),i=e(2),u=e(20),a=e(4)("toStringTag"),c=n.Object,f="Arguments"==u(function(){return arguments}());t.exports=o?u:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=c(t),a))?e:f?u(r):"Object"==(n=u(r))&&i(r.callee)?"Arguments":n}},function(t,r,e){var n=e(0).TypeError;t.exports=function(t){if(null==t)throw n("Can't call method on "+t);return t}},function(t,r,e){var n=e(28),o=e(41);(t.exports=function(t,r){return o[t]||(o[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.19.3",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,r,e){var n=e(20);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,r,e){var n=e(1),o=0,i=Math.random(),u=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++o+i,36)}},function(t,r,e){var n=e(66),o=e(46).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},function(t,r,e){var n=e(0),o=e(2),i=e(54),u=n.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not a function")}},function(t,r,e){var n=e(1),o=e(2),i=e(41),u=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return u(t)}),t.exports=i.inspectSource},function(t,r){var e=Math.ceil,n=Math.floor;t.exports=function(t){var r=+t;return r!=r||0===r?0:(r>0?n:e)(r)}},function(t,r,e){var n=e(0),o=e(13),i=e(2),u=e(27),a=e(62),c=n.Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var r=o("Symbol");return i(r)&&u(r.prototype,c(t))}},function(t,r,e){var n=e(0),o=e(42),i=n["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,r,e){var n=e(0),o=Object.defineProperty;t.exports=function(t,r){try{o(n,t,{value:r,configurable:!0,writable:!0})}catch(e){n[t]=r}return r}},function(t,r,e){var n={};n[e(4)("toStringTag")]="z",t.exports="[object z]"===String(n)},function(t,r,e){var n=e(0),o=e(9),i=n.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,r,e){var n=e(49),o=e(3);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},function(t,r){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,r,e){var n=e(8).f,o=e(5),i=e(4)("toStringTag");t.exports=function(t,r,e){t&&!o(t=e?t:t.prototype,i)&&n(t,i,{configurable:!0,value:r})}},function(t,r,e){"use strict";var n=e(26),o=e(8),i=e(19);t.exports=function(t,r,e){var u=n(r);u in t?o.f(t,u,i(0,e)):t[u]=e}},function(t,r,e){var n,o,i=e(0),u=e(88),a=i.process,c=i.Deno,f=a&&a.versions||c&&c.version,s=f&&f.v8;s&&(o=(n=s.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&u&&(!(n=u.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=u.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},function(t,r,e){var n=e(37);t.exports=function(t,r){var e=t[r];return null==e?void 0:n(e)}},function(t,r,e){var n=e(0),o=e(1),i=e(3),u=e(20),a=n.Object,c=o("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==u(t)?c(t,""):a(t)}:a},function(t,r,e){var n=e(7),o=e(5),i=Function.prototype,u=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,f=a&&(!n||n&&u(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:f}},function(t,r,e){var n=e(39),o=Math.max,i=Math.min;t.exports=function(t,r){var e=n(t);return e<0?o(e+r,0):i(e,r)}},function(t,r,e){var n=e(0).String;t.exports=function(t){try{return n(t)}catch(t){return"Object"}}},function(t,r,e){var n=e(1),o=e(37),i=n(n.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,e){"use strict";var n=e(12),o=e(105),i=e(30),u=e(22),a=e(67),c=u.set,f=u.getterFor("Array Iterator");t.exports=a(Array,"Array",(function(t,r){c(this,{type:"Array Iterator",target:n(t),index:0,kind:r})}),(function(){var t=f(this),r=t.target,e=t.kind,n=t.index++;return!r||n>=r.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==e?{value:n,done:!1}:"values"==e?{value:r[n],done:!1}:{value:[n,r[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,r,e){var n=e(55),o=e(1),i=e(51),u=e(14),a=e(17),c=e(69),f=o([].push),s=function(t){var r=1==t,e=2==t,o=3==t,s=4==t,l=6==t,p=7==t,v=5==t||l;return function(h,d,y,g){for(var b,x,j=u(h),m=i(j),O=n(d,y),_=a(m),w=0,S=g||c,P=r?S(h,_):e||p?S(h,0):void 0;_>w;w++)if((v||w in m)&&(x=O(b=m[w],w,j),t))if(r)P[w]=x;else if(x)switch(t){case 3:return!0;case 5:return b;case 6:return w;case 2:f(P,b)}else switch(t){case 4:return!1;case 7:f(P,b)}return l?-1:o||s?s:P}};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,e){var n=e(1),o=e(3),i=e(2),u=e(31),a=e(13),c=e(38),f=function(){},s=[],l=a("Reflect","construct"),p=/^\s*(?:class|function)\b/,v=n(p.exec),h=!p.exec(f),d=function(t){if(!i(t))return!1;try{return l(f,s,t),!0}catch(t){return!1}};t.exports=!l||o((function(){var t;return d(d.call)||!d(Object)||!d((function(){t=!0}))||t}))?function(t){if(!i(t))return!1;switch(u(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return h||!!v(p,c(t))}:d},function(t,r,e){var n=e(66),o=e(46);t.exports=Object.keys||function(t){return n(t,o)}},function(t,r,e){var n=e(43),o=e(15),i=e(99);n||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,r,e){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);r.f=i?function(t){var r=o(this,t);return!!r&&r.enumerable}:n},function(t,r,e){var n=e(45);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,r,e){var n=e(7),o=e(3),i=e(44);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,r){r.f=Object.getOwnPropertySymbols},function(t,r,e){var n=e(0),o=e(5),i=e(2),u=e(14),a=e(29),c=e(102),f=a("IE_PROTO"),s=n.Object,l=s.prototype;t.exports=c?s.getPrototypeOf:function(t){var r=u(t);if(o(r,f))return r[f];var e=r.constructor;return i(e)&&r instanceof e?e.prototype:r instanceof s?l:null}},function(t,r,e){var n=e(1),o=e(5),i=e(12),u=e(89).indexOf,a=e(24),c=n([].push);t.exports=function(t,r){var e,n=i(t),f=0,s=[];for(e in n)!o(a,e)&&o(n,e)&&c(s,e);for(;r.length>f;)o(n,e=r[f++])&&(~u(s,e)||c(s,e));return s}},function(t,r,e){"use strict";var n=e(6),o=e(11),i=e(28),u=e(52),a=e(2),c=e(108),f=e(65),s=e(80),l=e(47),p=e(16),v=e(15),h=e(4),d=e(30),y=e(75),g=u.PROPER,b=u.CONFIGURABLE,x=y.IteratorPrototype,j=y.BUGGY_SAFARI_ITERATORS,m=h("iterator"),O=function(){return this};t.exports=function(t,r,e,u,h,y,_){c(e,r,u);var w,S,P,A=function(t){if(t===h&&N)return N;if(!j&&t in I)return I[t];switch(t){case"keys":case"values":case"entries":return function(){return new e(this,t)}}return function(){return new e(this)}},E=r+" Iterator",k=!1,I=t.prototype,T=I[m]||I["@@iterator"]||h&&I[h],N=!j&&T||A(h),M="Array"==r&&I.entries||T;if(M&&(w=f(M.call(new t)))!==Object.prototype&&w.next&&(i||f(w)===x||(s?s(w,x):a(w[m])||v(w,m,O)),l(w,E,!0,!0),i&&(d[E]=O)),g&&"values"==h&&T&&"values"!==T.name&&(!i&&b?p(I,"name","values"):(k=!0,N=function(){return o(T,this)})),h)if(S={values:A("values"),keys:y?N:A("keys"),entries:A("entries")},_)for(P in S)(j||k||!(P in I))&&v(I,P,S[P]);else n({target:r,proto:!0,forced:j||k},S);return i&&!_||I[m]===N||v(I,m,N,{name:h}),d[r]=N,S}},function(t,r,e){var n=e(5),o=e(85),i=e(25),u=e(8);t.exports=function(t,r){for(var e=o(r),a=u.f,c=i.f,f=0;f<e.length;f++){var s=e[f];n(t,s)||a(t,s,c(r,s))}}},function(t,r,e){var n=e(98);t.exports=function(t,r){return new(n(t))(0===r?0:r)}},function(t,r,e){"use strict";var n=e(104).charAt,o=e(23),i=e(22),u=e(67),a=i.set,c=i.getterFor("String Iterator");u(String,"String",(function(t){a(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,r=c(this),e=r.string,o=r.index;return o>=e.length?{value:void 0,done:!0}:(t=n(e,o),r.index+=t.length,{value:t,done:!1})}))},function(t,r,e){"use strict";var n=e(6),o=e(0),i=e(13),u=e(92),a=e(11),c=e(1),f=e(28),s=e(7),l=e(45),p=e(3),v=e(5),h=e(34),d=e(2),y=e(9),g=e(27),b=e(40),x=e(10),j=e(14),m=e(12),O=e(26),_=e(23),w=e(19),S=e(18),P=e(59),A=e(36),E=e(103),k=e(64),I=e(25),T=e(8),N=e(61),M=e(78),L=e(15),R=e(33),F=e(29),D=e(24),G=e(35),z=e(4),C=e(84),B=e(87),$=e(47),U=e(22),V=e(57).forEach,W=F("hidden"),Y=z("toPrimitive"),H=U.set,X=U.getterFor("Symbol"),q=Object.prototype,K=o.Symbol,J=K&&K.prototype,Q=o.TypeError,Z=o.QObject,tt=i("JSON","stringify"),rt=I.f,et=T.f,nt=E.f,ot=N.f,it=c([].push),ut=R("symbols"),at=R("op-symbols"),ct=R("string-to-symbol-registry"),ft=R("symbol-to-string-registry"),st=R("wks"),lt=!Z||!Z.prototype||!Z.prototype.findChild,pt=s&&p((function(){return 7!=S(et({},"a",{get:function(){return et(this,"a",{value:7}).a}})).a}))?function(t,r,e){var n=rt(q,r);n&&delete q[r],et(t,r,e),n&&t!==q&&et(q,r,n)}:et,vt=function(t,r){var e=ut[t]=S(J);return H(e,{type:"Symbol",tag:t,description:r}),s||(e.description=r),e},ht=function(t,r,e){t===q&&ht(at,r,e),x(t);var n=O(r);return x(e),v(ut,n)?(e.enumerable?(v(t,W)&&t[W][n]&&(t[W][n]=!1),e=S(e,{enumerable:w(0,!1)})):(v(t,W)||et(t,W,w(1,{})),t[W][n]=!0),pt(t,n,e)):et(t,n,e)},dt=function(t,r){x(t);var e=m(r),n=P(e).concat(xt(e));return V(n,(function(r){s&&!a(yt,e,r)||ht(t,r,e[r])})),t},yt=function(t){var r=O(t),e=a(ot,this,r);return!(this===q&&v(ut,r)&&!v(at,r))&&(!(e||!v(this,r)||!v(ut,r)||v(this,W)&&this[W][r])||e)},gt=function(t,r){var e=m(t),n=O(r);if(e!==q||!v(ut,n)||v(at,n)){var o=rt(e,n);return!o||!v(ut,n)||v(e,W)&&e[W][n]||(o.enumerable=!0),o}},bt=function(t){var r=nt(m(t)),e=[];return V(r,(function(t){v(ut,t)||v(D,t)||it(e,t)})),e},xt=function(t){var r=t===q,e=nt(r?at:m(t)),n=[];return V(e,(function(t){!v(ut,t)||r&&!v(q,t)||it(n,ut[t])})),n};(l||(L(J=(K=function(){if(g(J,this))throw Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?_(arguments[0]):void 0,r=G(t),e=function(t){this===q&&a(e,at,t),v(this,W)&&v(this[W],r)&&(this[W][r]=!1),pt(this,r,w(1,t))};return s&&lt&&pt(q,r,{configurable:!0,set:e}),vt(r,t)}).prototype,"toString",(function(){return X(this).tag})),L(K,"withoutSetter",(function(t){return vt(G(t),t)})),N.f=yt,T.f=ht,I.f=gt,A.f=E.f=bt,k.f=xt,C.f=function(t){return vt(z(t),t)},s&&(et(J,"description",{configurable:!0,get:function(){return X(this).description}}),f||L(q,"propertyIsEnumerable",yt,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:K}),V(P(st),(function(t){B(t)})),n({target:"Symbol",stat:!0,forced:!l},{for:function(t){var r=_(t);if(v(ct,r))return ct[r];var e=K(r);return ct[r]=e,ft[e]=r,e},keyFor:function(t){if(!b(t))throw Q(t+" is not a symbol");if(v(ft,t))return ft[t]},useSetter:function(){lt=!0},useSimple:function(){lt=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(t,r){return void 0===r?S(t):dt(S(t),r)},defineProperty:ht,defineProperties:dt,getOwnPropertyDescriptor:gt}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:bt,getOwnPropertySymbols:xt}),n({target:"Object",stat:!0,forced:p((function(){k.f(1)}))},{getOwnPropertySymbols:function(t){return k.f(j(t))}}),tt)&&n({target:"JSON",stat:!0,forced:!l||p((function(){var t=K();return"[null]"!=tt([t])||"{}"!=tt({a:t})||"{}"!=tt(Object(t))}))},{stringify:function(t,r,e){var n=M(arguments),o=r;if((y(r)||void 0!==t)&&!b(t))return h(r)||(r=function(t,r){if(d(o)&&(r=a(o,this,t,r)),!b(r))return r}),n[1]=r,u(tt,null,n)}});if(!J[Y]){var jt=J.valueOf;L(J,Y,(function(t){return a(jt,this)}))}$(K,"Symbol"),D[W]=!0},function(t,r,e){var n=e(3),o=e(2),i=/#|\.prototype\./,u=function(t,r){var e=c[a(t)];return e==s||e!=f&&(o(r)?n(r):!!r)},a=u.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=u.data={},f=u.NATIVE="N",s=u.POLYFILL="P";t.exports=u},function(t,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,e){var n=e(44)("span").classList,o=n&&n.constructor&&n.constructor.prototype;t.exports=o===Object.prototype?void 0:o},function(t,r,e){"use strict";var n,o,i,u=e(3),a=e(2),c=e(18),f=e(65),s=e(15),l=e(4),p=e(28),v=l("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(n=o):h=!0),null==n||u((function(){var t={};return n[v].call(t)!==t}))?n={}:p&&(n=c(n)),a(n[v])||s(n,v,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},function(t,r,e){var n=e(0),o=e(73),i=e(74),u=e(56),a=e(16),c=e(4),f=c("iterator"),s=c("toStringTag"),l=u.values,p=function(t,r){if(t){if(t[f]!==l)try{a(t,f,l)}catch(r){t[f]=l}if(t[s]||a(t,s,r),o[r])for(var e in u)if(t[e]!==u[e])try{a(t,e,u[e])}catch(r){t[e]=u[e]}}};for(var v in o)p(n[v]&&n[v].prototype,v);p(i,"DOMTokenList")},function(t,r,e){var n=e(3),o=e(4),i=e(49),u=o("species");t.exports=function(t){return i>=51||!n((function(){var r=[];return(r.constructor={})[u]=function(){return{foo:1}},1!==r[t](Boolean).foo}))}},function(t,r,e){var n=e(1);t.exports=n([].slice)},function(t,r,e){var n=e(6),o=e(7);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:e(8).f})},function(t,r,e){var n=e(1),o=e(10),i=e(109);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(e,[]),r=e instanceof Array}catch(t){}return function(e,n){return o(e),i(n),r?t(e,n):e.__proto__=n,e}}():void 0)},function(t,r,e){"use strict";var n=e(6),o=e(7),i=e(0),u=e(1),a=e(5),c=e(2),f=e(27),s=e(23),l=e(8).f,p=e(68),v=i.Symbol,h=v&&v.prototype;if(o&&c(v)&&(!("description"in h)||void 0!==v().description)){var d={},y=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),r=f(h,this)?new v(t):void 0===t?v():v(t);return""===t&&(d[r]=!0),r};p(y,v),y.prototype=h,h.constructor=y;var g="Symbol(test)"==String(v("test")),b=u(h.toString),x=u(h.valueOf),j=/^Symbol\((.*)\)[^)]+$/,m=u("".replace),O=u("".slice);l(h,"description",{configurable:!0,get:function(){var t=x(this),r=b(t);if(a(d,t))return"";var e=g?O(r,7,-1):m(r,j,"$1");return""===e?void 0:e}}),n({global:!0,forced:!0},{Symbol:y})}},function(t,r,e){e(87)("iterator")},function(t,r,e){"use strict";var n=e(57).forEach,o=e(90)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,r,e){var n=e(4);r.f=n},function(t,r,e){var n=e(13),o=e(1),i=e(36),u=e(64),a=e(10),c=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var r=i.f(a(t)),e=u.f;return e?c(r,e(t)):r}},function(t,r,e){var n=e(39),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,r,e){var n=e(111),o=e(5),i=e(84),u=e(8).f;t.exports=function(t){var r=n.Symbol||(n.Symbol={});o(r,t)||u(r,t,{value:i.f(t)})}},function(t,r,e){var n=e(13);t.exports=n("navigator","userAgent")||""},function(t,r,e){var n=e(12),o=e(53),i=e(17),u=function(t){return function(r,e,u){var a,c=n(r),f=i(c),s=o(u,f);if(t&&e!=e){for(;f>s;)if((a=c[s++])!=a)return!0}else for(;f>s;s++)if((t||s in c)&&c[s]===e)return t||s||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},function(t,r,e){"use strict";var n=e(3);t.exports=function(t,r){var e=[][t];return!!e&&n((function(){e.call(null,r||function(){throw 1},1)}))}},function(t,r,e){var n=e(0),o=e(11),i=e(9),u=e(40),a=e(50),c=e(96),f=e(4),s=n.TypeError,l=f("toPrimitive");t.exports=function(t,r){if(!i(t)||u(t))return t;var e,n=a(t,l);if(n){if(void 0===r&&(r="default"),e=o(n,t,r),!i(e)||u(e))return e;throw s("Can't convert object to primitive value")}return void 0===r&&(r="number"),c(t,r)}},function(t,r){var e=Function.prototype,n=e.apply,o=e.bind,i=e.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?i.bind(n):function(){return i.apply(n,arguments)})},function(t,r,e){var n=e(7),o=e(8),i=e(10),u=e(12),a=e(59);t.exports=n?Object.defineProperties:function(t,r){i(t);for(var e,n=u(r),c=a(r),f=c.length,s=0;f>s;)o.f(t,e=c[s++],n[e]);return t}},function(t,r,e){var n=e(31),o=e(50),i=e(30),u=e(4)("iterator");t.exports=function(t){if(null!=t)return o(t,u)||o(t,"@@iterator")||i[n(t)]}},function(t,r){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,r,e){var n=e(0),o=e(11),i=e(2),u=e(9),a=n.TypeError;t.exports=function(t,r){var e,n;if("string"===r&&i(e=t.toString)&&!u(n=o(e,t)))return n;if(i(e=t.valueOf)&&!u(n=o(e,t)))return n;if("string"!==r&&i(e=t.toString)&&!u(n=o(e,t)))return n;throw a("Can't convert object to primitive value")}},function(t,r,e){var n=e(0),o=e(2),i=e(38),u=n.WeakMap;t.exports=o(u)&&/native code/.test(i(u))},function(t,r,e){var n=e(0),o=e(34),i=e(58),u=e(9),a=e(4)("species"),c=n.Array;t.exports=function(t){var r;return o(t)&&(r=t.constructor,(i(r)&&(r===c||o(r.prototype))||u(r)&&null===(r=r[a]))&&(r=void 0)),void 0===r?c:r}},function(t,r,e){"use strict";var n=e(43),o=e(31);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,r,e){"use strict";var n=e(6),o=e(83);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,r,e){var n=e(0),o=e(73),i=e(74),u=e(83),a=e(16),c=function(t){if(t&&t.forEach!==u)try{a(t,"forEach",u)}catch(r){t.forEach=u}};for(var f in o)o[f]&&c(n[f]&&n[f].prototype);c(i)},function(t,r,e){var n=e(3);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,r,e){var n=e(20),o=e(12),i=e(36).f,u=e(107),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"Window"==n(t)?function(t){try{return i(t)}catch(t){return u(a)}}(t):i(o(t))}},function(t,r,e){var n=e(1),o=e(39),i=e(23),u=e(32),a=n("".charAt),c=n("".charCodeAt),f=n("".slice),s=function(t){return function(r,e){var n,s,l=i(u(r)),p=o(e),v=l.length;return p<0||p>=v?t?"":void 0:(n=c(l,p))<55296||n>56319||p+1===v||(s=c(l,p+1))<56320||s>57343?t?a(l,p):n:t?f(l,p,p+2):s-56320+(n-55296<<10)+65536}};t.exports={codeAt:s(!1),charAt:s(!0)}},function(t,r,e){var n=e(4),o=e(18),i=e(8),u=n("unscopables"),a=Array.prototype;null==a[u]&&i.f(a,u,{configurable:!0,value:o(null)}),t.exports=function(t){a[u][t]=!0}},function(t,r,e){var n=e(13);t.exports=n("document","documentElement")},function(t,r,e){var n=e(0),o=e(53),i=e(17),u=e(48),a=n.Array,c=Math.max;t.exports=function(t,r,e){for(var n=i(t),f=o(r,n),s=o(void 0===e?n:e,n),l=a(c(s-f,0)),p=0;f<s;f++,p++)u(l,p,t[f]);return l.length=p,l}},function(t,r,e){"use strict";var n=e(75).IteratorPrototype,o=e(18),i=e(19),u=e(47),a=e(30),c=function(){return this};t.exports=function(t,r,e,f){var s=r+" Iterator";return t.prototype=o(n,{next:i(+!f,e)}),u(t,s,!1,!0),a[s]=c,t}},function(t,r,e){var n=e(0),o=e(2),i=n.String,u=n.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw u("Can't set "+i(t)+" as a prototype")}},function(t,r,e){"use strict";var n,o,i=e(11),u=e(1),a=e(23),c=e(123),f=e(124),s=e(33),l=e(18),p=e(22).get,v=e(128),h=e(129),d=s("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,g=y,b=u("".charAt),x=u("".indexOf),j=u("".replace),m=u("".slice),O=(o=/b*/g,i(y,n=/a/,"a"),i(y,o,"a"),0!==n.lastIndex||0!==o.lastIndex),_=f.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];(O||w||_||v||h)&&(g=function(t){var r,e,n,o,u,f,s,v=this,h=p(v),S=a(t),P=h.raw;if(P)return P.lastIndex=v.lastIndex,r=i(g,P,S),v.lastIndex=P.lastIndex,r;var A=h.groups,E=_&&v.sticky,k=i(c,v),I=v.source,T=0,N=S;if(E&&(k=j(k,"y",""),-1===x(k,"g")&&(k+="g"),N=m(S,v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&"\n"!==b(S,v.lastIndex-1))&&(I="(?: "+I+")",N=" "+N,T++),e=new RegExp("^(?:"+I+")",k)),w&&(e=new RegExp("^"+I+"$(?!\\s)",k)),O&&(n=v.lastIndex),o=i(y,E?e:v,N),E?o?(o.input=m(o.input,T),o[0]=m(o[0],T),o.index=v.lastIndex,v.lastIndex+=o[0].length):v.lastIndex=0:O&&o&&(v.lastIndex=v.global?o.index+o[0].length:n),w&&o&&o.length>1&&i(d,o[0],e,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(o[u]=void 0)})),o&&A)for(o.groups=f=l(null),u=0;u<A.length;u++)f[(s=A[u])[0]]=o[s[1]];return o}),t.exports=g},function(t,r,e){var n=e(0);t.exports=n},function(t,r,e){var n=e(4),o=e(30),i=n("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||u[i]===t)}},function(t,r,e){var n=e(0),o=e(11),i=e(37),u=e(10),a=e(54),c=e(94),f=n.TypeError;t.exports=function(t,r){var e=arguments.length<2?c(t):r;if(i(e))return u(o(e,t));throw f(a(t)+" is not iterable")}},function(t,r,e){var n=e(11),o=e(10),i=e(50);t.exports=function(t,r,e){var u,a;o(t);try{if(!(u=i(t,"return"))){if("throw"===r)throw e;return e}u=n(u,t)}catch(t){a=!0,u=t}if("throw"===r)throw e;if(a)throw u;return o(u),e}},function(t,r,e){var n=e(4)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[n]=function(){return this},Array.from(u,(function(){throw 2}))}catch(t){}t.exports=function(t,r){if(!r&&!o)return!1;var e=!1;try{var i={};i[n]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}},function(t,r,e){var n=e(6),o=e(3),i=e(12),u=e(25).f,a=e(7),c=o((function(){u(1)}));n({target:"Object",stat:!0,forced:!a||c,sham:!a},{getOwnPropertyDescriptor:function(t,r){return u(i(t),r)}})},function(t,r,e){"use strict";var n=e(6),o=e(110);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(t,r,e){"use strict";var n=e(6),o=e(0),i=e(3),u=e(34),a=e(9),c=e(14),f=e(17),s=e(48),l=e(69),p=e(77),v=e(4),h=e(49),d=v("isConcatSpreadable"),y=o.TypeError,g=h>=51||!i((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),b=p("concat"),x=function(t){if(!a(t))return!1;var r=t[d];return void 0!==r?!!r:u(t)};n({target:"Array",proto:!0,forced:!g||!b},{concat:function(t){var r,e,n,o,i,u=c(this),a=l(u,0),p=0;for(r=-1,n=arguments.length;r<n;r++)if(x(i=-1===r?u:arguments[r])){if(p+(o=f(i))>9007199254740991)throw y("Maximum allowed index exceeded");for(e=0;e<o;e++,p++)e in i&&s(a,p,i[e])}else{if(p>=9007199254740991)throw y("Maximum allowed index exceeded");s(a,p++,i)}return a.length=p,a}})},,,,,function(t,r,e){"use strict";var n=e(10);t.exports=function(){var t=n(this),r="";return t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.sticky&&(r+="y"),r}},function(t,r,e){var n=e(3),o=e(0).RegExp,i=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),u=i||n((function(){return!o("a","y").sticky})),a=i||n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:a,MISSED_STICKY:u,UNSUPPORTED_Y:i}},,,function(t,r,e){var n=e(6),o=e(14),i=e(59);n({target:"Object",stat:!0,forced:e(3)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},function(t,r,e){var n=e(3),o=e(0).RegExp;t.exports=n((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},function(t,r,e){var n=e(3),o=e(0).RegExp;t.exports=n((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},,function(t,r,e){var n=e(6),o=e(133);n({target:"Array",stat:!0,forced:!e(115)((function(t){Array.from(t)}))},{from:o})},,function(t,r,e){"use strict";var n=e(0),o=e(55),i=e(11),u=e(14),a=e(134),c=e(112),f=e(58),s=e(17),l=e(48),p=e(113),v=e(94),h=n.Array;t.exports=function(t){var r=u(t),e=f(this),n=arguments.length,d=n>1?arguments[1]:void 0,y=void 0!==d;y&&(d=o(d,n>2?arguments[2]:void 0));var g,b,x,j,m,O,_=v(r),w=0;if(!_||this==h&&c(_))for(g=s(r),b=e?new this(g):h(g);g>w;w++)O=y?d(r[w],w):r[w],l(b,w,O);else for(m=(j=p(r,_)).next,b=e?new this:[];!(x=i(m,j)).done;w++)O=y?a(j,d,[x.value,w],!0):x.value,l(b,w,O);return b.length=w,b}},function(t,r,e){var n=e(10),o=e(114);t.exports=function(t,r,e,i){try{return i?r(n(e)[0],e[1]):r(e)}catch(r){o(t,"throw",r)}}},function(t,r,e){"use strict";var n=e(6),o=e(57).filter;n({target:"Array",proto:!0,forced:!e(77)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,r,e){var n=e(6),o=e(7),i=e(85),u=e(12),a=e(25),c=e(48);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var r,e,n=u(t),o=a.f,f=i(n),s={},l=0;f.length>l;)void 0!==(e=o(n,r=f[l++]))&&c(s,r,e);return s}})},function(t,r,e){var n=e(6),o=e(7);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:e(93)})},function(t,r,e){e(6)({target:"Array",stat:!0},{isArray:e(34)})},function(t,r,e){"use strict";var n=e(6),o=e(0),i=e(34),u=e(58),a=e(9),c=e(53),f=e(17),s=e(12),l=e(48),p=e(4),v=e(77),h=e(78),d=v("slice"),y=p("species"),g=o.Array,b=Math.max;n({target:"Array",proto:!0,forced:!d},{slice:function(t,r){var e,n,o,p=s(this),v=f(p),d=c(t,v),x=c(void 0===r?v:r,v);if(i(p)&&(e=p.constructor,(u(e)&&(e===g||i(e.prototype))||a(e)&&null===(e=e[y]))&&(e=void 0),e===g||void 0===e))return h(p,d,x);for(n=new(void 0===e?g:e)(b(x-d,0)),o=0;d<x;d++,o++)d in p&&l(n,o,p[d]);return n.length=o,n}})},function(t,r,e){var n=e(7),o=e(52).EXISTS,i=e(1),u=e(8).f,a=Function.prototype,c=i(a.toString),f=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(f.exec);n&&!o&&u(a,"name",{configurable:!0,get:function(){try{return s(f,c(this))[1]}catch(t){return""}}})},function(t,r,e){"use strict";var n=e(179),o="object"==typeof self&&self&&self.Object===Object&&self,i=n.a||o||Function("return this")();r.a=i},,,,,,,,,,,,,function(t,r,e){"use strict";var n=e(6),o=e(1),i=e(89).indexOf,u=e(90),a=o([].indexOf),c=!!a&&1/a([1],1,-0)<0,f=u("indexOf");n({target:"Array",proto:!0,forced:c||!f},{indexOf:function(t){var r=arguments.length>1?arguments[1]:void 0;return c?a(this,t,r)||0:i(this,t,r)}})},,,,,,,,,,,,,,,,,,,,,,function(t,r,e){"use strict";(function(t){var n=e(141),o=e(192),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,u=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=u&&u.exports===i?n.a.Buffer:void 0,c=(a?a.isBuffer:void 0)||o.a;r.a=c}).call(this,e(191)(t))},,,function(t,r,e){"use strict";(function(t){var e="object"==typeof t&&t&&t.Object===Object&&t;r.a=e}).call(this,e(95))},,,,,,,,function(t,r,e){"use strict";(function(t){var n=e(179),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,u=i&&i.exports===o&&n.a.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||u&&u.binding&&u.binding("util")}catch(t){}}();r.a=a}).call(this,e(191)(t))},,,,function(t,r){t.exports=function(t){if(!t.webpackPolyfill){var r=Object.create(t);r.children||(r.children=[]),Object.defineProperty(r,"loaded",{enumerable:!0,get:function(){return r.l}}),Object.defineProperty(r,"id",{enumerable:!0,get:function(){return r.i}}),Object.defineProperty(r,"exports",{enumerable:!0}),r.webpackPolyfill=1}return r}},function(t,r,e){"use strict";r.a=function(){return!1}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,r,e){"use strict";e.r(r),e.d(r,"GroupShrink",(function(){return de}));e(100),e(60),e(101),e(118),e(154),e(79),e(138),e(71),e(81),e(82),e(56),e(70),e(76),e(131),e(139),e(140),e(117),e(127),e(135),e(116),e(136),e(137);var n=function(){this.__data__=[],this.size=0};var o=function(t,r){return t===r||t!=t&&r!=r};var i=function(t,r){for(var e=t.length;e--;)if(o(t[e][0],r))return e;return-1},u=Array.prototype.splice;var a=function(t){var r=this.__data__,e=i(r,t);return!(e<0)&&(e==r.length-1?r.pop():u.call(r,e,1),--this.size,!0)};var c=function(t){var r=this.__data__,e=i(r,t);return e<0?void 0:r[e][1]};var f=function(t){return i(this.__data__,t)>-1};var s=function(t,r){var e=this.__data__,n=i(e,t);return n<0?(++this.size,e.push([t,r])):e[n][1]=r,this};function l(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=a,l.prototype.get=c,l.prototype.has=f,l.prototype.set=s;var p=l;var v=function(){this.__data__=new p,this.size=0};var h=function(t){var r=this.__data__,e=r.delete(t);return this.size=r.size,e};var d=function(t){return this.__data__.get(t)};var y=function(t){return this.__data__.has(t)},g=e(141),b=g.a.Symbol,x=Object.prototype,j=x.hasOwnProperty,m=x.toString,O=b?b.toStringTag:void 0;var _=function(t){var r=j.call(t,O),e=t[O];try{t[O]=void 0;var n=!0}catch(t){}var o=m.call(t);return n&&(r?t[O]=e:delete t[O]),o},w=Object.prototype.toString;var S=function(t){return w.call(t)},P=b?b.toStringTag:void 0;var A=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":P&&P in Object(t)?_(t):S(t)};var E=function(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)};var k,I=function(t){if(!E(t))return!1;var r=A(t);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r},T=g.a["__core-js_shared__"],N=(k=/[^.]+$/.exec(T&&T.keys&&T.keys.IE_PROTO||""))?"Symbol(src)_1."+k:"";var M=function(t){return!!N&&N in t},L=Function.prototype.toString;var R=function(t){if(null!=t){try{return L.call(t)}catch(t){}try{return t+""}catch(t){}}return""},F=/^\[object .+?Constructor\]$/,D=Function.prototype,G=Object.prototype,z=D.toString,C=G.hasOwnProperty,B=RegExp("^"+z.call(C).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var $=function(t){return!(!E(t)||M(t))&&(I(t)?B:F).test(R(t))};var U=function(t,r){return null==t?void 0:t[r]};var V=function(t,r){var e=U(t,r);return $(e)?e:void 0},W=V(g.a,"Map"),Y=V(Object,"create");var H=function(){this.__data__=Y?Y(null):{},this.size=0};var X=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r},q=Object.prototype.hasOwnProperty;var K=function(t){var r=this.__data__;if(Y){var e=r[t];return"__lodash_hash_undefined__"===e?void 0:e}return q.call(r,t)?r[t]:void 0},J=Object.prototype.hasOwnProperty;var Q=function(t){var r=this.__data__;return Y?void 0!==r[t]:J.call(r,t)};var Z=function(t,r){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=Y&&void 0===r?"__lodash_hash_undefined__":r,this};function tt(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}tt.prototype.clear=H,tt.prototype.delete=X,tt.prototype.get=K,tt.prototype.has=Q,tt.prototype.set=Z;var rt=tt;var et=function(){this.size=0,this.__data__={hash:new rt,map:new(W||p),string:new rt}};var nt=function(t){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t};var ot=function(t,r){var e=t.__data__;return nt(r)?e["string"==typeof r?"string":"hash"]:e.map};var it=function(t){var r=ot(this,t).delete(t);return this.size-=r?1:0,r};var ut=function(t){return ot(this,t).get(t)};var at=function(t){return ot(this,t).has(t)};var ct=function(t,r){var e=ot(this,t),n=e.size;return e.set(t,r),this.size+=e.size==n?0:1,this};function ft(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}ft.prototype.clear=et,ft.prototype.delete=it,ft.prototype.get=ut,ft.prototype.has=at,ft.prototype.set=ct;var st=ft;var lt=function(t,r){var e=this.__data__;if(e instanceof p){var n=e.__data__;if(!W||n.length<199)return n.push([t,r]),this.size=++e.size,this;e=this.__data__=new st(n)}return e.set(t,r),this.size=e.size,this};function pt(t){var r=this.__data__=new p(t);this.size=r.size}pt.prototype.clear=v,pt.prototype.delete=h,pt.prototype.get=d,pt.prototype.has=y,pt.prototype.set=lt;var vt=pt;var ht=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};var dt=function(t){return this.__data__.has(t)};function yt(t){var r=-1,e=null==t?0:t.length;for(this.__data__=new st;++r<e;)this.add(t[r])}yt.prototype.add=yt.prototype.push=ht,yt.prototype.has=dt;var gt=yt;var bt=function(t,r){for(var e=-1,n=null==t?0:t.length;++e<n;)if(r(t[e],e,t))return!0;return!1};var xt=function(t,r){return t.has(r)};var jt=function(t,r,e,n,o,i){var u=1&e,a=t.length,c=r.length;if(a!=c&&!(u&&c>a))return!1;var f=i.get(t),s=i.get(r);if(f&&s)return f==r&&s==t;var l=-1,p=!0,v=2&e?new gt:void 0;for(i.set(t,r),i.set(r,t);++l<a;){var h=t[l],d=r[l];if(n)var y=u?n(d,h,l,r,t,i):n(h,d,l,t,r,i);if(void 0!==y){if(y)continue;p=!1;break}if(v){if(!bt(r,(function(t,r){if(!xt(v,r)&&(h===t||o(h,t,e,n,i)))return v.push(r)}))){p=!1;break}}else if(h!==d&&!o(h,d,e,n,i)){p=!1;break}}return i.delete(t),i.delete(r),p},mt=g.a.Uint8Array;var Ot=function(t){var r=-1,e=Array(t.size);return t.forEach((function(t,n){e[++r]=[n,t]})),e};var _t=function(t){var r=-1,e=Array(t.size);return t.forEach((function(t){e[++r]=t})),e},wt=b?b.prototype:void 0,St=wt?wt.valueOf:void 0;var Pt=function(t,r,e,n,i,u,a){switch(e){case"[object DataView]":if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)return!1;t=t.buffer,r=r.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=r.byteLength||!u(new mt(t),new mt(r)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+r);case"[object Error]":return t.name==r.name&&t.message==r.message;case"[object RegExp]":case"[object String]":return t==r+"";case"[object Map]":var c=Ot;case"[object Set]":var f=1&n;if(c||(c=_t),t.size!=r.size&&!f)return!1;var s=a.get(t);if(s)return s==r;n|=2,a.set(t,r);var l=jt(c(t),c(r),n,i,u,a);return a.delete(t),l;case"[object Symbol]":if(St)return St.call(t)==St.call(r)}return!1};var At=function(t,r){for(var e=-1,n=r.length,o=t.length;++e<n;)t[o+e]=r[e];return t},Et=Array.isArray;var kt=function(t,r,e){var n=r(t);return Et(t)?n:At(n,e(t))};var It=function(t,r){for(var e=-1,n=null==t?0:t.length,o=0,i=[];++e<n;){var u=t[e];r(u,e,t)&&(i[o++]=u)}return i};var Tt=function(){return[]},Nt=Object.prototype.propertyIsEnumerable,Mt=Object.getOwnPropertySymbols,Lt=Mt?function(t){return null==t?[]:(t=Object(t),It(Mt(t),(function(r){return Nt.call(t,r)})))}:Tt;var Rt=function(t,r){for(var e=-1,n=Array(t);++e<t;)n[e]=r(e);return n};var Ft=function(t){return null!=t&&"object"==typeof t};var Dt=function(t){return Ft(t)&&"[object Arguments]"==A(t)},Gt=Object.prototype,zt=Gt.hasOwnProperty,Ct=Gt.propertyIsEnumerable,Bt=Dt(function(){return arguments}())?Dt:function(t){return Ft(t)&&zt.call(t,"callee")&&!Ct.call(t,"callee")},$t=e(176),Ut=/^(?:0|[1-9]\d*)$/;var Vt=function(t,r){var e=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==e||"symbol"!=e&&Ut.test(t))&&t>-1&&t%1==0&&t<r};var Wt=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},Yt={};Yt["[object Float32Array]"]=Yt["[object Float64Array]"]=Yt["[object Int8Array]"]=Yt["[object Int16Array]"]=Yt["[object Int32Array]"]=Yt["[object Uint8Array]"]=Yt["[object Uint8ClampedArray]"]=Yt["[object Uint16Array]"]=Yt["[object Uint32Array]"]=!0,Yt["[object Arguments]"]=Yt["[object Array]"]=Yt["[object ArrayBuffer]"]=Yt["[object Boolean]"]=Yt["[object DataView]"]=Yt["[object Date]"]=Yt["[object Error]"]=Yt["[object Function]"]=Yt["[object Map]"]=Yt["[object Number]"]=Yt["[object Object]"]=Yt["[object RegExp]"]=Yt["[object Set]"]=Yt["[object String]"]=Yt["[object WeakMap]"]=!1;var Ht=function(t){return Ft(t)&&Wt(t.length)&&!!Yt[A(t)]};var Xt=function(t){return function(r){return t(r)}},qt=e(187),Kt=qt.a&&qt.a.isTypedArray,Jt=Kt?Xt(Kt):Ht,Qt=Object.prototype.hasOwnProperty;var Zt=function(t,r){var e=Et(t),n=!e&&Bt(t),o=!e&&!n&&Object($t.a)(t),i=!e&&!n&&!o&&Jt(t),u=e||n||o||i,a=u?Rt(t.length,String):[],c=a.length;for(var f in t)!r&&!Qt.call(t,f)||u&&("length"==f||o&&("offset"==f||"parent"==f)||i&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||Vt(f,c))||a.push(f);return a},tr=Object.prototype;var rr=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||tr)};var er=function(t,r){return function(e){return t(r(e))}}(Object.keys,Object),nr=Object.prototype.hasOwnProperty;var or=function(t){if(!rr(t))return er(t);var r=[];for(var e in Object(t))nr.call(t,e)&&"constructor"!=e&&r.push(e);return r};var ir=function(t){return null!=t&&Wt(t.length)&&!I(t)};var ur=function(t){return ir(t)?Zt(t):or(t)};var ar=function(t){return kt(t,ur,Lt)},cr=Object.prototype.hasOwnProperty;var fr=function(t,r,e,n,o,i){var u=1&e,a=ar(t),c=a.length;if(c!=ar(r).length&&!u)return!1;for(var f=c;f--;){var s=a[f];if(!(u?s in r:cr.call(r,s)))return!1}var l=i.get(t),p=i.get(r);if(l&&p)return l==r&&p==t;var v=!0;i.set(t,r),i.set(r,t);for(var h=u;++f<c;){var d=t[s=a[f]],y=r[s];if(n)var g=u?n(y,d,s,r,t,i):n(d,y,s,t,r,i);if(!(void 0===g?d===y||o(d,y,e,n,i):g)){v=!1;break}h||(h="constructor"==s)}if(v&&!h){var b=t.constructor,x=r.constructor;b==x||!("constructor"in t)||!("constructor"in r)||"function"==typeof b&&b instanceof b&&"function"==typeof x&&x instanceof x||(v=!1)}return i.delete(t),i.delete(r),v},sr=V(g.a,"DataView"),lr=V(g.a,"Promise"),pr=V(g.a,"Set"),vr=V(g.a,"WeakMap"),hr=R(sr),dr=R(W),yr=R(lr),gr=R(pr),br=R(vr),xr=A;(sr&&"[object DataView]"!=xr(new sr(new ArrayBuffer(1)))||W&&"[object Map]"!=xr(new W)||lr&&"[object Promise]"!=xr(lr.resolve())||pr&&"[object Set]"!=xr(new pr)||vr&&"[object WeakMap]"!=xr(new vr))&&(xr=function(t){var r=A(t),e="[object Object]"==r?t.constructor:void 0,n=e?R(e):"";if(n)switch(n){case hr:return"[object DataView]";case dr:return"[object Map]";case yr:return"[object Promise]";case gr:return"[object Set]";case br:return"[object WeakMap]"}return r});var jr=xr,mr=Object.prototype.hasOwnProperty;var Or=function(t,r,e,n,o,i){var u=Et(t),a=Et(r),c=u?"[object Array]":jr(t),f=a?"[object Array]":jr(r),s="[object Object]"==(c="[object Arguments]"==c?"[object Object]":c),l="[object Object]"==(f="[object Arguments]"==f?"[object Object]":f),p=c==f;if(p&&Object($t.a)(t)){if(!Object($t.a)(r))return!1;u=!0,s=!1}if(p&&!s)return i||(i=new vt),u||Jt(t)?jt(t,r,e,n,o,i):Pt(t,r,c,e,n,o,i);if(!(1&e)){var v=s&&mr.call(t,"__wrapped__"),h=l&&mr.call(r,"__wrapped__");if(v||h){var d=v?t.value():t,y=h?r.value():r;return i||(i=new vt),o(d,y,e,n,i)}}return!!p&&(i||(i=new vt),fr(t,r,e,n,o,i))};var _r=function t(r,e,n,o,i){return r===e||(null==r||null==e||!Ft(r)&&!Ft(e)?r!=r&&e!=e:Or(r,e,n,o,t,i))};var wr=function(t,r,e,n){var o=e.length,i=o,u=!n;if(null==t)return!i;for(t=Object(t);o--;){var a=e[o];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<i;){var c=(a=e[o])[0],f=t[c],s=a[1];if(u&&a[2]){if(void 0===f&&!(c in t))return!1}else{var l=new vt;if(n)var p=n(f,s,c,t,r,l);if(!(void 0===p?_r(s,f,3,n,l):p))return!1}}return!0};var Sr=function(t){return t==t&&!E(t)};var Pr=function(t){for(var r=ur(t),e=r.length;e--;){var n=r[e],o=t[n];r[e]=[n,o,Sr(o)]}return r};var Ar=function(t,r){return function(e){return null!=e&&(e[t]===r&&(void 0!==r||t in Object(e)))}};var Er=function(t){var r=Pr(t);return 1==r.length&&r[0][2]?Ar(r[0][0],r[0][1]):function(e){return e===t||wr(e,t,r)}};var kr=function(t){return"symbol"==typeof t||Ft(t)&&"[object Symbol]"==A(t)},Ir=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Tr=/^\w*$/;var Nr=function(t,r){if(Et(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!kr(t))||(Tr.test(t)||!Ir.test(t)||null!=r&&t in Object(r))};function Mr(t,r){if("function"!=typeof t||null!=r&&"function"!=typeof r)throw new TypeError("Expected a function");var e=function(){var n=arguments,o=r?r.apply(this,n):n[0],i=e.cache;if(i.has(o))return i.get(o);var u=t.apply(this,n);return e.cache=i.set(o,u)||i,u};return e.cache=new(Mr.Cache||st),e}Mr.Cache=st;var Lr=Mr;var Rr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fr=/\\(\\)?/g,Dr=function(t){var r=Lr(t,(function(t){return 500===e.size&&e.clear(),t})),e=r.cache;return r}((function(t){var r=[];return 46===t.charCodeAt(0)&&r.push(""),t.replace(Rr,(function(t,e,n,o){r.push(n?o.replace(Fr,"$1"):e||t)})),r}));var Gr=function(t,r){for(var e=-1,n=null==t?0:t.length,o=Array(n);++e<n;)o[e]=r(t[e],e,t);return o},zr=b?b.prototype:void 0,Cr=zr?zr.toString:void 0;var Br=function t(r){if("string"==typeof r)return r;if(Et(r))return Gr(r,t)+"";if(kr(r))return Cr?Cr.call(r):"";var e=r+"";return"0"==e&&1/r==-1/0?"-0":e};var $r=function(t){return null==t?"":Br(t)};var Ur=function(t,r){return Et(t)?t:Nr(t,r)?[t]:Dr($r(t))};var Vr=function(t){if("string"==typeof t||kr(t))return t;var r=t+"";return"0"==r&&1/t==-1/0?"-0":r};var Wr=function(t,r){for(var e=0,n=(r=Ur(r,t)).length;null!=t&&e<n;)t=t[Vr(r[e++])];return e&&e==n?t:void 0};var Yr=function(t,r,e){var n=null==t?void 0:Wr(t,r);return void 0===n?e:n};var Hr=function(t,r){return null!=t&&r in Object(t)};var Xr=function(t,r,e){for(var n=-1,o=(r=Ur(r,t)).length,i=!1;++n<o;){var u=Vr(r[n]);if(!(i=null!=t&&e(t,u)))break;t=t[u]}return i||++n!=o?i:!!(o=null==t?0:t.length)&&Wt(o)&&Vt(u,o)&&(Et(t)||Bt(t))};var qr=function(t,r){return null!=t&&Xr(t,r,Hr)};var Kr=function(t,r){return Nr(t)&&Sr(r)?Ar(Vr(t),r):function(e){var n=Yr(e,t);return void 0===n&&n===r?qr(e,t):_r(r,n,3)}};var Jr=function(t){return t};var Qr=function(t){return function(r){return null==r?void 0:r[t]}};var Zr=function(t){return function(r){return Wr(r,t)}};var te=function(t){return Nr(t)?Qr(Vr(t)):Zr(t)};var re=function(t){return"function"==typeof t?t:null==t?Jr:"object"==typeof t?Et(t)?Kr(t[0],t[1]):Er(t):te(t)};var ee=function(t){var r=null==t?0:t.length;return r?t[r-1]:void 0};var ne=function(t,r,e){var n=-1,o=t.length;r<0&&(r=-r>o?0:o+r),(e=e>o?o:e)<0&&(e+=o),o=r>e?0:e-r>>>0,r>>>=0;for(var i=Array(o);++n<o;)i[n]=t[n+r];return i};var oe=function(t,r){return r.length<2?t:Wr(t,ne(r,0,-1))};var ie=function(t,r){return r=Ur(r,t),null==(t=oe(t,r))||delete t[Vr(ee(r))]},ue=Array.prototype.splice;var ae=function(t,r){for(var e=t?r.length:0,n=e-1;e--;){var o=r[e];if(e==n||o!==i){var i=o;Vt(o)?ue.call(t,o,1):ie(t,o)}}return t};var ce=function(t,r){var e=[];if(!t||!t.length)return e;var n=-1,o=[],i=t.length;for(r=re(r,3);++n<i;){var u=t[n];r(u,n,t)&&(e.push(u),o.push(n))}return ae(t,o),e};function fe(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function se(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?fe(Object(e),!0).forEach((function(r){he(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):fe(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}function le(t){return function(t){if(Array.isArray(t))return pe(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,r){if(!t)return;if("string"==typeof t)return pe(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return pe(t,r)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pe(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}function ve(t,r){for(var e=0;e<r.length;e++){var n=r[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function he(t,r,e){return r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}var de=function(){function t(r){var e,n=this,o=r.lf;!function(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,t),he(this,"group",null),he(this,"lf",null),he(this,"shrinkWidth",100),he(this,"shrinkHeight",60),he(this,"getGraphDataWithGroup",(function(){var t=n.lf.graphModel.modelToGraphData(),r=t.nodes,e=t.edges,o=[],i=[],u=[];return r.forEach((function(t){if("group"===t.type&&t.properties.shrinkProperty&&t.properties.shrinkProperty){var r=t.properties.shrinkProperty,e=r.shrinked,n=r.groupNode,a=r.innerNodes,c=r.innerEdges;e&&(t=n,o=[].concat(le(o),le(a)),i=[].concat(le(i),le(c)),u.push(n.id))}})),u.length&&ce(e,(function(t){var r=t.sourceNodeId,e=t.targetNodeId;return u.indexOf(r)>-1||u.indexOf(e)>-1})),{nodes:[].concat(le(r),le(o)),edges:[].concat(le(e),le(i))}})),this.lf=o,this.lf.extension=se(se({},null!==(e=this.lf.extension)&&void 0!==e?e:{}),{},{groupShrink:this}),this.lf.getGraphData=this.getGraphDataWithGroup}var r,e,n;return r=t,(e=[{key:"startShrink",value:function(t){var r=this;if("group"!==t.type)throw new Error("Only groupNode can be shrinked!");this.group=t;var e=this.lf.getNodeModelById(t.id),n=e.getProperties().shrinkProperty;if(n&&n.shrinked)throw new Error("GroupNode which is shrinked cannot be shrinked again!");var o={shrinked:!0,groupNode:se({},this.group),innerNodes:[],innerEdges:[]},i=[],u=[],a=[],c=null,f=null;if(this.group&&this.group.children&&this.group.children.length){var s=this.getGroupEdges();i=s.newEdges,a=s.innerEdges;var l=this.getGroupNodes();u=l.innerNodes,c=l.minX,f=l.minY}o.innerNodes=u,o.innerEdges=a,this.lf.setProperties(this.group.id,{shrinkProperty:o}),e.x=c||this.group.x,e.y=f||this.group.y,e.width=this.shrinkWidth,e.height=this.shrinkHeight,i.forEach((function(t){r.lf.addEdge(t)}))}},{key:"startExpand",value:function(t){var r=this;this.group=t;var e=this.lf.getNodeModelById(t.id).getProperties().shrinkProperty,n=void 0===e?{}:e,o=n.shrinked,i=n.groupNode,u=n.innerNodes,a=n.innerEdges;if(!o)throw new Error("GroupNode which is not shrinked cannot be expanded");this.lf.deleteNode(t.id),this.lf.addNode(i),u.forEach((function(t){r.lf.addNode(t)})),a.forEach((function(t){r.lf.addEdge(t)})),this.lf.setProperties(t.id,{shrinkProperty:{shrinked:!1}})}},{key:"getGroupEdges",value:function(){var t=this,r=this.lf.graphModel.modelToGraphData().edges,e=this.group.children,n=[],o=[];return r.forEach((function(r){var i=e.indexOf(r.sourceNodeId)>-1,u=e.indexOf(r.targetNodeId)>-1;(i||u)&&(n.push(r),i&&!u&&o.push({sourceNodeId:t.group.id,targetNodeId:r.targetNodeId}),!i&&u&&o.push({sourceNodeId:r.sourceNodeId,targetNodeId:t.group.id}),t.lf.deleteEdge(r.id))})),{innerEdges:n,newEdges:o}}},{key:"getGroupNodes",value:function(){var t=this,r=[],e=this.lf.graphModel.modelToGraphData().nodes,n=this.group.children,o=null,i=null;return e.forEach((function(e){n.indexOf(e.id)>-1&&(r.push(e),(!o||e.x<o)&&(!i||e.y<i)&&(o=e.x,i=e.y),t.lf.deleteNode(e.id))})),{innerNodes:r,minX:o,minY:i}}}])&&ve(r.prototype,e),n&&ve(r,n),t}();he(de,"pluginName","group-shrink")}])}));