n8n-editor-ui 1.62.2 → 1.63.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/dist/assets/@jsplumb/{browser-ui-BphmFVJY.js → browser-ui-D3WTv2iL.js} +41 -76
  2. package/dist/assets/@jsplumb/{common-s1StEx7B.js → common-Cn2WooAp.js} +3 -6
  3. package/dist/assets/@jsplumb/{connector-bezier-D659hq4c.js → connector-bezier-BsoOTqok.js} +16 -29
  4. package/dist/assets/@jsplumb/{core-B__RSZHf.js → core-DLCSr9D4.js} +33 -57
  5. package/dist/assets/@jsplumb/{util-BwtpiQ4c.js → util-DggqnqQo.js} +12 -24
  6. package/dist/assets/@lezer/{common-CnY9etib.js → common-Bs5t-XhT.js} +93 -97
  7. package/dist/assets/@n8n/api-types-Clq_Leox.js +1 -0
  8. package/dist/assets/@n8n/{codemirror-lang-CIGGB1t0.js → codemirror-lang-Bizw8G99.js} +168 -196
  9. package/dist/assets/@n8n/{codemirror-lang-sql-Bygy_eOg.js → codemirror-lang-sql-C9sfSTUi.js} +61 -65
  10. package/dist/assets/@sentry/{vue-UFuYeDxK.js → vue-By9cUXYj.js} +217 -261
  11. package/dist/assets/@vue-flow/{background-VFdKMN89.js → background-B1J8rodd.js} +2 -2
  12. package/dist/assets/@vue-flow/{controls-ByUYVWad.js → controls-B4bXJQnK.js} +2 -2
  13. package/dist/assets/@vue-flow/{core-DgOSPOHv.js → core-tETEFGtP.js} +3116 -3001
  14. package/dist/assets/@vue-flow/{minimap-CXuyA5pl.js → minimap-CGW7BbeH.js} +13 -7
  15. package/dist/assets/@vue-flow/{node-resizer-BiyXe9J3.js → node-resizer-C7hxX6Ea.js} +2 -2
  16. package/dist/assets/@vueuse/{core-DVjv2hwE.js → core-BTO0AmLR.js} +5 -8
  17. package/dist/assets/{AnnotationTagsDropdown.ee-DCIPUepk.js → AnnotationTagsDropdown.ee-CEthDL8s.js} +4 -5
  18. package/dist/assets/{AuthView-DUPyWTzP.js → AuthView-Dtllm2Hm.js} +4 -4
  19. package/dist/assets/{CanvasControls-Bp-Hti67.js → CanvasControls-3e7GyyWC.js} +27 -27
  20. package/dist/assets/{ChangePasswordView-D-ZXDCSs.js → ChangePasswordView-RbBzZKmy.js} +30 -32
  21. package/dist/assets/{CredentialsView-CfTFJvIh.js → CredentialsView-BEobbBhB.js} +217 -212
  22. package/dist/assets/{ErrorView-QGaMA0LX.js → ErrorView-Dig_858_.js} +27 -27
  23. package/dist/assets/{ExecutionsFilter-Bck1b8Ij.js → ExecutionsFilter-D4gTpteQ.js} +4 -4
  24. package/dist/assets/{ExecutionsView-CzoIB_Xb.js → ExecutionsView-BzDdfbTp.js} +30 -30
  25. package/dist/assets/{FixedCollectionParameter-lpg6xB-C.js → FixedCollectionParameter-B1iBnOzV.js} +27 -27
  26. package/dist/assets/{ForgotMyPasswordView-CuYZWaqe.js → ForgotMyPasswordView-DrecvRAt.js} +28 -28
  27. package/dist/assets/{MainHeader-CyQZuyFo.js → MainHeader-BGBc_yGt.js} +45 -52
  28. package/dist/assets/{MainHeader-PNFUlNPa.css → MainHeader-m131IPYi.css} +9 -9
  29. package/dist/assets/{MainSidebar-K1l1zimY.js → MainSidebar-CGoARd9G.js} +28 -28
  30. package/dist/assets/{NodeCreation-BwNEef4i.js → NodeCreation-CJ4p9t6U.js} +14 -21
  31. package/dist/assets/{NodeCreator-B8E-cqcN.js → NodeCreator-MlJNsM5w.js} +68 -94
  32. package/dist/assets/{NodeViewSwitcher-DZNvWE_C.css → NodeViewSwitcher-BMWd0Gm9.css} +166 -128
  33. package/dist/assets/{NodeViewSwitcher-BiAFccgP.js → NodeViewSwitcher-CPwqYIKa.js} +647 -632
  34. package/dist/assets/{ProjectCardBadge-Bm4smn6X.js → ProjectCardBadge-Dsi1FktR.js} +2 -2
  35. package/dist/assets/{ProjectSettings-C0vFQjA7.js → ProjectSettings-NxkU_5Cm.js} +29 -30
  36. package/dist/assets/{ProjectTabs-BaktqVTx.js → ProjectTabs-BNt9vnB4.js} +3 -3
  37. package/dist/assets/{PushConnectionTracker-CgYWwLIC.js → PushConnectionTracker-BfyBSTsq.js} +4 -4
  38. package/dist/assets/{ResourcesListLayout-BWVlXJTF.js → ResourcesListLayout-wxQPFPh8.js} +4 -4
  39. package/dist/assets/{RunDataAi-BGOKfyvO.js → RunDataAi-BPXMLfKc.js} +11 -18
  40. package/dist/assets/{RunDataJson-Dpt6MF9e.js → RunDataJson-nHxoBXwc.js} +30 -30
  41. package/dist/assets/{RunDataJsonActions-8St1Hrls.js → RunDataJsonActions-CXjxyS8I.js} +28 -28
  42. package/dist/assets/{RunDataSearch-DSiRjRgH.js → RunDataSearch-_dTfLnCz.js} +27 -27
  43. package/dist/assets/{RunDataTable-C_7N0jmc.js → RunDataTable-Cle-Xlc9.js} +27 -27
  44. package/dist/assets/{SamlOnboarding-DZSla_S4.js → SamlOnboarding-DJd6oxdL.js} +29 -30
  45. package/dist/assets/{SettingsApiView-DT8DOVp4.js → SettingsApiView-B6K4GJFb.js} +29 -31
  46. package/dist/assets/{SettingsCommunityNodesView-CLIsL549.js → SettingsCommunityNodesView-BqLPWoe4.js} +31 -33
  47. package/dist/assets/{SettingsExternalSecrets-tTHThU03.js → SettingsExternalSecrets-hxNeJoPh.js} +28 -29
  48. package/dist/assets/{SettingsFakeDoorView-B1w2z2tW.js → SettingsFakeDoorView-B-CvApAQ.js} +27 -27
  49. package/dist/assets/{SettingsLdapView-CXjatsy2.js → SettingsLdapView-Cx9juILz.js} +31 -33
  50. package/dist/assets/{SettingsLogStreamingView-hVeF8Js7.js → SettingsLogStreamingView-DHdBwQLl.js} +31 -35
  51. package/dist/assets/{SettingsPersonalView-dPFbOBaU.js → SettingsPersonalView-BB52C_8a.js} +27 -27
  52. package/dist/assets/{SettingsSourceControl-iPHLpUWW.js → SettingsSourceControl-jvUljmfM.js} +28 -29
  53. package/dist/assets/{SettingsSso-D4kKt04i.js → SettingsSso-CtDqCHek.js} +27 -27
  54. package/dist/assets/{SettingsUsageAndPlan-DDB0UVxU.css → SettingsUsageAndPlan-B72odhIc.css} +30 -16
  55. package/dist/assets/{SettingsUsageAndPlan-DL4cSlMX.js → SettingsUsageAndPlan-DtE-8JQB.js} +110 -152
  56. package/dist/assets/{SettingsUsersView-DSKPJqAb.js → SettingsUsersView-D0fkCNqq.js} +27 -27
  57. package/dist/assets/{SettingsView-BDu7L_0_.js → SettingsView-Bdy1VVV5.js} +28 -28
  58. package/dist/assets/{SetupView-EXoXB-ik.js → SetupView-DZD5V-sp.js} +28 -28
  59. package/dist/assets/{SetupWorkflowCredentialsButton-BQelHZob.js → SetupWorkflowCredentialsButton-BniWA70J.js} +27 -27
  60. package/dist/assets/{SetupWorkflowFromTemplateView-0BtcqGD7.js → SetupWorkflowFromTemplateView-zPdNiNwz.js} +29 -29
  61. package/dist/assets/{SigninView-BaOFfcdg.js → SigninView-vhBJQAUq.js} +29 -30
  62. package/dist/assets/SignoutView-BvsyOBJl.js +57 -0
  63. package/dist/assets/{SignupView-CDCHJ_UU.js → SignupView-BnaxyfVy.js} +28 -28
  64. package/dist/assets/{TemplateDetails-CmiQhqfe.js → TemplateDetails-CgWak1sI.js} +4 -4
  65. package/dist/assets/{TemplateList-Cjfx-kvz.js → TemplateList-Dk-hIcwM.js} +3 -3
  66. package/dist/assets/{TemplatesCollectionView-BJoAQahB.js → TemplatesCollectionView-BykSqyyh.js} +31 -31
  67. package/dist/assets/{TemplatesSearchView-CcDOMLoo.js → TemplatesSearchView-Db3YPUKN.js} +30 -30
  68. package/dist/assets/{TemplatesView-S843Sfeg.js → TemplatesView-DSqSs2Fe.js} +3 -3
  69. package/dist/assets/{TemplatesWorkflowView-CJODvWh-.js → TemplatesWorkflowView-AcNIRcdH.js} +31 -31
  70. package/dist/assets/{VariablesView-CvCl_CSB.js → VariablesView-BDucuF4S.js} +29 -30
  71. package/dist/assets/{WorkerView-2i9FVRFh.js → WorkerView-Bt7mkvne.js} +33 -35
  72. package/dist/assets/{WorkflowActivator-vZvN6hnQ.js → WorkflowActivator-BBCmkXVM.js} +4 -4
  73. package/dist/assets/{WorkflowExecutionsInfoAccordion-Dat-XhDW.js → WorkflowExecutionsInfoAccordion-C1u1QoTS.js} +3 -3
  74. package/dist/assets/{WorkflowExecutionsLandingPage-BwaqELU2.js → WorkflowExecutionsLandingPage-DO0GNREn.js} +28 -28
  75. package/dist/assets/{WorkflowExecutionsPreview-CZbsi063.js → WorkflowExecutionsPreview-DKazVAlp.js} +31 -31
  76. package/dist/assets/{WorkflowExecutionsView-Dy-qrHuK.js → WorkflowExecutionsView-xQs2Ihb3.js} +33 -35
  77. package/dist/assets/{WorkflowHistory-D03vy7TN.js → WorkflowHistory-CRZhK8Sh.js} +30 -31
  78. package/dist/assets/{WorkflowOnboardingView-CnXznpEj.js → WorkflowOnboardingView-BLRc_Z_9.js} +27 -27
  79. package/dist/assets/{WorkflowPreview-Ch0qYfjN.js → WorkflowPreview-CpeWIc9m.js} +3 -3
  80. package/dist/assets/WorkflowsView-CADkCbWU.js +791 -0
  81. package/dist/assets/{axios-B4zXCSve.js → axios-BW6T4tHC.js} +12 -24
  82. package/dist/assets/{bowser-C3wWO1p5.js → bowser-CDCHPFWD.js} +16 -32
  83. package/dist/assets/{chart.js-DiBOFLDH.js → chart.js-BYpPl_l4.js} +1 -4
  84. package/dist/assets/{cloud-CxxrWb7j.js → cloud-CyEezfUz.js} +27 -27
  85. package/dist/assets/{codemirror-lang-html-n8n-COz1fWJn.js → codemirror-lang-html-n8n-BElKE4vf.js} +50 -92
  86. package/dist/assets/{dateFormatter-D2RNj1zt.js → dateFormatter-B-oph3V5.js} +1 -1
  87. package/dist/assets/{dateformat-DjCPSdAV.js → dateformat-BevCJF2z.js} +1 -1
  88. package/dist/assets/email-providers-Brdpqw-Z.js +1 -0
  89. package/dist/assets/{fast-json-stable-stringify-DSBIc8sQ.js → fast-json-stable-stringify-D9R5x91P.js} +11 -21
  90. package/dist/assets/{file-saver-Do8bJuLv.js → file-saver-Dbfm4l4I.js} +6 -11
  91. package/dist/assets/{flatted-D70IerrI.js → flatted-BLlNkUR-.js} +1 -2
  92. package/dist/assets/highlight.js-Brdpqw-Z.js +1 -0
  93. package/dist/assets/{humanize-duration-BPzNjE6S.js → humanize-duration-DdvB4QXM.js} +1 -1
  94. package/dist/assets/{index-CSBhQMYI.css → index-B5Pl_Rdy.css} +96 -21
  95. package/dist/assets/{index-B4ZmQmcP.js → index-DTqspxIG.js} +4487 -5975
  96. package/dist/assets/{jsonpath-C_2TkXL_.js → jsonpath--XXuA3UN.js} +92 -183
  97. package/dist/assets/{lodash-es-kRWQHL5K.js → lodash-es-DCRmYdQ5.js} +2 -1
  98. package/dist/assets/{luxon-Bt_g4NOb.js → luxon-N8mghSWH.js} +68 -136
  99. package/dist/assets/{n8n-2AIRllP4.css → n8n-C6KBCWah.css} +69 -27
  100. package/dist/assets/{n8n-B_ltL-ji.js → n8n-o-6nV4eX.js} +2297 -3491
  101. package/dist/assets/{pinia-CH9HlKCh.js → pinia-BWzoPyXU.js} +1 -1
  102. package/dist/assets/{prettier-DuWRKCwA.js → prettier-eWLVZldr.js} +332 -576
  103. package/dist/assets/{pushConnection.store-CUfZkZRc.js → pushConnection.store-BGMVJHP3.js} +4 -5
  104. package/dist/assets/{qrcode.vue-BxNS_c3b.js → qrcode.vue-BavVPFUM.js} +9 -18
  105. package/dist/assets/{templateActions-HBG0P7yi.js → templateActions-DOJZ_yY5.js} +1 -1
  106. package/dist/assets/{useBeforeUnload-DuM6ishT.js → useBeforeUnload-Tcm8t4ZF.js} +2 -2
  107. package/dist/assets/{useExecutionDebugging-BWhMgffE.js → useExecutionDebugging-CiwtVWXD.js} +2 -2
  108. package/dist/assets/{usePushConnection-37N3tZJ2.js → usePushConnection-CbB_XBsw.js} +7 -19
  109. package/dist/assets/{useUserHelpers-DqBuD9oN.js → useUserHelpers-CKYk9GNq.js} +1 -1
  110. package/dist/assets/{useWorkflowActivate-aYIkmCnj.js → useWorkflowActivate-C8RDXHeZ.js} +2 -2
  111. package/dist/assets/{uuid-BoySKAeK.js → uuid-DRDfXVM2.js} +2 -4
  112. package/dist/assets/{v3-infinite-loading-lAZO0HDs.js → v3-infinite-loading-CHlSsXAy.js} +1 -1
  113. package/dist/assets/{vendor-DCeaNtb_.js → vendor-D8YCjNHu.js} +18 -17
  114. package/dist/assets/{vue-agile-CyiHXD5R.js → vue-agile-Busf3nxn.js} +3 -3
  115. package/dist/assets/{vue-chartjs-CAJPqBur.js → vue-chartjs-DBNEiLG-.js} +3 -4
  116. package/dist/assets/{vue-i18n-CVQE9o3c.js → vue-i18n-CeifA_Nk.js} +2 -3
  117. package/dist/assets/{vue-json-pretty-DkJjhayc.js → vue-json-pretty-DHS8nWi_.js} +21 -40
  118. package/dist/assets/xss-Brdpqw-Z.js +1 -0
  119. package/dist/index.html +29 -29
  120. package/package.json +1 -1
  121. package/dist/assets/@n8n/api-types-Di8JQpRT.js +0 -1
  122. package/dist/assets/SignoutView-CB5tWChF.js +0 -57
  123. package/dist/assets/WorkflowsView-bdDn4gu_.js +0 -846
  124. package/dist/assets/email-providers-CUV6UfrV.js +0 -1
  125. package/dist/assets/highlight.js-CUV6UfrV.js +0 -1
  126. package/dist/assets/xss-CUV6UfrV.js +0 -1
@@ -1,6 +1,6 @@
1
- import { N as NONE, c as cls, C as CLASS_CONNECTOR, a as CLASS_ENDPOINT, b as att, A as ATTRIBUTE_GROUP, d as CLASS_OVERLAY, e as ATTRIBUTE_TABINDEX, E as EVENT_ZOOM, S as SELECTOR_MANAGED_ELEMENT, f as ATTRIBUTE_NOT_DRAGGABLE, g as createFloatingAnchor, h as CLASS_ENDPOINT_FLOATING, i as EndpointRepresentation, j as SOURCE, T as TARGET, I as INTERCEPT_BEFORE_DRAG, k as INTERCEPT_BEFORE_START_DETACH, l as ATTRIBUTE_SCOPE_PREFIX, R as REDROP_POLICY_ANY, m as REDROP_POLICY_STRICT, n as REDROP_POLICY_ANY_SOURCE, o as REDROP_POLICY_ANY_TARGET, p as REDROP_POLICY_ANY_SOURCE_OR_TARGET, q as CHECK_DROP_ALLOWED, r as classList, s as EVENT_MAX_CONNECTIONS, t as IS_DETACH_ALLOWED, u as CHECK_CONDITION, v as INTERCEPT_BEFORE_DETACH, w as ABSOLUTE, x as Connection, y as Endpoint, O as Overlay, B as BLOCK, z as isArrowOverlay, D as isDiamondOverlay, F as isPlainArrowOverlay, G as ATTRIBUTE_MANAGED, H as STATIC, J as FIXED, K as isLabelOverlay, L as isCustomOverlay, M as JsPlumbInstance, P as DotEndpoint, Q as RectangleEndpoint, U as BlankEndpoint } from "./core-B__RSZHf.js";
2
- import { f as fastTrim, l as log, i as isString, a as forEach, u as uuid, r as removeWithFunction, s as snapToGrid, e as extend, b as findWithFunction, w as wrap, g as getWithFunction, c as getFromSetWithFunction, d as intersects, h as isAssignableFrom, m as merge, j as each, k as getAllWithFunction, n as functionChain, o as isObject, p as fromArray, q as isFunction } from "./util-BwtpiQ4c.js";
3
- import { W as WILDCARD, F as FALSE$1, T as TRUE$1, U as UNDEFINED } from "./common-s1StEx7B.js";
1
+ import { N as NONE, c as cls, C as CLASS_CONNECTOR, a as CLASS_ENDPOINT, b as att, A as ATTRIBUTE_GROUP, d as CLASS_OVERLAY, e as ATTRIBUTE_TABINDEX, E as EVENT_ZOOM, S as SELECTOR_MANAGED_ELEMENT, f as ATTRIBUTE_NOT_DRAGGABLE, g as createFloatingAnchor, h as CLASS_ENDPOINT_FLOATING, i as EndpointRepresentation, j as SOURCE, T as TARGET, I as INTERCEPT_BEFORE_DRAG, k as INTERCEPT_BEFORE_START_DETACH, l as ATTRIBUTE_SCOPE_PREFIX, R as REDROP_POLICY_ANY, m as REDROP_POLICY_STRICT, n as REDROP_POLICY_ANY_SOURCE, o as REDROP_POLICY_ANY_TARGET, p as REDROP_POLICY_ANY_SOURCE_OR_TARGET, q as CHECK_DROP_ALLOWED, r as classList, s as EVENT_MAX_CONNECTIONS, t as IS_DETACH_ALLOWED, u as CHECK_CONDITION, v as INTERCEPT_BEFORE_DETACH, w as ABSOLUTE, x as Connection, y as Endpoint, O as Overlay, B as BLOCK, z as isArrowOverlay, D as isDiamondOverlay, F as isPlainArrowOverlay, G as ATTRIBUTE_MANAGED, H as STATIC, J as FIXED, K as isLabelOverlay, L as isCustomOverlay, M as JsPlumbInstance, P as DotEndpoint, Q as RectangleEndpoint, U as BlankEndpoint } from "./core-DLCSr9D4.js";
2
+ import { f as fastTrim, l as log, i as isString, a as forEach, u as uuid, r as removeWithFunction, s as snapToGrid, e as extend, b as findWithFunction, w as wrap, g as getWithFunction, c as getFromSetWithFunction, d as intersects, h as isAssignableFrom, m as merge, j as each, k as getAllWithFunction, n as functionChain, o as isObject, p as fromArray, q as isFunction } from "./util-DggqnqQo.js";
3
+ import { W as WILDCARD, F as FALSE$1, T as TRUE$1, U as UNDEFINED } from "./common-Cn2WooAp.js";
4
4
  function _typeof(obj) {
5
5
  "@babel/helpers - typeof";
6
6
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
@@ -24,16 +24,13 @@ function _defineProperties(target, props) {
24
24
  var descriptor = props[i];
25
25
  descriptor.enumerable = descriptor.enumerable || false;
26
26
  descriptor.configurable = true;
27
- if ("value" in descriptor)
28
- descriptor.writable = true;
27
+ if ("value" in descriptor) descriptor.writable = true;
29
28
  Object.defineProperty(target, descriptor.key, descriptor);
30
29
  }
31
30
  }
32
31
  function _createClass(Constructor, protoProps, staticProps) {
33
- if (protoProps)
34
- _defineProperties(Constructor.prototype, protoProps);
35
- if (staticProps)
36
- _defineProperties(Constructor, staticProps);
32
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
33
+ if (staticProps) _defineProperties(Constructor, staticProps);
37
34
  return Constructor;
38
35
  }
39
36
  function _defineProperty(obj, key, value) {
@@ -60,8 +57,7 @@ function _inherits(subClass, superClass) {
60
57
  configurable: true
61
58
  }
62
59
  });
63
- if (superClass)
64
- _setPrototypeOf(subClass, superClass);
60
+ if (superClass) _setPrototypeOf(subClass, superClass);
65
61
  }
66
62
  function _getPrototypeOf(o) {
67
63
  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf2(o2) {
@@ -77,12 +73,9 @@ function _setPrototypeOf(o, p) {
77
73
  return _setPrototypeOf(o, p);
78
74
  }
79
75
  function _isNativeReflectConstruct() {
80
- if (typeof Reflect === "undefined" || !Reflect.construct)
81
- return false;
82
- if (Reflect.construct.sham)
83
- return false;
84
- if (typeof Proxy === "function")
85
- return true;
76
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
77
+ if (Reflect.construct.sham) return false;
78
+ if (typeof Proxy === "function") return true;
86
79
  try {
87
80
  Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
88
81
  }));
@@ -119,8 +112,7 @@ function _createSuper(Derived) {
119
112
  function _superPropBase(object, property) {
120
113
  while (!Object.prototype.hasOwnProperty.call(object, property)) {
121
114
  object = _getPrototypeOf(object);
122
- if (object === null)
123
- break;
115
+ if (object === null) break;
124
116
  }
125
117
  return object;
126
118
  }
@@ -130,8 +122,7 @@ function _get(target, property, receiver) {
130
122
  } else {
131
123
  _get = function _get2(target2, property2, receiver2) {
132
124
  var base = _superPropBase(target2, property2);
133
- if (!base)
134
- return;
125
+ if (!base) return;
135
126
  var desc = Object.getOwnPropertyDescriptor(base, property2);
136
127
  if (desc.get) {
137
128
  return desc.get.call(receiver2);
@@ -148,21 +139,17 @@ function _toConsumableArray(arr) {
148
139
  return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
149
140
  }
150
141
  function _arrayWithoutHoles(arr) {
151
- if (Array.isArray(arr))
152
- return _arrayLikeToArray(arr);
142
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
153
143
  }
154
144
  function _arrayWithHoles(arr) {
155
- if (Array.isArray(arr))
156
- return arr;
145
+ if (Array.isArray(arr)) return arr;
157
146
  }
158
147
  function _iterableToArray(iter) {
159
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
160
- return Array.from(iter);
148
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
161
149
  }
162
150
  function _iterableToArrayLimit(arr, i) {
163
151
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
164
- if (_i == null)
165
- return;
152
+ if (_i == null) return;
166
153
  var _arr = [];
167
154
  var _n = true;
168
155
  var _d2 = false;
@@ -170,41 +157,31 @@ function _iterableToArrayLimit(arr, i) {
170
157
  try {
171
158
  for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
172
159
  _arr.push(_s.value);
173
- if (i && _arr.length === i)
174
- break;
160
+ if (i && _arr.length === i) break;
175
161
  }
176
162
  } catch (err) {
177
163
  _d2 = true;
178
164
  _e = err;
179
165
  } finally {
180
166
  try {
181
- if (!_n && _i["return"] != null)
182
- _i["return"]();
167
+ if (!_n && _i["return"] != null) _i["return"]();
183
168
  } finally {
184
- if (_d2)
185
- throw _e;
169
+ if (_d2) throw _e;
186
170
  }
187
171
  }
188
172
  return _arr;
189
173
  }
190
174
  function _unsupportedIterableToArray(o, minLen) {
191
- if (!o)
192
- return;
193
- if (typeof o === "string")
194
- return _arrayLikeToArray(o, minLen);
175
+ if (!o) return;
176
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
195
177
  var n = Object.prototype.toString.call(o).slice(8, -1);
196
- if (n === "Object" && o.constructor)
197
- n = o.constructor.name;
198
- if (n === "Map" || n === "Set")
199
- return Array.from(o);
200
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
201
- return _arrayLikeToArray(o, minLen);
178
+ if (n === "Object" && o.constructor) n = o.constructor.name;
179
+ if (n === "Map" || n === "Set") return Array.from(o);
180
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
202
181
  }
203
182
  function _arrayLikeToArray(arr, len) {
204
- if (len == null || len > arr.length)
205
- len = arr.length;
206
- for (var i = 0, arr2 = new Array(len); i < len; i++)
207
- arr2[i] = arr[i];
183
+ if (len == null || len > arr.length) len = arr.length;
184
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
208
185
  return arr2;
209
186
  }
210
187
  function _nonIterableSpread() {
@@ -690,11 +667,10 @@ var PAGE = "page";
690
667
  var SCREEN = "screen";
691
668
  var CLIENT = "client";
692
669
  function _genLoc(e, prefix) {
693
- if (e == null)
694
- return {
695
- x: 0,
696
- y: 0
697
- };
670
+ if (e == null) return {
671
+ x: 0,
672
+ y: 0
673
+ };
698
674
  var ts = touches(e), t = getTouch(ts, 0);
699
675
  return {
700
676
  x: t[prefix + "X"],
@@ -761,15 +737,13 @@ function _bind(obj, type, fn, originalFn, options) {
761
737
  }
762
738
  function _unbind(obj, type, fn) {
763
739
  var _this = this;
764
- if (fn == null)
765
- return;
740
+ if (fn == null) return;
766
741
  _each$1(obj, function(_el) {
767
742
  _unstore(_el, type, fn);
768
743
  if (fn.__tauid != null) {
769
744
  if (_el.removeEventListener) {
770
745
  _el.removeEventListener(type, fn, false);
771
- if (isTouchDevice() && touchMap[type])
772
- _el.removeEventListener(touchMap[type], fn, false);
746
+ if (isTouchDevice() && touchMap[type]) _el.removeEventListener(touchMap[type], fn, false);
773
747
  } else if (_this.detachEvent) {
774
748
  var key = type + fn.__tauid;
775
749
  _el[key] && _el.detachEvent("on" + type, _el[key]);
@@ -783,8 +757,7 @@ function _unbind(obj, type, fn) {
783
757
  });
784
758
  }
785
759
  function _each$1(obj, fn) {
786
- if (obj == null)
787
- return;
760
+ if (obj == null) return;
788
761
  var entries = typeof obj === "string" ? document.querySelectorAll(obj) : obj.length != null ? obj : [obj];
789
762
  for (var i = 0; i < entries.length; i++) {
790
763
  fn(entries[i]);
@@ -892,8 +865,7 @@ var TapHandler = function() {
892
865
  key: "generate",
893
866
  value: function generate(clickThreshold, dblClickThreshold) {
894
867
  return function(obj, evt, fn, children) {
895
- if (evt == EVENT_CONTEXTMENU && isMouseDevice())
896
- DefaultHandler(obj, evt, fn, children);
868
+ if (evt == EVENT_CONTEXTMENU && isMouseDevice()) DefaultHandler(obj, evt, fn, children);
897
869
  else {
898
870
  if (obj.__taTapHandler == null) {
899
871
  var tt = obj.__taTapHandler = {
@@ -906,8 +878,7 @@ var TapHandler = function() {
906
878
  var down = function down2(e) {
907
879
  var target = _t(e), pathInfo = _pi(e, target, obj, children != null), finished = false;
908
880
  for (var p = 0; p < pathInfo.end; p++) {
909
- if (finished)
910
- return;
881
+ if (finished) return;
911
882
  target = pathInfo.path[p];
912
883
  for (var i = 0; i < tt.downSelectors.length; i++) {
913
884
  if (tt.downSelectors[i] == null || matchesSelector(target, tt.downSelectors[i], obj)) {
@@ -1035,13 +1006,11 @@ var EventManager = function() {
1035
1006
  _createClass(EventManager2, [{
1036
1007
  key: "_doBind",
1037
1008
  value: function _doBind(el, evt, fn, children, options) {
1038
- if (fn == null)
1039
- return;
1009
+ if (fn == null) return;
1040
1010
  var jel = el;
1041
1011
  if (evt === EVENT_TAP || evt === EVENT_DBL_TAP || evt === EVENT_CONTEXTMENU) {
1042
1012
  this.tapHandler(jel, evt, fn, children, options);
1043
- } else if (evt === EVENT_MOUSEENTER || evt == EVENT_MOUSEEXIT)
1044
- this.mouseEnterExitHandler(jel, evt, fn, children, options);
1013
+ } else if (evt === EVENT_MOUSEENTER || evt == EVENT_MOUSEEXIT) this.mouseEnterExitHandler(jel, evt, fn, children, options);
1045
1014
  else {
1046
1015
  DefaultHandler(jel, evt, fn, children, options);
1047
1016
  }
@@ -1227,8 +1196,7 @@ var _events = [EVENT_STOP, EVENT_START, EVENT_DRAG, EVENT_DROP, EVENT_OVER, EVEN
1227
1196
  var _devNull = function _devNull2() {
1228
1197
  };
1229
1198
  var _each = function _each2(obj, fn) {
1230
- if (obj == null)
1231
- return;
1199
+ if (obj == null) return;
1232
1200
  obj = !isString(obj) && obj.tagName == null && obj.length != null ? obj : [obj];
1233
1201
  for (var i = 0; i < obj.length; i++) {
1234
1202
  fn.apply(obj[i], [obj[i]]);
@@ -1303,10 +1271,8 @@ var Base = function() {
1303
1271
  m[s] = true;
1304
1272
  });
1305
1273
  _each(scopes ? scopes.split(/\s+/) : [], function(s) {
1306
- if (m[s])
1307
- delete m[s];
1308
- else
1309
- m[s] = true;
1274
+ if (m[s]) delete m[s];
1275
+ else m[s] = true;
1310
1276
  });
1311
1277
  this.scopes.length = 0;
1312
1278
  for (var i in m) {
@@ -3381,8 +3347,7 @@ var EndpointDragHandler = function() {
3381
3347
  return -1;
3382
3348
  } else if (a.rank < b.rank) {
3383
3349
  return 1;
3384
- } else
3385
- ;
3350
+ } else ;
3386
3351
  } else {
3387
3352
  return 0;
3388
3353
  }
@@ -39,16 +39,13 @@ function _defineProperties(target, props) {
39
39
  var descriptor = props[i];
40
40
  descriptor.enumerable = descriptor.enumerable || false;
41
41
  descriptor.configurable = true;
42
- if ("value" in descriptor)
43
- descriptor.writable = true;
42
+ if ("value" in descriptor) descriptor.writable = true;
44
43
  Object.defineProperty(target, descriptor.key, descriptor);
45
44
  }
46
45
  }
47
46
  function _createClass(Constructor, protoProps, staticProps) {
48
- if (protoProps)
49
- _defineProperties(Constructor.prototype, protoProps);
50
- if (staticProps)
51
- _defineProperties(Constructor, staticProps);
47
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
48
+ if (staticProps) _defineProperties(Constructor, staticProps);
52
49
  return Constructor;
53
50
  }
54
51
  function _defineProperty(obj, key, value) {
@@ -1,6 +1,6 @@
1
- import { e as extend, l as log, t as sgn } from "./util-BwtpiQ4c.js";
2
- import { V as ArcSegment, W as AbstractConnector, X as Connectors } from "./core-B__RSZHf.js";
3
- import { A as AbstractSegment } from "./common-s1StEx7B.js";
1
+ import { e as extend, l as log, t as sgn } from "./util-DggqnqQo.js";
2
+ import { V as ArcSegment, W as AbstractConnector, X as Connectors } from "./core-DLCSr9D4.js";
3
+ import { A as AbstractSegment } from "./common-Cn2WooAp.js";
4
4
  function _classCallCheck(instance, Constructor) {
5
5
  if (!(instance instanceof Constructor)) {
6
6
  throw new TypeError("Cannot call a class as a function");
@@ -11,16 +11,13 @@ function _defineProperties(target, props) {
11
11
  var descriptor = props[i];
12
12
  descriptor.enumerable = descriptor.enumerable || false;
13
13
  descriptor.configurable = true;
14
- if ("value" in descriptor)
15
- descriptor.writable = true;
14
+ if ("value" in descriptor) descriptor.writable = true;
16
15
  Object.defineProperty(target, descriptor.key, descriptor);
17
16
  }
18
17
  }
19
18
  function _createClass(Constructor, protoProps, staticProps) {
20
- if (protoProps)
21
- _defineProperties(Constructor.prototype, protoProps);
22
- if (staticProps)
23
- _defineProperties(Constructor, staticProps);
19
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
20
+ if (staticProps) _defineProperties(Constructor, staticProps);
24
21
  return Constructor;
25
22
  }
26
23
  function _defineProperty(obj, key, value) {
@@ -47,8 +44,7 @@ function _inherits(subClass, superClass) {
47
44
  configurable: true
48
45
  }
49
46
  });
50
- if (superClass)
51
- _setPrototypeOf(subClass, superClass);
47
+ if (superClass) _setPrototypeOf(subClass, superClass);
52
48
  }
53
49
  function _getPrototypeOf(o) {
54
50
  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf2(o2) {
@@ -64,12 +60,9 @@ function _setPrototypeOf(o, p) {
64
60
  return _setPrototypeOf(o, p);
65
61
  }
66
62
  function _isNativeReflectConstruct() {
67
- if (typeof Reflect === "undefined" || !Reflect.construct)
68
- return false;
69
- if (Reflect.construct.sham)
70
- return false;
71
- if (typeof Proxy === "function")
72
- return true;
63
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
64
+ if (Reflect.construct.sham) return false;
65
+ if (typeof Proxy === "function") return true;
73
66
  try {
74
67
  Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
75
68
  }));
@@ -288,8 +281,7 @@ function _convertToBezier(point, curve) {
288
281
  }
289
282
  for (var row = 0; row <= degree - 1; row++) {
290
283
  for (var column = 0; column <= degree; column++) {
291
- if (!cdTable[row])
292
- cdTable[row] = [];
284
+ if (!cdTable[row]) cdTable[row] = [];
293
285
  cdTable[row][column] = Vectors.dotProduct(d[row], c[column]);
294
286
  }
295
287
  }
@@ -344,8 +336,7 @@ function _getCrossingCount(curve, degree) {
344
336
  sign = old_sign = sgn(curve[0].y);
345
337
  for (var i = 1; i <= degree; i++) {
346
338
  sign = sgn(curve[i].y);
347
- if (sign != old_sign)
348
- n_crossings++;
339
+ if (sign != old_sign) n_crossings++;
349
340
  old_sign = sign;
350
341
  }
351
342
  return n_crossings;
@@ -396,10 +387,8 @@ function _bezier(curve, degree, t, left, right) {
396
387
  }
397
388
  for (var i = 1; i <= degree; i++) {
398
389
  for (var _j = 0; _j <= degree - i; _j++) {
399
- if (!temp[i])
400
- temp[i] = [];
401
- if (!temp[i][_j])
402
- temp[i][_j] = {};
390
+ if (!temp[i]) temp[i] = [];
391
+ if (!temp[i][_j]) temp[i][_j] = {};
403
392
  temp[i][_j].x = (1 - t) * temp[i - 1][_j].x + t * temp[i - 1][_j + 1].x;
404
393
  temp[i][_j].y = (1 - t) * temp[i - 1][_j].y + t * temp[i - 1][_j + 1].y;
405
394
  }
@@ -578,10 +567,8 @@ function gradientAtPoint(curve, location) {
578
567
  }
579
568
  function gradientAtPointAlongPathFrom(curve, location, distance) {
580
569
  var p = pointAlongPath(curve, location, distance);
581
- if (p.location > 1)
582
- p.location = 1;
583
- if (p.location < 0)
584
- p.location = 0;
570
+ if (p.location > 1) p.location = 1;
571
+ if (p.location < 0) p.location = 0;
585
572
  return gradientAtPoint(curve, p.location);
586
573
  }
587
574
  function perpendicularToPathAt(curve, location, length, distance) {
@@ -1,5 +1,5 @@
1
- import { l as log, v as quadrant, x as gradient, y as pointOnLine, z as lineLength, i as isString, u as uuid, E as EventGenerator, q as isFunction, e as extend, m as merge, A as setToArray, B as populate, C as clone, D as map, F as isNumber, o as isObject, h as isAssignableFrom, g as getWithFunction, r as removeWithFunction, G as suggest, a as forEach, H as insertSorted, b as findWithFunction, I as getsert, J as rotatePoint, K as filterList, n as functionChain, L as addToDictionary, T as TWO_PI, M as theta, N as normal, O as perpendicularLineTo } from "./util-BwtpiQ4c.js";
2
- import { E as EMPTY_BOUNDS, A as AbstractSegment, a as AnchorLocations, P as PerimeterAnchorShapes, D as DEFAULT, W as WILDCARD } from "./common-s1StEx7B.js";
1
+ import { l as log, v as quadrant, x as gradient, y as pointOnLine, z as lineLength, i as isString, u as uuid, E as EventGenerator, q as isFunction, e as extend, m as merge, A as setToArray, B as populate, C as clone, D as map, F as isNumber, o as isObject, h as isAssignableFrom, g as getWithFunction, r as removeWithFunction, G as suggest, a as forEach, H as insertSorted, b as findWithFunction, I as getsert, J as rotatePoint, K as filterList, n as functionChain, L as addToDictionary, T as TWO_PI, M as theta, N as normal, O as perpendicularLineTo } from "./util-DggqnqQo.js";
2
+ import { E as EMPTY_BOUNDS, A as AbstractSegment, a as AnchorLocations, P as PerimeterAnchorShapes, D as DEFAULT, W as WILDCARD } from "./common-Cn2WooAp.js";
3
3
  function _classCallCheck(instance, Constructor) {
4
4
  if (!(instance instanceof Constructor)) {
5
5
  throw new TypeError("Cannot call a class as a function");
@@ -10,16 +10,13 @@ function _defineProperties(target, props) {
10
10
  var descriptor = props[i];
11
11
  descriptor.enumerable = descriptor.enumerable || false;
12
12
  descriptor.configurable = true;
13
- if ("value" in descriptor)
14
- descriptor.writable = true;
13
+ if ("value" in descriptor) descriptor.writable = true;
15
14
  Object.defineProperty(target, descriptor.key, descriptor);
16
15
  }
17
16
  }
18
17
  function _createClass(Constructor, protoProps, staticProps) {
19
- if (protoProps)
20
- _defineProperties(Constructor.prototype, protoProps);
21
- if (staticProps)
22
- _defineProperties(Constructor, staticProps);
18
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
19
+ if (staticProps) _defineProperties(Constructor, staticProps);
23
20
  return Constructor;
24
21
  }
25
22
  function _defineProperty(obj, key, value) {
@@ -46,8 +43,7 @@ function _inherits(subClass, superClass) {
46
43
  configurable: true
47
44
  }
48
45
  });
49
- if (superClass)
50
- _setPrototypeOf(subClass, superClass);
46
+ if (superClass) _setPrototypeOf(subClass, superClass);
51
47
  }
52
48
  function _getPrototypeOf(o) {
53
49
  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf2(o2) {
@@ -63,12 +59,9 @@ function _setPrototypeOf(o, p) {
63
59
  return _setPrototypeOf(o, p);
64
60
  }
65
61
  function _isNativeReflectConstruct() {
66
- if (typeof Reflect === "undefined" || !Reflect.construct)
67
- return false;
68
- if (Reflect.construct.sham)
69
- return false;
70
- if (typeof Proxy === "function")
71
- return true;
62
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
63
+ if (Reflect.construct.sham) return false;
64
+ if (typeof Proxy === "function") return true;
72
65
  try {
73
66
  Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
74
67
  }));
@@ -105,8 +98,7 @@ function _createSuper(Derived) {
105
98
  function _superPropBase(object, property) {
106
99
  while (!Object.prototype.hasOwnProperty.call(object, property)) {
107
100
  object = _getPrototypeOf(object);
108
- if (object === null)
109
- break;
101
+ if (object === null) break;
110
102
  }
111
103
  return object;
112
104
  }
@@ -116,8 +108,7 @@ function _get(target, property, receiver) {
116
108
  } else {
117
109
  _get = function _get2(target2, property2, receiver2) {
118
110
  var base = _superPropBase(target2, property2);
119
- if (!base)
120
- return;
111
+ if (!base) return;
121
112
  var desc = Object.getOwnPropertyDescriptor(base, property2);
122
113
  if (desc.get) {
123
114
  return desc.get.call(receiver2);
@@ -134,21 +125,17 @@ function _toConsumableArray(arr) {
134
125
  return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
135
126
  }
136
127
  function _arrayWithoutHoles(arr) {
137
- if (Array.isArray(arr))
138
- return _arrayLikeToArray(arr);
128
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
139
129
  }
140
130
  function _arrayWithHoles(arr) {
141
- if (Array.isArray(arr))
142
- return arr;
131
+ if (Array.isArray(arr)) return arr;
143
132
  }
144
133
  function _iterableToArray(iter) {
145
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
146
- return Array.from(iter);
134
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
147
135
  }
148
136
  function _iterableToArrayLimit(arr, i) {
149
137
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
150
- if (_i == null)
151
- return;
138
+ if (_i == null) return;
152
139
  var _arr = [];
153
140
  var _n = true;
154
141
  var _d = false;
@@ -156,41 +143,31 @@ function _iterableToArrayLimit(arr, i) {
156
143
  try {
157
144
  for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
158
145
  _arr.push(_s.value);
159
- if (i && _arr.length === i)
160
- break;
146
+ if (i && _arr.length === i) break;
161
147
  }
162
148
  } catch (err) {
163
149
  _d = true;
164
150
  _e = err;
165
151
  } finally {
166
152
  try {
167
- if (!_n && _i["return"] != null)
168
- _i["return"]();
153
+ if (!_n && _i["return"] != null) _i["return"]();
169
154
  } finally {
170
- if (_d)
171
- throw _e;
155
+ if (_d) throw _e;
172
156
  }
173
157
  }
174
158
  return _arr;
175
159
  }
176
160
  function _unsupportedIterableToArray(o, minLen) {
177
- if (!o)
178
- return;
179
- if (typeof o === "string")
180
- return _arrayLikeToArray(o, minLen);
161
+ if (!o) return;
162
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
181
163
  var n = Object.prototype.toString.call(o).slice(8, -1);
182
- if (n === "Object" && o.constructor)
183
- n = o.constructor.name;
184
- if (n === "Map" || n === "Set")
185
- return Array.from(o);
186
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
187
- return _arrayLikeToArray(o, minLen);
164
+ if (n === "Object" && o.constructor) n = o.constructor.name;
165
+ if (n === "Map" || n === "Set") return Array.from(o);
166
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
188
167
  }
189
168
  function _arrayLikeToArray(arr, len) {
190
- if (len == null || len > arr.length)
191
- len = arr.length;
192
- for (var i = 0, arr2 = new Array(len); i < len; i++)
193
- arr2[i] = arr[i];
169
+ if (len == null || len > arr.length) len = arr.length;
170
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
194
171
  return arr2;
195
172
  }
196
173
  function _nonIterableSpread() {
@@ -5658,17 +5635,16 @@ var JsPlumbInstance = function(_EventGenerator) {
5658
5635
  for (var _el2 in this.endpointsByElement) {
5659
5636
  var either = filterList(elements, _el2, true), source = filterList(sources, _el2, true), sourceMatchExact = sources !== "*", target = filterList(targets, _el2, true), targetMatchExact = targets !== "*";
5660
5637
  if (either || source || target) {
5661
- inner:
5662
- for (var i = 0, ii = this.endpointsByElement[_el2].length; i < ii; i++) {
5663
- var _ep = this.endpointsByElement[_el2][i];
5664
- if (filterList(scopes, _ep.scope, true)) {
5665
- var noMatchSource = sourceMatchExact && sources.length > 0 && !_ep.isSource, noMatchTarget = targetMatchExact && targets.length > 0 && !_ep.isTarget;
5666
- if (noMatchSource || noMatchTarget) {
5667
- continue inner;
5668
- }
5669
- ep.push(_ep);
5638
+ inner: for (var i = 0, ii = this.endpointsByElement[_el2].length; i < ii; i++) {
5639
+ var _ep = this.endpointsByElement[_el2][i];
5640
+ if (filterList(scopes, _ep.scope, true)) {
5641
+ var noMatchSource = sourceMatchExact && sources.length > 0 && !_ep.isSource, noMatchTarget = targetMatchExact && targets.length > 0 && !_ep.isTarget;
5642
+ if (noMatchSource || noMatchTarget) {
5643
+ continue inner;
5670
5644
  }
5645
+ ep.push(_ep);
5671
5646
  }
5647
+ }
5672
5648
  }
5673
5649
  }
5674
5650
  return new EndpointSelection(this, ep);
@@ -530,16 +530,13 @@ function _defineProperties(target, props) {
530
530
  var descriptor = props[i];
531
531
  descriptor.enumerable = descriptor.enumerable || false;
532
532
  descriptor.configurable = true;
533
- if ("value" in descriptor)
534
- descriptor.writable = true;
533
+ if ("value" in descriptor) descriptor.writable = true;
535
534
  Object.defineProperty(target, descriptor.key, descriptor);
536
535
  }
537
536
  }
538
537
  function _createClass(Constructor, protoProps, staticProps) {
539
- if (protoProps)
540
- _defineProperties(Constructor.prototype, protoProps);
541
- if (staticProps)
542
- _defineProperties(Constructor, staticProps);
538
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
539
+ if (staticProps) _defineProperties(Constructor, staticProps);
543
540
  return Constructor;
544
541
  }
545
542
  function _defineProperty(obj, key, value) {
@@ -566,8 +563,7 @@ function _inherits(subClass, superClass) {
566
563
  configurable: true
567
564
  }
568
565
  });
569
- if (superClass)
570
- _setPrototypeOf(subClass, superClass);
566
+ if (superClass) _setPrototypeOf(subClass, superClass);
571
567
  }
572
568
  function _getPrototypeOf(o) {
573
569
  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf2(o2) {
@@ -583,12 +579,9 @@ function _setPrototypeOf(o, p) {
583
579
  return _setPrototypeOf(o, p);
584
580
  }
585
581
  function _isNativeReflectConstruct() {
586
- if (typeof Reflect === "undefined" || !Reflect.construct)
587
- return false;
588
- if (Reflect.construct.sham)
589
- return false;
590
- if (typeof Proxy === "function")
591
- return true;
582
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
583
+ if (Reflect.construct.sham) return false;
584
+ if (typeof Proxy === "function") return true;
592
585
  try {
593
586
  Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
594
587
  }));
@@ -772,12 +765,9 @@ function subtract(p1, p2) {
772
765
  };
773
766
  }
774
767
  function gradient(p1, p2) {
775
- if (p2.x === p1.x)
776
- return p2.y > p1.y ? Infinity : -Infinity;
777
- else if (p2.y === p1.y)
778
- return p2.x > p1.x ? 0 : -0;
779
- else
780
- return (p2.y - p1.y) / (p2.x - p1.x);
768
+ if (p2.x === p1.x) return p2.y > p1.y ? Infinity : -Infinity;
769
+ else if (p2.y === p1.y) return p2.x > p1.x ? 0 : -0;
770
+ else return (p2.y - p1.y) / (p2.x - p1.x);
781
771
  }
782
772
  function normal(p1, p2) {
783
773
  return -1 / gradient(p1, p2);
@@ -796,10 +786,8 @@ function quadrant(p1, p2) {
796
786
  }
797
787
  function theta(p1, p2) {
798
788
  var m = gradient(p1, p2), t = Math.atan(m), s = quadrant(p1, p2);
799
- if (s == 4 || s == 3)
800
- t += Math.PI;
801
- if (t < 0)
802
- t += 2 * Math.PI;
789
+ if (s == 4 || s == 3) t += Math.PI;
790
+ if (t < 0) t += 2 * Math.PI;
803
791
  return t;
804
792
  }
805
793
  function intersects(r1, r2) {